/packages/services/Car/service/src/com/android/car/ |
D | CarPerUserServiceHelper.java | 59 private final CarUserService mUserService; field in CarPerUserServiceHelper 72 mUserService = userService; in CarPerUserServiceHelper() 77 mUserService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in CarPerUserServiceHelper() 91 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
|
D | CarInputService.java | 214 private final CarUserService mUserService; field in CarInputService 343 mUserService = userService; in CarInputService() 457 mUserService.addUserLifecycleListener(userSwitchingEventFilter, mUserLifecycleListener); in init() 470 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
|
D | CarMediaService.java | 139 private final CarUserService mUserService; field in CarMediaService 400 mUserService = userService; in CarMediaService() 410 mUserService.addUserLifecycleListener(userLifecycleEventFilterBuilder.build(), in CarMediaService() 639 mUserService.removeUserLifecycleListener(mUserLifecycleListener); in release()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceServiceTest.java | 126 private CarUserService mUserService; field in CarRemoteDeviceServiceTest 162 CarLocalServices.addService(CarUserService.class, mUserService); in setUp() 598 }).when(mUserService).addUserLifecycleListener(any(), any()); in testOccupantZoneStateChanged() 673 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserStarting() 696 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserBecameVisible() 719 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserSwitching() 742 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserAssigned() 765 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserUnassigned() 789 }).when(mUserService).addUserLifecycleListener(any(), any()); in testUserSwitched()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 247 private CarUserService mUserService; field in CarPowerManagementServiceUnitTest 349 verify(mUserService).onSuspend(); in testCanHibernate() 532 verify(mUserService).onSuspend(); in hibernateImmediately() 818 verify(mUserService).onSuspend(); in testUserManagerOnResumeCallAfterCancel() 830 verify(mUserService, timeout(WAIT_TIMEOUT_LONG_MS)).onResume(); in testUserManagerOnResumeCallAfterCancel() 844 verify(mUserService).onSuspend(); in testUserManagerOnResumeCallAfterSuspend() 857 verify(mUserService, timeout(WAIT_TIMEOUT_LONG_MS)).onResume(); in testUserManagerOnResumeCallAfterSuspend() 860 clearInvocations(mUserService); in testUserManagerOnResumeCallAfterSuspend() 867 verify(mUserService).onSuspend(); in testUserManagerOnResumeCallAfterSuspend() 876 verify(mUserService, timeout(WAIT_TIMEOUT_LONG_MS)).onResume(); in testUserManagerOnResumeCallAfterSuspend() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 124 @Mock private CarUserService mUserService; field in CarMediaServiceTest 182 mCarMediaService = new CarMediaService(mContext, mMockOccupantZoneService, mUserService, in setUp() 873 verify(mUserService).addUserLifecycleListener(notNull(), in mockUserLifecycleEvents()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 240 private final CarUserService mUserService; field in CarPowerManagementService 550 mUserService = Objects.requireNonNull(builder.mCarUserService); in CarPowerManagementService() 609 mSystemInterface.init(this, mUserService); in init() 1077 mUserService.onResume(); in handleOn() 1548 mUserService.onSuspend(); in waitForShutdownPrepareListenersToComplete()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 130 @Mock private UserManager mUserService; field in BluetoothMapContentObserverTest 184 when(mUserService.isUserUnlocked()).thenReturn(true); in setUp() 189 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserService); in setUp()
|