/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 | 210 private void assertServiceOwnerLocked(HalServiceBase service, int property) { in assertServiceOwnerLocked() argument 211 if (service != mPropertyHandlers.get(property)) { in assertServiceOwnerLocked() 212 throw new IllegalArgumentException("Property 0x" + toHexString(property) in assertServiceOwnerLocked() 222 public void subscribeProperty(HalServiceBase service, int property) in subscribeProperty() argument 224 subscribeProperty(service, property, 0f, SubscribeFlags.EVENTS_FROM_CAR); in subscribeProperty() 232 public void subscribeProperty(HalServiceBase service, int property, float sampleRateHz) in subscribeProperty() argument 234 subscribeProperty(service, property, sampleRateHz, SubscribeFlags.EVENTS_FROM_CAR); in subscribeProperty() 246 public void subscribeProperty(HalServiceBase service, int property, in subscribeProperty() argument 250 + ", property: 0x" + toHexString(property)); in subscribeProperty() 254 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 335 public void handlePropertySetError(int property, int area) { in handlePropertySetError() argument 341 listener.onPropertySetError(property, area); in handlePropertySetError()
|
D | PropertyTimeoutException.java | 26 PropertyTimeoutException(int property) { in PropertyTimeoutException() argument 27 super("Property 0x" + toHexString(property) + " is not ready yet."); in PropertyTimeoutException()
|
/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() 281 public SpringProperty(FloatProperty<T> property, SpringAnimation spring) { in SpringProperty() argument 282 super(property.getName()); in SpringProperty() 283 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 | 24 import android.car.hardware.property.CarPropertyEvent; 25 import android.car.hardware.property.ICarProperty; 26 import android.car.hardware.property.ICarPropertyEventListener; 399 public void onPropertySetError(int property, int area) { in onPropertySetError() argument 400 List<Client> clients = mPropIdClientMap.get(property); in onPropertySetError() 403 eventList.add(CarPropertyEvent.createErrorEvent(property, area)); in onPropertySetError() 415 + toHexString(property)); in onPropertySetError()
|
D | CarDrivingStateService.java | 28 import android.car.hardware.property.CarPropertyEvent; 29 import android.car.hardware.property.ICarPropertyEventListener; 103 for (int property : REQUIRED_PROPERTIES) { in release() 104 mPropertyService.unregisterListener(property, mICarPropertyEventListener); in release()
|
D | ICarImpl.java | 931 private void injectVhalEvent(String property, String zone, String value, 934 if (!isPropertyAreaTypeGlobal(property)) { 941 mHal.injectOnPropertySetError(property, zone, value); 943 mHal.injectVhalEvent(property, zone, value); 952 private boolean isPropertyAreaTypeGlobal(String property) { 953 if (property == null) { 956 return (Integer.decode(property) & VehicleArea.MASK) == VehicleArea.GLOBAL;
|
/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/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/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 407 private Animator getAnimator(View view, Property property, float v1, float v2) { in getAnimator() argument 409 ? ObjectAnimator.ofFloat(view, property, v1, v2) in getAnimator() 410 : ObjectAnimator.ofFloat(view, property, v2, v1); in getAnimator() 413 private Animator getAnimator(GradientDrawable drawable, String property, int v1, int v2) { in getAnimator() argument 415 ? ObjectAnimator.ofArgb(drawable, property, v1, v2) in getAnimator() 416 : ObjectAnimator.ofArgb(drawable, property, v2, v1); in getAnimator()
|
/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/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;
|