Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/dreams/
DIDreamService.aidl25 … void attach(IBinder windowToken, boolean canDoze, boolean isPreviewMode, IRemoteCallback started); in attach() argument
DDreamService.java874 public boolean canDoze() { in canDoze() method in DreamService
1468 private void attach(IBinder dreamToken, boolean canDoze, boolean isPreviewMode, in attach() argument
1486 mCanDoze = canDoze; in attach()
1712 else if (canDoze()) pw.print(" candoze"); in dumpOnHandler()
1714 if (canDoze()) { in dumpOnHandler()
1731 public void attach(final IBinder dreamToken, final boolean canDoze, in attach() argument
1734 () -> DreamService.this.attach(dreamToken, canDoze, isPreviewMode, started)); in attach()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java554 if (mCurrentDream != null && mCurrentDream.token == token && mCurrentDream.canDoze) { in startDozingInternal()
726 final boolean isPreviewMode, final boolean canDoze, final int userId, in startDreamLocked() argument
732 && mCurrentDream.canDoze == canDoze in startDreamLocked()
744 mCurrentDream = new DreamRecord(name, userId, isPreviewMode, canDoze); in startDreamLocked()
758 mController.startDream(dreamToken, name, isPreviewMode, canDoze, userId, wakeLock, in startDreamLocked()
1244 public final boolean canDoze; field in DreamManagerService.DreamRecord
1250 DreamRecord(ComponentName name, int userId, boolean isPreview, boolean canDoze) { in DreamRecord() argument
1254 this.canDoze = canDoze; in DreamRecord()
1264 + ", canDoze=" + canDoze in toString()
1278 if (mCurrentDream != null && mCurrentDream.name != null && mCurrentDream.canDoze
DDreamController.java175 boolean isPreviewMode, boolean canDoze, int userId, PowerManager.WakeLock wakeLock, in startDream() argument
184 + ", isPreviewMode=" + isPreviewMode + ", canDoze=" + canDoze in startDream()
188 mCurrentDream = new DreamRecord(token, name, isPreviewMode, canDoze, userId, wakeLock); in startDream()
482 boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord() argument
486 mCanDoze = canDoze; in DreamRecord()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java119 Log.d(TAG, "Dream started: canDoze=" + canDoze()); in onDreamingStarted()