Searched refs:setDeviceOwnerType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | BaseIDevicePolicyManager.java | 141 public void setDeviceOwnerType(@NonNull ComponentName admin, int deviceOwnerType) { in setDeviceOwnerType() method in BaseIDevicePolicyManager
|
D | Owners.java | 642 void setDeviceOwnerType(String packageName, @DeviceOwnerType int deviceOwnerType) { in setDeviceOwnerType() method in Owners
|
D | DevicePolicyManagerService.java | 17499 public void setDeviceOwnerType(@NonNull ComponentName admin, 17510 mOwners.setDeviceOwnerType(packageName, deviceOwnerType);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 95 owners.setDeviceOwnerType(owners.getDeviceOwnerPackageName(), in testUpgrade01() 369 owners.setDeviceOwnerType(owners.getDeviceOwnerPackageName(), in testUpgrade04() 401 owners.setDeviceOwnerType(owners.getDeviceOwnerPackageName(), in testUpgrade04() 588 owners.setDeviceOwnerType(previousDeviceOwnerPackageName, DEVICE_OWNER_TYPE_FINANCED); in testRemoveExistingFiles()
|
D | DevicePolicyManagerTest.java | 7457 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenCallerNotAuthorized() 7464 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_throwsExceptionWhenThereIsNoDeviceOwner() 7472 () -> dpm.setDeviceOwnerType(admin2, DEVICE_OWNER_TYPE_FINANCED)); in testSetDeviceOwnerType_throwsExceptionWhenNotAsDeviceOwnerAdmin() 7479 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7497 dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_FINANCED); in testSetDeviceOwnerType_asDeviceOwner_throwsExceptionWhenSetDeviceOwnerTypeAgain() 7504 () -> dpm.setDeviceOwnerType(admin1, DEVICE_OWNER_TYPE_DEFAULT)); in testSetDeviceOwnerType_asDeviceOwner_throwsExceptionWhenSetDeviceOwnerTypeAgain()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 520 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
|
D | DevicePolicyManager.java | 13866 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager 13871 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
|