Home
last modified time | relevance | path

Searched refs:mUserEventReceiver (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/common/test/
DUserEventReceiverTest.java55 private UserEventReceiver mUserEventReceiver; field in UserEventReceiverTest
71 mUserEventReceiver = new UserEventReceiver(); in setUp()
85 mUserEventReceiver.register(mContext, callback); in onRegister_addsUserListener()
93 mUserEventReceiver.register(mContext, callback); in onUnregister_removesListeners()
96 mUserEventReceiver.unregister(); in onUnregister_removesListeners()
105 mUserEventReceiver.register(mContext, callback); in onUserSwitch_notPreviousUser_noCallback()
118 mUserEventReceiver.register(mContext, callback); in onUserSwitch_wasPreviousUser_triggersCallback()
131 mUserEventReceiver.register(mContext, callback); in onUserUnlock_otherUser_noCallback()
144 mUserEventReceiver.register(mContext, callback); in onUserUnlock_currentUser_triggersCallback()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DTaskViewController.java108 private final BroadcastReceiver mUserEventReceiver = new BroadcastReceiver() { field in TaskViewController
233 mBroadcastDispatcher.registerReceiver(mUserEventReceiver, in initialize()
251 mBroadcastDispatcher.unregisterReceiver(mUserEventReceiver); in unregister()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java164 private final UserEventReceiver mUserEventReceiver = new UserEventReceiver(); field in CarUiPortraitHomeScreen
605 mUserEventReceiver.register(this, callback); in registerUserEventReceiver()
666 mUserEventReceiver.unregister(); in onDestroy()