Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.cpp132 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set() argument
135 if (propValue.prop == kGenerateFakeDataControllingProperty) { in set()
136 StatusCode status = handleGenerateFakeDataRequest(propValue); in set()
140 } else if (mHvacPowerProps.count(propValue.prop)) { in set()
153 switch (propValue.prop) { in set()
155 return clearObd2FreezeFrames(propValue); in set()
161 switch (propValue.value.int32Values[0]) { in set()
186 if (propValue.status != VehiclePropertyStatus::AVAILABLE) { in set()
192 auto currentPropValue = mPropStore->readValueOrNull(propValue); in set()
202 if (!mPropStore->writeValue(propValue, shouldUpdateStatus)) { in set()
[all …]
DEmulatedVehicleHal.h55 StatusCode set(const VehiclePropValue& propValue) override;
60 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override;
82 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
DVehicleEmulator.h45 virtual bool setPropertyFromVehicle(const VehiclePropValue& propValue) = 0;
74 void doSetValueFromClient(const VehiclePropValue& propValue);
DVehicleEmulator.cpp64 void VehicleEmulator::doSetValueFromClient(const VehiclePropValue& propValue) { in doSetValueFromClient() argument
67 populateProtoVehiclePropValue(val, &propValue); in doSetValueFromClient()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp44 bool VehiclePropertyStore::writeValue(const VehiclePropValue& propValue, in writeValue() argument
47 if (!mConfigs.count(propValue.prop)) return false; in writeValue()
49 RecordId recId = getRecordIdLocked(propValue); in writeValue()
52 mPropertyValues.insert({ recId, propValue }); in writeValue()
54 valueToUpdate->timestamp = propValue.timestamp; in writeValue()
55 valueToUpdate->value = propValue.value; in writeValue()
57 valueToUpdate->status = propValue.status; in writeValue()
63 void VehiclePropertyStore::removeValue(const VehiclePropValue& propValue) { in removeValue() argument
65 RecordId recId = getRecordIdLocked(propValue); in removeValue()
DObd2SensorStore.cpp96 void Obd2SensorStore::fillPropValue(const std::string& dtc, VehiclePropValue* propValue) const { in fillPropValue()
97 propValue->timestamp = elapsedRealtimeNano(); in fillPropValue()
98 propValue->value.int32Values = getIntegerSensors(); in fillPropValue()
99 propValue->value.floatValues = getFloatSensors(); in fillPropValue()
100 propValue->value.bytes = getSensorsBitmask(); in fillPropValue()
101 propValue->value.stringValue = dtc; in fillPropValue()
DSubscriptionManager.cpp127 for (const auto& propValue: propValues) { in distributeValuesToClients() local
128 VehiclePropValue* v = propValue.get(); in distributeValuesToClients()
/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.c569 char propValue[PROP_VALUE_MAX]; in hasWifiCapability() local
570 return property_get("ro.kernel.qemu.wifi", propValue, "") > 0 && in hasWifiCapability()
571 strcmp("1", propValue) == 0; in hasWifiCapability()
586 char propValue[PROP_VALUE_MAX]; in requestOrSendDataCallList() local
724 char propValue[PROP_VALUE_MAX]; in requestOrSendDataCallList() local
729 if (property_get(propName, propValue, "") <= 0) { in requestOrSendDataCallList()
735 strlcat(dnslist, propValue, dnslist_sz); in requestOrSendDataCallList()
745 } else if (property_get("net.eth0.gw", propValue, "") > 0) { in requestOrSendDataCallList()
746 responses[i].gateways = propValue; in requestOrSendDataCallList()
/hardware/qcom/sm8150/media/libplatformconfig/
DConfigParser.cpp56 std::string propValue(attr[3]); in processProperty() local
58 configMap[propName] = propValue; in processProperty()
/hardware/qcom/sdm845/media/libplatformconfig/
DConfigParser.cpp55 std::string propValue(attr[3]); in processProperty() local
57 configMap[propName] = propValue; in processProperty()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehiclePropertyStore.h70 bool writeValue(const VehiclePropValue& propValue, bool updateStatus);
72 void removeValue(const VehiclePropValue& propValue);
DObd2SensorStore.h57 void fillPropValue(const std::string& dtc, VehiclePropValue* propValue) const;
DVehicleHal.h47 virtual StatusCode set(const VehiclePropValue& propValue) = 0;
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp98 StatusCode set(const VehiclePropValue& propValue) override { in set() argument
99 if (toInt(VehicleProperty::MIRROR_FOLD) == propValue.prop in set()
104 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);