/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/common/test/ |
D | UserEventReceiverTest.java | 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 32 import android.car.user.CarUserManager; 61 private CarUserManager mCarUserManager; 70 doReturn(mCarUserManager).when(mCar).getCarManager(CarUserManager.class); in setUp() 94 CarUserManager.UserLifecycleListener listener = verifyAndGetUserListener(); in onUnregister_removesListeners() 106 CarUserManager.UserLifecycleListener listener = verifyAndGetUserListener(); in onUserSwitch_notPreviousUser_noCallback() 107 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in onUserSwitch_notPreviousUser_noCallback() 119 CarUserManager.UserLifecycleListener listener = verifyAndGetUserListener(); in onUserSwitch_wasPreviousUser_triggersCallback() 120 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in onUserSwitch_wasPreviousUser_triggersCallback() [all …]
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/common/ |
D | UserEventReceiver.java | 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 23 import android.car.user.CarUserManager; 40 private CarUserManager mCarUserManager; 42 private CarUserManager.UserLifecycleListener mUserListener = 43 new CarUserManager.UserLifecycleListener() { 45 public void onEvent(@NonNull CarUserManager.UserLifecycleEvent event) { 68 mCarUserManager = mCar.getCarManager(CarUserManager.class); in register()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerUserVisibilityEventTest.java | 18 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_INVISIBLE; 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKING; 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_VISIBLE; 30 import android.car.user.CarUserManager.UserLifecycleEvent;
|
D | CarUserManagerLifecycleEventFilterTest.java | 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_CREATED; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 25 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKING; 31 import android.car.user.CarUserManager.UserLifecycleEvent;
|
D | CarUserManagerLifeCycleTest.java | 18 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKING; 29 import android.car.user.CarUserManager.UserLifecycleEvent;
|
D | CarUserManagerTest.java | 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKING; 35 import android.car.user.CarUserManager; 36 import android.car.user.CarUserManager.UserLifecycleEvent; 129 CarUserManager mgr2 = (CarUserManager) car2.getCarManager(Car.CAR_USER_SERVICE); in testLifecycleMultipleListeners() 130 CarUserManager mgr1 = mCarUserManager; in testLifecycleMultipleListeners()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | UserEventManager.java | 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_CREATED; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_INVISIBLE; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_REMOVED; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING; 25 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 26 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 27 import static android.car.user.CarUserManager.lifecycleEventTypeToString; 38 import android.car.user.CarUserManager; [all …]
|
D | UserPickerSharedState.java | 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 21 import static android.car.user.CarUserManager.lifecycleEventTypeToString; 25 import android.car.user.CarUserManager; 26 import android.car.user.CarUserManager.UserLifecycleListener; 125 CarUserManager carUserManager = car.getCarManager(CarUserManager.class); in onConnected()
|
D | CarServiceMediator.java | 42 import android.car.user.CarUserManager; 43 import android.car.user.CarUserManager.UserLifecycleListener; 75 private CarUserManager mCarUserManager; 103 mCarUserManager = car.getCarManager(CarUserManager.class); in onConnect() 142 CarUserManager getCarUserManager() { in getCarUserManager()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | DockViewControllerWrapper.java | 19 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 23 import android.car.user.CarUserManager; 64 private CarUserManager mCarUserManager; 67 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = 68 new CarUserManager.UserLifecycleListener() { 70 public void onEvent(@NonNull CarUserManager.UserLifecycleEvent event) { 95 mCarUserManager = car.getCarManager(CarUserManager.class);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/ |
D | ExperimentalCarKeyguardServiceTest.java | 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_INVISIBLE; 25 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_VISIBLE; 44 import android.car.user.CarUserManager; 157 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in onSystemUserVisible_doNothing() 169 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in onForegroundUserVisible_doNothing() 196 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in onUserInvisible_removeKeyguard() 285 CarUserManager.UserLifecycleEvent event = new CarUserManager.UserLifecycleEvent( in startKeyguardForSecondaryUser()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/ |
D | CarMUPANDUserTrackerImpl.java | 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_INVISIBLE; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_VISIBLE; 28 import android.car.user.CarUserManager; 73 private final CarUserManager.UserLifecycleListener mUserLifecycleListener = event -> { 179 CarUserManager carUserManager = car.getCarManager(CarUserManager.class);
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | UserEventManagerTest.java | 33 import android.car.user.CarUserManager; 34 import android.car.user.CarUserManager.UserLifecycleEvent; 73 private CarUserManager mMockCarUserManager; 110 doReturn(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, in onUserLifecycleEvent_sendEvents_updateUsers() 111 CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING, in onUserLifecycleEvent_sendEvents_updateUsers() 112 CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED).when(event).getEventType(); in onUserLifecycleEvent_sendEvents_updateUsers()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/ |
D | CarUserManagerUnitTest.java | 46 import android.car.user.CarUserManager.UserHandleSwitchUiCallback; 47 import android.car.user.CarUserManager.UserLifecycleListener; 48 import android.car.user.CarUserManager.UserSwitchUiCallback; 97 private CarUserManager mMgr; 101 mMgr = new CarUserManager(mCar, mService, mUserManager, in setFixtures() 108 assertThat(CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_KEY_FOB) in testUserIdentificationAssociationType() 110 assertThat(CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_1) in testUserIdentificationAssociationType() 112 assertThat(CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_2) in testUserIdentificationAssociationType() 114 assertThat(CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_3) in testUserIdentificationAssociationType() 116 assertThat(CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_4) in testUserIdentificationAssociationType() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserSwitchTransitionViewMediator.java | 19 import android.car.user.CarUserManager; 38 CarUserManager.UserSwitchUiCallback { 81 CarUserManager carUserManager = car.getCarManager(CarUserManager.class); in registerListeners()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 35 import android.car.user.CarUserManager; 240 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, in systemUserUnlocked() 260 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING, FG_USER_ID); in fgUserUnlocked() 268 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, FG_USER_ID); in fgUserUnlocked() 274 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_POST_UNLOCKED, FG_USER_ID); in fgUserUnlocked() 291 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_VISIBLE, in testVisibleUsers() 304 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, in testVisibleUsers() 316 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING, FG_USER_ID); in testVisibleUsers() 328 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, FG_USER_ID); in testVisibleUsers() 340 sendUserLifecycleEvent(CarUserManager.USER_LIFECYCLE_EVENT_TYPE_INVISIBLE, in testVisibleUsers() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/ |
D | BlockingUserLifecycleListenerTest.java | 20 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STARTING; 21 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPED; 22 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_STOPPING; 23 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_SWITCHING; 24 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 25 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKING; 35 import android.car.user.CarUserManager; 36 import android.car.user.CarUserManager.UserLifecycleEvent; 306 CarUserManager.lifecycleEventTypeToString(expectedType)).that(event.getEventType()) in assertEvent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UserFragment.java | 18 import static android.car.user.CarUserManager.USER_IDENTIFICATION_ASSOCIATION_SET_VALUE_ASSOCIATE_C… 19 import static android.car.user.CarUserManager.USER_IDENTIFICATION_ASSOCIATION_SET_VALUE_DISASSOCIAT… 20 import static android.car.user.CarUserManager.USER_IDENTIFICATION_ASSOCIATION_TYPE_KEY_FOB; 21 import static android.car.user.CarUserManager.USER_IDENTIFICATION_ASSOCIATION_VALUE_ASSOCIATE_CURRE… 27 import android.car.user.CarUserManager; 78 private CarUserManager mCarUserManager; 109 mCarUserManager = (CarUserManager) car.getCarManager(Car.CAR_USER_SERVICE); in onViewCreated() 311 CarUserManager.class, /* prefix= */ "", value)); in associateKeyFob() 330 String newValueName = DebugUtils.constantToString(CarUserManager.class, in associateKeyFob()
|
/packages/services/Car/car-lib/src/android/car/app/ |
D | CarTaskViewControllerSupervisor.java | 18 import static android.car.user.CarUserManager.USER_LIFECYCLE_EVENT_TYPE_UNLOCKED; 27 import android.car.user.CarUserManager; 28 import android.car.user.CarUserManager.UserLifecycleListener; 107 @NonNull CarUserManager carUserManager) { in CarTaskViewControllerSupervisor() 303 public void onEvent(@NonNull CarUserManager.UserLifecycleEvent event) {
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | AddProfileHandler.java | 29 import android.car.user.CarUserManager; 66 private CarUserManager mCarUserManager; 73 mCarUserManager = mCar.getCarManager(CarUserManager.class); 223 void setCarUserManager(CarUserManager carUserManager) { in setCarUserManager()
|
D | ProfileHelper.java | 29 import android.car.user.CarUserManager; 69 private final CarUserManager mCarUserManager; 124 String defaultGuestName, CarUserManager carUserManager) { in ProfileHelper() 132 private static CarUserManager getCarUserManager(@NonNull Context context) { in getCarUserManager() 134 CarUserManager carUserManager = (CarUserManager) car.getCarManager(Car.CAR_USER_SERVICE); in getCarUserManager()
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.3.txt | 639 android.car.user CarUserManager String TAG 640 android.car.user CarUserManager int USER_LIFECYCLE_EVENT_TYPE_POST_UNLOCKED 641 android.car.user CarUserManager String BUNDLE_PARAM_ACTION 642 android.car.user CarUserManager String BUNDLE_PARAM_PREVIOUS_USER_ID 643 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_KEY_FOB 644 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_1 645 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_2 646 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_3 647 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_4 648 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_SET_VALUE_ASSOCIATE_CURRENT_USER [all …]
|
D | car_hidden_apis_release_33.2.txt | 571 android.car.user CarUserManager String TAG 572 android.car.user CarUserManager int USER_LIFECYCLE_EVENT_TYPE_POST_UNLOCKED 573 android.car.user CarUserManager String BUNDLE_PARAM_ACTION 574 android.car.user CarUserManager String BUNDLE_PARAM_PREVIOUS_USER_ID 575 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_KEY_FOB 576 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_1 577 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_2 578 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_3 579 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_4 580 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_SET_VALUE_ASSOCIATE_CURRENT_USER [all …]
|
D | car_hidden_apis_release_33.1.txt | 562 android.car.user CarUserManager String TAG 563 android.car.user CarUserManager int USER_LIFECYCLE_EVENT_TYPE_POST_UNLOCKED 564 android.car.user CarUserManager String BUNDLE_PARAM_ACTION 565 android.car.user CarUserManager String BUNDLE_PARAM_PREVIOUS_USER_ID 566 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_KEY_FOB 567 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_1 568 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_2 569 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_3 570 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_TYPE_CUSTOM_4 571 android.car.user CarUserManager int USER_IDENTIFICATION_ASSOCIATION_SET_VALUE_ASSOCIATE_CURRENT_USER [all …]
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | BlockingUserLifecycleListener.java | 22 import android.car.user.CarUserManager; 23 import android.car.user.CarUserManager.UserLifecycleEvent; 24 import android.car.user.CarUserManager.UserLifecycleListener; 327 .map((i) -> CarUserManager.lifecycleEventTypeToString(i)) in toString()
|