Home
last modified time | relevance | path

Searched refs:hasDeviceOwner (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java61 assertFalse(owners.hasDeviceOwner()); in testUpgrade01()
78 assertFalse(owners.hasDeviceOwner()); in testUpgrade01()
113 assertTrue(owners.hasDeviceOwner()); in testUpgrade02()
133 assertTrue(owners.hasDeviceOwner()); in testUpgrade02()
171 assertFalse(owners.hasDeviceOwner()); in testUpgrade03()
199 assertFalse(owners.hasDeviceOwner()); in testUpgrade03()
249 assertTrue(owners.hasDeviceOwner()); in testUpgrade04()
281 assertTrue(owners.hasDeviceOwner()); in testUpgrade04()
359 assertFalse(owners.hasDeviceOwner()); in testUpgrade05()
378 assertFalse(owners.hasDeviceOwner()); in testUpgrade05()
[all …]
DDevicePolicyManagerServiceMigrationTest.java136 assertTrue(dpms.mOwners.hasDeviceOwner()); in testMigration()
248 assertFalse(dpms.mOwners.hasDeviceOwner()); in testMigration2_profileOwnerOnUser0()
315 assertFalse(dpms.mOwners.hasDeviceOwner()); in testMigration3_managedProfileOwner()
DDevicePolicyManagerTest.java908 private void checkGetDeviceOwnerInfoApi(DevicePolicyManager dpm, boolean hasDeviceOwner) { in checkGetDeviceOwnerInfoApi() argument
919 if (hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
938 if (hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
962 if (hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
975 if (hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
995 if (hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java180 mUserManagerInternal.setDeviceManaged(hasDeviceOwner()); in load()
184 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load()
419 boolean hasDeviceOwner() { in hasDeviceOwner() method in Owners
DDevicePolicyManagerService.java2338 final boolean hasDeviceOwner = mOwners.hasDeviceOwner(); in setDeviceOwnerSystemPropertyLocked()
2341 if (!hasDeviceOwner && !deviceProvisioned) { in setDeviceOwnerSystemPropertyLocked()
2353 final String value = Boolean.toString(hasDeviceOwner); in setDeviceOwnerSystemPropertyLocked()
2370 if (!mOwners.hasDeviceOwner()) { in findOwnerComponentIfNecessaryLocked()
3444 if (!mOwners.hasDeviceOwner()) { in ensureDeviceOwnerUserStarted()
5354 if (!mOwners.hasDeviceOwner()) { in enforceIsDeviceOwnerOrCertInstallerOfDeviceOwner()
7242 public boolean hasDeviceOwner() { in hasDeviceOwner() method in DevicePolicyManagerService
7244 return mOwners.hasDeviceOwner(); in hasDeviceOwner()
7253 return mOwners.hasDeviceOwner() in isDeviceOwner()
7261 return mOwners.hasDeviceOwner() in isDeviceOwnerPackage()
[all …]
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl142 boolean hasDeviceOwner(); in hasDeviceOwner() method
DDevicePolicyManager.java5167 return mService.hasDeviceOwner(); in isDeviceManaged()
/frameworks/base/config/
Dboot-image-profile.txt926 HPLandroid/app/admin/IDevicePolicyManager$Stub$Proxy;->hasDeviceOwner()Z
15662 HSPLandroid/app/admin/IDevicePolicyManager;->hasDeviceOwner()Z