Home
last modified time | relevance | path

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

123456789

/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/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.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/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/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/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.rs69 .unwrap_or_else(|_| "no-prop".to_string()) in get_boot_info()
92 .unwrap_or_else(|_| "no-prop".to_string()) in get_boot_info()
110 .unwrap_or_else(|_| "1970-09-19".to_string()) in get_boot_info()
/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/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/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/google/pixel/power-libperfmgr/aidl/
DTaskRampupMultNode.cpp60 std::string tidValPair = std::to_string(tid) + ":" + std::to_string(val); in updateTaskRampupMult()
/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/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/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp593 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in keygen()
603 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in keygen()
638 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in sign()
655 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in sign()
668 ("Error beginning sign, " + std::to_string(keymintTest->getError())).c_str()); in sign()
674 state.SkipWithError(("Sign error, " + std::to_string(keymintTest->getError())).c_str()); in sign()
684 state.SkipWithError(("Skipped for STRONGBOX: Keysize: " + std::to_string(keySize) + in verify()
701 ("Key generation error, " + std::to_string(keymintTest->getError())).c_str()); in verify()
710 ("Error beginning sign, " + std::to_string(keymintTest->getError())).c_str()); in verify()
715 state.SkipWithError(("Sign error, " + std::to_string(keymintTest->getError())).c_str()); in verify()
[all …]
/hardware/google/camera/common/hal/aidl_service/
Daidl_service.cc63 std::to_string(++start_count).c_str()); in main()
65 std::to_string(kHalManifestBuildNumber).c_str()); in main()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.h83 *result_listener << "which is " << vkhpp::to_string(result);
119 << to_string(vkhpp_result_value.result); \
127 return gfxstream::unexpected("Found " + vkhpp::to_string(vkhpp_result) + " at line " + \
128 std::to_string(__LINE__)); \
136 return gfxstream::unexpected("Found " + vkhpp::to_string(vkhpp_result_value.result) + \
137 " at line " + std::to_string(__LINE__)); \
443 ret += std::string(" x:") + std::to_string(*x); in ToString()
446 ret += std::string(" y:") + std::to_string(*y); in ToString()
449 ret += std::string(" r:") + std::to_string(static_cast<int>(r)); in ToString()
450 ret += std::string(" g:") + std::to_string(static_cast<int>(g)); in ToString()
[all …]
/hardware/google/gfxstream/common/detector/
DSubprocess.cpp71 std::to_string(info.si_status)); in WaitForChild()
125 std::to_string(ret)); in WaitForChildWithTimeout()
129 "finished within " + std::to_string(timeout.count()) + in WaitForChildWithTimeout()
/hardware/interfaces/threadnetwork/aidl/default/
Dmain.cpp39 std::to_string(id)); in addThreadChip()
62 + local_interface + "&forkpty-arg=" + std::to_string(node_id); in addSimulatedThreadChip()
/hardware/interfaces/health/storage/test_common/include/health-storage-test/
Dcommon.h34 std::string to_string(std::chrono::duration<R, std::milli> time) { in to_string() function
35 return std::to_string(time.count()) + "ms"; in to_string()
/hardware/google/pixel/misc_writer/
Dmisc_writer_main.cpp183 std::to_string(timeoffset)); in main()
204 std::to_string(max_ram_size)); in main()
217 std::to_string(timertcoffset)); in main()
229 std::to_string(minrtc)); in main()
254 std::to_string(dst_transition)); in main()
266 std::to_string(dst_offset)); in main()

123456789