/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/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/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppSearchActivity.java | 56 private Car mCar; field in AppSearchActivity 64 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( 75 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); 93 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 145 mCar.connect(); in onStart() 164 if (mCar != null) { in onStop() 165 mCar.disconnect(); in onStop()
|
D | AppGridActivity.java | 70 private Car mCar; field in AppGridActivity 78 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( 89 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); 109 mCar = Car.createCar(this, mCarConnectionListener); in onCreate() 176 mCar.connect(); in onStart() 195 if (mCar != null) { in onStop() 196 mCar.disconnect(); in onStop()
|
/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/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportActivity.java | 88 private Car mCar; field in BugReportActivity 112 mDrivingStateManager = (CarDrivingStateManager) mCar.getCarManager( 147 mCar = Car.createCar(this, mServiceConnection); in onCreate() 148 mCar.connect(); in onCreate() 184 if (mCar != null && mCar.isConnected()) { in onDestroy() 185 mCar.disconnect(); in onDestroy() 186 mCar = null; in onDestroy()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 51 private Car mCar; field in VolumeTestFragment 120 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE); 164 mCar = Car.createCar(getActivity(), mCarConnectionCallback); in onCreateView() 165 mCar.connect(); in onCreateView() 216 if (mCar != null) { in onDestroy() 217 mCar.disconnect(); in onDestroy()
|
/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/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 79 private Car mCar; field in MockedCarTestBase 168 mCar = new Car(context, mCarImpl, null /* handler */); in setUp() 173 if (mCar != null) { in tearDown() 174 mCar.disconnect(); in tearDown() 253 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/service/src/com/android/car/pm/ |
D | ActivityBlockingActivity.java | 54 private Car mCar; field in ActivityBlockingActivity 82 mCar = Car.createCar(this); in onCreate() 83 mUxRManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate() 261 mCar.getCarManager(Car.PACKAGE_SERVICE); in handleRestartingTask()
|
/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()
|