Searched defs:zone (Results 1 - 10 of 10) sorted by relevance

/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
39 ((zone & zones) != zone) || // chec
[all...]
/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/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
H A DVehiclePropValueUtil.java92 public static VehiclePropValue createZonedIntValue(int property, int zone, int value, argument
95 setZone(zone).
100 public static VehiclePropValue createZonedIntVectorValue(int property, int zone, int[] values, argument
105 setZone(zone);
112 public static VehiclePropValue createZonedFloatVectorValue(int property, int zone, argument
117 setZone(zone);
125 public static VehiclePropValue createZonedBooleanValue(int property, int zone, boolean value, argument
128 setZone(zone).
133 public static VehiclePropValue createZonedFloatValue(int property, int zone, float value, argument
136 setZone(zone)
[all...]
H A DVehicleNetwork.java219 public void setZonedBooleanProperty(int property, int zone, boolean value) argument
221 VehiclePropValue v = VehiclePropValueUtil.createZonedBooleanValue(property, zone, value, 0);
230 public void setZonedFloatProperty(int property, int zone, float value) argument
232 VehiclePropValue v = VehiclePropValueUtil.createZonedFloatValue(property, zone, value, 0);
241 public void setZonedIntProperty(int property, int zone, int value) argument
243 VehiclePropValue v = VehiclePropValueUtil.createZonedIntValue(property, zone, value, 0);
250 public void setZonedIntVectorProperty(int property, int zone, int[] values) argument
253 .createZonedIntVectorValue(property, zone, values, 0);
261 public void setZonedFloatVectorProperty(int property, int zone, float[] values) argument
264 .createZonedFloatVectorValue(property, zone, value
315 getZonedIntProperty(int property, int zone) argument
339 getZonedIntVectorProperty(int property, int zone) argument
374 getZonedFloatVectorProperty(int property, int zone) argument
696 getProperty(int property, int zone, int customPropetyDataType) argument
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarHvacService.java169 public synchronized CarPropertyValue getProperty(int prop, int zone) { argument
171 return mHvacHal.getHvacProperty(prop, zone);
195 public synchronized void onError(int zone, int property) { argument
/packages/services/Car/service/src/com/android/car/hal/
H A DHvacHalService.java52 void onError(int zone, int property); argument
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarHvacManagerTest.java226 public void onErrorEvent(final int propertyId, final int zone) { argument
227 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone);
/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/Telephony/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/car-lib/src/android/car/hardware/hvac/
H A DCarHvacManager.java86 * ZONED_* represents properties available on a per-zone basis. All zones in a car are
92 /** Actual zone temperature is read only integer, in terms of F or C, int. */
101 /** Fan position available is a bitmask of positions available for each zone, int. */
127 void onErrorEvent(final int propertyId, final int zone); argument

Completed in 461 milliseconds