Home
last modified time | relevance | path

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

12345678910>>...12

/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/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_to_string.hpp29 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) in to_string() function
64 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) in to_string() function
87 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) in to_string() function
106 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags ) in to_string() function
111 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) in to_string() function
124 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) in to_string() function
140 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) in to_string() function
154 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) in to_string() function
171 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) in to_string() function
176 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) in to_string() function
[all …]
Dvulkan_to_string.hpp29 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) in to_string() function
72 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) in to_string() function
101 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) in to_string() function
134 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value ) in to_string() function
145 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) in to_string() function
157 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) in to_string() function
176 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) in to_string() function
196 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) in to_string() function
213 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) in to_string() function
218 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) in to_string() function
[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/google/pixel/vibrator/drv2624/tests/
Dtest-hwcal.cpp85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
150 EXPECT_TRUE(SetProperty(prefix + "long.frequency.shift", std::to_string(expect))); in TEST_F()
176 EXPECT_TRUE(SetProperty(prefix + "short.voltage", std::to_string(expect))); in TEST_F()
202 EXPECT_TRUE(SetProperty(prefix + "long.voltage", std::to_string(expect))); in TEST_F()
228 EXPECT_TRUE(SetProperty(prefix + "click.duration", std::to_string(expect))); in TEST_F()
254 EXPECT_TRUE(SetProperty(prefix + "tick.duration", std::to_string(expect))); in TEST_F()
291 EXPECT_TRUE(SetProperty(prefix + "heavyclick.duration", std::to_string(expect))); in TEST_F()
313 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F()
314 std::to_string(std::rand()); in TEST_F()
356 std::string autocalExpect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + in TEST_F()
[all …]
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-hwcal.cpp75 std::string expect = std::to_string(randInput); in TEST_F()
76 std::string actual = std::to_string(~randInput); in TEST_F()
96 std::string expect = std::to_string(randInput); in TEST_F()
97 std::string actual = std::to_string(~randInput); in TEST_F()
117 std::string expect = std::to_string(randInput); in TEST_F()
118 std::string actual = std::to_string(~randInput); in TEST_F()
285 std::string f0Expect = std::to_string(randInput); in TEST_F()
286 std::string f0Actual = std::to_string(~randInput); in TEST_F()
288 std::string redcExpect = std::to_string(randInput); in TEST_F()
289 std::string redcActual = std::to_string(~randInput); in TEST_F()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp269 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
286 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
311 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
312 std::to_string(invalidOperandType); in mutateOperandTypeTest()
340 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
341 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
369 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
370 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
400 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
401 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateModel.cpp289 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
306 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
331 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
332 std::to_string(invalidOperandType); in mutateOperandTypeTest()
362 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
363 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
392 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
393 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
424 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
425 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
DMessageDefinition.cpp26 if (count(std::nullopt) == 0) return {std::to_string(nla_type)}; in operator []()
29 definition.name += std::to_string(nla_type); in operator []()
59 if (it == mMessageDetails.end()) return {std::to_string(msgtype), MessageGenre::Unknown}; in getMessageDetails()
67 return {std::to_string(msgtype), protocols::MessageGenre::Unknown}; in getMessageDetails()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp328 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
345 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
370 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
371 std::to_string(invalidOperandType); in mutateOperandTypeTest()
412 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
413 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
450 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
451 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
493 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
494 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp98 LOG(INFO) << "Uploading metrics at time " << std::to_string(time) << " w/ " in uploadMetrics()
99 << std::to_string(num_samples_) << " samples"; in uploadMetrics()
111 std::string log_min = "min-" + std::to_string(metric) + " "; in uploadMetrics()
112 std::string log_max = "max-" + std::to_string(metric) + " "; in uploadMetrics()
114 log_min += std::to_string(min_[metric][j]) + " "; in uploadMetrics()
115 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
140 LOG(INFO) << "Recording a sample at time " << std::to_string(time); in recordSample()
/hardware/google/pixel/vibrator/cs40l25/bench/
Dbenchmark.cpp56 {"duration", std::to_string((uint32_t)std::rand() ?: 1)}, in SetUp()
57 {"device/asp_enable", std::to_string(0)}, in SetUp()
58 {"device/cp_trigger_duration", std::to_string(0)}, in SetUp()
59 {"device/num_waves", std::to_string(10)}, in SetUp()
60 {"device/vibe_state", std::to_string(0)}, in SetUp()
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp213 .WillByDefault(DoAll(SetArgPointee<1>(std::to_string(1000)), Return(true))); in initTo1000sConnectedCapacityReached()
219 DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in initToActive()
263 .WillOnce(DoAll(SetArgPointee<1>(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + 1)), in TEST_F()
278 .WillOnce(DoAll(SetArgPointee<1>(std::to_string(time_expected)), Return(true))); in TEST_F()
284 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(time_expected), in TEST_F()
298 .WillOnce(DoAll(SetArgPointee<1>(std::to_string(0)), Return(true))); in TEST_F()
330 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS), in TEST_F()
336 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(DEFAULT_TIME_TO_ACTIVATE_SECONDS + in TEST_F()
357 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(70), kPathStartLevel, _)); in TEST_F()
358 EXPECT_CALL(*mock, WriteStringToFile(std::to_string(80), kPathStopLevel, _)); in TEST_F()
[all …]
/hardware/interfaces/security/keymint/aidl/default/hal/
Dlib.rs58 .unwrap_or_else(|_| "no-prop".to_string()) in get_boot_info()
69 .unwrap_or_else(|_| "no-prop".to_string()) in get_boot_info()
87 .unwrap_or_else(|_| "1970-09-19".to_string()) in get_boot_info()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DPowerStatsPresentProfileTokenGenerator.cpp40 return std::to_string(mPowerStatsProfile->mWidth); in generateWidthToken()
47 return std::to_string(mPowerStatsProfile->mHeight); in generateHeightToken()
57 return std::to_string(mPowerStatsProfile->mFps); in generateFpsToken()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp345 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
363 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
389 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
390 std::to_string(invalidOperandType); in mutateOperandTypeTest()
431 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
432 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
471 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
472 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
515 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
516 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp382 std::to_string(operation) + " is a reader"; in mutateExecutionOrderTest()
400 std::to_string(operation) + " is a writer"; in mutateExecutionOrderTest()
424 std::to_string(operand) + " set to value " + in mutateOperandTypeTest()
425 std::to_string(invalidOperandType); in mutateOperandTypeTest()
466 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest()
467 " has rank of " + std::to_string(invalidRank); in mutateOperandRankTest()
506 const std::string message = "mutateOperandScaleTest: operand " + std::to_string(operand) + in mutateOperandScaleTest()
507 " has scale of " + std::to_string(invalidScale); in mutateOperandScaleTest()
550 std::to_string(operand) + " has zero point of " + in mutateOperandZeroPointTest()
551 std::to_string(invalidZeroPoint); in mutateOperandZeroPointTest()
[all …]
/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()
121 auto name = std::to_string(rand()); in TEST_F()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp592 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in keygen()
602 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in keygen()
637 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in sign()
654 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in sign()
667 ("Error beginning sign, " + std::to_string(keymintTest->getError())).c_str()); in sign()
673 state.SkipWithError(("Sign error, " + std::to_string(keymintTest->getError())).c_str()); in sign()
683 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in verify()
700 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in verify()
709 ("Error beginning sign, " + std::to_string(keymintTest->getError())).c_str()); in verify()
714 state.SkipWithError(("Sign error, " + std::to_string(keymintTest->getError())).c_str()); in verify()
[all …]
/hardware/interfaces/boot/aidl/default/
DBootControl.cpp99 INVALID_SLOT, (std::string("Invalid slot ") + std::to_string(in_slot)).c_str()); in isSlotBootable()
108 INVALID_SLOT, (std::string("Invalid slot ") + std::to_string(in_slot)).c_str()); in isSlotMarkedSuccessful()
125 INVALID_SLOT, (std::string("Invalid slot ") + std::to_string(in_slot)).c_str()); in setActiveBootSlot()
137 INVALID_SLOT, (std::string("Invalid slot ") + std::to_string(in_slot)).c_str()); in setSlotAsUnbootable()
/hardware/google/pixel/misc_writer/
Dmisc_writer_main.cpp169 std::to_string(timeoffset)); in main()
190 std::to_string(max_ram_size)); in main()
203 std::to_string(timertcoffset)); in main()
215 std::to_string(minrtc)); in main()
244 std::to_string(dst_transition)); in main()
256 std::to_string(dst_offset)); in main()
/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()

12345678910>>...12