/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarHvacManagerTest.java | 48 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 …]
|
D | CarCabinManagerTest.java | 47 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/ |
D | VehicleHal.java | 297 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 …]
|
D | SensorHalService.java | 154 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()
|
D | PropertyHalServiceBase.java | 25 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()
|
D | RadioHalService.java | 237 private boolean handleRadioProperty(VehiclePropConfig property) { in handleRadioProperty() argument 238 switch (property.prop) { in handleRadioProperty() 241 mPresetCount = property.configArray.get(0); in handleRadioProperty()
|
D | PropertyTimeoutException.java | 26 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/ |
D | MockedVehicleHal.java | 50 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/ |
D | CarPropertyServiceBase.java | 22 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()
|
D | ICarImpl.java | 442 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/ |
D | init.bootstat.rc | 13 # 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/ |
D | CustomVCardEntry.java | 40 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/ |
D | script.js | 76 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/ |
D | CarVolumeServiceTest.java | 297 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) {
|
D | CarProjectionManagerTest.java | 154 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()
|
D | CarAudioManagerTest.java | 192 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()
|
D | CarCabinManagerTest.java | 179 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()
|
D | CarHvacManagerTest.java | 212 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()
|
D | CarAudioFocusSystemSoundTest.java | 384 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()
|
D | CarRadioManagerTest.java | 104 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
|
D | CarDiagnosticManagerTest.java | 123 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/ |
D | ICalendarTest.java | 98 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/ |
D | LocalHvacPropertyService.java | 24 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/ |
D | MenuLayoutManager.java | 573 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/ |
D | ICarPropertyEventListener.aidl | 17 package android.car.hardware.property; 19 import android.car.hardware.property.CarPropertyEvent;
|