HomeSort by relevance Sort by last modified time
    Searched defs:dream (Results 1 - 4 of 4) sorted by null

  /frameworks/base/core/java/android/service/dreams/
Sandman.java 39 // The component name of a special dock app that merely launches a dream.
41 // activity transition. We just want to start the dream.
52 * False if we should dream instead, if appropriate.
60 * Starts a dream manually.
67 * Starts a dream when docked if the system has been configured to do so,
86 Slog.i(TAG, "Activating dream while docked.");
91 // and the UI mode manager starting a dream. We want the system to already
92 // be awake by the time this happens. Otherwise the dream may not start.
96 "android.service.dreams:DREAM");
98 Slog.i(TAG, "Activating dream by user request.")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
PowerManagerVrTest.java 33 * Tests dream aspects of PowerManager.
64 mDm.awaken(); // Don't leave the device in the dream state.
90 // For dream to work, we need to wake up the system
93 mDm.dream();
102 // set VR Mode to true by starting our VR Activity, then retest the dream.
107 mDm.dream();
108 waitForDreamState(true); // wait for dream to turn true with a timeout
109 assertFalse(mDm.isDreaming()); // ensure dream is still false after waiting.
117 * Waits synchronously for the system to be set to the specified dream state.
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DreamBackend.java 17 package com.android.settingslib.dream;
120 Log.w(TAG, "Failed to get default dream", e);
178 public void setActiveDream(ComponentName dream) {
179 logd("setActiveDream(%s)", dream);
183 ComponentName[] dreams = { dream };
184 mDreamManager.setDreamComponents(dream == null ? null : dreams);
186 Log.w(TAG, "Failed to set active dream to " + dream, e);
197 Log.w(TAG, "Failed to get active dream", e);
225 mDreamManager.dream();
    [all...]
  /frameworks/base/services/core/java/com/android/server/dreams/
DreamManagerService.java 135 pw.println("DREAM MANAGER (dumpsys dreams)");
168 // Because napping could cause the screen to turn off immediately if the dream
186 Slog.d(TAG, "Dream finished: " + token + ", immediate=" + immediate);
189 // Note that a dream finishing and self-terminating is not
190 // itself considered user activity. If the dream is ending because
193 // If the dream is ending on its own for other reasons and no wake
203 private void testDreamInternal(ComponentName dream, int userId) {
205 startDreamLocked(dream, true /*isTest*/, false /*canDoze*/, userId);
211 final ComponentName dream = chooseDreamForUser(doze, userId); local
212 if (dream != null)
545 public void dream() { method in class:DreamManagerService.BinderService
    [all...]

Completed in 130 milliseconds