/packages/services/Car/car-lib/src/android/car/hardware/property/ |
H A D | CarPropertyEvent.aidl | 17 package android.car.hardware.property;
|
H A D | ICarPropertyEventListener.aidl | 17 package android.car.hardware.property; 19 import android.car.hardware.property.CarPropertyEvent;
|
H A D | ICarProperty.aidl | 17 package android.car.hardware.property; 21 import android.car.hardware.property.ICarPropertyEventListener;
|
H A D | CarPropertyEvent.java | 17 package android.car.hardware.property;
|
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | PropertyTimeoutException.java | 23 * usually happens during boot-up meaning that Vehicle HAL is not ready to get or set that property. 26 PropertyTimeoutException(int property) { argument 27 super("Property 0x" + toHexString(property) + " is not ready yet.");
|
H A D | VendorExtensionHalService.java | 44 private static boolean isVendorProperty(int property) { argument 45 return (property & VehiclePropertyGroup.MASK) == VehiclePropertyGroup.VENDOR;
|
H A D | VehicleHal.java | 88 /** Stores handler for each HAL property. Property events are sent to handler. */ 185 throw new RuntimeException("Unable to retrieve vehicle property configuration", e); 271 private void assertServiceOwnerLocked(HalServiceBase service, int property) { argument 272 if (service != mPropertyHandlers.get(property)) { 273 throw new IllegalArgumentException("Property 0x" + toHexString(property) 283 public void subscribeProperty(HalServiceBase service, int property) argument 285 subscribeProperty(service, property, 0f, SubscribeFlags.DEFAULT); 293 public void subscribeProperty(HalServiceBase service, int property, float sampleRateHz) argument 295 subscribeProperty(service, property, sampleRateHz, SubscribeFlags.DEFAULT); 299 * Subscribe given property 307 subscribeProperty(HalServiceBase service, int property, float samplingRateHz, int flags) argument 340 unsubscribeProperty(HalServiceBase service, int property) argument [all...] |
H A D | InfoHalService.java | 78 Log.e(CarLog.TAG_INFO, "Unable to read property", e); 100 private void logUnexpectedEvent(int property) { argument 101 Log.w(CarLog.TAG_INFO, "unexpected HAL event for property 0x" + 102 Integer.toHexString(property));
|
H A D | SensorHalService.java | 62 // Manager property Id to HAL property Id mapping. 115 Log.e(TAG, "init: unable to get property config for SENSOR_TYPE_WHEEL_TICK_DISTANCE"); 184 int property = v.prop; 185 int sensorType = mManagerToHalPropIdMap.getManagerPropId(property); 187 throw new RuntimeException("no sensor defined for property 0x" + toHexString(property)); 190 int dataType = property & VehiclePropertyType.MASK; 201 Integer mgrVal = mapHalEnumValueToMgr(property, v.value.int32Values.get(0)); 213 // Perform property specifi [all...] |
H A D | HalServiceBase.java | 67 public void handlePropertySetError(int property, int area) {} argument 72 * Helper class that maintains bi-directional mapping between manager's property 73 * Id (public or system API) and vehicle HAL property Id.
|
H A D | PropertyHalServiceBase.java | 25 import android.car.hardware.property.CarPropertyEvent; 58 void onPropertySetError(int property, int area); argument 82 * Returns property or null if property is not ready yet. 88 throw new IllegalArgumentException("Invalid property Id : 0x" + toHexString(mgrPropId)); 95 Log.e(CarLog.TAG_PROPERTY, "get, property not ready 0x" + toHexString(halPropId), e); 104 throw new IllegalArgumentException("Invalid property Id : 0x" 111 Log.e(CarLog.TAG_PROPERTY, "set, property not ready 0x" + toHexString(halPropId), e); 137 // Clear the property list 154 continue; // The property i 199 handlePropertySetError(int property, int area) argument [all...] |
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarHvacManagerTest.java | 48 for (CarPropertyConfig property : properties) { 49 if (supportedTypes.contains(property.getPropertyType())) { 50 assertTypeAndZone(property); 52 fail("Type is not supported for " + property); 67 private void assertTypeAndZone(CarPropertyConfig property) { argument 68 switch (property.getPropertyId()) { 70 checkTypeAndGlobal(Boolean.class, true, property); 74 checkTypeAndGlobal(Integer.class, true, property); 75 checkIntMinMax(property); 78 checkTypeAndGlobal(Float.class, true, property); 108 checkTypeAndGlobal(Class clazz, boolean global, CarPropertyConfig<Integer> property) argument 116 checkIntMinMax(CarPropertyConfig<Integer> property) argument 141 checkFloatMinMax(CarPropertyConfig<Float> property) argument [all...] |
H A D | CarCabinManagerTest.java | 47 for (CarPropertyConfig property : properties) { 48 if (supportedTypes.contains(property.getPropertyType())) { 49 assertTypeAndZone(property); 51 fail("Type is not supported for " + property); 56 private void assertTypeAndZone(CarPropertyConfig property) { argument 57 int propId = property.getPropertyId(); 65 assertEquals(Boolean.class, property.getPropertyType()); 66 assertFalse(property.isGlobalProperty()); 106 assertEquals(Integer.class, property.getPropertyType()); 107 assertFalse(property 117 checkIntMinMax(CarPropertyConfig<Integer> property) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | CustomVCardEntry.java | 40 public void addProperty(VCardProperty property) { argument 41 super.addProperty(property); 42 mAllProperties.put(property.getName(), property);
|
H A D | CustomVCardEntryConstructor.java | 130 public void onPropertyCreated(VCardProperty property) { argument 131 mCurrentEntry.addProperty(property);
|
/packages/apps/Browser2/test/resources/ |
H A D | js-test.js | 33 // Returns a sorted array of property names of object. This function returns 37 for (var property in object) { 38 properties.push(property);
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | DebugPropertyHelper.java | 42 private static boolean isPropertyOn(String property) { argument 43 return ON_VALUE.equals(SystemProperties.get(property, OFF_VALUE));
|
/packages/services/Car/service/src/com/android/car/ |
H A 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) { argument 220 listener.onEvent(createErrorEvent(property, area)); 229 private static CarPropertyEvent createErrorEvent(int property, int area) { argument 231 new CarPropertyValue<>(property, area, null));
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
H A D | MockedVehicleHal.java | 46 * Interface for handler of each property. 51 default void onPropertySubscribe(int property, int zones, float sampleRate) {} argument 52 default void onPropertyUnsubscribe(int property) {} argument 97 assertNotNull("Injecting event failed for property: " + value.prop 111 assertNotNull("Injecting error failed for property: " + propertyId 220 public void onPropertySubscribe(int property, int zones, float sampleRate) { argument 225 public void onPropertyUnsubscribe(int property) { argument 268 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { argument 269 assertEquals(mConfig.prop, property); 274 public synchronized void onPropertyUnsubscribe(int property) { argument [all...] |
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
H A D | CarProjectionManagerTest.java | 154 public synchronized void onPropertySubscribe(int property, int zones, float sampleRate) { argument 155 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); 159 public synchronized void onPropertyUnsubscribe(int property) { argument 160 Log.d(TAG, "onPropertyUnSubscribe property " + property);
|
H A D | CarAudioManagerTest.java | 192 public void onPropertySubscribe(int property, int zones, float sampleRate) { argument 193 assertEquals(VehicleProperty.AUDIO_PARAMETERS, property); 197 public void onPropertyUnsubscribe(int property) { argument 198 assertEquals(VehicleProperty.AUDIO_PARAMETERS, property);
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
H A 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/services/Car/car-lib/src/android/car/hardware/ |
H A D | CarVendorExtensionManager.java | 23 import android.car.hardware.property.CarPropertyManagerBase; 24 import android.car.hardware.property.CarPropertyManagerBase.CarPropertyEventCallback; 64 * property. 67 /** Called when a property is updated */ 70 /** Called when an error is detected with a property */ 126 * Returns property value. Use this function for global vehicle properties. 128 * @param propertyClass - data type of the given property, for example property that was 131 * @param propId - property id which is matched with the one defined in vehicle HAL 141 * Returns property valu [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
H A D | TouchEventGenerator.java | 249 PointerProperties property = new PointerProperties(); 250 property.id = id; 251 property.toolType = MotionEvent.TOOL_TYPE_FINGER; 252 properties[index] = property;
|
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include/ |
H A D | VehicleNetworkAudioHelper.h | 62 void onHalError(int32_t errorCode, int32_t property, int32_t operation) override;
|