Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java117 owners.setDeviceOwnerType( in testDeviceOwnerType()
123 owners.setDeviceOwnerType( in testDeviceOwnerType()
DDevicePolicyManagerTest.java7755 () -> 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/
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
DDeviceStateCacheImpl.java63 void setDeviceOwnerType(int deviceOwnerType) { in setDeviceOwnerType() method in DeviceStateCacheImpl
DDevicePolicyManagerService.java22263 public void setDeviceOwnerType(@NonNull ComponentName admin,
22285 mOwners.setDeviceOwnerType(packageName, deviceOwnerType, isAdminTestOnly);
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl568 void setDeviceOwnerType(in ComponentName admin, in int deviceOwnerType); in setDeviceOwnerType() method
DDevicePolicyManager.java17034 public void setDeviceOwnerType(@NonNull ComponentName admin, in setDeviceOwnerType() method in DevicePolicyManager
17039 mService.setDeviceOwnerType(admin, deviceOwnerType); in setDeviceOwnerType()
/frameworks/base/core/api/
Dtest-current.txt619 method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);
/frameworks/base/services/
Dart-wear-profile9876 PLcom/android/server/devicepolicy/DeviceStateCacheImpl;->setDeviceOwnerType(I)V