Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
H A DTapScreenGesturePreferenceControllerTest.java73 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_gestureNotSupported_UNSUPPORTED_ON_DEVICE() local
75 assertThat(availabilityStatus).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_gestureNotSupported_UNSUPPORTED_ON_DEVICE()
81 final int availabilityStatus = mController.getAvailabilityStatus(); in getAvailabilityStatus_gestureSupported_AVAILABLE() local
83 assertThat(availabilityStatus).isEqualTo(AVAILABLE); in getAvailabilityStatus_gestureSupported_AVAILABLE()
H A 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()
H A 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()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicePreferenceController.java76 int availabilityStatus = super.getAvailabilityStatus(); in getAvailabilityStatus() local
77 if (availabilityStatus == AVAILABLE) { in getAvailabilityStatus()
81 return availabilityStatus; in getAvailabilityStatus()
H A DBluetoothUnbondedDevicesPreferenceController.java77 int availabilityStatus = super.getAvailabilityStatus(); in getAvailabilityStatus() local
78 if (availabilityStatus == AVAILABLE in getAvailabilityStatus()
82 return availabilityStatus; in getAvailabilityStatus()
/aosp12/packages/apps/Settings/src/com/android/settings/core/
H A DBasePreferenceController.java257 final int availabilityStatus = getAvailabilityStatus(); in isAvailable() local
258 return (availabilityStatus == AVAILABLE in isAvailable()
259 || availabilityStatus == AVAILABLE_UNSEARCHABLE in isAvailable()
260 || availabilityStatus == DISABLED_DEPENDENT_SETTING); in isAvailable()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
H A DFakePreferenceController.java77 void setAvailabilityStatus(@AvailabilityStatus int availabilityStatus) { in setAvailabilityStatus() argument
78 mAvailabilityStatus = availabilityStatus; in setAvailabilityStatus()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
H A DFakePreferenceController.java77 void setAvailabilityStatus(@AvailabilityStatus int availabilityStatus) { in setAvailabilityStatus() argument
78 mAvailabilityStatus = availabilityStatus; in setAvailabilityStatus()
H A DPreferenceControllerTest.java323 public void setAvailabilityStatus(int availabilityStatus) { in setAvailabilityStatus() argument
324 mAvailabilityStatus = availabilityStatus; in setAvailabilityStatus()
H A DExtraSettingsPreferenceControllerTest.java341 public void setAvailabilityStatus(int availabilityStatus) { in setAvailabilityStatus() argument
342 mAvailabilityStatus = availabilityStatus; in setAvailabilityStatus()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DPreferenceController.java267 int availabilityStatus = getAvailabilityStatus(); in isAvailable() local
268 return availabilityStatus == AVAILABLE || availabilityStatus == AVAILABLE_FOR_VIEWING; in isAvailable()
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
H A DGnssNative.java240 void onReportGeofenceStatus(@GeofenceAvailability int availabilityStatus, in onReportGeofenceStatus() argument