OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mAdminComponent
(Results
1 - 3
of
3
) sorted by null
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DeviceWideLoggingFeaturesTest.java
34
private ComponentName
mAdminComponent
;
41
mAdminComponent
= AdminReceiver.getComponentName(mContext);
50
mDevicePolicyManager.retrieveSecurityLogs(
mAdminComponent
);
56
mDevicePolicyManager.retrievePreRebootSecurityLogs(
mAdminComponent
);
62
mDevicePolicyManager.retrieveNetworkLogs(
mAdminComponent
, NETWORK_LOGGING_BATCH_TOKEN);
69
mDevicePolicyManager.retrieveSecurityLogs(
mAdminComponent
);
70
mDevicePolicyManager.retrievePreRebootSecurityLogs(
mAdminComponent
);
71
mDevicePolicyManager.retrieveNetworkLogs(
mAdminComponent
, NETWORK_LOGGING_BATCH_TOKEN);
76
mDevicePolicyManager.requestBugreport(
mAdminComponent
);
83
mDevicePolicyManager.requestBugreport(
mAdminComponent
);
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
AffiliationTest.java
44
private ComponentName
mAdminComponent
;
51
mAdminComponent
= BasicAdminReceiver.getComponentName(context);
57
mDevicePolicyManager.setAffiliationIds(
mAdminComponent
, null);
67
mDevicePolicyManager.setAffiliationIds(
mAdminComponent
, Collections.singleton(null));
93
mDevicePolicyManager.setLockTaskPackages(
mAdminComponent
, packages);
94
assertArrayEquals(packages, mDevicePolicyManager.getLockTaskPackages(
mAdminComponent
));
99
mDevicePolicyManager.getAffiliationIds(
mAdminComponent
);
108
assertEquals(0, mDevicePolicyManager.getLockTaskPackages(
mAdminComponent
).length);
111
mDevicePolicyManager.setAffiliationIds(
mAdminComponent
, previousAffiliationIds);
116
mDevicePolicyManager.setAffiliationIds(
mAdminComponent
, ids)
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
BaseDeviceAdminTest.java
31
protected ComponentName
mAdminComponent
;
42
mAdminComponent
= new ComponentName(mContext, AdminReceiver.class);
59
return dpm.isDeviceOwnerApp(
mAdminComponent
.getPackageName());
71
for (int i = 0; i < 1000 && dpm.isAdminActive(
mAdminComponent
); i++) {
74
assertFalse("Still active admin", dpm.isAdminActive(
mAdminComponent
));
82
dpm.setPasswordMinimumLength(
mAdminComponent
, 0);
83
dpm.setPasswordMinimumUpperCase(
mAdminComponent
, 0);
84
dpm.setPasswordMinimumLowerCase(
mAdminComponent
, 0);
85
dpm.setPasswordMinimumLetters(
mAdminComponent
, 0);
86
dpm.setPasswordMinimumNumeric(
mAdminComponent
, 0)
[
all
...]
Completed in 1556 milliseconds