/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() 63 private void assertTypeAndZone(CarPropertyConfig property) { in assertTypeAndZone() argument 64 switch (property.getPropertyId()) { in assertTypeAndZone() 66 checkTypeAndGlobal(Boolean.class, true, property); in assertTypeAndZone() 70 checkTypeAndGlobal(Integer.class, true, property); in assertTypeAndZone() 71 checkIntMinMax(property); in assertTypeAndZone() 74 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() 104 assertEquals(Integer.class, property.getPropertyType()); in assertTypeAndZone() 105 assertFalse(property.isGlobalProperty()); in assertTypeAndZone() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 209 private void assertServiceOwnerLocked(HalServiceBase service, int property) { in assertServiceOwnerLocked() argument 210 if (service != mPropertyHandlers.get(property)) { in assertServiceOwnerLocked() 211 throw new IllegalArgumentException("Property 0x" + toHexString(property) in assertServiceOwnerLocked() 221 public void subscribeProperty(HalServiceBase service, int property) in subscribeProperty() argument 223 subscribeProperty(service, property, 0f, SubscribeFlags.EVENTS_FROM_CAR); in subscribeProperty() 231 public void subscribeProperty(HalServiceBase service, int property, float sampleRateHz) in subscribeProperty() argument 233 subscribeProperty(service, property, sampleRateHz, SubscribeFlags.EVENTS_FROM_CAR); in subscribeProperty() 245 public void subscribeProperty(HalServiceBase service, int property, in subscribeProperty() argument 249 + ", property: 0x" + toHexString(property)); in subscribeProperty() 253 config = mAllProperties.get(property); in subscribeProperty() [all …]
|
D | PropertyHalService.java | 26 import android.car.hardware.property.CarPropertyEvent; 104 void onPropertySetError(int property, int area); in onPropertySetError() argument 327 public void handlePropertySetError(int property, int area) { in handlePropertySetError() argument 333 listener.onPropertySetError(property, area); in handlePropertySetError()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | PropertySetter.java | 39 public <T> void setFloat(T target, Property<T, Float> property, float value, in setFloat() argument 41 property.set(target, value); in setFloat() 44 public <T> void setInt(T target, Property<T, Integer> property, int value, in setInt() argument 46 property.set(target, value); in setInt() 71 public <T> void setFloat(T target, Property<T, Float> property, float value, in setFloat() argument 73 if (property.get(target) == value) { in setFloat() 76 Animator anim = ObjectAnimator.ofFloat(target, property, value); in setFloat() 82 public <T> void setInt(T target, Property<T, Integer> property, int value, in setInt() argument 84 if (property.get(target) == value) { in setInt() 87 Animator anim = ObjectAnimator.ofInt(target, property, value); in setInt()
|
D | SpringObjectAnimator.java | 58 public SpringObjectAnimator(T object, FloatProperty<T> property, float minimumVisibleChange, in SpringObjectAnimator() argument 60 mSpring = new SpringAnimation(object, createFloatPropertyCompat(property)); in SpringObjectAnimator() 66 mProperty = new SpringProperty<>(property, mSpring); in SpringObjectAnimator() 278 public SpringProperty(FloatProperty<T> property, SpringAnimation spring) { in SpringProperty() argument 279 super(property.getName()); in SpringProperty() 280 mProperty = property; in SpringProperty()
|
D | FlingSpringAnim.java | 39 public <K> FlingSpringAnim(K object, FloatPropertyCompat<K> property, float startPosition, in FlingSpringAnim() argument 42 mFlingAnim = new FlingAnimation(object, property) in FlingSpringAnim() 53 mSpringAnim = new SpringAnimation(object, property) in FlingSpringAnim()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 52 default void onPropertySubscribe(int property, float sampleRate) {} in onPropertySubscribe() argument 53 default void onPropertyUnsubscribe(int property) {} in onPropertyUnsubscribe() argument 242 public void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 247 public void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument 290 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 291 assertEquals(mConfig.prop, property); in onPropertySubscribe() 296 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument 297 assertEquals(mConfig.prop, property); in onPropertyUnsubscribe() 300 + toHexString( property)); in onPropertyUnsubscribe()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarCabinManagerTest.java | 194 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 195 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe() 196 if (mMap.get(property) == null) { in onPropertySubscribe() 197 Log.d(TAG, "onPropertySubscribe add dummy property: " + property); in onPropertySubscribe() 198 VehiclePropValue dummyValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe() 203 mMap.put(property, dummyValue); in onPropertySubscribe() 208 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument 209 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
|
D | CarHvacManagerTest.java | 232 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 233 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe() 234 if (mMap.get(property) == null) { in onPropertySubscribe() 235 Log.d(TAG, "onPropertySubscribe add dummy property: " + property); in onPropertySubscribe() 236 VehiclePropValue dummyValue = VehiclePropValueBuilder.newBuilder(property) in onPropertySubscribe() 242 mMap.put(property, dummyValue); in onPropertySubscribe() 247 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument 248 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
|
D | CarProjectionManagerTest.java | 177 public synchronized void onPropertySubscribe(int property, float sampleRate) { in onPropertySubscribe() argument 178 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe() 182 public synchronized void onPropertyUnsubscribe(int property) { in onPropertyUnsubscribe() argument 183 Log.d(TAG, "onPropertyUnSubscribe property " + property); in onPropertyUnsubscribe()
|
/packages/apps/TV/src/com/android/tv/features/ |
D | PartnerFeatures.java | 41 private final String property; field in PartnerFeatures.PartnerFeature 43 public PartnerFeature(String property) { in PartnerFeature() argument 44 this.property = property; in PartnerFeature() 51 return partnerCustomizations.getBooleanResource(context, property).orElse(false); in isEnabled()
|
/packages/services/Car/tools/emulator/ |
D | prop_event_simulator.py | 62 property in default VHAL. If the value is array, use comma to split values') 64 if not args.property: 76 print args.property 78 v.getConfig(args.property); 85 v.setProperty(args.property, args.area, value);
|
/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/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 23 import android.car.hardware.property.CarPropertyEvent; 24 import android.car.hardware.property.ICarProperty; 25 import android.car.hardware.property.ICarPropertyEventListener; 394 public void onPropertySetError(int property, int area) { in onPropertySetError() argument 395 List<Client> clients = mPropIdClientMap.get(property); in onPropertySetError() 398 eventList.add(CarPropertyEvent.createErrorEvent(property, area)); in onPropertySetError() 410 + toHexString(property)); in onPropertySetError()
|
D | ICarImpl.java | 772 private void injectVhalEvent(String property, String zone, String value, 775 if (!isPropertyAreaTypeGlobal(property)) { 782 mHal.injectOnPropertySetError(property, zone, value); 784 mHal.injectVhalEvent(property, zone, value); 793 private boolean isPropertyAreaTypeGlobal(String property) { 794 if (property == null) { 797 return (Integer.decode(property) & VehicleArea.MASK) == VehicleArea.GLOBAL;
|
/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/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 27 import android.car.hardware.property.CarPropertyManager; 184 for (CarPropertyConfig property : mPropertyList) { in initSensors() 186 if (property.getChangeMode() in initSensors() 191 property.getPropertyId(), rate); in initSensors() 255 for (CarPropertyConfig property : mPropertyList) { in refreshSensorInfoText() 256 int propertyId = property.getPropertyId(); in refreshSensorInfoText() 325 List<Integer> wheelProperties = property.getConfigArray(); in refreshSensorInfoText()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 350 private Animator getAnimator(View view, Property property, float v1, float v2) { in getAnimator() argument 352 ? ObjectAnimator.ofFloat(view, property, v1, v2) in getAnimator() 353 : ObjectAnimator.ofFloat(view, property, v2, v1); in getAnimator() 356 private Animator getAnimator(GradientDrawable drawable, String property, int v1, int v2) { in getAnimator() argument 358 ? ObjectAnimator.ofArgb(drawable, property, v1, v2) in getAnimator() 359 : ObjectAnimator.ofArgb(drawable, property, v2, v1); in getAnimator()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TouchEventGenerator.java | 249 PointerProperties property = new PointerProperties(); in getFingerState() local 250 property.id = id; in getFingerState() 251 property.toolType = MotionEvent.TOOL_TYPE_FINGER; in getFingerState() 252 properties[index] = property; in getFingerState()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 19 import static android.car.hardware.property.CarPropertyEvent.PROPERTY_EVENT_PROPERTY_CHANGE; 28 import android.car.hardware.property.CarPropertyEvent; 29 import android.car.hardware.property.ICarProperty; 30 import android.car.hardware.property.ICarPropertyEventListener;
|
/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/Launcher3/src/com/android/launcher3/touch/ |
D | TouchEventTranslator.java | 268 PointerProperties property = properties[i]; in getFingerState() local 269 property.id = id; in getFingerState() 270 property.toolType = MotionEvent.TOOL_TYPE_FINGER; in getFingerState() 271 properties[index] = property; in getFingerState()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyListAdapter.java | 17 package com.google.android.car.kitchensink.property; 23 import android.car.hardware.property.CarPropertyManager; 24 import android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback;
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarVendorExtensionManager.java | 22 import android.car.hardware.property.CarPropertyManager; 23 import android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback; 24 import android.car.hardware.property.ICarProperty;
|