/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | resource_manager.h | 37 virtual RState GetStringById(uint32_t id, std::string &outValue) = 0;
|
H A D | resource_manager_impl.h | 61 virtual RState GetStringById(uint32_t id, std::string &outValue);
|
/base/inputmethod/imf/services/src/ |
H A D | ime_info_inquirer.cpp | 446 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 D | resource_manager_test.cpp | 127 * @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 D | resource_manager_test_common.cpp | 81 RState rState = rm->GetStringById(id, outValue); in TestStringById()
|
H A D | resource_manager_performance_test.cpp | 305 rm->GetStringById(ids[i], outValue); in HWTEST_F()
|
H A D | resource_manager_test_string.cpp | 68 * @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 D | ime_info_inquirer.h | 116 std::string GetStringById(const std::string &bundleName, const std::string &moduleName, const uint32_t labelId,
|
/base/global/resource_management/interfaces/cj/src/ |
H A D | resource_manager_impl.cpp | 164 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 D | resource_manager_ffi.cpp | 331 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 D | resource_manager.h | 84 virtual RState GetStringById(uint32_t id, std::string &outValue) = 0;
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | resource_manager_test.cpp | 98 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 D | resource_manager_performance_test.cpp | 298 rm->GetStringById(ids[i], outValue); in HWTEST_F()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | resource_manager_impl.cpp | 91 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 D | resource_manager_impl.h | 118 virtual RState GetStringById(uint32_t id, std::string &outValue);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | resource_manager_impl.cpp | 71 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 D | ohos_resource_adapter_impl.cpp | 368 if (resourceManager->GetStringById(resId, result) == Global::Resource::SUCCESS) { in GetResourceString()
|
/base/global/resource_management/test/fuzztest/resmgr_fuzzer/ |
H A D | resmgr_fuzzer.cpp | 80 result = rm->GetStringById(testId, extraInfo); in GetStringByIdFuzzTest()
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_napi_async_impl.cpp | 418 RState state = resMgr->GetStringById(resId, dataContext->value_); 420 dataContext->SetErrorMsg("GetStringById failed state", true, state);
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_controller.cpp | 1895 if (resourceManager->GetStringById(resId, resourceString) == Global::Resource::SUCCESS) { in ParseJsLengthResourceToInt()
|