Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 131) sorted by relevance

123456

/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.cpp209 return std::to_string(val); in toString()
213 return std::to_string(val); in toString()
217 return std::to_string(static_cast<int32_t>(id)); in toString()
246 return "hexagon_nn_input{.src_id: " + std::to_string(input.src_id) + in toString()
247 ", .output_idx: " + std::to_string(input.output_idx) + "}"; in toString()
251 return "hexagon_nn_output{.rank: " + std::to_string(output.rank) + ", .max_sizes: [" + in toString()
252 std::to_string(output.max_sizes[0]) + ", " + std::to_string(output.max_sizes[1]) + ", " + in toString()
253 std::to_string(output.max_sizes[2]) + ", " + std::to_string(output.max_sizes[3]) + ", " + in toString()
254 std::to_string(output.max_sizes[4]) + ", " + std::to_string(output.max_sizes[5]) + ", " + in toString()
255 std::to_string(output.max_sizes[6]) + ", " + std::to_string(output.max_sizes[7]) + "]" + in toString()
[all …]
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h9 using std::to_string;
20 std::string to_string(const IFoo::StringMatrix5x3 &M);
21 std::string to_string(const IFoo::StringMatrix3x5 &M);
23 std::string to_string(const hidl_string &s);
26 std::string to_string(const T *elems, size_t n) { in to_string() function
33 out += to_string(elems[i]); in to_string()
41 std::string to_string(const hidl_array<T, SIZE> &array) { in to_string() function
42 return to_string(&array[0], SIZE); in to_string()
46 std::string to_string(const hidl_array<T, SIZE1, SIZE2> &array) { in to_string() function
60 out += to_string(array[i][j]); in to_string()
[all …]
/hardware/interfaces/gnss/1.0/default/
DGnssConfiguration.cpp39 std::string config = "SUPL_ES=" + std::to_string(enabled ? 1 : 0) + "\n"; in setSuplEs()
50 std::string config = "SUPL_VER=" + std::to_string(version) + "\n"; in setSuplVersion()
62 std::string config = "SUPL_MODE=" + std::to_string(mode) + "\n"; in setSuplMode()
73 std::string config = "LPP_PROFILE=" + std::to_string(lppProfile) + "\n"; in setLppProfile()
85 std::to_string(protocol) + "\n"; in setGlonassPositioningProtocol()
96 std::string config = "GPS_LOCK=" + std::to_string(lock) + "\n"; in setGpsLock()
107 std::string config = "USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=" + std::to_string(enabled ? 1 : 0) in setEmergencySuplPdn()
/hardware/interfaces/tests/foo/1.0/default/lib/
DFooHelper.cpp5 std::string to_string(const IFoo::StringMatrix5x3 &M) { in to_string() function
6 return to_string(M.s); in to_string()
9 std::string to_string(const IFoo::StringMatrix3x5 &M) { in to_string() function
10 return to_string(M.s); in to_string()
13 std::string to_string(const hidl_string &s) { in to_string() function
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp271 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
288 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
313 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
314 std::to_string(invalidOperandType); in mutateOperandTypeTest()
342 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
343 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
371 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
372 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
402 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
403 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
DValidateRequest.cpp74 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest()
84 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateModel.cpp291 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
308 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
333 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
334 std::to_string(invalidOperandType); in mutateOperandTypeTest()
364 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
365 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
394 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
395 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
426 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
427 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
DValidateRequest.cpp58 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest()
68 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp330 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
347 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
372 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
373 std::to_string(invalidOperandType); in mutateOperandTypeTest()
414 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
415 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
452 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
453 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
495 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
496 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
DValidateBurst.cpp182 const std::string message = "removeDatum: removed datum at index " + std::to_string(index); in removeDatumTest()
197 const std::string message = "addDatum: added datum type " + std::to_string(type) + in addDatumTest()
198 " at index " + std::to_string(index); in addDatumTest()
228 std::to_string(index) + " to datum type " + in mutateDatumTest()
229 std::to_string(type); in mutateDatumTest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp347 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
365 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
391 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
392 std::to_string(invalidOperandType); in mutateOperandTypeTest()
433 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
434 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
473 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
474 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
517 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
518 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
DValidateBurst.cpp188 const std::string message = "removeDatum: removed datum at index " + std::to_string(index); in removeDatumTest()
203 const std::string message = "addDatum: added datum type " + std::to_string(type) + in addDatumTest()
204 " at index " + std::to_string(index); in addDatumTest()
234 std::to_string(index) + " to datum type " + in mutateDatumTest()
235 std::to_string(type); in mutateDatumTest()
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp118 LOG(INFO) << "Uploading metrics at time " << std::to_string(time) << " w/ " in uploadMetrics()
119 << std::to_string(num_samples_) << " samples"; in uploadMetrics()
131 std::string log_min = "min-" + std::to_string(metric) + " "; in uploadMetrics()
132 std::string log_max = "max-" + std::to_string(metric) + " "; in uploadMetrics()
134 log_min += std::to_string(min_[metric][j]) + " "; in uploadMetrics()
135 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
160 LOG(INFO) << "Recording a sample at time " << std::to_string(time); in recordSample()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp102 string to_string() const { return string(reinterpret_cast<const char*>(data()), size()); } in to_string() function in android::hardware::keymaster::V4_0::test::HidlBuf
282 output.append(hidl_output.to_string()); in ProcessMessage()
301 output.append(hidl_output.to_string()); in ProcessMessage()
488 ("Key generation error, " + std::to_string(keymaster->getError())).c_str()); in sign()
499 ("Error beginning sign, " + std::to_string(keymaster->getError())).c_str()); in sign()
504 state.SkipWithError(("Sign error, " + std::to_string(keymaster->getError())).c_str()); in sign()
514 ("Key generation error, " + std::to_string(keymaster->getError())).c_str()); in verify()
523 ("Error beginning sign, " + std::to_string(keymaster->getError())).c_str()); in verify()
529 state.SkipWithError(("Sign error, " + std::to_string(keymaster->getError())).c_str()); in verify()
538 ("Verify begin error, " + std::to_string(keymaster->getError())).c_str()); in verify()
[all …]
/hardware/libhardware_legacy/
Dpower_test.cpp52 std::string id = std::to_string(rand()); in TEST()
80 std::string id = std::to_string(i) + "/" + std::to_string(j); in TEST()
122 auto name = std::to_string(rand()); in TEST_F()
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DPrefixParser.cpp167 mLastErr = "Failed to populate IPv4 Mask(" + std::to_string(mask) in add()
171 mLastErr = "Failed to populate IPv6 Mask(" + std::to_string(mask) in add()
369 mLastErr = "Failed parse subnet mask(" + std::to_string(mask) + ")"; in isMaskValid()
372 mLastErr = "Subnet mask cannot be 0(" + std::to_string(mask) + ")"; in isMaskValid()
376 + std::to_string(mask) + ")"; in isMaskValid()
380 + std::to_string(mask) + ")"; in isMaskValid()
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DPrefixParser.cpp173 mLastErr = "Failed to populate IPv4 Mask(" + std::to_string(mask) in add()
177 mLastErr = "Failed to populate IPv6 Mask(" + std::to_string(mask) in add()
375 mLastErr = "Failed parse subnet mask(" + std::to_string(mask) + ")"; in isMaskValid()
378 mLastErr = "Subnet mask cannot be 0(" + std::to_string(mask) + ")"; in isMaskValid()
382 + std::to_string(mask) + ")"; in isMaskValid()
386 + std::to_string(mask) + ")"; in isMaskValid()
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DPrefixParser.cpp173 mLastErr = "Failed to populate IPv4 Mask(" + std::to_string(mask) in add()
177 mLastErr = "Failed to populate IPv6 Mask(" + std::to_string(mask) in add()
375 mLastErr = "Failed parse subnet mask(" + std::to_string(mask) + ")"; in isMaskValid()
378 mLastErr = "Subnet mask cannot be 0(" + std::to_string(mask) + ")"; in isMaskValid()
382 + std::to_string(mask) + ")"; in isMaskValid()
386 + std::to_string(mask) + ")"; in isMaskValid()
/hardware/interfaces/light/utils/
Dmain.cpp76 error("Failed to shut off light id " + std::to_string(light.id)); in setToColorAidl()
93 std::to_string(static_cast<int>(type))); in setToColorHidl()
/hardware/interfaces/radio/1.0/vts/functional/
DVtsHalSapV1_0TargetTest.cpp33 std::cout << "seed setup for random function (sap):" + std::to_string(seedSrand) << std::endl; in main()
DVtsHalRadioV1_0TargetTest.cpp33 std::cout << "seed setup for random function (radio):" + std::to_string(seedSrand) << std::endl; in main()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp309 to_string(descriptor).c_str()); in doGetFunction()
377 output << " " << to_string(capability) << '\n'; in dump()
424 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
432 ALOGI("unregisterCallback(%s)", to_string(descriptor).c_str()); in registerCallback()
601 to_string(Error::BadConfig).c_str()); in getActiveConfig()
621 to_string(attribute).c_str(), *outValue); in getAttribute()
648 to_string(element.second).c_str()); in getChangedCompositionTypes()
794 to_string(error).c_str()); in present()
939 ALOGV("[%" PRIu64 "] setPowerMode(%s)", mId, to_string(mode).c_str()); in setPowerMode()
989 to_string(request.second).c_str()); in validate()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp342 to_string(descriptor).c_str()); in doGetFunction()
422 output << " " << to_string(capability) << '\n'; in dump()
471 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
639 to_string(Error::BadConfig).c_str()); in getActiveConfig()
660 to_string(attribute).c_str(), *outValue); in getAttribute()
688 to_string(element.second).c_str()); in getChangedCompositionTypes()
840 to_string(error).c_str()); in present()
993 ALOGV("[%" PRIu64 "] setPowerMode(%s)", mId, to_string(mode).c_str()); in setPowerMode()
1045 to_string(request.second).c_str()); in validate()
1448 return std::string("Unknown (") + std::to_string(type) + ")"; in hwc1CompositionString()
[all …]
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp249 LOG(INFO) << "SERVER(Foo) transposeMe(" << to_string(in).c_str() << ")"; in transposeMe()
258 LOG(INFO) << "SERVER(Foo) transposeMe returning " << to_string(out).c_str(); in transposeMe()
283 LOG(INFO) << "SERVER(Foo) transpose " << to_string(in); in transpose()
299 LOG(INFO) << "SERVER(Foo) transpose2 " << to_string(in); in transpose2()
/hardware/qcom/sm8150/display/gpu_tonemapper/
DEGLImageWrapper.cpp33 static string pidString = std::to_string(getpid());
71 string fdString = std::to_string(buff_fd); in get_ion_buff_str()

123456