Home
last modified time | relevance | path

Searched refs:propValue (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.1/default/common/src/
DObd2SensorStore.cpp103 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/
DVehiclePropertyStore.cpp44 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()
DSubscriptionManager.cpp140 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/
DEmulatedVehicleHal.cpp61 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()
DEmulatedVehicleHal.h58 StatusCode set(const VehiclePropValue& propValue) override;
63 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override;
DVehicleEmulator.h43 virtual bool setPropertyFromVehicle(const VehiclePropValue& propValue) = 0;
82 void doSetValueFromClient(const VehiclePropValue& propValue);
DVehicleEmulator.cpp54 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/
DEmulatedVehicleHal.cpp168 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()
DEmulatedVehicleHal.h51 V2_0::StatusCode set(const V2_0::VehiclePropValue& propValue) override;
62 V2_0::StatusCode clearObd2FreezeFrames(const V2_0::VehiclePropValue& propValue);
/hardware/ril/reference-ril/
Dmisc.c36 char propValue[PROP_VALUE_MAX]; in isInEmulator() local
37 inQemu = (__system_property_get("ro.kernel.qemu", propValue) != 0); in isInEmulator()
Dreference-ril.c593 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/
DInputDevice.cpp99 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/
DVehiclePropertyStore.h70 bool writeValue(const VehiclePropValue& propValue);
72 void removeValue(const VehiclePropValue& propValue);
DVehicleHal.h47 virtual StatusCode set(const VehiclePropValue& propValue) = 0;
/hardware/interfaces/automotive/vehicle/2.1/default/common/include/vhal_v2_1/
DObd2SensorStore.h58 void fillPropValue(const std::string& dtc, V2_0::VehiclePropValue *propValue) const;
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp97 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/
DIVehicle.hal54 generates (StatusCode status, VehiclePropValue propValue);
66 set(VehiclePropValue propValue) generates (StatusCode status);
DIVehicleCallback.hal43 oneway onPropertySet(VehiclePropValue propValue);