Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 49) sorted by relevance

12

/packages/apps/Car/Hvac/src/com/android/car/hvac/
DDataStore.java78 public float getTemperature(int zone) { in getTemperature() argument
80 return mTemperature.get(zone); in getTemperature()
84 public void setTemperature(int zone, float temperature, boolean available) { in setTemperature() argument
87 Log.d("HvacDataStore", "setTemperature(" + zone + ", " + temperature + ")"); in setTemperature()
88 mTemperature.put(zone, temperature); in setTemperature()
89 mTemperatureAvailable.put(zone, available); in setTemperature()
90 mLastTemperatureSet.put(zone, SystemClock.uptimeMillis()); in setTemperature()
95 public boolean shouldPropagateTempUpdate(int zone, float temperature, boolean available) { in shouldPropagateTempUpdate() argument
98 if (SystemClock.uptimeMillis() - mLastTemperatureSet.get(zone) < COALESCE_TIME_MS) { in shouldPropagateTempUpdate()
99 if (available == mTemperatureAvailable.get(zone)) { in shouldPropagateTempUpdate()
[all …]
DHvacController.java232 public void onErrorEvent(final int propertyId, final int zone) {
259 void handleSeatWarmerUpdate(int zone, int level) { in handleSeatWarmerUpdate() argument
260 boolean shouldPropagate = mDataStore.shouldPropagateSeatWarmerLevelUpdate(zone, level); in handleSeatWarmerUpdate()
262 Log.d(TAG, "Seat Warmer Update, zone: " + zone + " level: " + level + in handleSeatWarmerUpdate()
268 if (zone == VehicleAreaSeat.SEAT_ROW_1_LEFT) { in handleSeatWarmerUpdate()
324 private void handleFanPositionUpdate(int zone, int position) { in handleFanPositionUpdate() argument
326 boolean shouldPropagate = mDataStore.shouldPropagateFanPositionUpdate(zone, index); in handleFanPositionUpdate()
328 Log.d(TAG, "Fan Position Update, zone: " + zone + " position: " + position + in handleFanPositionUpdate()
340 private void handleFanSpeedUpdate(int zone, int speed) { in handleFanSpeedUpdate() argument
341 boolean shouldPropagate = mDataStore.shouldPropagateFanSpeedUpdate(zone, speed); in handleFanSpeedUpdate()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java155 CarAudioZone zone = new CarAudioZone( in parseAudioZone() local
162 parseVolumeGroups(parser, zone); in parseAudioZone()
164 parseDisplays(parser, zone); in parseAudioZone()
169 return zone; in parseAudioZone()
172 private void parseDisplays(XmlPullParser parser, CarAudioZone zone) in parseDisplays() argument
177 zone.addPhysicalDisplayAddress(parsePhysicalDisplayAddress(parser)); in parseDisplays()
202 private void parseVolumeGroups(XmlPullParser parser, CarAudioZone zone) in parseVolumeGroups() argument
208 zone.addVolumeGroup(parseVolumeGroup(parser, zone.getId(), groupId)); in parseVolumeGroups()
DCarAudioService.java286 for (CarAudioZone zone : mCarAudioZones) { in dump()
287 zone.dump("\t", writer); in dump()
463 for (CarAudioZone zone : mCarAudioZones) { in setupDynamicRouting()
464 if (!zone.validateVolumeGroups()) { in setupDynamicRouting()
468 zone.synchronizeCurrentGainIndex(); in setupDynamicRouting()
469 Log.v(CarLog.TAG_AUDIO, "Processed audio zone: " + zone); in setupDynamicRouting()
948 CarAudioZone zone = mCarAudioZones[index]; in getZoneIdForDisplayPortId() local
949 List<DisplayAddress.Physical> displayAddresses = zone.getPhysicalDisplayAddresses(); in getZoneIdForDisplayPortId()
DCarAudioZonesHelperLegacy.java78 final CarAudioZone zone = new CarAudioZone(CarAudioManager.PRIMARY_AUDIO_ZONE, in loadAudioZones() local
81 zone.addVolumeGroup(group); in loadAudioZones()
88 return new CarAudioZone[] { zone }; in loadAudioZones()
DCarAudioDynamicRouting.java101 for (CarAudioZone zone : mCarAudioZones) { in setupAudioDynamicRouting()
102 for (CarVolumeGroup group : zone.getVolumeGroups()) { in setupAudioDynamicRouting()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTimeZoneFragment.java68 for (final Map<String, Object> zone : zoneList) { in onCreatePreferences()
69 zonePrefs.add(new ZonePreference(themedContext, zone)); in onCreatePreferences()
126 public ZonePreference(Context context, Map<? extends String, ?> zone) { in ZonePreference() argument
129 setKey((String) zone.get(ZoneGetter.KEY_ID)); in ZonePreference()
131 setTitle((String) zone.get(ZoneGetter.KEY_DISPLAYNAME)); in ZonePreference()
132 setSummary((String) zone.get(ZoneGetter.KEY_GMT)); in ZonePreference()
133 offset = (Integer) zone.get(ZoneGetter.KEY_OFFSET); in ZonePreference()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarVendorExtensionManager.java69 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
75 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
101 void onErrorEvent(int propertyId, int zone); in onErrorEvent() argument
230 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
233 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
DCarSensorManager.java289 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
301 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java246 void onErrorEvent(@PropertyId int propertyId, int zone); in onErrorEvent() argument
265 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
268 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
285 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
292 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java413 void onErrorEvent(@PropertyId int propertyId, int zone); in onErrorEvent() argument
432 public void onErrorEvent(int propertyId, int zone) { in onErrorEvent() argument
435 manager.handleOnErrorEvent(propertyId, zone); in onErrorEvent()
450 private void handleOnErrorEvent(int propertyId, int zone) { in handleOnErrorEvent() argument
457 l.onErrorEvent(propertyId, zone); in handleOnErrorEvent()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/proto/
Dcalendar.proto67 // The time zone for the calendar event.
70 // The time zone for the end time of the calendar event.
159 // Information about the time zone.
161 // The geopolitical reqion ID that identifies this time zone.
164 // The difference in seconds between the time zone and Greenwich Mean Time.
/packages/services/Car/service/src/com/android/car/
DICarImpl.java640 String zone = PARAM_VEHICLE_PROPERTY_AREA_GLOBAL; in exec()
648 zone = args[2]; in exec()
654 injectVhalEvent(args[1], zone, data, false, writer); in exec()
931 private void injectVhalEvent(String property, String zone, String value,
933 if (zone != null && (zone.equalsIgnoreCase(PARAM_VEHICLE_PROPERTY_AREA_GLOBAL))) {
941 mHal.injectOnPropertySetError(property, zone, value);
943 mHal.injectVhalEvent(property, zone, value);
DCarPropertyService.java313 public CarPropertyValue getProperty(int prop, int zone) { in getProperty() argument
320 return mHal.getProperty(prop, zone); in getProperty()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java596 public void injectVhalEvent(String property, String zone, String value) in injectVhalEvent() argument
598 if (value == null || zone == null || property == null) { in injectVhalEvent()
602 int zoneId = Integer.decode(zone); in injectVhalEvent()
639 public void injectOnPropertySetError(String property, String zone, String errorCode) { in injectOnPropertySetError() argument
640 if (zone == null || property == null || errorCode == null) { in injectOnPropertySetError()
644 int zoneId = Integer.decode(zone); in injectOnPropertySetError()
/packages/apps/TimeZoneData/oem_template/xts/
DREADME.oem6 time zone update feature has been integrated properly.
12 To pass, OEMs must provide their own OEM-specific signed time zone data app .apks under the
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java384 int zone = mZoneAdapter.getItem(position); in handleZoneSelection() local
385 Log.d(TAG, "Zone Selected: " + zone); in handleZoneSelection()
391 if (mCarAudioManager.setZoneIdForUid(zone, uid)) { in handleZoneSelection()
392 Log.d(TAG, "Changed uid " + uid + " sound to zone " + zone); in handleZoneSelection()
395 Log.d(TAG, "Filed to changed uid " + uid + " sound to zone " + zone); in handleZoneSelection()
/packages/modules/DnsResolver/
Dstats.proto63 NS_R_NOTAUTH = 9; // Not authoritative for zone
64 NS_R_NOTZONE = 10; // Zone of record different from zone section
91 NS_T_SOA = 6; // Start of authority zone.
141 NS_T_IXFR = 251; // Incremental zone transfer.
142 NS_T_AXFR = 252; // Transfer zone of authority.
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceController.java83 for (Map<String, Object> zone : zones) { in setZonesList()
84 mZonesList.add(createTimeZonePreference(zone)); in setZonesList()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java82 public void onErrorEvent(final int propertyId, final int zone) { in onErrorEvent() argument
83 Assert.fail("Error: propertyId=" + toHexString(propertyId) + " zone=" + zone); in onErrorEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarCabinManagerTest.java233 public void onErrorEvent(final int propertyId, final int zone) { in onErrorEvent() argument
234 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone); in onErrorEvent()
DCarHvacManagerTest.java272 public void onErrorEvent(final int propertyId, final int zone) { in onErrorEvent() argument
273 Log.d(TAG, "Error: propertyId=" + propertyId + " zone=" + zone); in onErrorEvent()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java90 public CarPropertyValue getProperty(int prop, int zone) throws RemoteException { in getProperty() argument
91 return mValues.get(PropKey.of(prop, zone)); in getProperty()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java142 public void onErrorEvent(int propId, int zone) {
146 || (sensorId.mAreaId & zone) != 0) {
/packages/services/Car/car-lib/src/android/car/hardware/property/
DICarProperty.aidl34 CarPropertyValue getProperty(int prop, int zone) = 3; in getProperty() argument

12