Home
last modified time | relevance | path

Searched refs:ACTION_SCREEN_ON (Results 1 – 25 of 38) 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.kt86 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_ON)).isTrue() in isInteractive_registersForBroadcasts()
137 receiverCaptor.value.onReceive(context, Intent(Intent.ACTION_SCREEN_ON)) in isInteractive_emitsTrueWhenTheScreenTurnsOn()
167 receiverCaptor.value.onReceive(context, Intent(Intent.ACTION_SCREEN_ON)) in isInteractive_emitsCorrectlyOverTime()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
DCarIdlenessTracker.java86 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
150 } else if (action.equals(Intent.ACTION_SCREEN_ON)) { in onReceive()
DDeviceIdlenessTracker.java126 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
268 case Intent.ACTION_SCREEN_ON: in onReceive()
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/
DLiveWallpaper.kt72 wakeStateChangeIntentFilter.addAction(Intent.ACTION_SCREEN_ON) in onCreate()
84 Intent.ACTION_SCREEN_ON -> { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt118 addAction(Intent.ACTION_SCREEN_ON) in wakeUp()
/frameworks/base/services/core/java/com/android/server/power/
DFaceDownDetector.java193 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerScreenReceiver()
477 } else if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in onReceive()
DNotifier.java218 mScreenOnIntent = new Intent(Intent.ACTION_SCREEN_ON); in Notifier()
258 Intent.ACTION_SCREEN_ON); in createScreenOnOffBroadcastOptions()
DLowPowerStandbyController.java164 case Intent.ACTION_SCREEN_ON:
731 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerListeners()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java176 case Intent.ACTION_SCREEN_ON:
228 final IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); in systemReady()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsController.kt66 .broadcastFlow(IntentFilter(Intent.ACTION_SCREEN_ON)) in <lambda>()
/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.java419 filter.addAction(Intent.ACTION_SCREEN_ON); in updateShowSeconds()
554 } else if (Intent.ACTION_SCREEN_ON.equals(action)) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java1012 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_diffReceivers()
1016 .setDeliveryGroupMatchingKey("screenOnOff", Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_diffReceivers()
1051 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_ordered_diffReceivers()
1055 .setDeliveryGroupMatchingKey("screenOnOff", Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_ordered_diffReceivers()
1090 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1094 .setDeliveryGroupMatchingKey("screenOnOff", Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_resultTo_diffReceivers()
1141 final Intent screenOn = new Intent(Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_prioritized_diffReceivers()
1145 .setDeliveryGroupMatchingKey("screenOnOff", Intent.ACTION_SCREEN_ON); in testDeliveryGroupPolicy_prioritized_diffReceivers()
/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/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsControllerTest.kt211 broadcastReceiver.value.onReceive(mockContext, Intent(Intent.ACTION_SCREEN_ON)) in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DExternalDisplayStatsService.java311 filter.addAction(Intent.ACTION_SCREEN_ON); in scheduleInit()
DBrightnessTracker.java239 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in backgroundStart()
983 } else if (Intent.ACTION_SCREEN_ON.equals(action)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java284 filter.addAction(Intent.ACTION_SCREEN_ON); in registerBroadcastListeners()
1591 if (action.equals(Intent.ACTION_SCREEN_ON)) {
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java902 mContextSpy.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in setInteractive()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java1048 intent.setAction(screenOn ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in sendScreenChange()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java524 final IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); in onSystemReady()
576 case Intent.ACTION_SCREEN_ON:
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java21 import static android.content.Intent.ACTION_SCREEN_ON;
196 screenOnOffIntentFilter.addAction(ACTION_SCREEN_ON); in MediaRouter2ServiceImpl()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java354 case Intent.ACTION_SCREEN_ON: in onReceive()
693 filter.addAction(Intent.ACTION_SCREEN_ON); in onStart()

12