/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | ObservableTransitionState.kt | 44 is Idle -> flowOf(currentScene) in currentScene() 50 data class Idle(val currentScene: SceneKey) : ObservableTransitionState dataClass 88 return this is Idle && (scene == null || this.currentScene == scene) in toString() 106 is TransitionState.Idle -> ObservableTransitionState.Idle(state.currentScene) in SceneTransitionLayoutState()
|
D | SceneTransitionLayoutState.kt | 218 data class Idle(override val currentScene: SceneKey) : TransitionState class 394 mutableStateOf(listOf(TransitionState.Idle(initialScene))) 404 if (transitionStates.last() is TransitionState.Idle) { 498 is TransitionState.Idle -> { in startTransition() 522 check(transitionStates[0] is TransitionState.Idle) in startTransition() 636 this.transitionStates = listOf(TransitionState.Idle(checkNotNull(lastRemovedIdleScene))) in finishTransition() 652 transitionStates = listOf(TransitionState.Idle(scene)) in snapToScene()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalRepositoryImplTest.kt | 54 .isEqualTo(ObservableTransitionState.Idle(CommunalScenes.Default)) in transitionState_idleByDefault() 61 underTest.setTransitionState(flowOf(ObservableTransitionState.Idle(expectedSceneKey))) in transitionState_setTransitionState_returnsNewValue() 64 assertThat(transitionState).isEqualTo(ObservableTransitionState.Idle(expectedSceneKey)) in transitionState_setTransitionState_returnsNewValue() 72 flowOf(ObservableTransitionState.Idle(CommunalScenes.Communal)) in transitionState_setNullTransitionState_returnsDefaultValue() 81 .isEqualTo(ObservableTransitionState.Idle(CommunalScenes.Default)) in transitionState_setNullTransitionState_returnsDefaultValue()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | SceneTransitionLayoutStateTest.kt | 84 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneB)) in <lambda>() 96 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneB)) in <lambda>() 108 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneC)) in <lambda>() 118 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneA)) in <lambda>() 134 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneB)) in <lambda>() 183 assertThat(childState.transitionState).isEqualTo(TransitionState.Idle(SceneB)) in <lambda>() 184 assertThat(parentState.transitionState).isEqualTo(TransitionState.Idle(SceneD)) in <lambda>() 220 assertThat(childState.transitionState).isEqualTo(TransitionState.Idle(SceneB)) in <lambda>() 221 assertThat(parentState.transitionState).isEqualTo(TransitionState.Idle(SceneD)) in <lambda>() 222 assertThat(parentParentState.transitionState).isEqualTo(TransitionState.Idle(SceneC)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/data/repository/ |
D | SceneContainerRepositoryUtil.kt | 31 MutableStateFlow<ObservableTransitionState>(ObservableTransitionState.Idle(Scenes.Lockscreen)) 61 fun Idle(currentScene: SceneKey): ObservableTransitionState.Idle { in Idle() method 62 return ObservableTransitionState.Idle(currentScene) in Idle()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceObserverService_test.cpp | 40 enum { NoEvent, Busy, Idle } type = NoEvent; enumerator 58 case Event::Idle: in toString() 78 static Event Idle(int uid, int pid, const std::vector<MediaObservableParcel>& observables) { in Idle() function 79 return { Event::Idle, uid, pid, observables }; in Idle() 159 append(Idle(uid, pid, observables)); in onStatusChanged() 365 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Idle(kTestUid1, kTestPid1, observables1)); in TEST_F() 367 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid1, kTestPid1, observables1)); in TEST_F() 388 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F() 389 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F() 421 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables1)); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalSceneInteractorTest.kt | 112 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Blank)) in transitionProgress_fullProgress() 116 ObservableTransitionState.Idle(CommunalScenes.Communal) in transitionProgress_fullProgress() 121 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_fullProgress() 158 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningAwayFromTrackedScene() 161 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningAwayFromTrackedScene() 195 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningToTrackedScene() 198 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningToTrackedScene() 209 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Communal)) in isIdleOnCommunal() 252 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Communal) in isCommunalVisible()
|
D | CommunalInteractorTest.kt | 537 ObservableTransitionState.Idle(targetScene) in <lambda>() 543 .isEqualTo(CommunalTransitionProgressModel.Idle(targetScene)) in <lambda>() 556 ObservableTransitionState.Idle(currentScene) in <lambda>() 562 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>() 575 ObservableTransitionState.Idle(currentScene) in <lambda>() 581 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>() 607 transitionState = MutableStateFlow(ObservableTransitionState.Idle(targetScene)) in <lambda>() 610 .isEqualTo(CommunalTransitionProgressModel.Idle(targetScene)) in <lambda>() 623 ObservableTransitionState.Idle(currentScene) in <lambda>() 629 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalSceneInteractor.kt | 107 is ObservableTransitionState.Idle -> in <lambda>() 108 flowOf(CommunalTransitionProgressModel.Idle(state.currentScene)) in <lambda>() 134 it is ObservableTransitionState.Idle && it.currentScene == CommunalScenes.Communal in <lambda>() 149 !(it is ObservableTransitionState.Idle && it.currentScene == CommunalScenes.Blank) in <lambda>()
|
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ |
D | CredentialSelectorViewModel.kt | 34 import com.android.credentialmanager.CredentialSelectorUiState.Idle in <lambda>() 67 null -> Idle in <lambda>() 77 initialValue = Idle, in <lambda>() 88 is Create, Close, is Cancel, Idle -> shouldClose.value = true in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/ |
D | ShadeInteractorSceneContainerImpl.kt | 89 is ObservableTransitionState.Idle -> false in <lambda>() 106 is ObservableTransitionState.Idle -> in <lambda>() 141 is ObservableTransitionState.Idle -> in <lambda>() 169 is ObservableTransitionState.Idle -> flowOf(false) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/ |
D | SceneInteractorTest.kt | 31 import com.android.systemui.scene.data.repository.Idle 212 ObservableTransitionState.Idle(Scenes.Lockscreen) in transitionState() 240 ObservableTransitionState.Idle(kosmos.sceneContainerConfig.initialSceneKey) in transitionState() 249 ObservableTransitionState.Idle(underTest.currentScene.value) in transitioningTo() 277 transitionState.value = ObservableTransitionState.Idle(Scenes.Shade) in transitioningTo() 286 ObservableTransitionState.Idle(Scenes.Shade) in isTransitionUserInputOngoing_idle_false() 369 transitionState.value = ObservableTransitionState.Idle(currentScene = Scenes.Lockscreen) in isTransitionUserInputOngoing_updateOnIdle_false() 420 kosmos.setSceneTransition(Idle(Scenes.Gone)) in transitionValue_test_idle() 423 kosmos.setSceneTransition(Idle(Scenes.Lockscreen)) in transitionValue_test_idle()
|
D | SceneContainerOcclusionInteractorTest.kt | 59 ObservableTransitionState.Idle(Scenes.Lockscreen) 78 .isEqualTo(ObservableTransitionState.Idle(Scenes.Lockscreen)) in invisibleDueToOcclusion() 169 mutableTransitionState.value = ObservableTransitionState.Idle(Scenes.Shade) 196 mutableTransitionState.value = ObservableTransitionState.Idle(Scenes.Lockscreen)
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/subjects/ |
D | TransitionStateSubject.kt | 47 fun isIdle(): TransitionState.Idle { in isIdle() 48 if (actual !is TransitionState.Idle) { in isIdle() 52 return actual as TransitionState.Idle in isIdle()
|
/frameworks/base/apex/jobscheduler/service/aconfig/ |
D | Android.bp | 1 // Device Idle 46 // App Idle
|
D | device_idle.aconfig | 17 description: "Disable wakelocks for background apps while Light Device Idle is active"
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/ |
D | WindowManagerLockscreenVisibilityInteractorTest.kt | 206 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Lockscreen)) in <lambda>() 244 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Gone)) in <lambda>() 258 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Lockscreen)) in <lambda>() 295 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Bouncer)) in <lambda>() 344 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Gone)) in <lambda>() 361 kosmos.setSceneTransition(ObservableTransitionState.Idle(Scenes.Gone)) in <lambda>() 372 kosmos.setSceneTransition(ObservableTransitionState.Idle(scene)) in <lambda>() 396 kosmos.setSceneTransition(ObservableTransitionState.Idle(scene)) in <lambda>() 1000 sceneTransitions.value = ObservableTransitionState.Idle(Scenes.Gone) in <lambda>() 1015 sceneTransitions.value = ObservableTransitionState.Idle(Scenes.Gone) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/ |
D | FakeCommunalSceneRepository.kt | 34 _transitionState.value = flowOf(ObservableTransitionState.Idle(toScene)) in <lambda>() 38 private val defaultTransitionState = ObservableTransitionState.Idle(CommunalScenes.Default) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/data/repository/ |
D | SceneContainerRepositoryTest.kt | 114 ObservableTransitionState.Idle(kosmos.sceneContainerConfig.initialSceneKey) in transitionState_defaultsToIdle() 124 ObservableTransitionState.Idle(Scenes.Lockscreen) in transitionState_reflectsUpdates() 151 ObservableTransitionState.Idle(kosmos.sceneContainerConfig.initialSceneKey) in transitionState_reflectsUpdates()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/scenetransition/ |
D | LockscreenSceneTransitionInteractor.kt | 95 .pairwise(ObservableTransitionState.Idle(Scenes.Lockscreen)) in <lambda>() 98 is ObservableTransitionState.Idle -> handleIdle(prevTransition, transition) in <lambda>() 107 idle: ObservableTransitionState.Idle in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/log/ |
D | CommunalLoggerStartable.kt | 91 return this is ObservableTransitionState.Idle && currentScene == CommunalScenes.Communal in isOnCommunal() 96 return this is ObservableTransitionState.Idle && currentScene != CommunalScenes.Communal in isNotOnCommunal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/model/ |
D | CommunalTransitionProgressModel.kt | 24 data class Idle(val scene: SceneKey) : CommunalTransitionProgressModel class
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/ |
D | NotificationStackAppearanceIntegrationTest.kt | 119 ObservableTransitionState.Idle(currentScene = Scenes.Gone) in <lambda>() 160 ObservableTransitionState.Idle(currentScene = Scenes.Lockscreen) in <lambda>() 176 ObservableTransitionState.Idle(currentScene = Scenes.Shade) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/model/ |
D | MediaOutputComponentModel.kt | 43 data class Idle( dataClass
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayServiceTest.kt | 765 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Blank)) in testLifecycle_dreamNotFocusedOnStart_isStarted() 769 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Communal) in testLifecycle_dreamNotFocusedOnStart_isStarted() 884 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Blank)) in testCommunalVisible_setsLifecycleState() 888 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Communal) in testCommunalVisible_setsLifecycleState() 896 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Blank) in testCommunalVisible_setsLifecycleState() 919 MutableStateFlow(ObservableTransitionState.Idle(CommunalScenes.Blank)) in testLifecycleStarted_whenAnyOcclusion() 923 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Communal) in testLifecycleStarted_whenAnyOcclusion() 931 transitionState.value = ObservableTransitionState.Idle(CommunalScenes.Blank) in testLifecycleStarted_whenAnyOcclusion()
|