Searched refs:DPC_COMPONENT_NAME (Results 1 – 6 of 6) sorted by relevance
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyTest.java | 61 private static final ComponentName DPC_COMPONENT_NAME = field in DevicePolicyTest 99 sTestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in setProfileOwner_profileOwnerIsSet() 119 sTestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in setProfileOwner_profileOwnerIsAlreadySet_throwsException() 122 () -> sTestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME)); in setProfileOwner_profileOwnerIsAlreadySet_throwsException() 138 () -> sTestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME)); in setProfileOwner_componentNameNotInstalled_throwsException() 158 /* user= */ null, DPC_COMPONENT_NAME)); in setProfileOwner_nullUser_throwsException() 176 NON_EXISTENT_USER, DPC_COMPONENT_NAME)); in setProfileOwner_userDoesNotExist_throwsException() 191 sTestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in getProfileOwner_returnsProfileOwner() 227 sTestApis.devicePolicy().setDeviceOwner(sUser, DPC_COMPONENT_NAME); in setDeviceOwner_deviceOwnerIsSet() 240 () -> sTestApis.devicePolicy().setDeviceOwner(sUser, DPC_COMPONENT_NAME)); in setDeviceOwner_deviceOwnerIsAlreadySet_throwsException() [all …]
|
D | DeviceOwnerTest.java | 40 private static final ComponentName DPC_COMPONENT_NAME = field in DeviceOwnerTest 58 sDeviceOwner = sTestApis.devicePolicy().setDeviceOwner(sUser, DPC_COMPONENT_NAME); in setupClass() 79 assertThat(sDeviceOwner.componentName()).isEqualTo(DPC_COMPONENT_NAME); in componentName_returnsComponentName() 88 sDeviceOwner = sTestApis.devicePolicy().setDeviceOwner(sUser, DPC_COMPONENT_NAME); in remove_removesDeviceOwner()
|
D | ProfileOwnerTest.java | 41 private static final ComponentName DPC_COMPONENT_NAME = field in ProfileOwnerTest 65 sProfileOwner = sTestApis.devicePolicy().setProfileOwner(sProfile, DPC_COMPONENT_NAME); in setupClass() 85 assertThat(sProfileOwner.componentName()).isEqualTo(DPC_COMPONENT_NAME); in componentName_returnsComponentName() 94 sProfileOwner = sTestApis.devicePolicy().setProfileOwner(sProfile, DPC_COMPONENT_NAME); in remove_removesProfileOwner()
|
/cts/common/device-side/bedstead/remotedpc/src/library/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 51 public static final ComponentName DPC_COMPONENT_NAME = REMOTE_DPC_COMPONENT_NAME; field in RemoteDpc 61 if (deviceOwner == null || !deviceOwner.componentName().equals(DPC_COMPONENT_NAME)) { in deviceOwner() 104 if (profileOwner == null || !profileOwner.componentName().equals(DPC_COMPONENT_NAME)) { in profileOwner() 187 if (deviceOwner.componentName().equals(DPC_COMPONENT_NAME)) { in setAsDeviceOwner() 218 if (profileOwner.componentName().equals(DPC_COMPONENT_NAME)) { in setAsProfileOwner()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 1265 && currentDeviceOwner.componentName().equals(RemoteDpc.DPC_COMPONENT_NAME)) { 1333 RemoteDpc.DPC_COMPONENT_NAME)) {
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | LockTaskTest.java | 161 RemoteDpc.DPC_COMPONENT_NAME.getPackageName()) in startLockTask_recordsMetric()
|