Home
last modified time | relevance | path

Searched refs:GetStringById (Results 1 - 20 of 20) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dresource_manager.h37 virtual RState GetStringById(uint32_t id, std::string &outValue) = 0;
H A Dresource_manager_impl.h61 virtual RState GetStringById(uint32_t id, std::string &outValue);
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp446 subProp.label = GetStringById(extInfo->bundleName, extInfo->moduleName, extInfo->labelId, userId); in GetSubProperty()
466 subProperty.label = GetStringById(extInfo.bundleName, extInfo.moduleName, extInfo.labelId, userId); in ListInputMethodSubtype()
512 subProp.label = GetStringById(extInfo.bundleName, extInfo.moduleName, subProp.labelId, userId); in GetSubProperty()
559 auto errValue = resMgr->GetStringById(subProp.labelId, subProp.label); in ListInputMethodSubtype()
561 IMSA_HILOGE("GetStringById failed, bundleName:%{public}s, id:%{public}d.", extInfo.bundleName.c_str(), in ListInputMethodSubtype()
627 std::string ImeInfoInquirer::GetStringById(const std::string &bundleName, const std::string &moduleName, in GetStringById() function in OHOS::MiscServices::ImeInfoInquirer
631 return bundleMgr == nullptr ? "" : bundleMgr->GetStringById(bundleName, moduleName, labelId, userId); in GetStringById()
1176 return GetStringById(extension.bundleName, extension.moduleName, extension.labelId, userId); in GetTargetString()
1179 return GetStringById(extension.bundleName, extension.applicationInfo.labelResource.moduleName, in GetTargetString()
1184 return GetStringById(extensio in GetTargetString()
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_test.cpp127 * @tc.desc: Test GetStringById function
142 * @tc.desc: Test GetStringById function
307 rm->GetStringById(id, outValue); in HWTEST_F()
312 rm->GetStringById(id, outValue); in HWTEST_F()
1071 * @tc.desc: Test GetStringById, to match pointingdevice directory which rc is set
1096 rState = rm->GetStringById(id, outValue); in HWTEST_F()
1103 * @tc.desc: Test GetStringById, to match base directory which rc is not set
1128 rState = rm->GetStringById(id, outValue); in HWTEST_F()
1135 * @tc.desc: Test GetStringById, to match zh_CN-phone-pointingdevice directory which rc is set
1160 rState = rm->GetStringById(i in HWTEST_F()
[all...]
H A Dresource_manager_test_common.cpp81 RState rState = rm->GetStringById(id, outValue); in TestStringById()
H A Dresource_manager_performance_test.cpp305 rm->GetStringById(ids[i], outValue); in HWTEST_F()
H A Dresource_manager_test_string.cpp68 * @tc.desc: Test GetStringById function
86 * @tc.desc: Test GetStringById function
104 * @tc.desc: Test GetStringById function
112 RState state = rm->GetStringById(NON_EXIST_ID, outValue); in HWTEST_F()
118 * @tc.desc: Test GetStringById function
134 * @tc.desc: Test GetStringById function
/base/inputmethod/imf/services/include/
H A Dime_info_inquirer.h116 std::string GetStringById(const std::string &bundleName, const std::string &moduleName, const uint32_t labelId,
/base/global/resource_management/interfaces/cj/src/
H A Dresource_manager_impl.cpp164 RState state = resMgr_->GetStringById(resId, outValue); in GetString()
166 LOGE("ResourceManagerImpl::GetStringById failed %{public}" PRIu32, state); in GetString()
168 LOGI("ResourceManagerImpl::GetStringById success"); in GetString()
177 LOGE("ResourceManagerImpl::GetStringById failed %{public}" PRIu32, state); in GetStringByName()
179 LOGI("ResourceManagerImpl::GetStringById success"); in GetStringByName()
H A Dresource_manager_ffi.cpp331 ret.code = resMgr->GetStringById(resId, value); in CJ_GetStringByResource()
333 LOGE("ResourceManagerImpl::GetStringById failed %{public}" PRIu32, ret.code); in CJ_GetStringByResource()
336 LOGI("ResourceManagerImpl::GetStringById success"); in CJ_GetStringByResource()
/base/global/resource_management/interfaces/inner_api/include/
H A Dresource_manager.h84 virtual RState GetStringById(uint32_t id, std::string &outValue) = 0;
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_test.cpp98 rState = rm->GetStringById(id, outValue); in TestStringById()
378 * @tc.desc: Test GetStringById function
396 * @tc.desc: Test GetStringById function
414 * @tc.desc: Test GetStringById function
422 RState state = rm->GetStringById(NON_EXIST_ID, outValue); in HWTEST_F()
H A Dresource_manager_performance_test.cpp298 rm->GetStringById(ids[i], outValue); in HWTEST_F()
/base/global/resource_management/frameworks/resmgr/src/
H A Dresource_manager_impl.cpp91 RState ResourceManagerImpl::GetStringById(uint32_t id, std::string &outValue) in GetStringById() function in OHOS::Global::Resource::ResourceManagerImpl
95 RESMGR_HILOGE(RESMGR_TAG, "GetStringById error id = %{public}d", id); in GetStringById()
151 RState state = GetStringById(id, outValue); in GetStringFormatById()
1526 RState state = GetStringById(id, outValue); in GetStringFormatById()
/base/global/resource_management/frameworks/resmgr/include/
H A Dresource_manager_impl.h118 virtual RState GetStringById(uint32_t id, std::string &outValue);
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp71 RState ResourceManagerImpl::GetStringById(uint32_t id, std::string &outValue) in GetStringById() function in OHOS::Global::Resource::ResourceManagerImpl
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp368 if (resourceManager->GetStringById(resId, result) == Global::Resource::SUCCESS) { in GetResourceString()
/base/global/resource_management/test/fuzztest/resmgr_fuzzer/
H A Dresmgr_fuzzer.cpp80 result = rm->GetStringById(testId, extraInfo); in GetStringByIdFuzzTest()
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_async_impl.cpp418 RState state = resMgr->GetStringById(resId, dataContext->value_);
420 dataContext->SetErrorMsg("GetStringById failed state", true, state);
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_controller.cpp1895 if (resourceManager->GetStringById(resId, resourceString) == Global::Resource::SUCCESS) { in ParseJsLengthResourceToInt()

Completed in 31 milliseconds