Searched refs:mOwners (Results 1 – 4 of 4) sorted by relevance
142 assertTrue(dpms.mOwners.hasDeviceOwner()); in testMigration()143 assertFalse(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration()144 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration()145 assertTrue(dpms.mOwners.hasProfileOwner(11)); in testMigration()146 assertFalse(dpms.mOwners.hasProfileOwner(12)); in testMigration()149 assertFalse(dpms.mOwners.getDeviceOwnerUserRestrictionsNeedsMigration()); in testMigration()150 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration( in testMigration()152 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(10)); in testMigration()153 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(11)); in testMigration()154 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(12)); in testMigration()[all …]
1004 dpms.mOwners.setDeviceOwner( in testDeviceOwnerMigration()1007 dpms.mOwners.writeDeviceOwner(); in testDeviceOwnerMigration()
345 final Owners mOwners; field in DevicePolicyManagerService494 && userHandle == mOwners.getDeviceOwnerUserId()) {502 && userHandle == mOwners.getDeviceOwnerUserId()1668 mOwners = Preconditions.checkNotNull(injector.newOwners()); in DevicePolicyManagerService()1755 mOwners.removeProfileOwner(userHandle); in removeUserData()1756 mOwners.writeProfileOwner(userHandle); in removeUserData()1772 mOwners.load(); in loadOwners()1790 final boolean isWatchWithDeviceOwner = mIsWatch && mOwners.hasDeviceOwner(); in setDeviceOwnerSystemPropertyLocked()1803 if (mOwners.hasDeviceOwner()) { in setDeviceOwnerSystemPropertyLocked()1818 if (!mOwners.hasDeviceOwner()) { in findOwnerComponentIfNecessaryLocked()[all …]
58 private final ArrayMap<String, UndoOwner> mOwners = field in UndoManager96 UndoOwner owner = mOwners.get(tag); in getOwner()110 mOwners.put(tag, owner); in getOwner()117 mOwners.remove(owner.mTag); in removeOwner()135 p.writeInt(mOwners.size()); in saveInstanceState()203 mOwners.put(tag, owner); in restoreOwner()