Home
last modified time | relevance | path

Searched refs:startDream (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamControllerTest.java126 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in startDream_attachOnServiceConnected()
142 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in startDream_dreamListenerNotified()
157 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in stopDream_dreamListenerNotified()
173 mDreamController.startDream(mToken, mDreamName, true /*isPreview*/, false /*doze*/, in startDream_attachOnServiceConnectedInPreviewMode()
190 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
206 mDreamController.startDream(newToken, newDreamName, false /*isPreview*/, false /*doze*/, in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
224 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in stopDream_detachFromService()
240 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in serviceDisconnect_resetsScreenTimeout()
260 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in binderDied_resetsScreenTimeout()
277 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in setDreamIsObscured_true_dreamIsNotFrontmost()
[all …]
DDreamOverlayServiceTest.java138 client.startDream(mLayoutParams, mOverlayCallback, in testCallbacksRunOnExecutor()
196 firstClient.startDream(mLayoutParams, mOverlayCallback, in testOverlayClientInteraction()
207 secondClient.startDream(mLayoutParams, mOverlayCallback, in testOverlayClientInteraction()
DTestDreamEnvironment.java328 case DREAM_STATE_STARTED -> startDream(); in advance()
374 private void startDream() throws RemoteException { in startDream() method in TestDreamEnvironment
388 .startDream(any(), overlayCallbackCaptor.capture(), any(), anyBoolean()); in startDream()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayServiceTest.kt240 client.startDream( in testOnStartMetricsLogged()
257 client.startDream( in testOverlayContainerViewAddedToWindow()
276 client.startDream( in testInvalidWindowAddStart()
298 client.startDream( in testDreamOverlayContainerViewControllerInitialized()
316 client.startDream( in testDreamOverlayContainerViewRemovedFromOldParentWhenInitialized()
331 client.startDream( in testShouldShowComplicationsSetByStartDream()
346 client.startDream( in testLowLightSetByStartDream()
362 client.startDream( in testHomeControlPanelSetsByStartDream()
378 client.startDream( in testOnEndDream()
412 client.startDream( in testImmediateEndDream()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalDreamStartableTest.kt82 verify(dreamManager, never()).startDream() in startDreamWhenTransitioningToHub()
86 verify(dreamManager).startDream() in startDreamWhenTransitioningToHub()
98 verify(dreamManager, never()).startDream() in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
112 verify(dreamManager).startDream() in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
124 verify(dreamManager, never()).startDream() in shouldNotStartDreamWhenIneligibleToDream()
135 verify(dreamManager, never()).startDream() in shouldNotStartDreamIfAlreadyDreaming()
149 verify(dreamManager, never()).startDream() in shouldNotStartDreamForInvalidTransition()
/frameworks/base/core/java/android/service/dreams/
DSandman.java60 startDream(context, false); in startDreamByUserRequest()
74 startDream(context, true); in startDreamWhenDockedIfAppropriate()
77 private static void startDream(Context context, boolean docked) { in startDream() method in Sandman
DDreamOverlayService.java65 public void startDream(WindowManager.LayoutParams params, IDreamOverlayCallback callback, in startDream() method in DreamOverlayService.OverlayClient
70 mService.startDream(this, params); in startDream()
120 private void startDream(OverlayClient client, WindowManager.LayoutParams params) { in startDream() method in DreamOverlayService
DDreamManagerInternal.java33 public abstract void startDream(boolean doze, String reason); in startDream() method in DreamManagerInternal
DIDreamOverlayClient.aidl37 void startDream(in LayoutParams params, in IDreamOverlayCallback callback, in startDream() method
DDreamService.java1588 overlay.startDream(mWindow.getAttributes(), mOverlayCallback, in onWindowCreated()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsComponentInteractorTest.kt191 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart()
204 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart()
214 verify(dreamManager).startDream() in testMonitoringUpdatesAndRestart()
235 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
248 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
258 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalDreamStartable.kt68 .onEach { dreamManager.startDream() } in <lambda>()
85 .onEach { dreamManager.startDream() } in <lambda>()
/frameworks/base/core/java/android/app/
DDreamManager.java106 public void startDream() { in startDream() method in DreamManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt170 .collect { dreamManager.startDream() } in <lambda>()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1115 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testScreensaverActivateOnSleepDisabled_powered_afterTimeout_goesToDozing()
1137 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testScreensaverActivateOnSleepEnabled_powered_afterTimeout_goesToDreaming()
1163 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testAmbientSuppression_disablesDreamingAndWakesDevice()
1190 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testAmbientSuppressionDisabled_shouldNotWakeDevice()
1216 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testAmbientSuppression_doesNotAffectDreamForcing()
1241 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testBatteryDrainDuringDream()
1701 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testRemovedDisplayGroupWakeLock_affectsNoDisplayGroups()
2196 verify(mDreamManagerInternalMock).startDream(eq(true), anyString()); in testMultiDisplay_defaultDisplayCanDoze()
2234 verify(mDreamManagerInternalMock).startDream(eq(true), anyString()); in testMultiDisplay_twoDisplays_defaultDisplayCanDoze()
2254 }).when(mDreamManagerInternalMock).startDream(anyBoolean(), anyString()); in testMultiDisplay_addNewDisplay_becomeGloballyAwakeButDefaultRemainsDozing()
[all …]
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java174 public void startDream(Binder token, ComponentName name, in startDream() method in DreamController
DDreamManagerService.java758 mController.startDream(dreamToken, name, isPreviewMode, canDoze, userId, wakeLock, in startDreamLocked()
1202 public void startDream(boolean doze, String reason) { in startDream() method in DreamManagerService.LocalService
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3459 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING,
/frameworks/base/core/api/
Dtest-current.txt338 …method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void startDream();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48516 Landroid/service/dreams/DreamManagerInternal;->startDream(Z)V
48606 Landroid/service/dreams/Sandman;->startDream(Landroid/content/Context;Z)V