Searched refs:zone (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Car/Hvac/src/com/android/car/hvac/
H A DDataStore.java75 public float getTemperature(int zone) { argument
77 return mTemperature.get(zone);
81 public void setTemperature(int zone, float temperature) { argument
83 mTemperature.put(zone, temperature);
84 mLastTemperatureSet.put(zone, SystemClock.uptimeMillis());
88 public boolean shouldPropagateTempUpdate(int zone, float temperature) { argument
90 if (SystemClock.uptimeMillis() - mLastTemperatureSet.get(zone) < COALESCE_TIME_MS) {
93 mTemperature.put(zone, temperature);
98 public boolean getDefrosterState(int zone) { argument
100 return mDefrosterState.get(zone);
104 setDefrosterState(int zone, boolean state) argument
111 shouldPropagateDefrosterUpdate(int zone, boolean defrosterState) argument
134 shouldPropagateFanSpeedUpdate(int zone, int speed) argument
168 getAirflow(int zone) argument
174 setAirflow(int zone, int index) argument
181 shouldPropagateFanPositionUpdate(int zone, int index) argument
191 getSeatWarmerLevel(int zone) argument
197 setSeatWarmerLevel(int zone, int level) argument
204 shouldPropagateSeatWarmerLevelUpdate(int zone, int level) argument
[all...]
H A DHvacController.java236 public void onErrorEvent(final int propertyId, final int zone) {
255 void handleSeatWarmerUpdate(int zone, int level) { argument
256 if (mDataStore.shouldPropagateSeatWarmerLevelUpdate(zone, level)) {
259 if (zone == VehicleZone.ZONE_ROW_1_LEFT) {
299 private void handleFanPositionUpdate(int zone, int position) { argument
301 if (mDataStore.shouldPropagateFanPositionUpdate(zone, index)) {
310 private void handleFanSpeedUpdate(int zone, int speed) { argument
311 if (mDataStore.shouldPropagateFanSpeedUpdate(zone, speed)) {
320 private void handleTempUpdate(int zone, float temp) { argument
321 if (mDataStore.shouldPropagateTempUpdate(zone, tem
337 handleDefrosterUpdate(int zone, boolean defrosterState) argument
391 fetchTemperature(int zone) argument
418 setTemperature(final int zone, final float temperature) argument
444 setSeatWarmerLevel(final int zone, final int level) argument
511 fetchDefrosterState(int zone) argument
538 setDefrosterState(final int zone, final boolean state) argument
599 fetchAirflow(int zone) argument
611 getAirflowIndex(int zone) argument
615 setAirflowIndex(final int zone, final int index) argument
627 setFanDirection(final int zone, final int direction) argument
[all...]
H A DLocalHvacPropertyService.java99 public CarPropertyValue getProperty(int prop, int zone) throws RemoteException {
100 return new CarPropertyValue(prop, zone, mProperties.get(new Pair(prop, zone)));
/packages/services/Car/car-lib/src/android/car/
H A DVehicleZoneUtil.java28 * Change zone flag into index with available zones.
31 * @param zone flag for the zone to get index, should not be zero and should be one of the flags
33 * @return index of desired zone.
34 * @throws IllegalArgumentException if zones or zone is invalid.
36 public static int zoneToIndex(int zones, int zone) throws IllegalArgumentException { argument
37 if ((zone == 0) || // check that zone is non-zero
38 ((zone & zones) != zone) || // chec
[all...]
/packages/services/Car/car-lib/src/android/car/hardware/property/
H A DICarProperty.aidl34 CarPropertyValue getProperty(int prop, int zone) = 3;
H A DCarPropertyManagerBase.java61 void onErrorEvent(int propertyId, int zone); argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTimeZoneFragment.java66 for (final Map<String, Object> zone : zoneList) {
67 zonePrefs.add(new ZonePreference(themedContext, zone));
78 // Register for zone changes
122 public ZonePreference(Context context, Map<? extends String, ?> zone) { argument
125 setKey((String) zone.get(ZoneGetter.KEY_ID));
127 setTitle((String) zone.get(ZoneGetter.KEY_DISPLAYNAME));
128 setSummary((String) zone.get(ZoneGetter.KEY_GMT));
129 offset = (Integer) zone.get(ZoneGetter.KEY_OFFSET);
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DVehicleZoneUtilTest.java27 int[] zone = {0, 1, 0, 0x1, 0x6};
32 int r = VehicleZoneUtil.zoneToIndex(zones[i], zone[i]);
40 zone = new int[] { 0x1, 0x80000000, 0x2, 0x1000};
45 assertEquals(result[i], VehicleZoneUtil.zoneToIndex(zones[i], zone[i]));
/packages/services/Car/car-lib/src/android/car/hardware/
H A DCarVendorExtensionManager.java71 void onErrorEvent(int propertyId, int zone); argument
91 public void onErrorEvent(int propertyId, int zone) {
93 listener.onErrorEvent(propertyId, zone);
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
H A DCarCabinManager.java384 * @param zone
386 void onErrorEvent(@PropertyId int propertyId, int zone); argument
405 public void onErrorEvent(int propertyId, int zone) { argument
408 manager.handleOnErrorEvent(propertyId, zone);
423 private void handleOnErrorEvent(int propertyId, int zone) { argument
430 l.onErrorEvent(propertyId, zone);
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
H A DCarHvacManager.java89 * ID_ZONED_* represents properties available on a per-zone basis. All zones in a car are
99 * Actual zone temperature is read only value, in terms of F or C.
120 * Fan position is a bitmask of positions available for each zone.
154 /** Dual zone ON, bool type
155 * true indicates dual zone mode is ON
235 * @param zone
237 void onErrorEvent(@PropertyId int propertyId, int zone); argument
256 public void onErrorEvent(int propertyId, int zone) { argument
259 manager.handleOnErrorEvent(propertyId, zone);
276 private void handleOnErrorEvent(int propertyId, int zone) { argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java84 private int zone; field in class:DateTimeParser.Time
86 public Time(int hour, int minute, int second, int zone) { argument
90 this.zone = zone;
96 public int getZone() { return zone; }
165 t.getZone());} // time zone offset
297 z = zone();
323 final public int zone() throws ParseException { method in class:DateTimeParser
/packages/services/Car/service/src/com/android/car/
H A DCarPropertyServiceBase.java184 public CarPropertyValue getProperty(int prop, int zone) { argument
186 return mHal.getProperty(prop, zone);
H A DICarImpl.java352 pw.println("\tinject-event zoned-boolean propertyType zone [true|false]");
442 private void inject_zoned_boolean_event(String property, String zone, String value, argument
455 zoneId = Integer.decode(zone);
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarCabinManagerTest.java209 public void onErrorEvent(final int propertyId, final int zone) { argument
210 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone);
H A DCarHvacManagerTest.java242 public void onErrorEvent(final int propertyId, final int zone) { argument
243 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
H A DHvacTestFragment.java163 public void onErrorEvent(final int propertyId, final int zone) {
165 + ", zone=0x" + toHexString(zone));
275 // TODO handle zone properly
291 // TODO handle zone properly
307 // TODO handle zone properly
563 // TODO handle zone properly
579 // TODO handle zone properly
595 // TODO handle zone properly

Completed in 344 milliseconds