Searched refs:setDeviceOwnerType (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 117 owners.setDeviceOwnerType( in testDeviceOwnerType() 123 owners.setDeviceOwnerType( in testDeviceOwnerType()
|
D | DevicePolicyManagerTest.java | 7755 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenCallerNotAuthorized() 7762 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenThereIsNoDeviceOwner() 7770 () -> dpm.setDeviceOwnerType(admin2, DEVICE_OWNER_TYPE_FINANCED)); in testSetDeviceOwnerType_throwsExceptionWhenNotAsDeviceOwnerAdmin() 7777 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7788 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success() 7790 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success() 7804 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_invalidRestrictions_restrictionNotSet() 7824 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_validRestrictions_setsRestriction() 7864 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_validLockTaskFeatures_lockTaskFeaturesSet() 7879 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_invalidLockTaskFeatures_throwsException() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 119 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
|
D | DeviceStateCacheImpl.java | 63 void setDeviceOwnerType(int deviceOwnerType) { in setDeviceOwnerType() method in DeviceStateCacheImpl
|
D | DevicePolicyManagerService.java | 22263 public void setDeviceOwnerType(@NonNull ComponentName admin, 22285 mOwners.setDeviceOwnerType(packageName, deviceOwnerType, isAdminTestOnly);
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 568 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
|
D | DevicePolicyManager.java | 17034 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager 17039 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
|
/frameworks/base/core/api/ |
D | test-current.txt | 619 method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);
|
/frameworks/base/services/ |
D | art-wear-profile | 9876 PLcom/android/server/devicepolicy/DeviceStateCacheImpl;->setDeviceOwnerType(I)V
|