Home
last modified time | relevance | path

Searched refs:mOwners (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java163 assertTrue(dpms.mOwners.hasDeviceOwner()); in testMigration()
164 assertFalse(dpms.mOwners.hasProfileOwner(USER_SYSTEM)); in testMigration()
165 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration()
166 assertTrue(dpms.mOwners.hasProfileOwner(11)); in testMigration()
167 assertFalse(dpms.mOwners.hasProfileOwner(12)); in testMigration()
170 assertFalse(dpms.mOwners.getDeviceOwnerUserRestrictionsNeedsMigration()); in testMigration()
171 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration( in testMigration()
173 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(10)); in testMigration()
174 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(11)); in testMigration()
175 assertFalse(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(12)); in testMigration()
[all …]
/frameworks/base/core/java/android/content/
DUndoManager.java57 private final ArrayMap<String, UndoOwner> mOwners = field in UndoManager
100 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()