Home
last modified time | relevance | path

Searched refs:emptyStr (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/test/commonfuzztest/authenticatedevice_fuzzer/
H A Dauthenticate_device_fuzzer.cpp301 DeviceManagerImpl::GetInstance().GetDeviceInfo(emptyStr, emptyStr, info); in AuthenticateDeviceFourthFuzzTest()
346 DeviceManagerImpl::GetInstance().SetUserOperation(emptyStr, 1, emptyStr); in AuthenticateDeviceFifthFuzzTest()
349 DeviceManagerImpl::GetInstance().RegisterDevStateCallback(emptyStr, emptyStr); in AuthenticateDeviceFifthFuzzTest()
350 DeviceManagerImpl::GetInstance().UnRegisterDevStateCallback(emptyStr, emptyStr); in AuthenticateDeviceFifthFuzzTest()
354 DeviceManagerImpl::GetInstance().ImportCredential(emptyStr, emptyStr); in AuthenticateDeviceFifthFuzzTest()
355 DeviceManagerImpl::GetInstance().DeleteCredential(emptyStr, emptyStr); in AuthenticateDeviceFifthFuzzTest()
358 DeviceManagerImpl::GetInstance().NotifyEvent(emptyStr, 1, emptyStr); in AuthenticateDeviceFifthFuzzTest()
362 … DeviceManagerImpl::GetInstance().GenerateEncryptedUuid(emptyStr, emptyStr, emptyStr, g_returnStr); in AuthenticateDeviceFifthFuzzTest()
363 DeviceManagerImpl::GetInstance().BindDevice(emptyStr, 1, emptyStr, emptyStr, nullptr); in AuthenticateDeviceFifthFuzzTest()
364 DeviceManagerImpl::GetInstance().UnBindDevice(emptyStr, emptyStr); in AuthenticateDeviceFifthFuzzTest()
[all …]
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
H A Dsec_comp_kit_test.cpp40 std::string emptyStr = ""; in TestInCallerNotCheckList() local
41 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerNotCheckList()
42 int updateRes = SecCompKit::UpdateSecurityComponent(scId, emptyStr); in TestInCallerNotCheckList()
44 …int reportRes = SecCompKit::ReportSecurityComponentClickEvent(scId, emptyStr, click, nullptr, std:… in TestInCallerNotCheckList()
55 std::string emptyStr = ""; in TestInCallerCheckList() local
56 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerCheckList()
57 int updateRes = SecCompKit::UpdateSecurityComponent(scId, emptyStr); in TestInCallerCheckList()
59 …int reportRes = SecCompKit::ReportSecurityComponentClickEvent(scId, emptyStr, click, nullptr, std:… in TestInCallerCheckList()
/ohos5.0/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp39 string emptyStr = Utils::Trim(""); variable
40 EXPECT_STREQ(emptyStr.c_str(), "");
41 emptyStr = Utils::Trim(" ");
42 EXPECT_STREQ(emptyStr.c_str(), "");
43 emptyStr = Utils::Trim("aa ");
44 EXPECT_STREQ(emptyStr.c_str(), "aa");
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_extend_resource_manager_test/
H A Dbms_extend_resource_manager_test.cpp372 std::string emptyStr; variable
373 auto ret = impl.EnableDynamicIcon(emptyStr, emptyStr);
376 ret = impl.EnableDynamicIcon(TEST_BUNDLE, emptyStr);
391 std::string emptyStr; variable
392 auto ret = impl.DisableDynamicIcon(emptyStr);
407 std::string emptyStr; variable
409 auto ret = impl.GetDynamicIcon(emptyStr, moudleName);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/disabledynamicicon_fuzzer/
H A Ddisabledynamicicon_fuzzer.cpp28 std::string emptyStr; in fuzzelDisableDynamicIconCaseOne() local
29 auto ret = impl.DisableDynamicIcon(emptyStr); in fuzzelDisableDynamicIconCaseOne()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_utils_ffi_test/
H A Dcj_utils_ffi_test.cpp58 std::string emptyStr = ""; variable
59 const char* result1 = CreateCStringFromString(emptyStr);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/getdynamicicon_fuzzer/
H A Dgetdynamicicon_fuzzer.cpp28 std::string emptyStr; in fuzzelGetDynamicIconCaseOne() local
30 auto ret = impl.GetDynamicIcon(emptyStr, moudleName); in fuzzelGetDynamicIconCaseOne()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/log/
H A Dace_log.cpp43 string emptyStr(""); in PrintInfo() local
44 ReplaceHiLogPrivacyKeyWords(originalStr, toBeReplacedStr, emptyStr); in PrintInfo()
/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch1_test.cpp416 std::string emptyStr = ""; variable
421 …elayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(emptyStr, emptyStr, formatNumbe…
423 …dSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(phoneNumber, emptyStr, formatNumber),
429 …Singleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(emptyStr, emptyStr, formatNumbe…
432 …eton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(phoneNumber, emptyStr, formatNumber),
437 emptyStr, emptyStr, formatNumber), TELEPHONY_ERR_SUCCESS);
439 emptyStr, emptyStr, formatNumber), TELEPHONY_ERR_SUCCESS);
453 std::string emptyStr = ""; variable
456 …elayedSingleton<CallNumberUtils>::GetInstance()->QueryNumberLocationInfo(numberLocation, emptyStr),
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1758 std::string emptyStr("ff"); variable
1763 want_->SetParam(emptyStr, firstValue);
1764 want_->SetParam(emptyStr, firstValue);
1768 want_->SetParam(emptyStr, thirdValue);
1868 std::string emptyStr("jj"); variable
1875 want_->SetParam(emptyStr, firstValue);
2325 std::string emptyStr("hh"); variable
2431 std::string emptyStr("bb"); variable
2875 std::string emptyStr("bb"); variable
2989 std::string emptyStr("cc"); variable
[all …]
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp2124 std::string emptyStr("ff"); variable
2129 want_->SetParam(emptyStr, firstValue);
2130 want_->SetParam(emptyStr, firstValue);
2134 want_->SetParam(emptyStr, thirdValue);
2229 std::string emptyStr("jj"); variable
2236 want_->SetParam(emptyStr, firstValue);
2669 std::string emptyStr("hh"); variable
2772 std::string emptyStr("bb"); variable
3201 std::string emptyStr("bb"); variable
3311 std::string emptyStr("cc"); variable
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/
H A Djs.cpp60 char *emptyStr = static_cast<char *>(ace_malloc(sizeof(char))); in Value() local
61 if (emptyStr == nullptr) { in Value()
64 emptyStr[0] = '\0'; in Value()
65 return emptyStr; in Value()
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_part_test.cpp240 std::string emptyStr = ""; variable
243 interfaceManager->TextBasedSmsDelivery(dataStr, emptyStr, dataStr, callStub, deliveryStub);
244 interfaceManager->TextBasedSmsDelivery(dataStr, dataStr, emptyStr, callStub, deliveryStub);
245 …int32_t result = interfaceManager->TextBasedSmsDelivery(dataStr, emptyStr, emptyStr, callStub, del…
250 …interfaceManager->DataBasedSmsDelivery(dataStr, emptyStr, 0, data, dataStr.size(), callStub, deliv…
/ohos5.0/base/update/updater/services/ui/language/
H A Dlanguage_ui.cpp140 static std::string emptyStr; in Translate() local
147 return emptyStr; in Translate()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_meta_data_test.cpp249 const std::string emptyStr = ""; variable
250 EXPECT_TRUE(str.compare(0, str.length(), emptyStr) == 0);
375 const std::string emptyStr = ""; variable
376 EXPECT_TRUE(str.compare(0, str.length(), emptyStr) == 0);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v2_test/
H A Dfscrypt_key_v2_test.cpp88 std::string emptyStr; variable
90 EXPECT_FALSE(g_testKeyV2.ActiveKey(flag, emptyStr));
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_common_test.cpp790 const std::string emptyStr = ""; variable
791 EXPECT_TRUE(str.compare(0, str.length(), emptyStr) == 0);
798 EXPECT_TRUE(str1.compare(0, str1.length(), emptyStr) != 0);
800 EXPECT_TRUE(str2.compare(0, str2.length(), emptyStr) == 0);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp913 const uint8_t* emptyStr = reinterpret_cast<const uint8_t*>(""); variable
914 size_t size = MUtf8ToUtf16Size(emptyStr, 0);
1081 std::string emptyStr = ""; variable
1082 ConvertIllegalStr(emptyStr);
1083 EXPECT_FALSE(IsUTF8(emptyStr));
1084 EXPECT_EQ(emptyStr, "");
/ohos5.0/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/
H A Dcpp_code_emitter_test.cpp153 const String emptyStr, expectStr; variable
154 EXPECT_EQ(codeEmitter.MacroName(emptyStr), expectStr);
730 const String emptyStr, expectStr; variable
731 EXPECT_EQ(codeEmitter.ConstantName(emptyStr), expectStr);
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dfeature_ability_module.cpp87 const char * const emptyStr = ""; in SyncFailCallback() local
91 args[0] = jerry_create_string(reinterpret_cast<const jerry_char_t *>(emptyStr)); in SyncFailCallback()
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
H A Ddlp_permission_service.cpp814 std::string emptyStr = ""; in CleanSandboxAppConfig() local
815 return SandboxConfigOperate(emptyStr, SandboxConfigOperationEnum::CLEAN); in CleanSandboxAppConfig()
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp519 string emptyStr = ""; variable
523 Split(emptyStr, sep, dest);
1416 std::string emptyStr = ""; variable
1417 icu::UnicodeString emptyRegex(emptyStr.c_str());
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test.cpp408 const std::u16string emptyStr = Str8ToStr16(""); variable