Home
last modified time | relevance | path

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

123

/test/testfwk/arkxtest/uitest/record/
Dpointer_info.cpp35 data["X_POSI"] = std::to_string(firstTouchEventInfo.x); in WriteData()
36 data["Y_POSI"] = std::to_string(firstTouchEventInfo.y); in WriteData()
43 data["X2_POSI"] = lastTouchEventInfo.x != 0 ? std::to_string(lastTouchEventInfo.x) : ""; in WriteData()
44 data["Y2_POSI"] = lastTouchEventInfo.y != 0 ? std::to_string(lastTouchEventInfo.y) : ""; in WriteData()
51 data["LENGTH"] = std::to_string(stepLength); in WriteData()
52 data["MAX_VEL"] = std::to_string(MAX_VELOCITY); in WriteData()
53 data["VELO"] = std::to_string(velocity); in WriteData()
54 data["direction.X"] = std::to_string(direction.GetX()); in WriteData()
55 data["direction.Y"] = std::to_string(direction.GetY()); in WriteData()
102 data["fingerNumber"] = std::to_string(fingers.size()); in WriteData()
[all …]
Dkeyevent_tracker.cpp151 eventItems[CaseTypes::ACTION_START_TIME] = std::to_string(actionStartTime); in BuildEventItems()
152 … eventItems[CaseTypes::ACTION_DURATION_TIME] = std::to_string(actionUpTime - actionStartTime); in BuildEventItems()
154 eventItems[CaseTypes::KEY_ITEMS_COUNT] = std::to_string(infos_.size()+1); in BuildEventItems()
156 eventItems[CaseTypes::KEY_CODE1+i] = std::to_string(infos_[i].GetKeyCode()); in BuildEventItems()
158 eventItems[CaseTypes::KEY_CODE1+infos_.size()] = std::to_string(info.GetKeyCode()); in BuildEventItems()
167 eventItems[CaseTypes::ACTION_START_TIME] = std::to_string(actionStartTime); in BuildEventItems()
168 … eventItems[CaseTypes::ACTION_DURATION_TIME] = std::to_string(actionUpTime - actionStartTime); in BuildEventItems()
170 eventItems[CaseTypes::KEY_ITEMS_COUNT] = std::to_string(infos_.size()); in BuildEventItems()
172 eventItems[CaseTypes::KEY_CODE1+i] = std::to_string(infos_[i].GetKeyCode()); in BuildEventItems()
180 std::cout << std::to_string(infos_[i].GetKeyCode()) << ","; in PrintEventItems()
Dmatrix3.h76 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
140 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
199 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
/test/xts/device_attest/interfaces/innerkits/native_cpp/test/unittest/src/
Ddevattest_test.cpp40 failString += string(" authResult is ") + to_string(attestResultInfo.authResult_); in AttestStatusValid()
44 failString += string(" softwareResult is ") + to_string(attestResultInfo.softwareResult_); in AttestStatusValid()
49 …failString += string(" versionResult is ") + to_string(softwareResultArray[SOFTWARE_RESULT_VERSION… in AttestStatusValid()
53 …failString += string(" patchResult is ") + to_string(softwareResultArray[SOFTWARE_RESULT_PATCHLEVE… in AttestStatusValid()
57 …failString += string(" roothashResult is ") + to_string(softwareResultArray[SOFTWARE_RESULT_ROOTHA… in AttestStatusValid()
61 … failString += string(" pcidResult is ") + to_string(softwareResultArray[SOFTWARE_RESULT_PCID]); in AttestStatusValid()
65 … failString += string(" reserveResult is ") + to_string(softwareResultArray[SOFTWARE_RESULT_PCID]); in AttestStatusValid()
70 failString += string(" ticketLength is ") + to_string(attestResultInfo.ticketLength_); in AttestStatusValid()
/test/xts/acts/xts_lite/device_attest_lite/device_attestQuerry_posix/src/
Ddevice_attest_querry.cpp51 failString += string(" authResult is ") + to_string(attestResultInfo.authResult); in AttestStatusValid()
55 … failString += string(" softwareResult is ") + to_string(attestResultInfo.softwareResult); in AttestStatusValid()
60 … + to_string(attestResultInfo.softwareResultDetail[SOFTWARE_RESULT_VERSIONID]); in AttestStatusValid()
65 … + to_string(attestResultInfo.softwareResultDetail[SOFTWARE_RESULT_PATCHLEVEL]); in AttestStatusValid()
70 … + to_string(attestResultInfo.softwareResultDetail[SOFTWARE_RESULT_ROOTHASH]); in AttestStatusValid()
75 + to_string(attestResultInfo.softwareResultDetail[SOFTWARE_RESULT_PCID]); in AttestStatusValid()
80 … + to_string(attestResultInfo.softwareResultDetail[SOFTWARE_RESULT_RESERVE]); in AttestStatusValid()
86 + to_string(attestResultInfo.ticketLength); in AttestStatusValid()
/test/xts/acts/ai_lite/ai_engine_posix/base/src/aie_client/
DAieClientDestroyFunctionTest.cpp60 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientDestroy()
61 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientDestroy()
135 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << …
136 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId)
DAieClientSetOptionFunctionTest.cpp69 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientSetOption()
70 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSetOption()
90 … std::string setOptionString = std::string(INPUT_INFO_SET_OPTION) + "_" + std::to_string(i + 1); in TestAieClientSetOption()
161 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientSetOptionWithoutPrepare()
162 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSetOptionWithoutPrepare()
DAieClientInitFunctionTest.cpp67 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientInit()
68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientInit()
DAieClientSyncProcessShareMemoryFunctionTest.cpp67 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientSyncProcess()
68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSyncProcess()
DAieClientSyncProcessFunctionTest.cpp67 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientSyncProcess()
68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSyncProcess()
DAieClientAsyncProcessFunctionTest.cpp72 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientAsyncProcess()
73 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientAsyncProcess()
DAieClientReleaseFunctionTest.cpp61 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientRelease()
62 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientRelease()
DAieClientPrepareFunctionTest.cpp67 …EXPECT_EQ(true, clientInfo.clientId > 0) << "clientId(" << std::to_string(clientInfo.clientId) << … in TestAieClientPrepare()
68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientPrepare()
/test/testfwk/arkxtest/uitest/server/
Delement_node_iterator_impl.cpp167 std::to_string(elementInfoLists_[currentIndex_].GetAccessibilityId()).data()); in VisitNodeByChildAndBrother()
182 std::to_string(elementInfoLists_[parentIndex].GetAccessibilityId()).data()); in VisitNodeByChildAndBrother()
195 std::to_string(elementInfoLists_[currentIndex_].GetAccessibilityId()).data()); in VisitChildren()
233 std::to_string(parentModel.GetChildId(i + 1)).data(), in VisitBrother()
234 … std::to_string(elementInfoLists_[tempChildIndex + 1].GetAccessibilityId()).data()); in VisitBrother()
247 widget.SetAttr(UiAttr::ACCESSIBILITY_ID, std::to_string(element.GetAccessibilityId())); in WrapperNodeAttrToVec()
264 widget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(element.GetWindowId())); in WrapperNodeAttrToVec()
/test/ostest/wukong/report/src/
Dstatistics_exception.cpp60 line.push_back(std::to_string(curExceptionTypeCount)); in StatisticsDetail()
74 line = {"total", std::to_string(exceptionTotal_), "100%"}; in StatisticsDetail()
Dreport.cpp267 timeStr = std::to_string(currentTime); in GroupFocusDataAndRecord()
269 item += std::to_string(taskCount_) + ","; in GroupFocusDataAndRecord()
274 item += std::to_string(inputCompMsgPtr->startX_) + ","; in GroupFocusDataAndRecord()
275 item += std::to_string(inputCompMsgPtr->startY_) + ","; in GroupFocusDataAndRecord()
276 item += std::to_string(inputCompMsgPtr->endX_) + ","; in GroupFocusDataAndRecord()
277 item += std::to_string(inputCompMsgPtr->endY_) + ","; in GroupFocusDataAndRecord()
566 data["inputedTimes"] = std::to_string(componmentTypeInputedCount); in ComponmentInfoArrange()
567 data["componmentTotals"] = std::to_string(componmentTypeTotal); in ComponmentInfoArrange()
Dstatistics_ability.cpp99 …std::string inputedAbilityCount = std::to_string(abilityStatisticsRecordPtr->inputedAbilityCount_); in UpdateLine()
100 std::string abilitiesCount = std::to_string(abilityStatisticsRecordPtr->abilitiesCount_); in UpdateLine()
Dstatistics_componment.cpp129 std::string curExecTimes = std::to_string(ComponmentStatisticsRecordPtr->execTimes_); in UpdateLine()
131 std::string curInputedTimes = std::to_string(ComponmentStatisticsRecordPtr->inputedTimes_); in UpdateLine()
132 …std::string curExpectInputTimes = std::to_string(ComponmentStatisticsRecordPtr->expectInputTimes_); in UpdateLine()
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/
Dhdi_battery_test.cpp382 …std::string writeChargeInfo = scLimit.protocol + " " + std::to_string(scLimit.value) + "\n" + buck…
383 … " " + std::to_string(buckLimit.value) + "\n" + testLimit.protocol + " " +
384 std::to_string(testLimit.value) + "\n";
423 …std::string writeVoltageInfo = scLimit.protocol + " " + std::to_string(scLimit.value) + "\n" + buc…
424 … " " + std::to_string(buckLimit.value) + "\n" + testLimit.protocol + " " +
425 std::to_string(testLimit.value) + "\n";
/test/xts/device_attest/interfaces/kits/napi/include/
Ddevattest_napi.h32 napi_throw_error((env), std::to_string(jsErrCode).c_str(), jsErrMsg.c_str()); \
/test/ostest/wukong/test_flow/src/
Dfocus_test_flow.cpp210 Report::GetInstance()->SetSeed(std::to_string(seedArgs_)); in EnvInit()
212 TEST_RUN_LOG(("Seed: " + std::to_string(seedArgs_)).c_str()); in EnvInit()
294 TEST_RUN_LOG(("Interval: " + std::to_string(intervalArgs_)).c_str()); in SetRunningParam()
450 TEST_RUN_LOG(("Count: " + std::to_string(countArgs_)).c_str()); in CheckArgument()
463 TEST_RUN_LOG(("Time: " + std::to_string(totalTime_)).c_str()); in CheckArgument()
/test/ostest/wukong/common/src/
Devent_monitor.cpp44 … DEBUG_LOG_STR("OnAccessibilityEvent Start %s", std::to_string(eventInfo.GetEventType()).c_str()); in OnAccessibilityEvent()
/test/testfwk/arkxtest/uitest/core/
Dui_model.cpp130 return string(parentWidgetHierarchy) + string(HIERARCHY_SEPARATOR) + to_string(childIndex); in Build()
158 return string(hierarchy) + string(HIERARCHY_SEPARATOR) + to_string(childIndex); in GetChildHierarchy()
Dselect_strategy.cpp184 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode()
220 myselfWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNodeAfterAnchor()
272 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode()
346 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode()
387 myselfWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNodeWithInAnchor()
441 myselfWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode()
496 myselfWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode()
/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_common.h34 using std::to_string;

123