Searched refs:mOwners (Results 1 – 5 of 5) sorted by relevance
136 assertTrue(dpms.mOwners.hasDeviceOwner()); in testMigration()137 assertFalse(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration()138 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration()139 assertTrue(dpms.mOwners.hasProfileOwner(11)); in testMigration()140 assertFalse(dpms.mOwners.hasProfileOwner(12)); in testMigration()143 assertFalse(dpms.mOwners.getDeviceOwnerUserRestrictionsNeedsMigration()); in testMigration()144 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration( in testMigration()146 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(10)); in testMigration()147 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(11)); in testMigration()148 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(12)); in testMigration()[all …]
1325 dpms.mOwners.setDeviceOwner( in testDeviceOwnerMigration()1328 dpms.mOwners.writeDeviceOwner(); in testDeviceOwnerMigration()5419 return dpms.mOwners.getDeviceOwnerFile(); in getDeviceOwnerFile()5423 return dpms.mOwners.getProfileOwnerFile(DpmMockContext.CALLER_USER_HANDLE); in getProfileOwnerFile()
521 final Owners mOwners; field in DevicePolicyManagerService763 && userHandle == mOwners.getDeviceOwnerUserId()) {771 && userHandle == mOwners.getDeviceOwnerUserId()2222 mOwners = Preconditions.checkNotNull(injector.newOwners()); in DevicePolicyManagerService()2346 mOwners.removeProfileOwner(userHandle); in removeUserData()2347 mOwners.writeProfileOwner(userHandle); in removeUserData()2366 mOwners.load(); in loadOwners()2382 maybeSetDefaultRestrictionsForAdminLocked(mOwners.getDeviceOwnerUserId(), in maybeSetDefaultDeviceOwnerUserRestrictionsLocked()2390 for (final int userId : mOwners.getProfileOwnerKeys()) { in maybeSetDefaultProfileOwnerUserRestrictions()2455 final boolean hasDeviceOwner = mOwners.hasDeviceOwner(); in setDeviceOwnerSystemPropertyLocked()[all …]
57 private final ArrayMap<String, UndoOwner> mOwners = field in UndoManager100 UndoOwner owner = mOwners.get(tag); in getOwner()114 mOwners.put(tag, owner); in getOwner()121 mOwners.remove(owner.mTag); in removeOwner()140 p.writeInt(mOwners.size()); in saveInstanceState()208 mOwners.put(tag, owner); in restoreOwner()
17111 Landroid/content/UndoManager;->mOwners:Landroid/util/ArrayMap;