Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java348 mHvacManager = (CarHvacManager) mCarApi.getCarManager(
350 mPowerManager = (CarPowerManager) mCarApi.getCarManager(
352 mPropertyManager = (CarPropertyManager) mCarApi.getCarManager(
354 mSensorManager = (CarSensorManager) mCarApi.getCarManager(
357 (CarAppFocusManager) mCarApi.getCarManager(Car.APP_FOCUS_SERVICE);
359 (CarProjectionManager) mCarApi.getCarManager(Car.PROJECTION_SERVICE);
/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/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppSearchActivity.java64 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager(
75 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE);
DAppGridActivity.java78 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager(
89 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE);
DContextualViewModel.java60 Car.createCar(context).getCarManager(Car.PROJECTION_SERVICE); in getCarProjectionManager()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java83 mUxRManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate()
261 mCar.getCarManager(Car.PACKAGE_SERVICE); in handleRestartingTask()
/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/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/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java81 .getCarManager(Car.CAR_NAVIGATION_SERVICE);
83 .getCarManager(Car.APP_FOCUS_SERVICE);
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationApplication.java51 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE);
/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