Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DPrivacyPreferenceControllerHelperTest.java120 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isFalse(); in isFinancedDevice_deviceNotManaged_returnsFalse()
125 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isFalse(); in isFinancedDevice_deviceManaged_defaultDeviceOwnerType_returnsFalse()
133 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isTrue(); in isFinancedDevice_deviceManaged_financedDeviceOwnerType_returnsTrue()
DFinancedPrivacyPreferenceControllerTest.java65 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(true); in testIsAvailable_financedDevice_returnsTrue()
72 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(false); in testIsAvailable_enterpriseDevice_returnsFalse()
DEnterprisePrivacyPreferenceControllerTest.java73 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(true); in testIsAvailable_deviceOwner_financedDevice_returnsFalse()
81 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(false); in testIsAvailable_deviceOwner_enterpriseDevice_returnsTrue()
/packages/apps/Settings/src/com/android/settings/enterprise/
DPrivacySettingsPreferenceFactory.java32 if (isFinancedDevice(context)) { in createPrivacySettingsPreference()
49 private static boolean isFinancedDevice(Context context) { in isFinancedDevice() method in PrivacySettingsPreferenceFactory
DFinancedPrivacyPreferenceController.java61 return mPrivacyPreferenceControllerHelper.isFinancedDevice(); in isAvailable()
DEnterprisePrivacyPreferenceController.java58 && !mPrivacyPreferenceControllerHelper.isFinancedDevice(); in isAvailable()
DPrivacyPreferenceControllerHelper.java65 boolean isFinancedDevice() { in isFinancedDevice() method in PrivacyPreferenceControllerHelper
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddWarningPreferenceController.java54 if (isFinancedDevice()) { in updateState()
74 private boolean isFinancedDevice() { in isFinancedDevice() method in DeviceAdminAddWarningPreferenceController
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java676 if (isFinancedDevice()) { in updateInterface()
800 private boolean isFinancedDevice() { in isFinancedDevice() method in DeviceAdminAdd