Home | History | Annotate | Download | only in hvac

Lines Matching refs:zone

241                 public void onErrorEvent(final int propertyId, final int zone) {
268 void handleSeatWarmerUpdate(int zone, int level) {
269 boolean shouldPropagate = mDataStore.shouldPropagateSeatWarmerLevelUpdate(zone, level);
271 Log.d(TAG, "Seat Warmer Update, zone: " + zone + " level: " + level +
277 if (zone == VehicleAreaSeat.SEAT_ROW_1_LEFT) {
333 private void handleFanPositionUpdate(int zone, int position) {
335 boolean shouldPropagate = mDataStore.shouldPropagateFanPositionUpdate(zone, index);
337 Log.d(TAG, "Fan Position Update, zone: " + zone + " position: " + position +
349 private void handleFanSpeedUpdate(int zone, int speed) {
350 boolean shouldPropagate = mDataStore.shouldPropagateFanSpeedUpdate(zone, speed);
352 Log.d(TAG, "Fan Speed Update, zone: " + zone + " speed: " + speed +
365 final int zone = value.getAreaId();
368 boolean shouldPropagate = mDataStore.shouldPropagateTempUpdate(zone, temp, available);
370 Log.d(TAG, "Temp Update, zone: " + zone + " temp: " + temp +
377 if (zone == VehicleAreaSeat.SEAT_ROW_1_LEFT) {
389 private void handleDefrosterUpdate(int zone, boolean defrosterState) {
390 boolean shouldPropagate = mDataStore.shouldPropagateDefrosterUpdate(zone, defrosterState);
392 Log.d(TAG, "Defroster Update, zone: " + zone + " state: " + defrosterState +
398 if (zone == VehicleAreaWindow.WINDOW_FRONT_WINDSHIELD) {
400 } else if (zone == VehicleAreaWindow.WINDOW_REAR_WINDSHIELD) {
447 public boolean isTemperatureControlAvailable(int zone) {
451 CarHvacManager.ID_ZONED_TEMP_SETPOINT, zone);
468 private void fetchTemperature(int zone) {
472 CarHvacManager.ID_ZONED_TEMP_SETPOINT, zone);
474 CarHvacManager.ID_ZONED_TEMP_SETPOINT, zone);
475 mDataStore.setTemperature(zone, value, available);
498 public void setTemperature(final int zone, final float temperature) {
504 CarHvacManager.ID_ZONED_TEMP_SETPOINT, zone, temperature);
506 mDataStore.setTemperature(zone, temperature, true);
548 public void setSeatWarmerLevel(final int zone, final int level) {
549 mDataStore.setSeatWarmerLevel(zone, level);
555 CarHvacManager.ID_ZONED_SEAT_TEMP, zone, level);
570 int zone = SEAT_ALL; // Car specific workaround.
573 CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, zone));
592 int zone = SEAT_ALL; // Car specific workaround.
598 CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, zone, fanSpeed);
601 CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, zone);
617 private void fetchDefrosterState(int zone) {
620 mDataStore.setDefrosterState(zone, mHvacManager.getBooleanProperty(
621 CarHvacManager.ID_WINDOW_DEFROSTER_ON, zone));
644 public void setDefrosterState(final int zone, final boolean state) {
645 mDataStore.setDefrosterState(zone, state);
651 CarHvacManager.ID_WINDOW_DEFROSTER_ON, zone, state);
705 private void fetchAirflow(int zone) {
707 zone = SEAT_ALL; // Car specific workaround.
709 int val = mHvacManager.getIntProperty(CarHvacManager.ID_ZONED_FAN_DIRECTION, zone);
710 mDataStore.setAirflow(zone, fanPositionToAirflowIndex(val));
717 public int getAirflowIndex(int zone) {
718 return mDataStore.getAirflow(zone);
721 public void setAirflowIndex(final int zone, final int index) {
722 mDataStore.setAirflow(zone, index);
733 private void setFanDirection(final int zone, final int direction) {
739 CarHvacManager.ID_ZONED_FAN_DIRECTION, zone, direction);