/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | CarUxRestrictionsHelper.java | 39 @Nullable private final Car mCar; field in CarUxRestrictionsHelper 50 mCar = Car.createCar(context, mServiceConnection); in CarUxRestrictionsHelper() 63 if (mCar != null && !mCar.isConnected()) { in start() 64 mCar.connect(); in start() 80 if (mCar != null && mCar.isConnected()) { in stop() 81 mCar.disconnect(); in stop() 103 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE);
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarManagerBase.java | 29 protected final Car mCar; field in CarManagerBase 32 mCar = car; in CarManagerBase() 36 return mCar.getContext(); in getContext() 40 return mCar.getEventHandler(); in getEventHandler() 44 return mCar.handleRemoteExceptionFromCarService(e, returnValue); in handleRemoteExceptionFromCarService() 48 mCar.handleRemoteExceptionFromCarService(e); in handleRemoteExceptionFromCarService()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2eCarTestBase.java | 53 protected Car mCar; field in E2eCarTestBase 68 mCar = Car.createCar(mContext, mConnectionListener); in connectToCarService() 69 assertNotNull(mCar); in connectToCarService() 70 mCar.connect(); in connectToCarService() 79 if (mCar != null) { in disconnect() 80 mCar.disconnect(); in disconnect() 81 mCar = null; in disconnect()
|
D | E2ePerformanceTest.java | 87 CarSensorManager mgr = (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in benchmarkEventBandwidthThroughCarService() 151 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClient() 176 CarHvacManager mgr = (CarHvacManager) mCar.getCarManager(Car.HVAC_SERVICE); in benchmarkSetGetFromSingleClientMultipleThreads() 266 CarSensorManager mgr = (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in verifyEventsFromSingleProperty()
|
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/ |
D | MainActivity.java | 116 (CarStorageMonitoringManager) mCar.getCarManager( 139 mCar = null; 145 private Car mCar = null; field in MainActivity 155 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 156 mCar.connect(); in onCreate() 163 if (mCar != null) { in onDestroy() 164 mCar.disconnect(); in onDestroy()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarApiTestBase.java | 32 private Car mCar; field in CarApiTestBase 44 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 45 mCar.connect(); in setUp() 52 mCar.disconnect(); in tearDown() 56 return mCar; in getCar()
|
D | CarSensorManagerTest.java | 37 private Car mCar; field in CarSensorManagerTest 64 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 65 mCar.connect(); in setUp() 68 (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in setUp() 74 mCar.disconnect(); in tearDown()
|
D | CarPackageManagerTest.java | 37 private Car mCar; field in CarPackageManagerTest 65 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 66 mCar.connect(); in setUp() 68 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in setUp() 75 mCar.disconnect(); in tearDown()
|
D | CarDiagnosticManagerTest.java | 37 private Car mCar; field in CarDiagnosticManagerTest 66 mCar = Car.createCar(getContext(), mConnectionListener); in setUp() 67 mCar.connect(); in setUp() 69 mCarDiagnosticManager = (CarDiagnosticManager) mCar.getCarManager(Car.DIAGNOSTIC_SERVICE); in setUp() 76 mCar.disconnect(); in tearDown()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 54 private Car mCar; field in MainActivity 100 mCar = Car.createCar(this); in onCreate() 102 mCarDrivingStateManager = (CarDrivingStateManager) mCar.getCarManager( in onCreate() 104 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate() 106 mCarPackageManager = (CarPackageManager) mCar.getCarManager( in onCreate() 128 if (mCar != null) { in onDestroy() 129 mCar.disconnect(); in onDestroy()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterViewModel.java | 71 private Car mCar; field in ClusterViewModel 98 mCarAppFocusManager = (CarAppFocusManager) mCar.getCarManager( in registerAppFocusListener() 111 mCarPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in registerCarPropertiesListener() 166 mCar = Car.createCar(application, mCarServiceConnection); in ClusterViewModel() 167 mCar.connect(); in ClusterViewModel() 180 mCar.disconnect(); in onCleared() 181 mCar = null; in onCleared()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 78 private Car mCar; field in AppGridActivity 110 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( 121 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); 141 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 235 mCar.connect(); in onStart() 254 if (mCar != null) { in onStop() 255 mCar.disconnect(); in onStop()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportService.java | 142 private Car mCar; field in BugReportService 260 mCar = null; in onCarLifecycleChanged() 329 if (mCar != null) { in disconnectFromCarService() 330 mCar.disconnect(); in disconnectFromCarService() 331 mCar = null; in disconnectFromCarService() 337 if (mCar == null || !(mCar.isConnected() || mCar.isConnecting())) { in connectToCarServiceSync() 338 mCar = Car.createCar(this, /* handler= */ null, in connectToCarServiceSync()
|
D | BugReportActivity.java | 117 private Car mCar; field in BugReportActivity 203 if (mCar != null && mCar.isConnected()) { in onDestroy() 204 mCar.disconnect(); in onDestroy() 205 mCar = null; in onDestroy() 247 mCar = Car.createCar(this, /* handler= */ null, in prepareUi() 277 mCar = null; in onCarLifecycleChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/units/ |
D | CarUnitsManager.java | 46 (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); 60 private Car mCar; field in CarUnitsManager 66 mCar = Car.createCar(mContext, mServiceConnection); in CarUnitsManager() 86 mCar.connect(); in connect() 90 mCar.disconnect(); in disconnect()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationApplication.java | 38 private Car mCar; field in NotificationApplication 51 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE); 78 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 79 mCar.connect(); in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 68 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE); 94 private Car mCar; field in VolumeSettingsPreferenceController 101 mCar = Car.createCar(getContext(), mServiceConnection); in VolumeSettingsPreferenceController() 114 mCar.connect(); in onCreateInternal() 120 mCar.disconnect(); in onDestroyInternal()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 72 private Car mCar; field in CarLatinIME 111 mUxRManager = (CarUxRestrictionsManager) mCar.getCarManager( 152 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 153 mCar.connect(); in onCreate() 162 if (mCar != null) { in onDestroy() 163 mCar.disconnect(); in onDestroy()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | TrustedDeviceEntryPreferenceController.java | 41 private final Car mCar; field in TrustedDeviceEntryPreferenceController 49 mCar = Car.createCar(context); in TrustedDeviceEntryPreferenceController() 52 mCarTrustAgentEnrollmentManager = (CarTrustAgentEnrollmentManager) mCar.getCarManager( in TrustedDeviceEntryPreferenceController()
|
D | AddTrustedDeviceActivity.java | 66 private Car mCar; field in AddTrustedDeviceActivity 156 mCar = Car.createCar(this); in onCreate() 157 mCarTrustAgentEnrollmentManager = (CarTrustAgentEnrollmentManager) mCar.getCarManager( in onCreate()
|
D | TrustedDeviceListPreferenceController.java | 49 private final Car mCar; field in TrustedDeviceListPreferenceController 95 mCar = Car.createCar(context); in TrustedDeviceListPreferenceController() 96 mCarTrustAgentEnrollmentManager = (CarTrustAgentEnrollmentManager) mCar.getCarManager( in TrustedDeviceListPreferenceController()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | ActivityBlockingActivity.java | 49 private Car mCar; field in ActivityBlockingActivity 86 mCar = Car.createCar(this, /* handler= */ null, Car.CAR_WAIT_TIMEOUT_WAIT_FOREVER, in onCreate() 223 mCar.disconnect(); in onDestroy() 260 mCar.getCarManager(Car.PACKAGE_SERVICE); in handleRestartingTask()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 80 private Car mCar; field in MockedCarTestBase 169 mCar = new Car(context, mCarImpl, null /* handler */); in setUp() 174 if (mCar != null) { in tearDown() 175 mCar.disconnect(); in tearDown() 258 return mCar; in getCar()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | CarEmulator.java | 44 private final Car mCar; field in CarEmulator 58 mCar = new Car(context, carService, null /* Handler */); in CarEmulator() 62 return mCar; in getCar()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCar.java | 78 private final Car mCar; field in FakeCar 90 mCar = car; in FakeCar() 96 return mCar; in getCar()
|