Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DOwnersTest.java117 owners.setDeviceOwnerType( in testDeviceOwnerType()
123 owners.setDeviceOwnerType( in testDeviceOwnerType()
H A DDevicePolicyManagerTest.java7760 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
7771 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success()
7773 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success()
7787 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_invalidRestrictions_restrictionNotSet()
7807 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_validRestrictions_setsRestriction()
7847 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_validLockTaskFeatures_lockTaskFeaturesSet()
7862 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_invalidLockTaskFeatures_throwsException()
7877 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testIsUninstallBlocked_financeDo_success()
7890 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUninstallBlocked_financeDo_success()
7905 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserControlDisabledPackages_financeDo_success()
[all …]
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java119 mDeviceStateCache.setDeviceOwnerType(deviceOwnerType); in load()
121 mDeviceStateCache.setDeviceOwnerType(NO_DEVICE_OWNER); in load()
279 mDeviceStateCache.setDeviceOwnerType(deviceOwnerType); in setDeviceOwner()
299 mDeviceStateCache.setDeviceOwnerType(NO_DEVICE_OWNER); in clearDeviceOwner()
532 void setDeviceOwnerType(String packageName, @DeviceOwnerType int deviceOwnerType, in setDeviceOwnerType() method in Owners
H A DDeviceStateCacheImpl.java63 void setDeviceOwnerType(int deviceOwnerType) { in setDeviceOwnerType() method in DeviceStateCacheImpl
H A DDevicePolicyManagerService.java22386 public void setDeviceOwnerType(@NonNull ComponentName admin,
22408 mOwners.setDeviceOwnerType(packageName, deviceOwnerType, isAdminTestOnly);
/aosp14/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl562 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
H A DDevicePolicyManager.java16556 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager
16561 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt574 method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);