Home
last modified time | relevance | path

Searched refs:ACTION_USER_SWITCHED (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java3 import static android.content.Intent.ACTION_USER_SWITCHED;
47 if (ACTION_USER_SWITCHED.equals(intent.getAction())) {
110 new IntentFilter(ACTION_USER_SWITCHED), Context.RECEIVER_EXPORTED); in takeScreenshotInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSplitClockView.java49 || Intent.ACTION_USER_SWITCHED.equals(action)) {
77 filter.addAction(Intent.ACTION_USER_SWITCHED); in onAttachedToWindow()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java19 import static android.content.Intent.ACTION_USER_SWITCHED;
95 if (!ACTION_USER_SWITCHED.equals(intent.getAction())) { in FusedLocationProvider()
107 mContext.registerReceiver(mUserChangeReceiver, new IntentFilter(ACTION_USER_SWITCHED)); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DAvalancheProvider.kt48 Intent.ACTION_USER_SWITCHED
/frameworks/base/services/core/java/com/android/server/timedetector/
DServiceConfigAccessorImpl.java18 import static android.content.Intent.ACTION_USER_SWITCHED;
134 filter.addAction(ACTION_USER_SWITCHED); in ServiceConfigAccessorImpl()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DCurrentUserServiceSupplier.java276 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in register()
355 case Intent.ACTION_USER_SWITCHED: in onReceive()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java18 import static android.content.Intent.ACTION_USER_SWITCHED;
172 filter.addAction(ACTION_USER_SWITCHED); in ServiceConfigAccessorImpl()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java382 public static final String ACTION_USER_SWITCHED = "android.app.action.USER_SWITCHED"; field in DeviceAdminReceiver
1245 } else if (ACTION_USER_SWITCHED.equals(action)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java244 mContext.registerReceiver(mUserReceiver, new IntentFilter(Intent.ACTION_USER_SWITCHED)); in onBootPhase()
706 if (Intent.ACTION_USER_SWITCHED.equals(intent.getAction())) {
DTelephonyRegistry.java646 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
914 filter.addAction(Intent.ACTION_USER_SWITCHED); in systemRunning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractor.kt336 addAction(Intent.ACTION_USER_SWITCHED) in <lambda>()
633 Intent.ACTION_USER_SWITCHED -> { in <lambda>()
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java127 }, new IntentFilter(Intent.ACTION_USER_SWITCHED), null, mHandler); in registerAndUpdate()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java111 Intent.ACTION_USER_SWITCHED,
290 filter.addAction(Intent.ACTION_USER_SWITCHED); in registerBroadcastListeners()
1612 || action.equals(Intent.ACTION_USER_SWITCHED)
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java22 import static android.content.Intent.ACTION_USER_SWITCHED;
502 createPackageIntent(PACKAGE_1, ACTION_USER_SWITCHED)); in packageReceiver_unsupportedAction_doesNothing()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java1366 mContext.sendBroadcast(new Intent(Intent.ACTION_USER_SWITCHED)); in testNotifyCellLocationForSubscriberByUserSwitched()
1376 mContext.sendBroadcast(new Intent(Intent.ACTION_USER_SWITCHED)); in testNotifyCellLocationForSubscriberByUserSwitched()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java409 IntentFilter usFilter = new IntentFilter(Intent.ACTION_USER_SWITCHED); in startSystem()
849 mUserSwitchedReceiver.onReceive(mContextSpy, new Intent(Intent.ACTION_USER_SWITCHED)); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
857 mUserSwitchedReceiver.onReceive(mContextSpy, new Intent(Intent.ACTION_USER_SWITCHED)); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
863 mUserSwitchedReceiver.onReceive(mContextSpy, new Intent(Intent.ACTION_USER_SWITCHED)); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt677 Intent(Intent.ACTION_USER_SWITCHED) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java173 Intent.ACTION_USER_SWITCHED);
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java603 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in registerBroadcastReceivers()
611 if (Intent.ACTION_USER_SWITCHED.equals(action)) { in registerBroadcastReceivers()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java321 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in registerBroadcastReceivers()
329 if (Intent.ACTION_USER_SWITCHED.equals(action)) { in registerBroadcastReceivers()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2382 filter = new IntentFilter(Intent.ACTION_USER_SWITCHED);
5437 if (Intent.ACTION_USER_SWITCHED.equals(intent.getAction())) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java878 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in registerBroadcastReceivers()
896 if (Intent.ACTION_USER_SWITCHED.equals(action)) { in registerBroadcastReceivers()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2679 intent = new Intent(Intent.ACTION_USER_SWITCHED);
DOomAdjuster.java529 final IntentFilter filter = new IntentFilter(Intent.ACTION_USER_SWITCHED); in initSettings()
/frameworks/base/core/java/android/content/
DIntent.java4155 public static final String ACTION_USER_SWITCHED = field in Intent

12