Home
last modified time | relevance | path

Searched refs:mCarUserService (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java66 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/
DVendorServiceControllerTest.java86 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/
DCarBluetoothService.java79 private ICarUserService mCarUserService; field in CarBluetoothService
88 mCarUserService = carUserService;
103 mCarUserService = null;
144 mCarUserService = null; in release()
196 if (mCarUserService != null) { in createBluetoothUserService()
198 mCarBluetoothUserService = mCarUserService.getBluetoothUserService(); in createBluetoothUserService()
DPerUserCarServiceHelper.java46 private ICarUserService mCarUserService; field in PerUserCarServiceHelper
132 mCarUserService = ICarUserService.Stub.asInterface(service);
133 if (mCarUserService != null) {
140 callback.onServiceConnected(mCarUserService);
DICarImpl.java94 private final CarUserService mCarUserService; field in ICarImpl
127 mCarUserService = new CarUserService(serviceContext, mUserManagerHelper, in ICarImpl()
155 serviceContext, mCarUserService, mUserManagerHelper, mHal.getVmsHal()); in ICarImpl()
171 CarLocalServices.addService(CarUserService.class, mCarUserService); in ICarImpl()
179 allServices.add(mCarUserService); in ICarImpl()
251 mCarUserService.setUserLockStatus(userHandle, unlocked == 1); in setUserLockStatus()
259 mCarUserService.onSwitchUser(userHandle); in onSwitchUser()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java68 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()