Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java173 assertThat(dpms.mOwners.hasDeviceOwner()).isTrue(); in testMigration()
174 assertThat(dpms.mOwners.hasProfileOwner(USER_SYSTEM)).isFalse(); in testMigration()
175 assertThat(dpms.mOwners.hasProfileOwner(10)).isTrue(); in testMigration()
176 assertThat(dpms.mOwners.hasProfileOwner(11)).isTrue(); in testMigration()
177 assertThat(dpms.mOwners.hasProfileOwner(12)).isFalse(); in testMigration()
180 assertThat(dpms.mOwners.getDeviceOwnerUserRestrictionsNeedsMigration()).isFalse(); in testMigration()
181 assertThat(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(USER_SYSTEM)) in testMigration()
183 assertThat(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(10)).isFalse(); in testMigration()
184 assertThat(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(11)).isFalse(); in testMigration()
185 assertThat(dpms.mOwners.getProfileOwnerUserRestrictionsNeedsMigration(12)).isFalse(); in testMigration()
[all …]
DDevicePolicyManagerTest.java1643 dpms.mOwners.setDeviceOwner( in testDeviceOwnerMigration()
1646 dpms.mOwners.writeDeviceOwner(); in testDeviceOwnerMigration()
2083 ComponentName component = dpms.mOwners.getDeviceOwnerComponent(); in getDeviceOwner()
2085 dpms.getUserData(dpms.mOwners.getDeviceOwnerUserId()); in getDeviceOwner()
4817 dpms.mOwners.setSystemUpdatePolicy(SystemUpdatePolicy.createAutomaticInstallPolicy()); in testWipeDataManagedProfileOnOrganizationOwnedDevice()
4845 assertThat(dpms.mOwners.getSystemUpdatePolicy()).isNull(); in testWipeDataManagedProfileOnOrganizationOwnedDevice()
7482 assertThat(dpms.mOwners.hasDeviceOwner()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
7488 assertThat(dpms.mOwners.hasDeviceOwner()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
7500 assertThat(dpms.mOwners.hasDeviceOwner()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_throwsExceptionWhenSetDeviceOwnerTypeAgain()
7897 return dpms.mOwners.getDeviceOwnerFile();
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java664 final Owners mOwners; field in DevicePolicyManagerService
859 && userHandle == mOwners.getDeviceOwnerUserId()) {
1266 List<OwnerDto> owners = mOwners.listAllOwners(); in listAllOwners()
1719 mOwners = Objects.requireNonNull(injector.newOwners()); in DevicePolicyManagerService()
1837 mOwners.setDeviceOwnerProtectedPackages( in migrateDeviceOwnerProtectedPackagesToOwners()
1870 isOrgOwned = mOwners.isProfileOwnerOfOrganizationOwnedDevice(userHandle); in removeUserData()
1872 mOwners.removeProfileOwner(userHandle); in removeUserData()
1873 mOwners.writeProfileOwner(userHandle); in removeUserData()
1909 mOwners.load(); in loadOwners()
1990 final int doUserId = mOwners.getDeviceOwnerUserId(); in migrateToProfileOnOrganizationOwnedDeviceIfCompLocked()
[all …]
/frameworks/base/core/java/android/content/
DUndoManager.java58 private final ArrayMap<String, UndoOwner> mOwners = field in UndoManager
101 UndoOwner owner = mOwners.get(tag); in getOwner()
115 mOwners.put(tag, owner); in getOwner()
122 mOwners.remove(owner.mTag); in removeOwner()
141 p.writeInt(mOwners.size()); in saveInstanceState()
209 mOwners.put(tag, owner); in restoreOwner()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17102 Landroid/content/UndoManager;->mOwners:Landroid/util/ArrayMap;