/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 19 import android.car.Car; 163 case Car.AUDIO_SERVICE: in getCarService() 165 case Car.SENSOR_SERVICE: in getCarService() 167 case Car.INFO_SERVICE: in getCarService() 169 case Car.APP_CONTEXT_SERVICE: in getCarService() 171 case Car.PACKAGE_SERVICE: in getCarService() 173 case Car.CAMERA_SERVICE: in getCarService() 176 case Car.HVAC_SERVICE: in getCarService() 179 case Car.RADIO_SERVICE: in getCarService() 182 case Car.CAR_NAVIGATION_SERVICE: in getCarService() [all …]
|
D | CarRadioService.java | 19 import android.car.Car; 124 throw new IllegalStateException(Car.CAR_NOT_CONNECTED_EXCEPTION_MSG); in registerListener() 205 mContext.checkCallingOrSelfPermission(Car.PERMISSION_CAR_RADIO) != in checkRadioPremissions() 208 Car.PERMISSION_CAR_RADIO); in checkRadioPremissions()
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
D | CarServiceLoaderEmbedded.java | 52 private final android.car.Car mCar; 60 mCar = android.car.Car.createCar(context, mServiceConnection, looper); in CarServiceLoaderEmbedded() 116 case Car.AUDIO_SERVICE: in getCarManager() 118 case Car.SENSOR_SERVICE: in getCarManager() 120 case Car.INFO_SERVICE: in getCarManager() 122 case Car.APP_CONTEXT_SERVICE: in getCarManager() 124 case Car.PACKAGE_SERVICE: in getCarManager() 126 case Car.CAR_NAVIGATION_SERVICE: in getCarManager()
|
D | Car.java | 49 public class Car { class 149 synchronized (Car.this) { 156 synchronized (Car.this) { 192 public static Car createCar(Context context, in createCar() 195 return new Car(context, serviceConnectionListener, looper); in createCar() 208 public static Car createCar(Context context, in createCar() 213 private Car(Context context, ServiceConnectionListener serviceConnectionListener, in Car() method in Car 269 public Car(Context context, CarServiceLoader serviceLoader, @Nullable Looper looper) { in Car() method in Car
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/ |
D | CarTest.java | 19 import android.car.Car; 60 Car car = Car.createCar(getContext(), mConnectionListener); in testCarConnection() 70 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 73 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 85 Car car = Car.createCar(getContext(), mConnectionListener); in testDoubleConnect()
|
D | CarAppContextManagerTest.java | 18 import android.car.Car; 34 mManager = (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); in setUp() 69 Car car2 = Car.createCar(getContext(), connectionListener, null); in testContextChange() 73 car2.getCarManager(Car.APP_CONTEXT_SERVICE); in testContextChange() 171 Car car2 = Car.createCar(getContext(), connectionListener); in testFilter() 175 car2.getCarManager(Car.APP_CONTEXT_SERVICE); in testFilter()
|
D | CarApiTestBase.java | 23 import android.car.Car; 32 private Car mCar; 44 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 55 protected synchronized Car getCar() { in getCar()
|
D | CarPackageManagerTest.java | 23 import android.car.Car; 37 private Car mCar; 65 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 68 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in setUp()
|
D | CarSensorManagerTest.java | 23 import android.car.Car; 38 private Car mCar; 65 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 69 (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in setUp()
|
D | CarNavigationManagerTest.java | 18 import android.car.Car; 46 (CarNavigationManager) getCar().getCarManager(Car.CAR_NAVIGATION_SERVICE); in setUp() 49 (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); in setUp()
|
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
D | CarTest.java | 21 import android.support.car.Car; 69 Car car = Car.createCar(getContext(), mConnectionListener); in testCarConnection() 79 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 82 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 94 Car car = Car.createCar(getContext(), mConnectionListener); in testDoubleConnect()
|
D | CarAppContextManagerTest.java | 18 import android.support.car.Car; 34 mManager = (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); in setUp() 69 Car car2 = Car.createCar(getContext(), connectionListener, null); in testContextChange() 73 car2.getCarManager(Car.APP_CONTEXT_SERVICE); in testContextChange() 171 Car car2 = Car.createCar(getContext(), connectionListener); in testFilter() 175 car2.getCarManager(Car.APP_CONTEXT_SERVICE); in testFilter()
|
D | CarApiTestBase.java | 22 import android.support.car.Car; 32 private Car mCar; 44 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 55 protected synchronized Car getCar() { in getCar()
|
D | CarPackageManagerTest.java | 21 import android.support.car.Car; 36 private Car mCar; 73 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 76 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in setUp()
|
D | CarSensorManagerTest.java | 22 import android.support.car.Car; 37 private Car mCar; 74 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 78 (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in setUp()
|
D | CarNavigationManagerTest.java | 21 import android.support.car.Car; 45 (CarNavigationManager) getCar().getCarManager(Car.CAR_NAVIGATION_SERVICE); in setUp() 48 (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); in setUp()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | MockedCarTestBase.java | 24 import android.support.car.Car; 41 private Car mSupportCar; 42 private android.car.Car mCar; 74 mSupportCar = Car.createCar(getContext(), mConnectionListener); in setUp() 76 mCar = android.car.Car.createCar(getContext(), new ServiceConnection() { in setUp() 104 protected synchronized Car getSupportCar() { in getSupportCar() 108 protected synchronized android.car.Car getCar() { in getCar()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 53 public class Car { class 239 synchronized (Car.this) { 247 synchronized (Car.this) { 278 public static Car createCar(Context context, ServiceConnection serviceConnectionListener, in createCar() 285 return new Car(context, serviceConnectionListener, looper); in createCar() 298 public static Car createCar(Context context, ServiceConnection serviceConnectionListener) { in createCar() 302 private Car(Context context, ServiceConnection serviceConnectionListener, in Car() method in Car 327 public Car(Context context, ICar service, @Nullable Looper looper) { in Car() method in Car 513 intent.setAction(Car.CAR_SERVICE_INTERFACE_NAME); in startCarService()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkActivity.java | 26 import android.support.car.Car; 63 private Car mCarApi; 91 public KitchenSinkActivity(Proxy proxy, Context context, Car car) { in KitchenSinkActivity() 106 mCarApi = Car.createCar(getContext(), mServiceConnectionListener); in onCreate() 168 mCameraManager = (CarCameraManager) mCarApi.getCarManager(android.car.Car 170 mHvacManager = (CarHvacManager) mCarApi.getCarManager(android.car.Car.HVAC_SERVICE); 172 android.car.Car.CAR_NAVIGATION_SERVICE); 173 mCarSensorManager = (CarSensorManager) mCarApi.getCarManager(Car.SENSOR_SERVICE); 178 (CarAppContextManager) mCarApi.getCarManager(Car.APP_CONTEXT_SERVICE);
|
/packages/services/Car/car-support-lib/src/android/support/car/hardware/ |
D | CarSensorManager.java | 22 import android.support.car.Car; 203 @RequiresPermission(anyOf={Manifest.permission.ACCESS_FINE_LOCATION, Car.PERMISSION_SPEED, 204 Car.PERMISSION_MILEAGE, Car.PERMISSION_FUEL}, conditional=true)
|
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/ |
D | Android.mk | 24 packages/services/Car/libvehiclenetwork/include \ 25 packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include\ 26 packages/services/Car/vehicle_network_service \
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
D | CarConnectionListenerInMockingTest.java | 22 import android.support.car.Car; 42 private Car mCar; 78 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 126 assertEquals(Car.CONNECTION_TYPE_EMBEDDED, event.intValue()); in waitForConnection()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
D | InputTestFragment.java | 19 import android.car.Car; 52 private Car mCar; 91 mCar = Car.createCar(getContext(), new ServiceConnection() { in onCreateView() 96 (CarTestManagerBinderWrapper) mCar.getCarManager(Car.TEST_SERVICE)); in onCreateView()
|
/packages/services/Car/car-support-lib/src/android/support/car/app/ |
D | CarActivity.java | 26 import android.support.car.Car; 116 private final Car mCar; 119 public CarActivity(Proxy proxy, Context context, Car car) { in CarActivity() 129 public Car getCar() { in getCar()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorManager.java | 21 import android.car.Car; 283 @RequiresPermission(anyOf={Manifest.permission.ACCESS_FINE_LOCATION, Car.PERMISSION_SPEED, 284 Car.PERMISSION_MILEAGE, Car.PERMISSION_FUEL}, conditional=true)
|