Searched refs:getDeviceOwnerUserId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 60 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01() 77 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01() 114 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade02() 134 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade02() 170 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03() 198 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03() 250 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade04() 282 assertEquals(UserHandle.USER_SYSTEM, owners.getDeviceOwnerUserId()); in testUpgrade04() 358 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05() 377 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05() [all …]
|
D | DevicePolicyManagerTest.java | 623 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 631 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 642 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 650 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 662 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 666 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 679 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 687 assertEquals(UserHandle.USER_NULL, dpm.getDeviceOwnerUserId()); in checkGetDeviceOwnerInfoApi() 713 dpm.getDeviceOwnerUserId(); in checkGetDeviceOwnerInfoApi() 740 dpm.getDeviceOwnerUserId(); in checkGetDeviceOwnerInfoApi()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 153 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load() 155 getDeviceOwnerUserId())); in load() 177 int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in Owners
|
D | DevicePolicyManagerService.java | 467 && userHandle == mOwners.getDeviceOwnerUserId() 1725 mOwners.getDeviceOwnerUserId()); in findOwnerComponentIfNecessaryLocked() 1732 mOwners.getDeviceOwnerUserId(), in findOwnerComponentIfNecessaryLocked() 2609 userId = mOwners.getDeviceOwnerUserId(); in ensureDeviceOwnerUserStarted() 2733 } else if (getDeviceOwnerUserId() == userHandle.getIdentifier()) { in manageNotification() 5333 && mOwners.getDeviceOwnerUserId() != UserHandle.USER_SYSTEM); in isDeviceOwnerManagedSingleUserDevice() 5395 mContext.sendBroadcastAsUser(intent, UserHandle.of(mOwners.getDeviceOwnerUserId())); in sendDeviceOwnerCommand() 5510 mContext.sendBroadcastAsUser(intent, UserHandle.of(mOwners.getDeviceOwnerUserId())); in shareBugreportWithDeviceOwnerIfExists() 5755 && mOwners.getDeviceOwnerUserId() == userId in isDeviceOwner() 5778 mOwners.getDeviceOwnerUserId()) { in getDeviceOwnerComponent() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 528 if (dpm.getDeviceOwnerUserId() == userId) { in getProfileOrDeviceOwner() 545 return new EnforcedAdmin(adminComponent, dpm.getDeviceOwnerUserId()); in getDeviceOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 130 int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method
|
D | DevicePolicyManager.java | 3653 public int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in DevicePolicyManager 3656 return mService.getDeviceOwnerUserId(); in getDeviceOwnerUserId()
|