/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | TemperatureController.java | 31 private final HvacController mHvacController; field in TemperatureController 43 mHvacController = controller; in TemperatureController() 45 mHvacController.registerCallback(mCallback); in TemperatureController() 50 mHvacController.isDriverTemperatureControlAvailable(); in TemperatureController() 54 mDriverTempBarExpanded.setTemperature(mHvacController.getDriverTemperature()); in TemperatureController() 55 mDriverTempBarCollapsed.setTemperature(mHvacController.getDriverTemperature()); in TemperatureController() 59 mHvacController.isPassengerTemperatureControlAvailable(); in TemperatureController() 63 mPassengerTempBarExpanded.setTemperature(mHvacController.getPassengerTemperature()); in TemperatureController() 64 mPassengerTempBarCollapsed.setTemperature(mHvacController.getPassengerTemperature()); in TemperatureController() 106 mHvacController.setPassengerTemperature(temperature); [all …]
|
D | HvacPanelController.java | 118 private HvacController mHvacController; field in HvacPanelController 221 mHvacController = controller; in updateHvacController() 223 mFanSpeedBarController = new FanSpeedBarController(mFanSpeedBar, mHvacController); in updateHvacController() 225 = new FanDirectionButtonsController(mFanDirectionButtons, mHvacController); in updateHvacController() 231 mHvacController); in updateHvacController() 233 mDriverSeatWarmer, mHvacController); in updateHvacController() 237 mAcButton.setIsOn(mHvacController.getAcState()); in updateHvacController() 241 mHvacController.setAcState(isOn); in updateHvacController() 245 mFrontDefrosterButton.setIsOn(mHvacController.getFrontDefrosterState()); in updateHvacController() 249 mHvacController.setFrontDefrosterState(isOn); in updateHvacController() [all …]
|
D | FanSpeedBarController.java | 29 private final HvacController mHvacController; field in FanSpeedBarController 38 mHvacController = controller; in FanSpeedBarController() 44 mHvacController.registerCallback(mCallback); in initialize() 46 handleFanSpeedUpdate(mHvacController.getFanSpeed(), false /* animateUpdate */); in initialize() 75 mHvacController.setFanSpeed(MAX_FAN_SPEED); 80 mHvacController.setFanSpeed(MIN_FAN_SPEED); 88 mHvacController.setFanSpeed(position + 1);
|
D | SeatWarmerController.java | 28 private final HvacController mHvacController; field in SeatWarmerController 35 mHvacController = hvacController; in SeatWarmerController() 36 mHvacController.registerCallback(mCallback); in SeatWarmerController() 70 mHvacController.setPassengerSeatWarmerLevel(level); 78 mHvacController.setDriverSeatWarmerLevel(level);
|
D | FanDirectionButtonsController.java | 33 private final HvacController mHvacController; field in FanDirectionButtonsController 39 mHvacController = controller; in FanDirectionButtonsController() 55 mHvacController.registerCallback(mCallback); in initialize() 62 mHvacController.setFanDirection(mFanDirectionMap.get(direction));
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | AdjustableTemperatureViewTest.java | 65 private HvacController mHvacController; field in AdjustableTemperatureViewTest 83 mHvacController = new HvacController(carServiceProvider, mExecutor, in setUp() 85 mHvacController.connectToCarService(); in setUp() 88 mAdjustableTemperatureView.setHvacController(mHvacController); in setUp() 98 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in addTemperatureViewToController_setsTemperatureView() 111 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in setTemp_tempNaN_setsTextToNaNText() 125 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in setTemp_tempBelowMin_setsTextToMinTempText() 139 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in setTemp_tempAboveMax_setsTextToMaxTempText() 157 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit() 169 mHvacController.addTemperatureViewToController(mAdjustableTemperatureView); in adjustableViewIncreaseButton_setsTempWithCarPropertyManager() [all …]
|
D | HvacControllerTest.java | 62 private HvacController mHvacController; field in HvacControllerTest 78 mHvacController = new HvacController(carServiceProvider, in setUp() 80 mHvacController.connectToCarService(); in setUp() 93 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingTemperatureView_registersView() 101 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 105 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 112 mHvacController.addTemperatureViewToController(v1); in addTemperatureViewToController_usingDifferentTemperatureView_registersBothViews() 118 mHvacController.addTemperatureViewToController(v2); in addTemperatureViewToController_usingDifferentTemperatureView_registersBothViews() 130 mHvacController.addTemperatureViewToController(v); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit()
|
D | TemperatureTextViewTest.java | 60 private HvacController mHvacController; field in TemperatureTextViewTest 80 mHvacController = new HvacController(carServiceProvider, in setUp() 82 mHvacController.connectToCarService(); in setUp() 93 mHvacController.addTemperatureViewToController(mTextView); in addTemperatureViewToController_usingTemperatureView_registersView() 109 mHvacController.addTemperatureViewToController(mTextView); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacUiService.java | 74 private HvacController mHvacController; field in HvacUiService 251 if(mHvacController != null){ in onDestroy() 260 mHvacController = ((HvacController.LocalBinder) service).getService(); 266 mHvacPanelController.updateHvacController(mHvacController); 269 if (mHvacController != null) { 270 mHvacController.requestRefresh(r, new Handler(context.getMainLooper())); 276 mHvacController = null;
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | AdjustableTemperatureView.java | 48 private HvacController mHvacController; field in AdjustableTemperatureView 73 mHvacController = controller; in setHvacController() 135 if (tempC < mMaxTempC && tempC > mMinTempC && mHvacController != null) { in setTemperature() 136 mHvacController.setTemperature(tempC, zone); in setTemperature()
|
D | TemperatureTextView.java | 38 private HvacController mHvacController; field in TemperatureTextView 50 mHvacController = controller; in setHvacController()
|
D | AnimatedTemperatureView.java | 102 private HvacController mHvacController; field in AnimatedTemperatureView 183 mHvacController = controller; in setHvacController()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | CarSystemBarControllerTest.java | 66 private HvacController mHvacController; field in CarSystemBarControllerTest 90 mButtonSelectionStateController, () -> mHvacController, in createSystemBarController() 102 verify(mHvacController).connectToCarService(); in testConnectToHvac_callsConnect() 111 verify(mHvacController).removeAllComponents(); in testRemoveAll_callsHvacControllerRemoveAllComponents()
|