Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DPrivacyPreferenceControllerHelperTest.java123 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isFalse(); in isFinancedDevice_deviceNotManaged_returnsFalse()
128 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isFalse(); in isFinancedDevice_deviceManaged_defaultDeviceOwnerType_returnsFalse()
136 assertThat(mPrivacyPreferenceControllerHelper.isFinancedDevice()).isTrue(); in isFinancedDevice_deviceManaged_financedDeviceOwnerType_returnsTrue()
DFinancedPrivacyPreferenceControllerTest.java70 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(true); in testIsAvailable_financedDevice_returnsTrue()
77 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(false); in testIsAvailable_enterpriseDevice_returnsFalse()
DEnterprisePrivacyPreferenceControllerTest.java78 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(true); in testIsAvailable_deviceOwner_financedDevice_returnsFalse()
86 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.java54 return mPrivacyPreferenceControllerHelper.isFinancedDevice() in getAvailabilityStatus()
DEnterprisePrivacyPreferenceController.java51 && !mPrivacyPreferenceControllerHelper.isFinancedDevice() in getAvailabilityStatus()
DPrivacyPreferenceControllerHelper.java73 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/Car/SystemUI/src/com/android/systemui/car/systemdialogs/
DSystemDialogsViewController.java139 if (deviceOwnerOrganization != null && isFinancedDevice()) { in getDeviceMonitoringTitle()
149 if (isFinancedDevice()) { in getDeviceMonitoringMessage()
217 private boolean isFinancedDevice() { in isFinancedDevice() method in SystemDialogsViewController
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java699 if (isFinancedDevice()) { in updateInterface()
836 private boolean isFinancedDevice() { in isFinancedDevice() method in DeviceAdminAdd
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt581 val isFinancedDevice = in isPackageHibernationExemptBySystem() constant
583 if (!isFinancedDevice) { in isPackageHibernationExemptBySystem()