/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/ |
D | CarSettingsApplicationTest.java | 128 when(mCar.getCarManager(Car.AUDIO_SERVICE)).thenReturn(mCarAudioManager); in onLifecycleChanged_carServiceReady_carAudioManager() 137 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_zoneInfoDriver() 147 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_zoneInfoPassenger() 157 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_zoneInfoNull() 167 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_primaryAudioZone() 179 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_secondaryAudioZone() 191 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_defaultDisplayId() 203 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceReady_secondaryDisplayId() 215 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(null); in onLifecycleChanged_carServiceReady_occupantZoneServiceIsNull() 228 when(mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE)).thenReturn(mCarOccupantZoneManager); in onLifecycleChanged_carServiceCrashed_usePreviousValues_exceptCarAudioManager() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkHelperImpl.java | 97 mPropertyManager = (CarPropertyManager) mCarApi.getCarManager( in getPropertyManager() 108 mHvacManager = (CarHvacManager) mCarApi.getCarManager(android.car.Car.HVAC_SERVICE); in getHvacManager() 118 mOccupantZoneManager = (CarOccupantZoneManager) mCarApi.getCarManager( in getOccupantZoneManager() 129 mPowerManager = (CarPowerManager) mCarApi.getCarManager( in getPowerManager() 140 mSensorManager = (CarSensorManager) mCarApi.getCarManager( in getSensorManager() 152 (CarProjectionManager) mCarApi.getCarManager(Car.PROJECTION_SERVICE); in getProjectionManager() 163 (CarTelemetryManager) mCarApi.getCarManager(Car.CAR_TELEMETRY_SERVICE); in getCarTelemetryManager() 174 (CarWatchdogManager) mCarApi.getCarManager(Car.CAR_WATCHDOG_SERVICE); in getCarWatchdogManager() 185 (CarPerformanceManager) mCarApi.getCarManager(Car.CAR_PERFORMANCE_SERVICE); in getPerformanceManager()
|
D | OccupantZoneStartActivity.java | 113 (CarAppFocusManager) car.getCarManager(APP_FOCUS_SERVICE); in connectCar() 121 car.getCarManager(CAR_OCCUPANT_ZONE_SERVICE); in connectCar()
|
/packages/apps/Car/Settings/src/com/android/car/settings/ |
D | CarSettingsApplication.java | 79 mCarOccupantZoneManager = (CarOccupantZoneManager) car.getCarManager( 86 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); 89 mCarWifiManager = (CarWifiManager) car.getCarManager(Car.CAR_WIFI_SERVICE);
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCar.java | 65 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar() 93 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar() 112 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 85 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 88 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection() 90 Object noSuchService = car.getCarManager("No such service"); in testCarConnection() 176 CarTestManager carTestManager = (CarTestManager) (car.getCarManager(Car.TEST_SERVICE)); in testCarServiceReleaseReInit()
|
D | CarGetCarManagerTest.java | 143 Object carManager = car.getCarManager(mCarServiceName); in test_forCarServiceManager() 144 Object carManager2 = car.getCarManager(mCarServiceName); in test_forCarServiceManager() 145 Object carManagerByClass = car.getCarManager(mCarManagerClass); in test_forCarServiceManager() 146 Object carManagerByClass2 = car.getCarManager(mCarManagerClass); in test_forCarServiceManager()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/ |
D | NavigationStateViewModelTest.java | 86 when(mCar.getCarManager(eq(Car.CLUSTER_HOME_SERVICE))).thenReturn(mClusterHomeManager); in setUp() 96 verify(mCar).getCarManager(eq(Car.CLUSTER_HOME_SERVICE)); in constructor_viewModelCreateSuccess() 112 when(car.getCarManager(eq(Car.CLUSTER_HOME_SERVICE))).thenReturn(null); in constructor_clusterHomeManagerIsNull_viewModelCreateSuccess() 116 verify(car).getCarManager(eq(Car.CLUSTER_HOME_SERVICE)); in constructor_clusterHomeManagerIsNull_viewModelCreateSuccess()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | ICarBase.java | 65 Object getCarManager(String serviceName); in getCarManager() method 78 <T> T getCarManager(@NonNull Class<T> serviceClass); in getCarManager() method
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 202 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testHvacActionsFromAndroid() 229 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testHvacHardButtonOperations() 263 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testStaticInfoOperations() 281 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testMixedTypeProperty() 323 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in testPropertyEventOutOfOrder() 348 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in checkVendorPropertyPermission() 372 CarPropertyManager propMgr = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in checkSystemPropertyPermission()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | SampleCustomInputService.java | 118 (CarInputManager) mCar.getCarManager(Car.CAR_INPUT_SERVICE); in connectToCarService() 125 (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE), in connectToCarService() 126 (CarOccupantZoneManager) mCar.getCarManager( in connectToCarService()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/ |
D | DockViewController.kt | 129 car.getCarManager(CarPackageManager::class.java)?.let { carPM -> in <lambda>() 132 car.getCarManager(CarMediaManager::class.java)?.let { carMM -> in <lambda>() 135 car.getCarManager(CarUxRestrictionsManager::class.java)?.let { in <lambda>() 179 car.getCarManager(CarUxRestrictionsManager::class.java)?.unregisterListener() in <lambda>()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/ |
D | ShadowCar.java | 64 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar() 83 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 122 mCarDrivingStateManager = (CarDrivingStateManager) mCar.getCarManager( in onCreate() 124 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in onCreate() 126 mCarPackageManager = (CarPackageManager) mCar.getCarManager( in onCreate() 140 mDistractionManager = (CarDriverDistractionManager) mCar.getCarManager( in onCreate()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | CarServiceMediatorTest.java | 98 .getCarManager(CarOccupantZoneManager.class); in setUp() 99 doReturn(mMockCarUserManager).when(mMockCar).getCarManager(CarUserManager.class); in setUp() 100 doReturn(mMockCarPowerManager).when(mMockCar).getCarManager(CarPowerManager.class); in setUp()
|
/packages/services/Car/tests/SampleVoiceAssistInputService/src/com/android/car/voiceassist/sample/ |
D | SampleVoiceAssistInputService.java | 84 (CarInputManager) mCar.getCarManager(Car.CAR_INPUT_SERVICE); in connectToCarService() 91 (CarOccupantZoneManager) mCar.getCarManager( in connectToCarService()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/ |
D | NonDODisabledTaskProvider.java | 58 mCarUxRestrictionsManager = (CarUxRestrictionsManager) mCar.getCarManager( in NonDODisabledTaskProvider() 61 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in NonDODisabledTaskProvider()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | CarServiceMediator.java | 102 mCarOccupantZoneManager = car.getCarManager(CarOccupantZoneManager.class); in onConnect() 103 mCarUserManager = car.getCarManager(CarUserManager.class); in onConnect() 104 mCarPowerManager = car.getCarManager(CarPowerManager.class); in onConnect()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/ |
D | ActivityBlockingActivity.java | 137 mCarPackageManager = (CarPackageManager) car.getCarManager( in onCreate() 139 mCarActivityManager = (CarActivityManager) car.getCarManager( in onCreate() 141 mUxRManager = (CarUxRestrictionsManager) car.getCarManager( in onCreate() 143 mCarOccupantZoneManager = car.getCarManager(CarOccupantZoneManager.class); in onCreate()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/ |
D | MediaVolumeStatusIconController.java | 75 (CarOccupantZoneManager) car.getCarManager( 83 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/ |
D | NonDODisabledTaskProviderTest.java | 75 when(mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE)).thenReturn( in setup() 77 when(mCar.getCarManager(Car.PACKAGE_SERVICE)).thenReturn(mCarPackageManager); in setup()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/ |
D | CarMUPANDUserTrackerImpl.java | 172 mCarOccupantZoneManager = car.getCarManager(CarOccupantZoneManager.class); 179 CarUserManager carUserManager = car.getCarManager(CarUserManager.class);
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 178 mHomeManager = (ClusterHomeManager) car.getCarManager(Car.CLUSTER_HOME_SERVICE); in onCreate() 179 mCarUserManager = (CarUserManager) car.getCarManager(Car.CAR_USER_SERVICE); in onCreate() 180 mCarInputManager = (CarInputManager) car.getCarManager(Car.CAR_INPUT_SERVICE); in onCreate() 181 mAppFocusManager = (CarAppFocusManager) car.getCarManager( in onCreate()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | LauncherActivity.java | 131 car.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE); in onCreate() 236 mCar.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE); in onDestroy() 295 car.getCarManager(Car.CAR_OCCUPANT_ZONE_SERVICE); in launchOtherUiForInvalidUser() 333 CarActivityManager am = (CarActivityManager) car.getCarManager( in launchOtherUiForInvalidUser()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | VolumeUI.java | 162 CarOccupantZoneManager carOccupantZoneManager = car.getCarManager( in start() 183 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); in start()
|