Home
last modified time | relevance | path

Searched refs:screenOn (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java1012 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_diffReceivers() local
1022 mImpl.enqueueBroadcastLocked(makeBroadcastRecord(screenOn, screenOnOffOptions, in testDeliveryGroupPolicy_diffReceivers()
1042 mImpl.enqueueBroadcastLocked(makeBroadcastRecord(screenOn, screenOnOffOptions, in testDeliveryGroupPolicy_diffReceivers()
1044 verifyPendingRecords(greenQueue, List.of(screenOn)); in testDeliveryGroupPolicy_diffReceivers()
1046 verifyPendingRecords(blueQueue, List.of(screenOn)); in testDeliveryGroupPolicy_diffReceivers()
1051 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_ordered_diffReceivers() local
1061 mImpl.enqueueBroadcastLocked(makeBroadcastRecord(screenOn, screenOnOffOptions, in testDeliveryGroupPolicy_ordered_diffReceivers()
1081 mImpl.enqueueBroadcastLocked(makeBroadcastRecord(screenOn, screenOnOffOptions, in testDeliveryGroupPolicy_ordered_diffReceivers()
1083 verifyPendingRecords(greenQueue, List.of(screenOff, screenOn)); in testDeliveryGroupPolicy_ordered_diffReceivers()
1085 verifyPendingRecords(blueQueue, List.of(screenOff, screenOn)); in testDeliveryGroupPolicy_ordered_diffReceivers()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceHolder.java223 public void setKeepScreenOn(boolean screenOn); in setKeepScreenOn() argument
DSurfaceView.java1816 public void setKeepScreenOn(boolean screenOn) {
1817 runOnUiThread(() -> SurfaceView.this.setKeepScreenOn(screenOn));
DViewRootImpl.java11357 public void setKeepScreenOn(boolean screenOn) { in setKeepScreenOn() argument
11358 ((RootViewSurfaceTaker)mView).setSurfaceKeepScreenOn(screenOn); in setKeepScreenOn()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceView.java175 public void setKeepScreenOn(boolean screenOn) {
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java134 default void setScreenOn(boolean screenOn) {} in setScreenOn() argument
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsRule.java300 public BatteryUsageStatsRule startWithScreenOn(boolean screenOn) { in startWithScreenOn() argument
301 mScreenOn = screenOn; in startWithScreenOn()
DBstatsCpuTimesValidationTest.java805 screenOn(); in batteryOnScreenOn()
815 screenOn(); in batteryOffScreenOn()
832 private void screenOn() throws Exception { in screenOn() method in BstatsCpuTimesValidationTest
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java224 boolean screenOn = isScreenOn();
226 msg.arg1 = screenOn ? 1 : 0;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java212 public void updateDisplay(boolean screenOn, long elapsedRealtime) { in updateDisplay() argument
213 if (screenOn == mScreenOn) return; in updateDisplay()
215 mScreenOn = screenOn; in updateDisplay()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DLinkBandwidthEstimator.java409 private void handleScreenStateChanged(boolean screenOn) { in handleScreenStateChanged() argument
410 if (mScreenOn == screenOn) { in handleScreenStateChanged()
413 mScreenOn = screenOn; in handleScreenStateChanged()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java1045 void sendScreenChange(boolean screenOn) { in sendScreenChange() argument
1046 mInteractive = screenOn; in sendScreenChange()
1048 intent.setAction(screenOn ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in sendScreenChange()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java184 boolean setMemFactorLocked(int memFactor, boolean screenOn, long now) { in setMemFactorLocked() argument
188 screenOn = mInjectedScreenState; in setMemFactorLocked()
190 if (screenOn) { in setMemFactorLocked()
DActiveServices.java2008 void updateScreenStateLocked(boolean screenOn) { in updateScreenStateLocked() argument
2009 if (mScreenOn != screenOn) { in updateScreenStateLocked()
2010 mScreenOn = screenOn; in updateScreenStateLocked()
2014 if (screenOn) { in updateScreenStateLocked()
/frameworks/base/media/java/android/media/
DMediaPlayer.java1730 public void setScreenOnWhilePlaying(boolean screenOn) { in setScreenOnWhilePlaying() argument
1731 if (mScreenOnWhilePlaying != screenOn) { in setScreenOnWhilePlaying()
1732 if (screenOn && mSurfaceHolder == null) { in setScreenOnWhilePlaying()
1735 mScreenOnWhilePlaying = screenOn; in setScreenOnWhilePlaying()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java3444 boolean screenOn = mPowerManager.isInteractive(); in updateInteractivityLocked()
3445 if (DEBUG) Slog.d(TAG, "updateInteractivityLocked: screenOn=" + screenOn); in updateInteractivityLocked()
3446 if (!screenOn && mScreenOn) { in updateInteractivityLocked()
3451 } else if (screenOn) { in updateInteractivityLocked()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java413 public void setKeepScreenOn(boolean screenOn) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...