Home
last modified time | relevance | path

Searched refs:strName (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_userinfo.cpp46 std::string strName = NapiUtil::GetString(env, name); in IsStringEmptyOrNull() local
47 return strName.empty(); in IsStringEmptyOrNull()
57 std::string strName = NapiUtil::GetString(env, name); in SetUserId() local
58 if (!IsValidUserIdName(strName)) { in SetUserId()
64 if (HiAppEvent::UserInfo::GetInstance().RemoveUserId(strName) != 0) { in SetUserId()
93 std::string strName = NapiUtil::GetString(env, name); in GetUserId() local
94 if (!IsValidUserIdName(strName)) { in GetUserId()
114 std::string strName = NapiUtil::GetString(env, name); in SetUserProperty() local
115 if (!IsValidUserPropName(strName)) { in SetUserProperty()
150 std::string strName = NapiUtil::GetString(env, name); in GetUserProperty() local
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h62 std::string strName; variable
64 strName = SESSION_NAME_MARK_HEAD + bundleName + SESSION_NAME_SEPARATOR + moduleName +
67strName = SESSION_NAME_MARK_HEAD + bundleName + SESSION_NAME_SEPARATOR + std::to_string(appIndex) +
71 return strName;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dbusiness_error.h46 #define CHECK_STRING_EMPTY(env, str, strName) \ argument
49 … APP_LOGE("Parameter error. %{public}s is empty", (strName).c_str()); \
50 …std::string errMessage = "BusinessError 401: Parameter error. parameter " + (strName) + " is empty…
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_directory_test.cpp94 string strName = ExtractFileName(GetCurrentProcFullFileName()); variable
95 EXPECT_EQ(strBaseName, strName);
127 string strName = ExcludeTrailingPathDelimiter("data/test/UtilsDirectoryTest/"); variable
128 EXPECT_EQ(strResult, strName);
138 string strName = IncludeTrailingPathDelimiter("data/test/UtilsDirectoryTest"); variable
139 EXPECT_EQ(strResult, strName);
149 string strName = IncludeTrailingPathDelimiter(""); variable
150 EXPECT_EQ(strResult, strName);
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/
H A Ddirectory_benchmark_test.cpp108 string strName = ExtractFileName(GetCurrentProcFullFileName()); in BENCHMARK_F() local
109 AssertEqual(strBaseName, strName, "strBaseName did not equal strName as expected.", state); in BENCHMARK_F()
153 string strName = ExcludeTrailingPathDelimiter("data/test/DirectoryTest/"); in BENCHMARK_F() local
154 AssertEqual(strResult, strName, "strResult did not equal strName as expected.", state); in BENCHMARK_F()
168 string strName = IncludeTrailingPathDelimiter("data/test/DirectoryTest"); in BENCHMARK_F() local
169 AssertEqual(strResult, strName, "strResult did not equal strName as expected.", state); in BENCHMARK_F()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dability_util.h131 std::string strName; variable
133 strName = AbilityConfig::MISSION_NAME_MARK_HEAD + bundleName +
137 strName = AbilityConfig::MISSION_NAME_MARK_HEAD + bundleName +
143 return strName;
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/
H A Dsystem_ability_manager.cpp141 const std::u16string& strName, const sptr<IRemoteObject>& ability, const SAExtraProp& extraProp) in DoInsertSaData() argument
143 (void)strName; in DoInsertSaData()
/ohos5.0/foundation/systemabilitymgr/samgr/
H A DREADME_zh.md58 u16string strName = Str8ToStr16(to_string(systemAbilityId));
60 dBinderService_->RegisterRemoteProxy(strName, systemAbilityId);
H A DREADME.md58 u16string strName = Str8ToStr16(to_string(systemAbilityId));
60 dBinderService_->RegisterRemoteProxy(strName, systemAbilityId);
/ohos5.0/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server_stub.cpp376 … int32_t CheckNormalAppSessionName(const char *sessionName, pid_t callingUid, std::string &strName) in CheckNormalAppSessionName() argument
391 auto posName = strName.find("-"); in CheckNormalAppSessionName()
396 auto posId = strName.find("-", posName + 1); in CheckNormalAppSessionName()
401 … if (strcmp(bundleName.c_str(), strName.substr(posName + 1, posId - posName - 1).c_str()) != 0) { in CheckNormalAppSessionName()
405 if (strcmp(appId.c_str(), strName.substr(posId + 1).c_str()) != 0) { in CheckNormalAppSessionName()
409 strName.erase(posId); in CheckNormalAppSessionName()
428 std::string strName(sessionName); in CreateSessionServerInner() local
443 if (CheckNormalAppSessionName(sessionName, callingUid, strName) != SOFTBUS_OK) { in CreateSessionServerInner()
447 sessionName = strName.c_str(); in CreateSessionServerInner()
/ohos5.0/foundation/multimodalinput/input/service/device_manager/src/
H A Dinput_device_manager.cpp405 std::string strName(sysName); in ParseDeviceId() local
406 if (std::regex_match(strName, mr, pattern)) { in ParseDeviceId()
411 MMI_HILOGE("Parsing strName failed: \'%{public}s\'", strName.c_str()); in ParseDeviceId()
681 std::string strName = name; in IsRemote() local
682 std::string::size_type pos = strName.find(INPUT_VIRTUAL_DEVICE_NAME); in IsRemote()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dsystem_ability_manager.cpp101 u16string strName = Str8ToStr16(to_string(systemAbilityId)); in RegisterDistribute() local
102 dBinderService_->RegisterRemoteProxy(strName, systemAbilityId); in RegisterDistribute()
127 u16string strName = Str8ToStr16(to_string(said)); in InitDbinderService() local
128 dBinderService_->RegisterRemoteProxy(strName, said); in InitDbinderService()
1937 string strName = to_string(systemAbilityId); in DoMakeRemoteBinder() local
1939 SamgrXCollie samgrXCollie("samgr--MakeRemoteBinder_" + strName); in DoMakeRemoteBinder()
1940 remoteBinder = dBinderService_->MakeRemoteBinder(Str8ToStr16(strName), in DoMakeRemoteBinder()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_ui_extension.cpp357 for (auto [strName, type] : placeholderTypeTable) { in ResolveAreaPlaceholderParams()
358 JSRef<JSVal> typeContent = contentMapObj->GetProperty(strName.c_str()); in ResolveAreaPlaceholderParams()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability.cpp1382 std::string strName; in CheckAssertQueryResult() local
1383 if (queryResult->GetString(i, strName) != 0) { in CheckAssertQueryResult()
1387 if (strName.empty()) { in CheckAssertQueryResult()
1391 if (strName == strObject) { in CheckAssertQueryResult()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp1146 std::string strName(paramName); in ParseResourceStringParam() local
1147 auto iter = params.find(strName); in ParseResourceStringParam()