Home
last modified time | relevance | path

Searched refs:CarLocalServices (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DControllerTest.java42 import com.android.car.CarLocalServices;
101 mCarUserServiceOriginal = CarLocalServices.getService(CarUserService.class); in setUp()
102 CarLocalServices.removeServiceForTest(CarUserService.class); in setUp()
103 CarLocalServices.addService(CarUserService.class, mCarUserServiceMock); in setUp()
109 CarLocalServices.removeServiceForTest(CarUserService.class); in tearDown()
110 CarLocalServices.addService(CarUserService.class, mCarUserServiceOriginal); in tearDown()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java127 CarLocalServices.removeServiceForTest(SystemInterface.class); in setUp()
128 CarLocalServices.addService(SystemInterface.class, mMockSystemInterface); in setUp()
129 CarLocalServices.removeServiceForTest(CarDrivingStateService.class); in setUp()
130 CarLocalServices.addService(CarDrivingStateService.class, mMockCarDrivingStateService); in setUp()
131 CarLocalServices.removeServiceForTest(PerUserCarServiceHelper.class); in setUp()
132 CarLocalServices.addService(PerUserCarServiceHelper.class, mMockPerUserCarServiceHelper); in setUp()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java188 CarLocalServices.addService(CarPowerManagementService.class, mCarPowerManagementService); in ICarImpl()
189 CarLocalServices.addService(CarUserService.class, mCarUserService); in ICarImpl()
190 CarLocalServices.addService(CarTrustedDeviceService.class, mCarTrustedDeviceService); in ICarImpl()
191 CarLocalServices.addService(CarUserNoticeService.class, mCarUserNoticeService); in ICarImpl()
192 CarLocalServices.addService(SystemInterface.class, mSystemInterface); in ICarImpl()
193 CarLocalServices.addService(CarDrivingStateService.class, mCarDrivingStateService); in ICarImpl()
194 CarLocalServices.addService(PerUserCarServiceHelper.class, mPerUserCarServiceHelper); in ICarImpl()
195 CarLocalServices.addService(FixedActivityService.class, mFixedActivityService); in ICarImpl()
DCarLocationService.java162 mCarDrivingStateService = CarLocalServices.getService(CarDrivingStateService.class); in init()
172 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
176 mPerUserCarServiceHelper = CarLocalServices.getService(PerUserCarServiceHelper.class); in init()
454 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getLocationCacheFile()
DCarLocalServices.java32 public class CarLocalServices { class
33 private CarLocalServices() {} in CarLocalServices() method in CarLocalServices
DBluetoothDeviceConnectionPolicy.java170 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
DCarUxRestrictionsManagerService.java242 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getFile()
DCarPowerManagementService.java354 CarLocalServices.getService(CarUserNoticeService.class); in updateCarUserNoticeServiceIfNecessary()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java51 import com.android.car.CarLocalServices;
358 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
367 CarUserService userService = CarLocalServices.getService(CarUserService.class); in init()
382 CarUserService userService = CarLocalServices.getService(CarUserService.class); in release()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java48 import com.android.car.CarLocalServices;
139 FixedActivityService service = CarLocalServices.getService(
148 FixedActivityService service = CarLocalServices.getService(
171 CarLocalServices.getService(CarUserService.class).runOnUser0Unlock(() -> { in init()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java27 import com.android.car.CarLocalServices;
118 CarLocalServices.getService(CarUserService.class).stopBackgroundUser(
187 CarLocalServices.getService(CarUserService.class).startAllBackgroundUsers(); in enterGarageMode()
DController.java28 import com.android.car.CarLocalServices;
65 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java41 import com.android.car.CarLocalServices;
94 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp()
110 CarLocalServices.removeServiceForTest(CarUserService.class); in tearDown()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java53 import com.android.car.CarLocalServices;
308 carPowerManager = CarLocalServices.createCarPowerManager(mContext); in startMonitoringEvents()
311 CarUserService userService = CarLocalServices.getService(CarUserService.class); in startMonitoringEvents()
347 CarUserService userService = CarLocalServices.getService(CarUserService.class); in stopMonitoringEvents()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java104 CarLocalServices.removeServiceForTest(SystemInterface.class); in setUp()
105 CarLocalServices.addService(SystemInterface.class, mMockSystemInterface); in setUp()
119 CarLocalServices.removeAllServices(); in tearDown()
DMockedCarTestBase.java162 CarLocalServices.removeAllServices(); in setUp()
/packages/services/Car/service/src/com/android/car/trust/
DCarBleTrustAgent.java35 import com.android.car.CarLocalServices;
72 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in onCreate()
DCarTrustAgentBleManager.java39 import com.android.car.CarLocalServices;
262 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in getTrustedDeviceService()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java37 import com.android.car.CarLocalServices;
107 mCarUserService = CarLocalServices.getService(CarUserService.class); in init()