/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.cpp | 134 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 …]
|
D | EmulatedVehicleHal.h | 55 StatusCode set(const VehiclePropValue& propValue) override; 60 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override; 79 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
|
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.0/default/common/src/ |
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 | 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/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 | 599 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/ |
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 | 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);
|