Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.cpp134 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()
148 } else if (propValue.prop == OBD2_FREEZE_FRAME_CLEAR) { in set()
149 return clearObd2FreezeFrames(propValue); in set()
150 } else if (propValue.prop == VEHICLE_MAP_SERVICE) { in set()
156 if (!mPropStore->writeValue(propValue)) { in set()
160 getEmulatorOrDie()->doSetValueFromClient(propValue); in set()
276 bool EmulatedVehicleHal::setPropertyFromVehicle(const VehiclePropValue& propValue) { in setPropertyFromVehicle() argument
[all …]
DEmulatedVehicleHal.h55 StatusCode set(const VehiclePropValue& propValue) override;
60 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override;
79 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
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.0/default/common/src/
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()
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/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.c599 char propValue[PROP_VALUE_MAX]; in requestOrSendDataCallList() local
604 if (__system_property_get(propName, propValue) == 0) { in requestOrSendDataCallList()
610 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);
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);