Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 63) sorted by relevance

123

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarHvacManagerTest.java48 for (CarPropertyConfig property : properties) { in testAllHvacProperties()
49 if (supportedTypes.contains(property.getPropertyType())) { in testAllHvacProperties()
50 assertTypeAndZone(property); in testAllHvacProperties()
52 fail("Type is not supported for " + property); in testAllHvacProperties()
67 private void assertTypeAndZone(CarPropertyConfig property) { in assertTypeAndZone() argument
68 switch (property.getPropertyId()) { in assertTypeAndZone()
70 checkTypeAndGlobal(Boolean.class, true, property); in assertTypeAndZone()
74 checkTypeAndGlobal(Integer.class, true, property); in assertTypeAndZone()
75 checkIntMinMax(property); in assertTypeAndZone()
78 checkTypeAndGlobal(Float.class, true, property); in assertTypeAndZone()
[all …]
DCarCabinManagerTest.java47 for (CarPropertyConfig property : properties) { in testAllCabinProperties()
48 if (supportedTypes.contains(property.getPropertyType())) { in testAllCabinProperties()
49 assertTypeAndZone(property); in testAllCabinProperties()
51 fail("Type is not supported for " + property); in testAllCabinProperties()
56 private void assertTypeAndZone(CarPropertyConfig property) { in assertTypeAndZone() argument
57 int propId = property.getPropertyId(); in assertTypeAndZone()
65 assertEquals(Boolean.class, property.getPropertyType()); in assertTypeAndZone()
66 assertFalse(property.isGlobalProperty()); in assertTypeAndZone()
106 assertEquals(Integer.class, property.getPropertyType()); in assertTypeAndZone()
107 assertFalse(property.isGlobalProperty()); in assertTypeAndZone()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java297 private void assertServiceOwnerLocked(HalServiceBase service, int property) { in assertServiceOwnerLocked() argument
298 if (service != mPropertyHandlers.get(property)) { in assertServiceOwnerLocked()
299 throw new IllegalArgumentException("Property 0x" + toHexString(property) in assertServiceOwnerLocked()
309 public void subscribeProperty(HalServiceBase service, int property) in subscribeProperty() argument
311 subscribeProperty(service, property, 0f, SubscribeFlags.DEFAULT); in subscribeProperty()
319 public void subscribeProperty(HalServiceBase service, int property, float sampleRateHz) in subscribeProperty() argument
321 subscribeProperty(service, property, sampleRateHz, SubscribeFlags.DEFAULT); in subscribeProperty()
333 public void subscribeProperty(HalServiceBase service, int property, in subscribeProperty() argument
337 + ", property: 0x" + toHexString(property)); in subscribeProperty()
341 config = mAllProperties.get(property); in subscribeProperty()
[all …]
DSensorHalService.java154 int property = v.prop; in createCarSensorEvent() local
155 int sensorType = mManagerToHalPropIdMap.getManagerPropId(property); in createCarSensorEvent()
157 throw new RuntimeException("no sensor defined for property 0x" + toHexString(property)); in createCarSensorEvent()
160 int dataType = property & VehiclePropertyType.MASK; in createCarSensorEvent()
169 Integer mgrVal = mapHalEnumValueToMgr(property, v.value.int32Values.get(0)); in createCarSensorEvent()
DPropertyHalServiceBase.java25 import android.car.hardware.property.CarPropertyEvent;
58 void onPropertySetError(int property, int area); in onPropertySetError() argument
199 public void handlePropertySetError(int property, int area) { in handlePropertySetError() argument
205 listener.onPropertySetError(property, area); in handlePropertySetError()
DRadioHalService.java237 private boolean handleRadioProperty(VehiclePropConfig property) { in handleRadioProperty() argument
238 switch (property.prop) { in handleRadioProperty()
241 mPresetCount = property.configArray.get(0); in handleRadioProperty()
DPropertyTimeoutException.java26 PropertyTimeoutException(int property) { in PropertyTimeoutException() argument
27 super("Property 0x" + toHexString(property) + " is not ready yet."); in PropertyTimeoutException()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java50 default void onPropertySubscribe(int property, int zones, float sampleRate) {} in onPropertySubscribe() argument
51 default void onPropertyUnsubscribe(int property) {} in onPropertyUnsubscribe() argument
201 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
206 public void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
249 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
250 assertEquals(mConfig.prop, property); in onPropertySubscribe()
255 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
256 assertEquals(mConfig.prop, property); in onPropertyUnsubscribe()
259 + toHexString( property)); in onPropertyUnsubscribe()
/packages/services/Car/service/src/com/android/car/
DCarPropertyServiceBase.java22 import android.car.hardware.property.CarPropertyEvent;
23 import android.car.hardware.property.ICarProperty;
24 import android.car.hardware.property.ICarPropertyEventListener;
217 public void onPropertySetError(int property, int area) { in onPropertySetError() argument
220 listener.onEvent(createErrorEvent(property, area)); in onPropertySetError()
229 private static CarPropertyEvent createErrorEvent(int property, int area) { in createErrorEvent() argument
231 new CarPropertyValue<>(property, area, null)); in createErrorEvent()
DICarImpl.java442 private void inject_zoned_boolean_event(String property, String zone, String value, in inject_zoned_boolean_event() argument
454 propId = Integer.decode(property); in inject_zoned_boolean_event()
470 private void inject_global_integer_event(String property, String value, in inject_global_integer_event() argument
476 propId = Integer.decode(property); in inject_global_integer_event()
/packages/services/Car/car_product/init/
Dinit.bootstat.rc13 # property:init.svc.bootanim=running: The boot animation is running
14 on post-fs-data && property:init.svc.bootanim=running
20 on property:init.svc.bootanim=stopped
24 on property:dev.bootcomplete=1
29 on property:boot.car_service_created=1
32 on property:init.svc.zygote=running
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DCustomVCardEntry.java40 public void addProperty(VCardProperty property) { in addProperty() argument
41 super.addProperty(property); in addProperty()
42 mAllProperties.put(property.getName(), property); in addProperty() local
/packages/apps/UnifiedEmail/assets/
Dscript.js76 function getCachedValue(div, property, attrName) { argument
81 value = div[property];
440 function saveStyleProperty(node, property, actionLog) { argument
441 var savedName = "data-" + property;
442 node.setAttribute(savedName, node.style[property]);
443 actionLog.push([undoSetProperty, node, [property, savedName]]);
446 function undoSetProperty(property, savedProperty) { argument
447 this.style[property] = savedProperty ? this.getAttribute(savedProperty) : "";
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarVolumeServiceTest.java297 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
301 public void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
322 public void onPropertySubscribe(int property, int zones, float sampleRate) {
327 public void onPropertyUnsubscribe(int property) {
347 public void onPropertySubscribe(int property, int zones, float sampleRate) {
352 public void onPropertyUnsubscribe(int property) {
DCarProjectionManagerTest.java154 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
155 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
159 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
160 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
DCarAudioManagerTest.java192 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
193 assertEquals(VehicleProperty.AUDIO_PARAMETERS, property); in onPropertySubscribe()
197 public void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
198 assertEquals(VehicleProperty.AUDIO_PARAMETERS, property); in onPropertyUnsubscribe()
DCarCabinManagerTest.java179 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
180 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
184 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
185 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
DCarHvacManagerTest.java212 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
213 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
217 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
218 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
DCarAudioFocusSystemSoundTest.java384 public void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
385 assertEquals(VehicleProperty.AUDIO_FOCUS, property); in onPropertySubscribe()
389 public void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
390 assertEquals(VehicleProperty.AUDIO_FOCUS, property); in onPropertyUnsubscribe()
DCarRadioManagerTest.java104 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { in onPropertySubscribe() argument
105 Log.d(TAG, "onPropertySubscribe property: " + property + " rate: " + sampleRate); in onPropertySubscribe()
114 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
DCarDiagnosticManagerTest.java123 int property, int zones, float sampleRate) { in onPropertySubscribe() argument
124 assertEquals(VEHICLE_PROPERTY, property); in onPropertySubscribe()
129 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument
130 assertEquals(VEHICLE_PROPERTY, property); in onPropertyUnsubscribe()
133 "Property was not subscribed 0x" + toHexString(property)); in onPropertyUnsubscribe()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java98 ICalendar.Property property = component.getFirstProperty("DTSTART"); in testParseQuotedParam() local
99 assertEquals(2, property.getParameterNames().size()); in testParseQuotedParam()
100 assertEquals("GMT+03:00", property.getFirstParameter("TZID").value); in testParseQuotedParam()
101 final List<ICalendar.Parameter> testParameters = property.getParameters("TEST"); in testParseQuotedParam()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DLocalHvacPropertyService.java24 import android.car.hardware.property.CarPropertyEvent;
25 import android.car.hardware.property.ICarProperty;
26 import android.car.hardware.property.ICarPropertyEventListener;
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java573 holder.property.set(holder.view, holder.value); in setSelectedPositionSmooth()
740 holder.property.set(holder.view, holder.value); in onMenuRowUpdated()
800 public final Property<View, Float> property; field in MenuLayoutManager.ViewPropertyValueHolder
804 public ViewPropertyValueHolder(Property<View, Float> property, View view, float value) { in ViewPropertyValueHolder() argument
805 this.property = property; in ViewPropertyValueHolder()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DICarPropertyEventListener.aidl17 package android.car.hardware.property;
19 import android.car.hardware.property.CarPropertyEvent;

123