Home
last modified time | relevance | path

Searched refs:ACTION_SCREEN_ON (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemScreenInteractiveHelper.java51 screenIntentFilter.addAction(Intent.ACTION_SCREEN_ON); in onSystemReady()
56 if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in onSystemReady()
/frameworks/base/services/core/java/com/android/server/
DCachedDeviceStateService.java50 case Intent.ACTION_SCREEN_ON:
74 filter.addAction(Intent.ACTION_SCREEN_ON); in onBootPhase()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt74 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_ON)).isTrue() in isInteractive - registers for broadcasts()
125 receiverCaptor.value.onReceive(context, Intent(Intent.ACTION_SCREEN_ON)) in isInteractive - emits true when the screen turns on()
155 receiverCaptor.value.onReceive(context, Intent(Intent.ACTION_SCREEN_ON)) in isInteractive - emits correctly over time()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
DCarIdlenessTracker.java81 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
132 } else if (action.equals(Intent.ACTION_SCREEN_ON)) { in onReceive()
DDeviceIdlenessTracker.java90 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
184 case Intent.ACTION_SCREEN_ON: in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt62 addAction(Intent.ACTION_SCREEN_ON) in <lambda>()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java177 case Intent.ACTION_SCREEN_ON:
229 final IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); in systemReady()
/frameworks/base/services/core/java/com/android/server/power/
DFaceDownDetector.java191 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerScreenReceiver()
466 } else if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in onReceive()
DLowPowerStandbyController.java98 case Intent.ACTION_SCREEN_ON:
360 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerBroadcastReceiver()
DNotifier.java198 mScreenOnIntent = new Intent(Intent.ACTION_SCREEN_ON); in Notifier()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java110 mContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in correctlyReportsScreenInteractive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java398 filter.addAction(Intent.ACTION_SCREEN_ON); in updateShowSeconds()
533 } else if (Intent.ACTION_SCREEN_ON.equals(action)) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DFaceDownDetectorTest.java194 mFaceDownDetector.mScreenReceiver.onReceive(sContext, new Intent(Intent.ACTION_SCREEN_ON)); in faceDownToScreenOff_followedByScreenOnAndUserInteraction_doesNotDisable()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java404 mContextSpy.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in setInteractive()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java237 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in backgroundStart()
957 } else if (Intent.ACTION_SCREEN_ON.equals(action)) { in onReceive()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java395 final IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); in onSystemReady()
445 case Intent.ACTION_SCREEN_ON:
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java21 import static android.content.Intent.ACTION_SCREEN_ON;
140 screenOnOffIntentFilter.addAction(ACTION_SCREEN_ON); in MediaRouter2ServiceImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java996 intent.setAction(screenOn ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in sendScreenChange()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java311 case Intent.ACTION_SCREEN_ON: in onReceive()
610 filter.addAction(Intent.ACTION_SCREEN_ON); in onStart()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java379 if (action.equals(Intent.ACTION_SCREEN_ON)) {
764 filter.addAction(Intent.ACTION_SCREEN_ON); in DcTracker()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java5123 filter.addAction(Intent.ACTION_SCREEN_ON); in InteractiveStateReceiver()
5131 interactiveStateChangedLocked(Intent.ACTION_SCREEN_ON.equals(intent.getAction())); in onReceive()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2417 filter.addAction(Intent.ACTION_SCREEN_ON); in onBootPhase()
/frameworks/base/core/java/android/content/
DIntent.java2475 public static final String ACTION_SCREEN_ON = "android.intent.action.SCREEN_ON"; field in Intent
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1348 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in initExternalEventReceivers()
9237 } else if (action.equals(Intent.ACTION_SCREEN_ON)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1799 if (action.equals(Intent.ACTION_SCREEN_ON)) {
2419 filter.addAction(Intent.ACTION_SCREEN_ON); in init()

12