Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DTapScreenGesturePreferenceControllerTest.java74 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_gestureNotSupported_UNSUPPORTED_ON_DEVICE() local
76 assertThat(availabilityStatus).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_gestureNotSupported_UNSUPPORTED_ON_DEVICE()
82 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_gestureSupported_AVAILABLE() local
84 assertThat(availabilityStatus).isEqualTo(AVAILABLE); in getAvailabilityStatus_gestureSupported_AVAILABLE()
DPickupGesturePreferenceControllerTest.java94 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE() local
96 assertThat(availabilityStatus).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()
103 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE() local
105 assertThat(availabilityStatus).isEqualTo(AVAILABLE); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE()
DDoubleTapScreenPreferenceControllerTest.java105 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE() local
107 assertThat(availabilityStatus).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()
114 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE() local
116 assertThat(availabilityStatus).isEqualTo(AVAILABLE); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DBasePreferenceController.java190 final int availabilityStatus = getAvailabilityStatus(); in isAvailable() local
191 return (availabilityStatus == AVAILABLE in isAvailable()
192 || availabilityStatus == AVAILABLE_UNSEARCHABLE in isAvailable()
193 || availabilityStatus == DISABLED_DEPENDENT_SETTING); in isAvailable()
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java190 final int availabilityStatus = getAvailabilityStatus(); in isAvailable() local
191 return (availabilityStatus == AVAILABLE in isAvailable()
192 || availabilityStatus == AVAILABLE_UNSEARCHABLE in isAvailable()
193 || availabilityStatus == DISABLED_DEPENDENT_SETTING); in isAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicePreferenceController.java76 int availabilityStatus = super.getAvailabilityStatus(); in getAvailabilityStatus() local
77 if (availabilityStatus == AVAILABLE) { in getAvailabilityStatus()
81 return availabilityStatus; in getAvailabilityStatus()
DBluetoothUnbondedDevicesPreferenceController.java75 int availabilityStatus = super.getAvailabilityStatus(); in getAvailabilityStatus() local
76 if (availabilityStatus == AVAILABLE in getAvailabilityStatus()
81 return availabilityStatus; in getAvailabilityStatus()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java257 int availabilityStatus = getAvailabilityStatus(); in isAvailable() local
258 return availabilityStatus == AVAILABLE || availabilityStatus == AVAILABLE_FOR_VIEWING; in isAvailable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DFakePreferenceController.java77 void setAvailabilityStatus(@AvailabilityStatus int availabilityStatus) { in setAvailabilityStatus() argument
78 mAvailabilityStatus = availabilityStatus; in setAvailabilityStatus()