/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/ |
H A D | file_path_utils_test.cpp | 91 std::vector<std::string> strVector; in HWTEST_F() local 94 SplitString(longStr, strVector, pos, seps); in HWTEST_F() 95 EXPECT_TRUE(strVector.size() == 0); in HWTEST_F() 107 std::vector<std::string> strVector; in HWTEST_F() local 110 SplitString(longStr, strVector, pos, seps); in HWTEST_F() 111 EXPECT_TRUE(strVector.size() == 0); in HWTEST_F() 123 std::vector<std::string> strVector; in HWTEST_F() local 126 SplitString(longStr, strVector, pos, seps); in HWTEST_F() 127 EXPECT_TRUE(strVector.size() == 1); in HWTEST_F() 139 std::vector<std::string> strVector; in HWTEST_F() local [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_change_listener.cpp | 41 vector<string> strVector; in ParseInfo() local 42 SplitStr(strKey, "_", strVector); in ParseInfo() 43 if (strVector.size() != MAX_SPLIT_VARS) { in ParseInfo() 49 keyInfo->uuid = strVector[index++]; in ParseInfo() 51 bool ret = StrToInt(strVector[index], iValue); in ParseInfo()
|
/foundation/systemabilitymgr/safwk/services/safwk/src/ |
H A D | main.cpp | 83 std::vector<string> strVector; in SetProcName() local 84 SplitStr(filePath, "/", strVector); in SetProcName() 85 auto vectorSize = strVector.size(); in SetProcName() 87 auto& fileName = strVector[vectorSize - 1]; in SetProcName()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/src/ |
H A D | common_tool.cpp | 151 std::string CommonTool::VectorToStr(const std::vector<std::string> &strVector) in VectorToStr() argument 154 for (auto it = strVector.begin(); it != strVector.end(); it++) { in VectorToStr()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager_util.cpp | 55 vector<string> strVector;
in ParseRemoteSaName() local 56 SplitStr(Str16ToStr8(name), "_", strVector);
in ParseRemoteSaName() local 57 if (strVector.size() == SPLIT_NAME_VECTOR_SIZE) {
in ParseRemoteSaName() 58 deviceId = strVector[0];
in ParseRemoteSaName() 59 saName = Str8ToStr16(strVector[1]);
in ParseRemoteSaName()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/include/ |
H A D | common_tool.h | 34 std::string VectorToStr(const std::vector<std::string> &strVector);
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | device_status_collect_manager.cpp | 110 std::vector<std::string> strVector; in GetSaControlListByPersistEvent() local 111 SplitStr(value, "+", strVector); in GetSaControlListByPersistEvent() 112 size_t vectorSize = strVector.size(); in GetSaControlListByPersistEvent() 116 HILOGD("vector is : %{public}s", strVector[i].c_str()); in GetSaControlListByPersistEvent() 117 StringToTypeAndSaid(strVector[i], type, systemAbilityId); in GetSaControlListByPersistEvent()
|
/foundation/ability/dmsfwk/test/fuzztest/distributedschedstub_fuzzer/ |
H A D | distributedschedstub_fuzzer.cpp | 590 std::vector<std::string> strVector = {str}; in StartAbilityFromRemoteInnerFuzzTest() local 598 PARCEL_WRITE_HELPER_NORET(dataParcel, StringVector, strVector); in StartAbilityFromRemoteInnerFuzzTest() 615 std::vector<std::string> strVector = {str}; in SendResultFromRemoteInnerFuzzTest() local 623 PARCEL_WRITE_HELPER_NORET(dataParcel, StringVector, strVector); in SendResultFromRemoteInnerFuzzTest() 680 std::vector<std::string> strVector = {str}; in ConnectAbilityFromRemoteInnerFuzzTest() local 691 PARCEL_WRITE_HELPER_NORET(dataParcel, StringVector, strVector); in ConnectAbilityFromRemoteInnerFuzzTest() 841 std::vector<std::string> strVector = {str}; in StartFreeInstallFromRemoteInnerFuzzTest() local 848 PARCEL_WRITE_HELPER_NORET(dataParcel, StringVector, strVector); in StartFreeInstallFromRemoteInnerFuzzTest() 899 std::vector<std::string> strVector = {str}; in StartAbilityByCallFromRemoteInnerFuzzTest() local 908 PARCEL_WRITE_HELPER_NORET(dataParcel, StringVector, strVector); in StartAbilityByCallFromRemoteInnerFuzzTest() 988 std::vector<std::string> strVector = {str}; StopExtensionAbilityFromRemoteInnerFuzzTest() local [all...] |
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/ |
H A D | udmf.cpp | 83 static char** StrVectorToTypesArray(const std::vector<std::string>& strVector)
in StrVectorToTypesArray() argument 85 unsigned int vectorSize = strVector.size();
in StrVectorToTypesArray() 91 unsigned int strLen = strVector[i].length() + 1;
in StrVectorToTypesArray() 99 (strcpy_s(typesArray[i], strLen, strVector[i].c_str())) != EOK) {
in StrVectorToTypesArray()
|
/foundation/systemabilitymgr/samgr/frameworks/native/source/ |
H A D | system_ability_manager_proxy.cpp | 78 std::vector<std::string> strVector; in InitSamgrProxy() local 79 SplitStr(path, "/", strVector); in InitSamgrProxy() 80 auto vectorSize = strVector.size(); in InitSamgrProxy() 85 auto& fileName = strVector[vectorSize - 1]; in InitSamgrProxy()
|