/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemScreenInteractiveHelper.java | 51 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/ |
D | CachedDeviceStateService.java | 50 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/ |
D | PowerRepositoryImplTest.kt | 86 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/ |
D | CarIdlenessTracker.java | 86 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking() 150 } else if (action.equals(Intent.ACTION_SCREEN_ON)) { in onReceive()
|
D | DeviceIdlenessTracker.java | 126 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/ |
D | LiveWallpaper.kt | 72 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/ |
D | PowerRepository.kt | 118 addAction(Intent.ACTION_SCREEN_ON) in wakeUp()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | FaceDownDetector.java | 193 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerScreenReceiver() 477 } else if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in onReceive()
|
D | Notifier.java | 218 mScreenOnIntent = new Intent(Intent.ACTION_SCREEN_ON); in Notifier() 258 Intent.ACTION_SCREEN_ON); in createScreenOnOffBroadcastOptions()
|
D | LowPowerStandbyController.java | 164 case Intent.ACTION_SCREEN_ON: 731 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerListeners()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 176 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/ |
D | WalletContextualSuggestionsController.kt | 66 .broadcastFlow(IntentFilter(Intent.ACTION_SCREEN_ON)) in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 110 mContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in correctlyReportsScreenInteractive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 419 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/ |
D | BroadcastQueueModernImplTest.java | 1012 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/ |
D | FaceDownDetectorTest.java | 194 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/ |
D | WalletContextualSuggestionsControllerTest.kt | 211 broadcastReceiver.value.onReceive(mockContext, Intent(Intent.ACTION_SCREEN_ON)) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ExternalDisplayStatsService.java | 311 filter.addAction(Intent.ACTION_SCREEN_ON); in scheduleInit()
|
D | BrightnessTracker.java | 239 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/ |
D | NotificationAttentionHelper.java | 284 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/ |
D | LowPowerStandbyControllerTest.java | 902 mContextSpy.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in setInteractive()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 1048 intent.setAction(screenOn ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in sendScreenChange()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 524 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/ |
D | MediaRouter2ServiceImpl.java | 21 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/ |
D | HdmiControlService.java | 354 case Intent.ACTION_SCREEN_ON: in onReceive() 693 filter.addAction(Intent.ACTION_SCREEN_ON); in onStart()
|