Home
last modified time | relevance | path

Searched refs:canDoze (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java112 boolean isPreviewMode, boolean canDoze, int userId, PowerManager.WakeLock wakeLock, in startDream() argument
120 + ", isPreviewMode=" + isPreviewMode + ", canDoze=" + canDoze in startDream()
124 mCurrentDream = new DreamRecord(token, name, isPreviewMode, canDoze, userId, wakeLock); in startDream()
346 boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord() argument
350 mCanDoze = canDoze; in DreamRecord()
DDreamManagerService.java483 if (mCurrentDream != null && mCurrentDream.token == token && mCurrentDream.canDoze) { in startDozingInternal()
649 final boolean isPreviewMode, final boolean canDoze, final int userId, in startDreamLocked() argument
655 && mCurrentDream.canDoze == canDoze in startDreamLocked()
667 mCurrentDream = new DreamRecord(name, userId, isPreviewMode, canDoze); in startDreamLocked()
681 mController.startDream(dreamToken, name, isPreviewMode, canDoze, userId, wakeLock, in startDreamLocked()
1072 public final boolean canDoze; field in DreamManagerService.DreamRecord
1078 DreamRecord(ComponentName name, int userId, boolean isPreview, boolean canDoze) { in DreamRecord() argument
1082 this.canDoze = canDoze; in DreamRecord()
1092 + ", canDoze=" + canDoze in toString()
1106 if (mCurrentDream != null && mCurrentDream.name != null && mCurrentDream.canDoze
/frameworks/base/core/java/android/service/dreams/
DIDreamService.aidl25 … void attach(IBinder windowToken, boolean canDoze, boolean isPreviewMode, IRemoteCallback started); in attach() argument
DDreamService.java669 public boolean canDoze() { in canDoze() method in DreamService
1220 private void attach(IBinder dreamToken, boolean canDoze, boolean isPreviewMode, in attach() argument
1238 mCanDoze = canDoze; in attach()
1442 else if (canDoze()) pw.print(" candoze"); in dumpOnHandler()
1444 if (canDoze()) { in dumpOnHandler()
1461 public void attach(final IBinder dreamToken, final boolean canDoze, in attach() argument
1464 () -> DreamService.this.attach(dreamToken, canDoze, isPreviewMode, started)); in attach()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java119 Log.d(TAG, "Dream started: canDoze=" + canDoze()); in onDreamingStarted()