Home
last modified time | relevance | path

Searched refs:getCarManager (Results 1 – 25 of 68) sorted by relevance

123

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java349 mHvacManager = (CarHvacManager) car.getCarManager( in initManagers()
351 mPowerManager = (CarPowerManager) car.getCarManager( in initManagers()
353 mPropertyManager = (CarPropertyManager) car.getCarManager( in initManagers()
355 mSensorManager = (CarSensorManager) car.getCarManager( in initManagers()
358 (CarAppFocusManager) car.getCarManager(Car.APP_FOCUS_SERVICE); in initManagers()
360 (CarProjectionManager) car.getCarManager(Car.PROJECTION_SERVICE); in initManagers()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCar.java63 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
80 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
99 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java74 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection()
77 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection()
79 Object noSuchService = car.getCarManager("No such service"); in testCarConnection()
DCarNavigationManagerTest.java56 (CarNavigationStatusManager) getCar().getCarManager(Car.CAR_NAVIGATION_SERVICE); in setUp()
58 (CarAppFocusManager) getCar().getCarManager(Car.APP_FOCUS_SERVICE); in setUp()
DCarInfoManagerTest.java31 mInfoManager = (CarInfoManager) getCar().getCarManager(Car.INFO_SERVICE); in setUp()
DCarAppFocusManagerTest.java44 mManager = (CarAppFocusManager) getCar().getCarManager(Car.APP_FOCUS_SERVICE); in setUp()
254 CarAppFocusManager manager = (CarAppFocusManager) car.getCarManager(Car.APP_FOCUS_SERVICE); in createManager()
DCarSensorManagerTest.java68 (CarSensorManager) mCar.getCarManager(Car.SENSOR_SERVICE); in setUp()
DCarPackageManagerTest.java68 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in setUp()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java87 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()
DCarPropertyTest.java106 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testHvacHardButtonOperations()
153 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testHvacSetGetOperations()
182 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testStaticInfoOperations()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java102 mCarDrivingStateManager = (CarDrivingStateManager) mCar.getCarManager( in onCreate()
104 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate()
106 mCarPackageManager = (CarPackageManager) mCar.getCarManager( in onCreate()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCar.java64 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
83 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java91 mUxRManager = (CarUxRestrictionsManager) car.getCarManager( in onCreate()
260 mCar.getCarManager(Car.PACKAGE_SERVICE); in handleRestartingTask()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java98 mCarAppFocusManager = (CarAppFocusManager) mCar.getCarManager( in registerAppFocusListener()
111 mCarPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in registerCarPropertiesListener()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java82 .getCarManager(Car.CAR_DRIVING_STATE_SERVICE); in setUp()
84 .getCarManager(Car.CAR_UX_RESTRICTION_SERVICE); in setUp()
DCarAudioManagerTest.java40 mCarAudioManager = (CarAudioManager) getCar().getCarManager(Car.AUDIO_SERVICE); in setUp()
DCarInfoManagerTest.java52 mCarInfoManager = (CarInfoManager) getCar().getCarManager(Car.INFO_SERVICE); in setUp()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java110 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager(
121 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE);
DContextualViewModel.java60 Car.createCar(context).getCarManager(Car.PROJECTION_SERVICE); in getCarProjectionManager()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java81 mCarNavigationStatusManager = (CarNavigationStatusManager) car.getCarManager(
83 mCarAppFocusManager = (CarAppFocusManager) car.getCarManager(
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationApplication.java51 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE);
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DCarPackageManagerUtils.java45 mCarPackageManager = (CarPackageManager) mCarApi.getCarManager(Car.PACKAGE_SERVICE); in CarPackageManagerUtils()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DTrustedDeviceEntryPreferenceController.java52 mCarTrustAgentEnrollmentManager = (CarTrustAgentEnrollmentManager) mCar.getCarManager( in TrustedDeviceEntryPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DCarUxRestrictionsHelper.java103 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE);
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarPropertyManagerTest.java54 mManager = (CarPropertyManager) car.getCarManager(Car.PROPERTY_SERVICE); in setUp()

123