/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.cpp | 132 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 …]
|
D | EmulatedVehicleHal.h | 55 StatusCode set(const VehiclePropValue& propValue) override; 60 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override; 82 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
|
D | VehicleEmulator.h | 45 virtual bool setPropertyFromVehicle(const VehiclePropValue& propValue) = 0; 74 void doSetValueFromClient(const VehiclePropValue& propValue);
|
D | VehicleEmulator.cpp | 64 void VehicleEmulator::doSetValueFromClient(const VehiclePropValue& propValue) { in doSetValueFromClient() argument 67 populateProtoVehiclePropValue(val, &propValue); in doSetValueFromClient()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehiclePropertyStore.cpp | 44 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()
|
D | Obd2SensorStore.cpp | 96 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()
|
D | SubscriptionManager.cpp | 127 for (const auto& propValue: propValues) { in distributeValuesToClients() local 128 VehiclePropValue* v = propValue.get(); in distributeValuesToClients()
|
/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 | 569 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/ |
D | ConfigParser.cpp | 56 std::string propValue(attr[3]); in processProperty() local 58 configMap[propName] = propValue; in processProperty()
|
/hardware/qcom/sdm845/media/libplatformconfig/ |
D | ConfigParser.cpp | 55 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/ |
D | VehiclePropertyStore.h | 70 bool writeValue(const VehiclePropValue& propValue, bool updateStatus); 72 void removeValue(const VehiclePropValue& propValue);
|
D | Obd2SensorStore.h | 57 void fillPropValue(const std::string& dtc, VehiclePropValue* propValue) const;
|
D | VehicleHal.h | 47 virtual StatusCode set(const VehiclePropValue& propValue) = 0;
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 98 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/ |
D | IVehicle.hal | 54 generates (StatusCode status, VehiclePropValue propValue); 66 set(VehiclePropValue propValue) generates (StatusCode status);
|
D | IVehicleCallback.hal | 43 oneway onPropertySet(VehiclePropValue propValue);
|