/hardware/interfaces/automotive/vehicle/2.0/utils/ |
D | UserHalHelper.cpp | 39 Result<void> verifyPropValue(const VehiclePropValue& propValue, VehicleProperty vehicleProperty, in verifyPropValue() argument 41 auto prop = verifyAndCast<VehicleProperty>(propValue.prop); in verifyPropValue() 49 if (propValue.value.int32Values.size() < minInt32Values) { in verifyPropValue() 51 << " values, received " << propValue.value.int32Values.size(); in verifyPropValue() 163 Result<InitialUserInfoRequest> toInitialUserInfoRequest(const VehiclePropValue& propValue) { in toInitialUserInfoRequest() argument 164 auto ret = verifyPropValue(propValue, VehicleProperty::INITIAL_USER_INFO, 2); in toInitialUserInfoRequest() 169 request.requestId = propValue.value.int32Values[0]; in toInitialUserInfoRequest() 170 auto requestType = verifyAndCast<InitialUserInfoRequestType>(propValue.value.int32Values[1]); in toInitialUserInfoRequest() 175 ret = parseUsersInfo(propValue.value.int32Values, 2, &request.usersInfo); in toInitialUserInfoRequest() 182 Result<SwitchUserRequest> toSwitchUserRequest(const VehiclePropValue& propValue) { in toSwitchUserRequest() argument [all …]
|
D | UserHalHelper.h | 42 const VehiclePropValue& propValue); 43 android::base::Result<SwitchUserRequest> toSwitchUserRequest(const VehiclePropValue& propValue); 44 android::base::Result<CreateUserRequest> toCreateUserRequest(const VehiclePropValue& propValue); 45 android::base::Result<RemoveUserRequest> toRemoveUserRequest(const VehiclePropValue& propValue); 47 const VehiclePropValue& propValue); 49 const VehiclePropValue& propValue);
|
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/ |
D | UserHalHelper_test.cpp | 80 VehiclePropValue propValue{ in TEST() local 93 auto actual = toInitialUserInfoRequest(propValue); in TEST() 100 VehiclePropValue propValue{ in TEST() local 111 auto actual = toInitialUserInfoRequest(propValue); in TEST() 119 VehiclePropValue propValue{ in TEST() local 132 auto actual = toInitialUserInfoRequest(propValue); in TEST() 140 VehiclePropValue propValue{ in TEST() local 146 auto actual = toInitialUserInfoRequest(propValue); in TEST() 152 VehiclePropValue propValue{ in TEST() local 158 auto actual = toInitialUserInfoRequest(propValue); in TEST() [all …]
|
/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 | WatchdogClient.cpp | 111 VehiclePropValue propValue = {.prop = (int32_t)VehicleProperty::PERF_VEHICLE_SPEED}; in isClientHealthy() local 113 mVhalManager->get(propValue, in isClientHealthy() 114 [&propValue, &status](StatusCode s, const VehiclePropValue& v) { in isClientHealthy() 117 propValue = v; in isClientHealthy()
|
D | SubscriptionManager.cpp | 127 for (const auto& propValue: propValues) { in distributeValuesToClients() local 128 VehiclePropValue* v = propValue.get(); in distributeValuesToClients()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.cpp | 199 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set() argument 202 if (propValue.prop == kGenerateFakeDataControllingProperty) { in set() 208 auto status = mVehicleClient->setProperty(propValue, updateStatus); in set() 210 } else if (mHvacPowerProps.count(propValue.prop)) { in set() 223 switch (propValue.prop) { in set() 225 return clearObd2FreezeFrames(propValue); in set() 233 if (propValue.status != VehiclePropertyStatus::AVAILABLE) { in set() 239 auto currentPropValue = mPropStore->readValueOrNull(propValue); in set() 249 if (mInEmulator && propValue.prop == toInt(VehicleProperty::DISPLAY_BRIGHTNESS)) { in set() 263 auto setValueStatus = mVehicleClient->setProperty(propValue, updateStatus); in set() [all …]
|
D | EmulatedVehicleHal.h | 58 StatusCode set(const VehiclePropValue& propValue) override; 64 bool setPropertyFromVehicle(const VehiclePropValue& propValue) override; 84 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 | 65 void VehicleEmulator::doSetValueFromClient(const VehiclePropValue& propValue) { in doSetValueFromClient() argument 68 populateProtoVehiclePropValue(val, &propValue); in doSetValueFromClient()
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal_IoctlOperations.cc | 79 string propValue; in property_get_intf() local 83 propValue = phNxpNciHal_getSystemProperty(paramPropName); in property_get_intf() 84 if (propValue.length() > 0) { in property_get_intf() 86 propName, propValue.c_str(), propValue.length()); in property_get_intf() 87 len = propValue.length(); in property_get_intf() 88 strlcpy(valueStr, propValue.c_str(), PROPERTY_VALUE_MAX); in property_get_intf() 113 string propValue = valueStr; in property_set_intf() local 115 if (phNxpNciHal_setSystemProperty(paramPropName, propValue)) in property_set_intf() 299 string propValue; in phNxpNciHal_getSystemProperty() local 307 propValue = prop->second; in phNxpNciHal_getSystemProperty() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.h | 48 StatusCode set(const VehiclePropValue& propValue) override { in set() argument 49 if (toInt(VehicleProperty::MIRROR_FOLD) == propValue.prop && in set() 54 mValues[makeKey(propValue)] = propValue; in set()
|
D | VehicleManager_fuzzer.cpp | 401 VehiclePropValue propValue{}; in invokeVehiclePropStore() local 402 propValue.prop = vehicleProp; in invokeVehiclePropStore() 403 propValue.areaId = 0; in invokeVehiclePropStore() 404 store->writeValue(propValue, shouldWriteStatus); in invokeVehiclePropStore() 409 store->readValueOrNull(propValue); in invokeVehiclePropStore() 410 store->readValueOrNull(propValue.prop, propValue.areaId, 0); in invokeVehiclePropStore() 412 store->removeValue(propValue); in invokeVehiclePropStore()
|
/hardware/qcom/sm7250/media/libplatformconfig/ |
D | ConfigParser.cpp | 56 std::string propValue(attr[3]); in processProperty() local 58 configMap[propName] = propValue; in processProperty()
|
/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 | 71 bool writeValue(const VehiclePropValue& propValue, bool updateStatus); 73 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/ |
D | IVehicle.hal | 54 generates (StatusCode status, VehiclePropValue propValue); 66 set(VehiclePropValue propValue) generates (StatusCode status);
|
D | IVehicleCallback.hal | 43 oneway onPropertySet(VehiclePropValue propValue);
|
D | types.hal | 1286 * An application calls set(VehiclePropValue propValue) with the requested value and unit for
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 99 StatusCode set(const VehiclePropValue& propValue) override { in set() argument 100 if (toInt(VehicleProperty::MIRROR_FOLD) == propValue.prop in set() 104 mValues[makeKey(propValue)] = propValue; in set()
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 568 char propValue[PROP_VALUE_MAX]; in hasWifiCapability() local 569 return property_get("ro.boot.qemu.wifi", propValue, "") > 0 && in hasWifiCapability() 570 strcmp("1", propValue) == 0; in hasWifiCapability() 585 char propValue[PROP_VALUE_MAX]; in requestOrSendDataCallList() local
|