Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DPrivacyPreferenceControllerHelperTest.java71 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
130 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in isFinancedDevice_deviceManaged_financedDeviceOwnerType_returnsTrue()
DEnterprisePrivacySettingsTest.java74 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
/packages/apps/Settings/src/com/android/settings/enterprise/
DPrivacySettingsPreferenceFactory.java51 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
DPrivacyPreferenceControllerHelper.java66 return mDevicePolicyManager.isDeviceManaged() && mDevicePolicyManager.getDeviceOwnerType( in isFinancedDevice()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddWarningPreferenceController.java75 return mDpm.isDeviceManaged() && mDpm.getDeviceOwnerType(mDpm in isFinancedDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java89 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in ShadowDevicePolicyManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterpriseTestCase.java103 when(mDpm.getDeviceOwnerType(mDefaultAdmin)) in mockFinancialDevice()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java801 return mDPM.isDeviceManaged() && mDPM.getDeviceOwnerType( in isFinancedDevice()