Searched refs:mCarUserService (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 66 private CarUserService mCarUserService; field in CarUserServiceTest 103 mCarUserService = new CarUserService(mMockContext, mCarUserManagerHelper, in setUpMocks() 119 mCarUserService.init(); in testRegistersToReceiveEvents() 120 verify(mMockContext).registerReceiver(eq(mCarUserService), argument.capture()); in testRegistersToReceiveEvents() 132 mCarUserService.release(); in testUnregistersEventReceivers() 133 verify(mMockContext).unregisterReceiver(mCarUserService); in testUnregistersEventReceivers() 148 mCarUserService.setUserLockStatus(UserHandle.USER_SYSTEM, true); in testDisableModifyAccountsForHeadlessSystemUserOnFirstRun() 166 mCarUserService.setUserLockStatus(UserHandle.USER_SYSTEM, true); in testDisableModifyAccountsForRegularSystemUserOnFirstRun() 184 mCarUserService.setUserLockStatus(UserHandle.USER_SYSTEM, true); in testDoesNotSetSystemUserRestrictions_IfRestrictionsAlreadySet() 197 mCarUserService.setUserLockStatus(UserHandle.USER_SYSTEM, true); in testDisableLocationForHeadlessSystemUserOnFirstRun() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 86 private CarUserService mCarUserService; field in VendorServiceControllerTest 92 mCarUserService = new CarUserService(mContext, mUserManagerHelper, in setUp() 94 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp() 140 runOnMainThread(() -> mCarUserService.setUserLockStatus(UserHandle.USER_SYSTEM, true)); in systemUserUnlocked() 153 runOnMainThread(() -> mCarUserService.onSwitchUser(FG_USER_ID)); in fgUserUnlocked() 161 runOnMainThread(() -> mCarUserService.setUserLockStatus(FG_USER_ID, true)); in fgUserUnlocked()
|
/packages/services/Car/service/src/com/android/car/ |
D | PerUserCarServiceHelper.java | 46 private ICarUserService mCarUserService; field in PerUserCarServiceHelper 132 mCarUserService = ICarUserService.Stub.asInterface(service); 133 if (mCarUserService != null) { 140 callback.onServiceConnected(mCarUserService);
|
D | CarBluetoothService.java | 91 private ICarUserService mCarUserService; field in CarBluetoothService 105 mCarUserService = carUserService; 205 mCarUserService = null; in destroyUser() 218 if (mCarUserService != null) { in createBluetoothUserService() 220 mCarBluetoothUserService = mCarUserService.getBluetoothUserService(); in createBluetoothUserService()
|
D | ICarImpl.java | 105 private final CarUserService mCarUserService; field in ICarImpl 140 mCarUserService = new CarUserService(serviceContext, mUserManagerHelper, in ICarImpl() 172 serviceContext, mCarStatsService, mCarUserService, mVmsBrokerService, in ICarImpl() 189 CarLocalServices.addService(CarUserService.class, mCarUserService); in ICarImpl() 199 allServices.add(mCarUserService); in ICarImpl() 272 mCarUserService.setUserLockStatus(userHandle, unlocked == 1); in setUserLockStatus() 281 mCarUserService.onSwitchUser(userHandle); in onSwitchUser()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 68 private CarUserService mCarUserService; field in VendorServiceController 107 mCarUserService = CarLocalServices.getService(CarUserService.class); in init() 108 mCarUserService.addUserCallback(this); in init() 114 if (mCarUserService != null) { in release() 115 mCarUserService.removeUserCallback(this); in release()
|