/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | PrivacyPreferenceControllerHelperTest.java | 123 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()
|
D | FinancedPrivacyPreferenceControllerTest.java | 70 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(true); in testIsAvailable_financedDevice_returnsTrue() 77 when(mPrivacyPreferenceControllerHelper.isFinancedDevice()).thenReturn(false); in testIsAvailable_enterpriseDevice_returnsFalse()
|
D | EnterprisePrivacyPreferenceControllerTest.java | 78 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/ |
D | PrivacySettingsPreferenceFactory.java | 32 if (isFinancedDevice(context)) { in createPrivacySettingsPreference() 49 private static boolean isFinancedDevice(Context context) { in isFinancedDevice() method in PrivacySettingsPreferenceFactory
|
D | FinancedPrivacyPreferenceController.java | 54 return mPrivacyPreferenceControllerHelper.isFinancedDevice() in getAvailabilityStatus()
|
D | EnterprisePrivacyPreferenceController.java | 51 && !mPrivacyPreferenceControllerHelper.isFinancedDevice() in getAvailabilityStatus()
|
D | PrivacyPreferenceControllerHelper.java | 73 boolean isFinancedDevice() { in isFinancedDevice() method in PrivacyPreferenceControllerHelper
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddWarningPreferenceController.java | 54 if (isFinancedDevice()) { in updateState() 74 private boolean isFinancedDevice() { in isFinancedDevice() method in DeviceAdminAddWarningPreferenceController
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systemdialogs/ |
D | SystemDialogsViewController.java | 139 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/ |
D | DeviceAdminAdd.java | 699 if (isFinancedDevice()) { in updateInterface() 836 private boolean isFinancedDevice() { in isFinancedDevice() method in DeviceAdminAdd
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/ |
D | HibernationPolicy.kt | 581 val isFinancedDevice = in isPackageHibernationExemptBySystem() constant 583 if (!isFinancedDevice) { in isPackageHibernationExemptBySystem()
|