/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | ControllerTest.java | 42 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/ |
D | CarLocationServiceTest.java | 127 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/ |
D | ICarImpl.java | 188 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()
|
D | CarLocationService.java | 162 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()
|
D | CarLocalServices.java | 32 public class CarLocalServices { class 33 private CarLocalServices() {} in CarLocalServices() method in CarLocalServices
|
D | BluetoothDeviceConnectionPolicy.java | 170 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
|
D | CarUxRestrictionsManagerService.java | 242 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getFile()
|
D | CarPowerManagementService.java | 354 CarLocalServices.getService(CarUserNoticeService.class); in updateCarUserNoticeServiceIfNecessary()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 51 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/ |
D | InstrumentClusterService.java | 48 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/ |
D | GarageMode.java | 27 import com.android.car.CarLocalServices; 118 CarLocalServices.getService(CarUserService.class).stopBackgroundUser( 187 CarLocalServices.getService(CarUserService.class).startAllBackgroundUsers(); in enterGarageMode()
|
D | Controller.java | 28 import com.android.car.CarLocalServices; 65 mCarPowerManager = CarLocalServices.createCarPowerManager(mContext); in init()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 41 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/ |
D | FixedActivityService.java | 53 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/ |
D | CarUxRestrictionsManagerServiceTest.java | 104 CarLocalServices.removeServiceForTest(SystemInterface.class); in setUp() 105 CarLocalServices.addService(SystemInterface.class, mMockSystemInterface); in setUp() 119 CarLocalServices.removeAllServices(); in tearDown()
|
D | MockedCarTestBase.java | 162 CarLocalServices.removeAllServices(); in setUp()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarBleTrustAgent.java | 35 import com.android.car.CarLocalServices; 72 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in onCreate()
|
D | CarTrustAgentBleManager.java | 39 import com.android.car.CarLocalServices; 262 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in getTrustedDeviceService()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 37 import com.android.car.CarLocalServices; 107 mCarUserService = CarLocalServices.getService(CarUserService.class); in init()
|