/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | NewTilesAvailabilityInteractorTest.kt | 60 val availability by collectLastValue(underTest.newTilesAvailable) in <lambda>() constant 62 assertThat(availability).isEqualTo( in <lambda>() 75 val availability by collectLastValue(underTest.newTilesAvailable) in <lambda>() constant 78 assertThat(availability).isEqualTo( in <lambda>() 93 val availability by collectLastValue(underTest.newTilesAvailable) in <lambda>() constant 95 assertThat(availability).isEmpty() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/ |
D | FlashlightTileDataInteractorTest.kt | 58 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 60 assertThat(availability).isTrue() in <lambda>() 67 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 69 assertThat(availability).isFalse() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/qr/domain/interactor/ |
D | QRCodeScannerTileDataInteractorTest.kt | 71 val availability by collectLastValue(underTest.availability(testUser)) in availability_matchesController_cameraNotAvailable() constant 73 assertThat(availability).isEqualTo(expectedAvailability) in availability_matchesController_cameraNotAvailable() 82 val availability by collectLastValue(underTest.availability(testUser)) in availability_matchesController_cameraIsAvailable() constant 84 assertThat(availability).isEqualTo(expectedAvailability) in availability_matchesController_cameraIsAvailable()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/ |
D | WorkModeTileDataInteractorTest.kt | 44 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 46 assertThat(availability).isFalse() in <lambda>() 49 assertThat(availability).isTrue() in <lambda>() 52 assertThat(availability).isFalse() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/ |
D | ColorCorrectionTileDataInteractorTest.kt | 49 val availability = underTest.availability(TEST_USER).toCollection(mutableListOf()) in <lambda>() constant 51 assertThat(availability).hasSize(1) in <lambda>() 52 assertThat(availability.last()).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/ |
D | ColorInversionTileDataInteractorTest.kt | 49 val availability = underTest.availability(TEST_USER).toCollection(mutableListOf()) in <lambda>() constant 51 assertThat(availability).hasSize(1) in <lambda>() 52 assertThat(availability.last()).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/airplate/domain/interactor/ |
D | AirplaneModeTileDataInteractorTest.kt | 51 val availability = underTest.availability(TEST_USER).toCollection(mutableListOf()) in <lambda>() constant 53 assertThat(availability).hasSize(1) in <lambda>() 54 assertThat(availability.last()).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/domain/interactor/ |
D | ReduceBrightColorsTileDataInteractorTest.kt | 59 val availability = underTest.availability(TEST_USER).toCollection(mutableListOf()) in alwaysAvailable() constant 61 assertThat(availability).hasSize(1) in alwaysAvailable() 62 assertThat(availability.last()).isEqualTo(isAvailable) in alwaysAvailable()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/ |
D | BatterySaverTileDataInteractorTest.kt | 55 val availability = underTest.availability(testUser).toCollection(mutableListOf()) in availability_isTrue() constant 57 Truth.assertThat(availability).hasSize(1) in availability_isTrue() 58 Truth.assertThat(availability.last()).isTrue() in availability_isTrue()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/ |
D | FontScalingTileDataInteractorTest.kt | 63 val availability by collectLastValue(underTest.availability(testUser)) in <lambda>() constant 65 Truth.assertThat(availability).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/interactor/ |
D | SensorPrivacyToggleTileDataInteractorTest.kt | 68 val availability = underTest.availability(testUser).toCollection(mutableListOf()) in availability_isTrue() constant 71 assertThat(availability).hasSize(1) in availability_isTrue() 72 assertThat(availability.last()).isTrue() in availability_isTrue()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | MainInteractionService.java | 75 private void hotwordAvailabilityChangeHelper(int availability) { in hotwordAvailabilityChangeHelper() argument 76 Log.i(TAG, "Hotword availability = " + availability); in hotwordAvailabilityChangeHelper() 77 switch (availability) { in hotwordAvailabilityChangeHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/ |
D | QSTileDataInteractor.kt | 49 fun availability(user: UserHandle): Flow<Boolean> in tileData() method 53 override fun availability(user: UserHandle): Flow<Boolean> { in tileData() method
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/ |
D | DataSaverTileDataInteractorTest.kt | 51 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 53 Truth.assertThat(availability).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/onehanded/domain/interactor/ |
D | OneHandedModeTileDataInteractorTest.kt | 51 val availability by collectLastValue(underTest.availability(testUser)) in <lambda>() constant 53 assertThat(availability).isEqualTo(expectedAvailability) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/location/interactor/ |
D | LocationTileDataInteractorTest.kt | 59 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 61 Truth.assertThat(availability).isTrue() in <lambda>()
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssGeofenceCallback.h | 54 binder::Status gnssGeofenceStatusCb(int availability, 114 static void gnssGeofenceStatusCb(int availability, const T& lastLocation); 139 void GnssGeofenceCallbackUtil::gnssGeofenceStatusCb(int availability, const T& lastLocation) { in gnssGeofenceStatusCb() argument 144 env->CallVoidMethod(mCallbacksObj, method_reportGeofenceStatus, availability, jLocation); in gnssGeofenceStatusCb()
|
D | GnssGeofenceCallback.cpp | 67 Status GnssGeofenceCallbackAidl::gnssGeofenceStatusCb(int availability, in gnssGeofenceStatusCb() argument 69 GnssGeofenceCallbackUtil::gnssGeofenceStatusCb(availability, lastLocation); in gnssGeofenceStatusCb() 101 Return<void> GnssGeofenceCallbackHidl::gnssGeofenceStatusCb(GeofenceAvailability availability, in gnssGeofenceStatusCb() argument 103 GnssGeofenceCallbackUtil::gnssGeofenceStatusCb((int)availability, location); in gnssGeofenceStatusCb()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/ |
D | ScreenRecordTileDataInteractorTest.kt | 55 val availability by collectLastValue(underTest.availability(TEST_USER)) in <lambda>() constant 57 assertThat(availability).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/ |
D | AlarmTileDataInteractorTest.kt | 122 val availability = underTest.availability(TEST_USER).toCollection(mutableListOf()) in <lambda>() constant 124 assertThat(availability).hasSize(1) in <lambda>() 125 assertThat(availability.last()).isTrue() in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CalendarTracker.java | 140 final int availability = cursor.getInt(8); in checkEvent() local 146 availabilityToString(availability), eventId, name, owner, calendarId, in checkEvent() 154 final boolean meetsAvailability = availability != Instances.AVAILABILITY_FREE; in checkEvent() 253 private static String availabilityToString(int availability) { 254 switch (availability) { 258 default: return "AVAILABILITY_UNKNOWN_" + availability;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/captioning/domain/ |
D | CaptioningAvailabilityCriteria.kt | 40 private val availability = in <lambda>() constant 50 override fun isAvailable(): Flow<Boolean> = availability in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/ |
D | NightDisplayTileDataInteractorTest.kt | 93 val availability by collectLastValue(underTest.availability(testUser)) in <lambda>() constant 96 assertThat(availability).isEqualTo(expectedAvailability) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/ |
D | RotationLockTileDataInteractorTest.kt | 93 val availability = underTest.availability(testUser).toCollection(mutableListOf()) in availability_isTrue() constant 95 assertThat(availability).hasSize(1) in availability_isTrue() 96 assertThat(availability.last()).isTrue() in availability_isTrue()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 984 public void overrideAvailability(int availability) { in overrideAvailability() argument 986 mAvailability = availability; in overrideAvailability() 1610 private void updateAndNotifyStateChangedLocked(int availability) { in updateAndNotifyStateChangedLocked() argument 1611 updateAvailabilityLocked(availability); in updateAndNotifyStateChangedLocked() 1616 private void updateAvailabilityLocked(int availability) { in updateAvailabilityLocked() argument 1619 + " -> " + availability); in updateAvailabilityLocked() 1622 mAvailability = availability; in updateAvailabilityLocked() 1842 int availability = internalGetInitialAvailability(); in doInBackground() local 1845 if (availability == STATE_NOT_READY) { in doInBackground() 1848 availability = STATE_KEYPHRASE_ENROLLED; in doInBackground() [all …]
|