Searched refs:setDeviceOwnerType (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 107 owners.setDeviceOwnerType( in testDeviceOwnerType() 113 owners.setDeviceOwnerType( in testDeviceOwnerType()
|
D | DevicePolicyManagerTest.java | 7709 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenCallerNotAuthorized() 7716 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenThereIsNoDeviceOwner() 7724 () -> dpm.setDeviceOwnerType(admin2, DEVICE_OWNER_TYPE_FINANCED)); in testSetDeviceOwnerType_throwsExceptionWhenNotAsDeviceOwnerAdmin() 7731 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7742 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success() 7744 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success() 7765 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_invalidRestrictions_restrictionNotSet() 7784 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetUserRestriction_financeDo_validRestrictions_setsRestriction() 7824 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_validLockTaskFeatures_lockTaskFeaturesSet() 7839 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetLockTaskFeatures_financeDo_invalidLockTaskFeatures_throwsException() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | BaseIDevicePolicyManager.java | 153 public void setDeviceOwnerType(@NonNull ComponentName admin, int deviceOwnerType) { in setDeviceOwnerType() method in BaseIDevicePolicyManager
|
D | Owners.java | 449 void setDeviceOwnerType(String packageName, @DeviceOwnerType int deviceOwnerType, in setDeviceOwnerType() method in Owners
|
D | DevicePolicyManagerService.java | 18414 public void setDeviceOwnerType(@NonNull ComponentName admin, 18436 mOwners.setDeviceOwnerType(packageName, deviceOwnerType, isAdminTestOnly);
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 536 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
|
D | DevicePolicyManager.java | 15166 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager 15171 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
|
/frameworks/base/core/api/ |
D | test-current.txt | 527 method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);
|