/hardware/interfaces/automotive/vehicle/2.1/default/common/src/ |
D | Obd2SensorStore.cpp | 103 V2_0::VehiclePropValue *propValue) const { in fillPropValue() 104 propValue->timestamp = elapsedRealtimeNano(); in fillPropValue() 105 propValue->value.int32Values = getIntegerSensors(); in fillPropValue() 106 propValue->value.floatValues = getFloatSensors(); in fillPropValue() 107 propValue->value.bytes = getSensorsBitmask(); in fillPropValue() 108 propValue->value.stringValue = dtc; in fillPropValue()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehiclePropertyStore.cpp | 44 bool VehiclePropertyStore::writeValue(const VehiclePropValue& propValue) { in writeValue() argument 46 if (!mConfigs.count(propValue.prop)) return false; in writeValue() 48 RecordId recId = getRecordIdLocked(propValue); in writeValue() 51 mPropertyValues.insert({ recId, propValue }); in writeValue() 53 valueToUpdate->timestamp = propValue.timestamp; in writeValue() 54 valueToUpdate->value = propValue.value; in writeValue() 59 void VehiclePropertyStore::removeValue(const VehiclePropValue& propValue) { in removeValue() argument 61 RecordId recId = getRecordIdLocked(propValue); in removeValue()
|
D | SubscriptionManager.cpp | 140 for (const auto& propValue: propValues) { in distributeValuesToClients() local 141 VehiclePropValue* v = propValue.get(); in distributeValuesToClients()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.cpp | 61 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set() argument 62 if (propValue.prop == kGenerateFakeDataControllingProperty) { in set() 63 return handleGenerateFakeDataRequest(propValue); in set() 66 if (mHvacPowerProps.count(propValue.prop)) { in set() 76 if (!mPropStore->writeValue(propValue)) { in set() 80 getEmulatorOrDie()->doSetValueFromClient(propValue); in set() 177 bool EmulatedVehicleHal::setPropertyFromVehicle(const VehiclePropValue& propValue) { in setPropertyFromVehicle() argument 178 if (mPropStore->writeValue(propValue)) { in setPropertyFromVehicle() 179 doHalEvent(getValuePool()->obtain(propValue)); in setPropertyFromVehicle()
|
D | EmulatedVehicleHal.h | 58 StatusCode set(const VehiclePropValue& propValue) override; 63 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override;
|
D | VehicleEmulator.h | 43 virtual bool setPropertyFromVehicle(const VehiclePropValue& propValue) = 0; 82 void doSetValueFromClient(const VehiclePropValue& propValue);
|
D | VehicleEmulator.cpp | 54 void VehicleEmulator::doSetValueFromClient(const VehiclePropValue& propValue) { in doSetValueFromClient() argument 57 populateProtoVehiclePropValue(val, &propValue); in doSetValueFromClient()
|
/hardware/interfaces/automotive/vehicle/2.1/default/impl/vhal_v2_1/ |
D | EmulatedVehicleHal.cpp | 168 V2_0::StatusCode EmulatedVehicleHal::clearObd2FreezeFrames(const V2_0::VehiclePropValue& propValue)… in clearObd2FreezeFrames() argument 169 if (propValue.value.int64Values.size() == 0) { in clearObd2FreezeFrames() 173 for(int64_t timestamp: propValue.value.int64Values) { in clearObd2FreezeFrames() 207 tokenFunction = [] (const V2_0::VehiclePropValue& propValue) { in initStaticConfig() argument 208 return propValue.timestamp; in initStaticConfig() 242 V2_0::StatusCode EmulatedVehicleHal::set(const V2_0::VehiclePropValue& propValue) { in set() argument 243 auto propId = propValue.prop; in set() 246 return clearObd2FreezeFrames(propValue); in set() 252 return V2_0::impl::EmulatedVehicleHal::set(propValue); in set()
|
D | EmulatedVehicleHal.h | 51 V2_0::StatusCode set(const V2_0::VehiclePropValue& propValue) override; 62 V2_0::StatusCode clearObd2FreezeFrames(const V2_0::VehiclePropValue& propValue);
|
/hardware/ril/reference-ril/ |
D | misc.c | 36 char propValue[PROP_VALUE_MAX]; in isInEmulator() local 37 inQemu = (__system_property_get("ro.kernel.qemu", propValue) != 0); in isInEmulator()
|
D | reference-ril.c | 593 char propValue[PROP_VALUE_MAX]; in requestOrSendDataCallList() local 598 if (__system_property_get(propName, propValue) == 0) { in requestOrSendDataCallList() 604 strlcat(dnslist, propValue, dnslist_sz); in requestOrSendDataCallList()
|
/hardware/libhardware/modules/input/evdev/ |
D | InputDevice.cpp | 99 const char* propValue = prop.getValue(); in getBooleanProperty() local 100 if (propValue == nullptr) return false; in getBooleanProperty() 103 int value = std::strtol(propValue, &end, 10); in getBooleanProperty() 105 ALOGW("Expected boolean for property %s; value=%s", prop.getKey(), propValue); in getBooleanProperty()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehiclePropertyStore.h | 70 bool writeValue(const VehiclePropValue& propValue); 72 void removeValue(const VehiclePropValue& propValue);
|
D | VehicleHal.h | 47 virtual StatusCode set(const VehiclePropValue& propValue) = 0;
|
/hardware/interfaces/automotive/vehicle/2.1/default/common/include/vhal_v2_1/ |
D | Obd2SensorStore.h | 58 void fillPropValue(const std::string& dtc, V2_0::VehiclePropValue *propValue) const;
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 97 StatusCode set(const VehiclePropValue& propValue) override { in set() argument 98 if (toInt(VehicleProperty::MIRROR_FOLD) == propValue.prop in set() 103 mValues[makeKey(propValue)] = propValue; in set()
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | IVehicle.hal | 54 generates (StatusCode status, VehiclePropValue propValue); 66 set(VehiclePropValue propValue) generates (StatusCode status);
|
D | IVehicleCallback.hal | 43 oneway onPropertySet(VehiclePropValue propValue);
|