Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java107 owners.setDeviceOwnerType( in testDeviceOwnerType()
113 owners.setDeviceOwnerType( in testDeviceOwnerType()
DDevicePolicyManagerTest.java7709 () -> 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/
DBaseIDevicePolicyManager.java153 public void setDeviceOwnerType(@NonNull ComponentName admin, int deviceOwnerType) { in setDeviceOwnerType() method in BaseIDevicePolicyManager
DOwners.java449 void setDeviceOwnerType(String packageName, @DeviceOwnerType int deviceOwnerType, in setDeviceOwnerType() method in Owners
DDevicePolicyManagerService.java18414 public void setDeviceOwnerType(@NonNull ComponentName admin,
18436 mOwners.setDeviceOwnerType(packageName, deviceOwnerType, isAdminTestOnly);
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl536 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
DDevicePolicyManager.java15166 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager
15171 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
/frameworks/base/core/api/
Dtest-current.txt527 method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);