/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
CustomDeviceOwnerTest.java | 75 assertTrue(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, 97 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId, 115 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT, mPrimaryUserId,
|
MixedDeviceOwnerTest.java | 41 if (!setDeviceOwner(
|
MixedDeviceOwnerTestApi25.java | 41 if (!setDeviceOwner(
|
BaseDeviceAdminHostSideTest.java | 99 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false); 133 setDeviceOwner(getAdminReceiverComponent(), mUserId, /*expectFailure*/ false);
|
DeviceOwnerTest.java | 63 if (!setDeviceOwner(DEVICE_OWNER_COMPONENT, mPrimaryUserId, 487 assertFalse(setDeviceOwner( 494 assertFalse(setDeviceOwner(
|
UserRestrictionsTest.java | 273 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS,
|
DeviceOwnerPlusProfileOwnerTest.java | 60 if (!setDeviceOwner(COMP_DPC_ADMIN, mPrimaryUserId, /*expectFailure*/ false)) {
|
BaseDevicePolicyTest.java | 569 protected boolean setDeviceOwner(String componentName, int userId, boolean expectFailure) 586 assertTrue(setDeviceOwner(componentName, userId, /* expectFailure =*/ false)); 591 assertFalse(setDeviceOwner(componentName, userId, /* expectFailure =*/ true)); [all...] |
ManagedProfileTest.java | 695 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mParentUserId, [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
SetDevicePolicyTask.java | 81 success = setDeviceOwner(adminComponent, 116 private boolean setDeviceOwner(ComponentName component, String owner, int userId) { 119 return mDevicePolicyManager.setDeviceOwner(component, owner, userId);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
SetDevicePolicyTaskTest.java | 76 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, mDefaultOwnerName, 176 verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, mDefaultOwnerName, 188 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, mDefaultOwnerName, 205 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, mDefaultOwnerName,
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
OtaControllerTest.java | 102 setDeviceOwner(UserHandle.USER_SYSTEM, ADMIN_COMPONENT); 120 setDeviceOwner(DEVICE_OWNER_USER_ID, ADMIN_COMPONENT); 177 private void setDeviceOwner(int userId, ComponentName admin) {
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
Dpm.java | 148 if (!mDevicePolicyManager.setDeviceOwner(mComponent, mName, mUserId)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DevicePolicyManagerTest.java | 670 * Test for: {@link DevicePolicyManager#setDeviceOwner} DO on system user installs successfully. 673 setDeviceOwner(); 690 private void setDeviceOwner() throws Exception { 709 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/device/ |
ITestDevice.java | 594 public boolean setDeviceOwner(String componentName, int userId)
|
TestDevice.java | [all...] |
NativeDevice.java | [all...] |
/frameworks/base/core/java/android/app/admin/ |
DevicePolicyManager.java | [all...] |
IDevicePolicyManager.aidl | 136 boolean setDeviceOwner(in ComponentName who, String ownerName, int userId);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
Owners.java | 225 void setDeviceOwner(ComponentName admin, String ownerName, int userId) {
|
DevicePolicyManagerService.java | [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TestDeviceTest.java | [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.3_r2-robolectric-0.jar | |