Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 91) sorted by relevance

1234

/hardware/interfaces/security/keymint/support/fuzzer/
DREADME.md31 | Parameter| Valid Values| Configured Value|
33 |`padding`| `PaddingMode` |Value obtained from FuzzedDataProvider|
34 |`digest`| `Digest` |Value obtained from FuzzedDataProvider|
35 |`idx`| `size_t` |Value obtained from FuzzedDataProvider|
36 |`timestamp`| `uint64_t` |Value obtained from FuzzedDataProvider|
37 |`authSet`| `uint32_t` |Value obtained from FuzzedDataProvider|
38 |`issuerSubjectName`| `uint8_t` |Value obtained from FuzzedDataProvider|
39 |`AttestationChallenge`| `string` |Value obtained from FuzzedDataProvider|
40 |`AttestationApplicationId`| `string` |Value obtained from FuzzedDataProvider|
41 |`blockmode`| `BlockMode` |Value obtained from FuzzedDataProvider|
[all …]
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManager.cpp47 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
60 const char* sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
73 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
76 const char* pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
142 const char* nameAttr = ctrlElem->FindAttribute("name")->Value(); in readCameraCapabilities()
144 const int32_t minVal = stoi(ctrlElem->FindAttribute("min")->Value()); in readCameraCapabilities()
145 const int32_t maxVal = stoi(ctrlElem->FindAttribute("max")->Value()); in readCameraCapabilities()
150 stepVal = stoi(stepAttr->Value()); in readCameraCapabilities()
172 const int32_t id = stoi(idAttr->Value()); in readCameraCapabilities()
175 framerate = stoi(fpsAttr->Value()); in readCameraCapabilities()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/JsonConfigLoader/include/
DJsonConfigLoader.h54 const Json::Value& value) const;
58 const Json::Value& value) const;
62 const Json::Value& value) const;
67 const Json::Value& value);
99 std::optional<ConfigDeclaration> parseEachProperty(const Json::Value& propJsonValue,
113 bool tryParseJsonValueToVariable(const Json::Value& parentJsonNode,
128 bool tryParseJsonArrayToVariable(const Json::Value& parentJsonNode,
133 void parseAccessChangeMode(const Json::Value& parentJsonNode, const std::string& fieldName,
140 bool parsePropValues(const Json::Value& parentJsonNode, const std::string& fieldName,
145 void parseAreas(const Json::Value& parentJsonNode, const std::string& fieldName,
/hardware/interfaces/security/keymint/aidl/default/ta/
Drpc.rs27 use kmr_wire::{cbor::value::Value, coset::AsCborValue, rpc, CborError};
173 let dice_chain_entry_payload = Value::Map(vec_try![ in generate_dice_artifacts()
176 Value::Integer(1.into()), in generate_dice_artifacts()
177 Value::Text(String::from("Issuer")) in generate_dice_artifacts()
181 Value::Integer(2.into()), in generate_dice_artifacts()
182 Value::Text(String::from("Subject")) in generate_dice_artifacts()
186 Value::Integer((-4670552).into()), in generate_dice_artifacts()
187 Value::Bytes(cose_key_cbor_data) in generate_dice_artifacts()
192 Value::Integer((-4670553).into()), in generate_dice_artifacts()
193 Value::Bytes(vec_try![0x20]?) in generate_dice_artifacts()
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dbit.hpp30 GLM_FUNC_DECL genIUType highestBitValue(genIUType Value);
34 GLM_FUNC_DECL genIUType lowestBitValue(genIUType Value);
48 GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
64 GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
80 GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
Dbit.inl10 GLM_FUNC_QUALIFIER genIUType highestBitValue(genIUType Value) argument
12 genIUType tmp = Value;
32 GLM_FUNC_QUALIFIER genIUType lowestBitValue(genIUType Value) argument
34 return (Value & (~Value + 1));
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dround.hpp37 GLM_FUNC_DECL bool isPowerOfTwo(genIUType Value);
50 GLM_FUNC_DECL genIUType ceilPowerOfTwo(genIUType Value);
64 GLM_FUNC_DECL genIUType floorPowerOfTwo(genIUType Value);
77 GLM_FUNC_DECL genIUType roundPowerOfTwo(genIUType Value);
89 GLM_FUNC_DECL bool isMultiple(genIUType Value, genIUType Multiple);
95 GLM_FUNC_DECL vecType<bool, P> isMultiple(vecType<T, P> const & Value, T Multiple);
101 …GLM_FUNC_DECL vecType<bool, P> isMultiple(vecType<T, P> const & Value, vecType<T, P> const & Multi…
Dbitfield.hpp72 GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount);
78 …GLM_FUNC_DECL vecType<T, P> bitfieldFillOne(vecType<T, P> const & Value, int FirstBit, int BitCoun…
84 GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount);
90 …GLM_FUNC_DECL vecType<T, P> bitfieldFillZero(vecType<T, P> const & Value, int FirstBit, int BitCou…
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp50 float getFloatFromValue(const Json::Value &value) { in getFloatFromValue()
58 int getIntFromValue(const Json::Value &value) { in getIntFromValue()
67 bool getIntFromJsonValues(const Json::Value &values, CdevArray *out, bool inc_check, in getIntFromJsonValues()
81 for (Json::Value::ArrayIndex i = 0; i < kThrottlingSeverityCount; ++i) { in getIntFromJsonValues()
100 bool getFloatFromJsonValues(const Json::Value &values, ThrottlingArray *out, bool inc_check, in getFloatFromJsonValues()
114 for (Json::Value::ArrayIndex i = 0; i < kThrottlingSeverityCount; ++i) { in getFloatFromJsonValues()
133 bool getTempRangeInfoFromJsonValues(const Json::Value &values, TempRangeInfo *temp_range_info) { in getTempRangeInfoFromJsonValues()
160 bool getTempStuckInfoFromJsonValue(const Json::Value &values, TempStuckInfo *temp_stuck_info) { in getTempStuckInfoFromJsonValue()
201 bool ParseThermalConfig(std::string_view config_path, Json::Value *config) { in ParseThermalConfig()
217 bool ParseOffsetThresholds(const std::string_view name, const Json::Value &sensor, in ParseOffsetThresholds()
[all …]
Dthermal_info.h247 bool ParseThermalConfig(std::string_view config_path, Json::Value *config);
248 bool ParseSensorInfo(const Json::Value &config,
250 bool ParseCoolingDevice(const Json::Value &config,
252 bool ParsePowerRailInfo(const Json::Value &config,
254 bool ParseSensorStatsConfig(const Json::Value &config,
259 const Json::Value &config,
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManager.cpp62 LOG(VERBOSE) << "[ATTR] " << prefix << curAttr->Name() << ": " << curAttr->Value(); in printElementNames()
83 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
96 const char* sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
109 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
112 const char* pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
144 aCamera->deviceType = CameraInfo::deviceTypeFromSV(typeAttr->Value()); in readCameraDeviceInfo()
182 const char* nameAttr = ctrlElem->FindAttribute("name")->Value(); in readCameraCapabilities()
184 if (!android::base::ParseInt(ctrlElem->FindAttribute("min")->Value(), &minVal)) { in readCameraCapabilities()
185 LOG(WARNING) << "Failed to parse " << ctrlElem->FindAttribute("min")->Value(); in readCameraCapabilities()
188 if (!android::base::ParseInt(ctrlElem->FindAttribute("max")->Value(), &maxVal)) { in readCameraCapabilities()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DLruCache.h23 template <typename Key, typename Value>
30 Value* get(const Key& key) { in get()
42 void set(const Key& key, Value&& value) { in set()
56 std::forward<Value>(value), in set()
74 Value value;
DResult.h116 template <typename T, typename Value = typename std::decay<T>::type>
117 detail::Ok<Value> Ok(T&& value) {
118 return detail::Ok<Value>(std::forward<T>(value));
125 template <typename E, typename Value = typename std::decay<E>::type>
126 detail::Err<Value> Err(E&& value) {
127 return detail::Err<Value>(std::forward<E>(value));
/hardware/interfaces/radio/1.0/
DISapCallback.hal23 * @param token Id to match req-resp. Value must match the one in req.
33 * @param token Id to match req-resp. Value must match the one in req.
40 * @param token Id to match req-resp. Value must match the one in req.
48 * @param token Id to match req-resp. Value must match the one in req.
66 * @param token Id to match req-resp. Value must match the one in req.
82 * @param token Id to match req-resp. Value must match the one in req.
97 * @param token Id to match req-resp. Value must match the one in req.
111 * @param token Id to match req-resp. Value must match the one in req.
119 * @param token Id to match req-resp. Value must match the one in req.
135 * @param token Id to match req-resp. Value must match the one in req.
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DREADME.md18 | Parameter| Valid Values| Configured Value|
20 …Property::INFO_FUEL_CAPACITY` 5.`VehicleProperty::HVAC_SEAT_TEMPERATURE`| Value obtained from Fuzz…
21 …UM_OXYGEN_SENSORS_PRESENT` 3.`DiagnosticIntegerSensorIndex::FUEL_TYPE` | Value obtained from Fuzz…
22 …ERM_FUEL_TRIM_BANK1` 3.`DiagnosticFloatSensorIndex::THROTTLE_POSITION` | Value obtained from Fuzz…
23 …ageType::AVAILABILITY_CHANGE` 1.`VmsMessageType::AVAILABILITY_RESPONSE` | Value obtained from Fuzz…
24 …eType::SUBSCRIPTIONS_CHANGE` 1.`VmsMessageType::SUBSCRIPTIONS_RESPONSE` | Value obtained from Fuzz…
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DBurst.h58 using Value =
61 Value add(int64_t token, const ::android::nn::SharedMemory& memory,
67 mutable std::unordered_map<int64_t, Value> mCache GUARDED_BY(mMutex);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp131 Json::Value rawEvents; in parseFakeValueJson()
139 for (Json::Value::ArrayIndex i = 0; i < rawEvents.size(); i++) { in parseFakeValueJson()
140 Json::Value rawEvent = rawEvents[i]; in parseFakeValueJson()
158 Json::Value rawEventValue = rawEvent["value"]; in parseFakeValueJson()
201 const Json::Value& jsonValue) { in copyMixedValueJson()
209 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray()
211 for (Json::Value::ArrayIndex i = 0; i < jsonArray.size(); i++) { in copyJsonArray()
DJsonFakeValueGenerator.h56 void copyMixedValueJson(VehiclePropValue::RawValue& dest, const Json::Value& jsonValue);
59 void copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray);
/hardware/interfaces/health/2.1/
Dtypes.hal91 * Value must be BATTERY_CHARGE_TIME_TO_FULL_NOW_SECONDS_UNSUPPORTED if and
93 * Value must be 0 if and only if batteryCapacityLevel is FULL or UNKNOWN.
100 * Value must be 0 if unknown.
101 * Value must be greater than 100 000 uAh if known.
102 * Value must be less than 100 000 000 uAh if known.
118 * Value should be in range [0, 100].
/hardware/interfaces/keymaster/4.0/support/fuzzer/
DREADME.md18 | Parameter| Valid Values| Configured Value|
20 …ARE` 1.`SecurityLevel::TRUSTED_ENVIRONMENT` 2.`SecurityLevel::STRONGBOX`| Value obtained from Fuzz…
21 | `ecCurve` | 0.`EcCurve::P_224` 1.`EcCurve::P_256` 2.`EcCurve::P_384` 3. `EcCurve::P_521`| Value o…
22 …_1_5_ENCRYPT` 4.`PaddingMode::RSA_PKCS1_1_5_SIGN` 5.`PaddingMode::PKCS7`| Value obtained from Fuzz…
23 …_224` 5.`Digest::SHA_2_256` 6.`Digest::SHA_2_384` 7.`Digest::SHA_2_512`| Value obtained from Fuzz…
24 …C_LENGTH` 54.`Tag::RESET_SINCE_ID_ROTATION` 55.`Tag::CONFIRMATION_TOKEN`| Value obtained from Fuzz…
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/
DJsonFakeValueGenerator.cpp57 void copyJsonArray(const Json::Value& jsonArray, std::vector<T>& dest) { in copyJsonArray()
59 for (Json::Value::ArrayIndex i = 0; i < jsonArray.size(); i++) { in copyJsonArray()
70 void copyMixedValueJson(const Json::Value& jsonValue, RawPropValues& dest) { in copyMixedValueJson()
106 Json::Value rawEvents; in parseFakeValueJson()
113 for (Json::Value::ArrayIndex i = 0; i < rawEvents.size(); i++) { in parseFakeValueJson()
114 Json::Value rawEvent = rawEvents[i]; in parseFakeValueJson()
132 Json::Value rawEventValue = rawEvent["value"]; in parseFakeValueJson()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/JsonConfigLoader/src/
DJsonConfigLoader.cpp320 const Json::Value& value) { in convertValueToType()
330 const Json::Value& value) { in convertValueToType()
340 const Json::Value& value) { in convertValueToType()
351 const Json::Value& value) { in convertValueToType()
361 const Json::Value& value) { in convertValueToType()
370 const Json::Value& value) const { in parseStringValue()
376 const Json::Value& value) const { in parseValue()
394 const Json::Value& value) const { in parseValue()
400 const Json::Value& value) const { in parseArray()
446 bool JsonConfigParser::tryParseJsonValueToVariable(const Json::Value& parentJsonNode, in tryParseJsonValueToVariable()
[all …]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h56 template <typename Key, typename Value>
59 const Value& value_;
60 MapElement(const Key& key, const Value& value) : key_(key), value_(value) {} in MapElement()
169 template <typename Key, typename Value>
170 MapElement<Key, Value> pair(const Key& k, const Value& v) {
171 return MapElement<Key, Value>(k, v);
317 template <typename Key, typename Value>
318 WriteState write(WriteState wState, const MapElement<Key, Value>& element) {
/hardware/interfaces/automotive/ivn_android_device/impl/default/src/
DIvnAndroidDeviceService.cpp75 Json::Value& devices = mConfigRootNode["Devices"]; in init()
77 Json::Value& device = devices[i]; in init()
80 Json::Value& occupantZones = device["OccupantZones"]; in init()
82 Json::Value& occupantZone = occupantZones[j]; in init()
101 Json::Value& ep = device["EndpointInfo"]; in init()
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_integer.inl72 GLM_FUNC_QUALIFIER static int call(genIUType Value)
74 if(Value == 0)
77 return glm::bitCount(~Value & (Value - static_cast<genIUType>(1)));
85 GLM_FUNC_QUALIFIER static int call(genIUType Value)
88 unsigned char IsNotNull = _BitScanForward(&Result, *reinterpret_cast<unsigned long*>(&Value));
97 GLM_FUNC_QUALIFIER static int call(genIUType Value)
100 …unsigned char IsNotNull = _BitScanForward64(&Result, *reinterpret_cast<unsigned __int64*>(&Value));
143 GLM_FUNC_QUALIFIER int compute_findMSB_32(genIUType Value) argument
146 unsigned char IsNotNull = _BitScanReverse(&Result, *reinterpret_cast<unsigned long*>(&Value));
161 GLM_FUNC_QUALIFIER int compute_findMSB_64(genIUType Value) argument
[all …]

1234