Searched refs:getDeviceOwnerUserId (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 62 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01() 79 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01() 116 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade02() 136 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade02() 172 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03() 200 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03() 252 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade04() 284 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade04() 360 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05() 379 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05() [all …]
|
D | DevicePolicyManagerTest.java | 941 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 949 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 960 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 968 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 980 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 984 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 997 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 1005 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 1025 dpm::getDeviceOwnerUserId); in checkGetDeviceOwnerInfoApi() 1040 dpm::getDeviceOwnerUserId); in checkGetDeviceOwnerInfoApi() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 192 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load() 194 getDeviceOwnerUserId())); in load() 226 int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in Owners
|
D | CertificateMonitor.java | 190 } else if (mService.getDeviceOwnerUserId() == userHandle.getIdentifier()) { in buildNotification()
|
D | DevicePolicyManagerService.java | 759 && userHandle == mOwners.getDeviceOwnerUserId()) { 767 && userHandle == mOwners.getDeviceOwnerUserId() 2374 maybeSetDefaultRestrictionsForAdminLocked(mOwners.getDeviceOwnerUserId(), in maybeSetDefaultDeviceOwnerUserRestrictionsLocked() 2490 mOwners.getDeviceOwnerUserId()); in findOwnerComponentIfNecessaryLocked() 2497 mOwners.getDeviceOwnerUserId(), in findOwnerComponentIfNecessaryLocked() 3631 userId = mOwners.getDeviceOwnerUserId(); in ensureDeviceOwnerUserStarted() 7415 deviceOwnerUserId = mOwners.getDeviceOwnerUserId(); in sendDeviceOwnerCommand() 7571 intent, mOwners.getDeviceOwnerUserId()); in shareBugreportWithDeviceOwnerIfExists() 7572 mContext.sendBroadcastAsUser(intent, UserHandle.of(mOwners.getDeviceOwnerUserId())); in shareBugreportWithDeviceOwnerIfExists() 7873 && mOwners.getDeviceOwnerUserId() == userId in isDeviceOwner() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 148 int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method
|
D | DevicePolicyManager.java | 5956 int userId = mService.getDeviceOwnerUserId(); in getDeviceOwnerUser() 5971 public int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in DevicePolicyManager 5974 return mService.getDeviceOwnerUserId(); in getDeviceOwnerUserId()
|
/frameworks/base/services/ |
D | art-profile | 6269 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerUserId()I 6446 HSPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerUserId()I
|