Home
last modified time | relevance | path

Searched refs:isListening (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DUserSettingObserverTest.kt79 setting.isListening = false in <lambda>()
86 assertThat(setting.isListening).isFalse() in <lambda>()
96 setting.isListening = true in <lambda>()
107 setting.isListening = true in <lambda>()
129 setting.isListening = true in <lambda>()
132 setting.isListening = true in <lambda>()
139 setting.isListening = true in <lambda>()
150 setting.isListening = true in <lambda>()
164 setting.isListening = true in <lambda>()
DQSPanelControllerTest.kt88 whenever(qsPanel.isListening).thenReturn(it.getArgument(0)) in setUp()
129 whenever(tile.isListening()).thenReturn(false) in testSetListeningDoesntRefreshListeningTiles()
130 whenever(otherTile.isListening()).thenReturn(true) in testSetListeningDoesntRefreshListeningTiles()
DQSPanelControllerBaseTest.java212 when(mQSPanel.isListening()).thenReturn(invocation.getArgument(0)); in setup()
402 when(mQSTile.isListening()).thenReturn(false); in testRefreshAllTilesDoesntRefreshListeningTiles()
403 when(mOtherTile.isListening()).thenReturn(true); in testRefreshAllTilesDoesntRefreshListeningTiles()
DQSImplTest.java155 assertTrue(other.isListening()); in testSaveState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/ui/binder/
DLiftToRunFaceAuthBinder.kt66 private val isListening: MutableStateFlow<Boolean> = MutableStateFlow(false) in <lambda>() constant
67 private val stoppedListening: Flow<Unit> = isListening.filterNot { it }.map {} // map to Unit in <lambda>()
119 isListening.value = false in <lambda>()
133 if (shouldListen != isListening.value) { in <lambda>()
134 isListening.value = shouldListen in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DCarrierConfigRepository.kt63 private var isListening = false in <lambda>() variable
100 isListening = true in <lambda>()
122 pw.println("isListening: $isListening") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsRepositoryImpl.kt76 observer.isListening = true in <lambda>()
78 awaitClose { observer.isListening = false } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepository.kt80 observer.isListening = true in setIsAirplaneMode()
82 awaitClose { observer.isListening = false } in setIsAirplaneMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserSwitcherRepository.kt90 observer.isListening = true in <lambda>()
92 awaitClose { observer.isListening = false } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/
DFakeQSTile.kt93 override fun isListening(): Boolean { in isListening() method in com.android.systemui.qs.FakeQSTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelControllerBase.java192 mQSLogger.logAllTilesChangeListening(mView.isListening(), mView.getDumpableTag(), ""); in onInit()
338 if (!r.tile.isListening()) { in refreshAllTiles()
439 if (mView.isListening() == listening) return; in setListening()
447 if (mView.isListening()) { in setListening()
DSettingObserver.java97 public boolean isListening() { in isListening() method in SettingObserver
DUserSettingObserver.java114 public boolean isListening() { in isListening() method in UserSettingObserver
DQSPanelController.java150 if (mView.isListening()) { in onViewAttached()
177 if (mView.isListening()) { in onConfigurationChanged()
DQSPanel.java637 public boolean isListening() { in isListening() method in QSPanel
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java453 assertTrue(mTile.isListening()); in testIsListening()
457 assertFalse(mTile.isListening()); in testIsListening()
462 assertFalse(mTile.isListening()); in testIsListening()
478 assertFalse(mTile.isListening()); in testStaleTriggeredWhileListening()
489 assertFalse(mTile.isListening()); in testStaleTriggeredWhileNotListening()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStyleClosedStatePredicate.java426 final boolean isListening = mIsListening.contains(sensor); in updateListeningState()
427 final boolean shouldUpdateListening = isListening != shouldBeListening; in updateListeningState()
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java143 public boolean isListening() { in isListening() method in PinnedSliceState
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileStatusTracker.java92 public boolean isListening() { in isListening() method in MobileStatusTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelAdapter.kt188 override fun isListening(): Boolean = in <lambda>() method in com.android.systemui.qs.tiles.viewmodel.QSTileViewModelAdapter
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java121 boolean isListening(); in isListening() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java296 assertTrue(setting.isListening()); in testChangeUserCallbacksStoppedAndStarted()
350 assertFalse(setting.isListening()); in testChangeUserSomeCallbacksNotAdded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java378 public boolean isListening() { in isListening() method in TileQueryHelperTest.FakeQSTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileSignalController.java567 pw.println(" mMobileStatusTracker.isListening=" + mMobileStatusTracker.isListening()); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java343 public final boolean isListening() { in isListening() method in QSTileImpl

12