Home
last modified time | relevance | path

Searched refs:strFun (Results 1 - 2 of 2) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp90 uint32_t UsbDeviceManager::ConvertFromString(std::string_view strFun) in ConvertFromString() argument
92 if (strFun == UsbSrvSupport::FUNCTION_NAME_NONE) { in ConvertFromString()
96 size_t len = strFun.length(); in ConvertFromString()
104 size_t findPos = strFun.find(",", pos); in ConvertFromString()
105 if (findPos == strFun.npos) { in ConvertFromString()
106 vModeStr.push_back(strFun.substr(pos, len - pos)); in ConvertFromString()
109 vModeStr.push_back(strFun.substr(pos, findPos - pos)); in ConvertFromString()
/base/usb/usb_manager/test/tool/
H A Dusb_function_test.cpp119 string strFun = ""; in GetCurrentFunctionInfo() local
125 strFun = g_usbClient.UsbFunctionsToString(funcs); in GetCurrentFunctionInfo()
126 printf("%s:%d get current function: %s\n", __func__, __LINE__, strFun.c_str()); in GetCurrentFunctionInfo()

Completed in 2 milliseconds