/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceController.java | 97 @IntDef({AVAILABLE, CONDITIONALLY_UNAVAILABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER, 116 public static final int UNSUPPORTED_ON_DEVICE = 2; field in PreferenceController 270 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onCreate() 286 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onStart() 299 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onResume() 311 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onPause() 323 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onStop() 336 if (getAvailabilityStatus() == UNSUPPORTED_ON_DEVICE) { in onDestroy()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DefaultAppShortcutPreferenceControllerBaseTest.java | 105 DefaultAppShortcutPreferenceControllerBase.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noCallback_shouldReturnUnsupported() 114 DefaultAppShortcutPreferenceControllerBase.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noCallbackForIsRoleNotVisible_shouldReturnUnsupported() 123 DefaultAppShortcutPreferenceControllerBase.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_RoleIsNotVisible_shouldReturnUnsupported() 132 DefaultAppShortcutPreferenceControllerBase.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noCallbackForIsApplicationQualifiedForRole_shouldReturnUnsupported() 141 DefaultAppShortcutPreferenceControllerBase.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_applicationIsNotQualifiedForRole_shouldReturnUnsupported()
|
D | TimeSpentInAppPreferenceControllerTest.java | 82 .isEqualTo(BasePreferenceController.UNSUPPORTED_ON_DEVICE); in noPackageName_shouldBeDisabled() 90 .isEqualTo(BasePreferenceController.UNSUPPORTED_ON_DEVICE); in noIntentHandler_shouldBeDisabled() 99 .isEqualTo(BasePreferenceController.UNSUPPORTED_ON_DEVICE); in hasIntentHandler_notSystemApp_shouldBeDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BasePreferenceControllerTest.java | 23 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 88 mPreferenceController.setAvailability(UNSUPPORTED_ON_DEVICE); in isAvailable_availableStatusUnsupportedOnDevice_returnsFalse() 124 mPreferenceController.setAvailability(UNSUPPORTED_ON_DEVICE); in isSupported_availableStatusUnsupported_returnsFalse() 181 mPreferenceController.setAvailability(UNSUPPORTED_ON_DEVICE); in updateNonIndexableKeys_controllerUnavailable_shouldAddKey()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/vrlistener/ |
D | VrListenerScreenPreferenceControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 57 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailability_lowMemory_unavailable() 63 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailability_disabled_unavailable()
|
D | EnabledVrListenersControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 57 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailability_lowMemory_unavailable() 63 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailability_disabled_unavailable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | TimeSpentInAppPreferenceController.java | 59 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 64 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 71 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | ResetEsimPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE; 66 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice() 73 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | TimeSpentInAppPreferenceController.java | 63 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 68 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 75 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | AddMobileNetworkPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE; 67 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_euiccDisabled_isUnsupported() 83 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/ |
D | InstantAppAccountPreferenceControllerTest.java | 21 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 79 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in testGetAvailabilityStatus_nullAppSettingsComponent() 97 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in testGetAvailabilityStatus_disableWebActions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/ |
D | NfcForegroundPreferenceController.java | 70 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 73 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 78 : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
D | NfcPaymentPreferenceController.java | 84 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 87 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 95 : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
D | SecureNfcPreferenceController.java | 67 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 71 : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcForegroundPreferenceController.java | 70 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 73 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 78 : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
D | NfcPaymentPreferenceController.java | 84 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 87 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 95 : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | BasePreferenceController.java | 52 @IntDef({AVAILABLE, AVAILABLE_UNSEARCHABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER, 80 public static final int UNSUPPORTED_ON_DEVICE = 3; field in BasePreferenceController 204 return getAvailabilityStatus() != UNSUPPORTED_ON_DEVICE; in isSupported()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE; 89 UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noPermissionController_returnsUnsupportedOnDevice() 101 UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | BasePreferenceController.java | 52 @IntDef({AVAILABLE, AVAILABLE_UNSEARCHABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER, 80 public static final int UNSUPPORTED_ON_DEVICE = 3; field in BasePreferenceController 204 return getAvailabilityStatus() != UNSUPPORTED_ON_DEVICE; in isSupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/ |
D | MainlineModuleVersionPreferenceControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 71 assertThat(controller.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noMainlineModuleProvider_unavailable() 86 assertThat(controller.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noMainlineModulePackageInfo_unavailable()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAutofillPickerEntryPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE; 109 assertThat(controller.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice() 116 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | TopLevelAccessibilityPreferenceControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 57 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_unsupportedWhenSet()
|
D | LiveCaptionPreferenceControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 64 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_noResolveIntent_shouldReturnUnavailable()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | AddMobileNetworkPreferenceController.java | 60 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 66 return UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AutoBrightnessDetailPreferenceControllerTest.java | 20 import static com.android.settings.core.BasePreferenceController.UNSUPPORTED_ON_DEVICE; 67 assertThat(mController.getAvailabilityStatus()).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|