Home
last modified time | relevance | path

Searched refs:GetJsonProfile (Results 1 - 25 of 29) sorted by relevance

12

/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_utils_test/
H A Dinsight_intent_utils_test.cpp127 EXPECT_CALL(*mockBundleMgr, GetJsonProfile(testing::_, testing::_, testing::_, testing::_, testing::_)) in HWTEST_F()
158 EXPECT_CALL(*mockBundleMgr, GetJsonProfile(testing::_, testing::_, testing::_, testing::_, testing::_)) in HWTEST_F()
165 EXPECT_CALL(*mockBundleMgr, GetJsonProfile(testing::_, testing::_, testing::_, testing::_, testing::_)) in HWTEST_F()
185 EXPECT_CALL(*mockBundleMgr, GetJsonProfile(testing::_, testing::_, testing::_, testing::_, testing::_)) in HWTEST_F()
207 EXPECT_CALL(*mockBundleMgr, GetJsonProfile(testing::_, testing::_, testing::_, testing::_, testing::_)) in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dinsight_intent_utils.cpp73 auto ret = IN_PROCESS_CALL(bundleMgrHelper->GetJsonProfile(AppExecFwk::INTENT_PROFILE, bundleName, moduleName, in GetSrcEntry()
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnetwork_security_config.h87 std::string GetJsonProfile();
/foundation/communication/netmanager_base/utils/bundle_utils/src/
H A Dnet_bundle_impl.cpp55 ret = bundleMgrProxy->GetJsonProfile(AppExecFwk::ProfileType::NETWORK_PROFILE, in GetJsonFromBundle()
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_bundle_manager_proxy.h48 MOCK_METHOD5(GetJsonProfile, ErrCode(AppExecFwk::ProfileType, const std::string&, const std::string&,
H A Dmock_bundle_manager_service.h50 MOCK_METHOD5(GetJsonProfile, ErrCode(AppExecFwk::ProfileType, const std::string&, const std::string&,
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp158 DECLARE_NAPI_FUNCTION("getJsonProfile", GetJsonProfile), in BundleManagerExport()
H A Dbundle_manager.h330 napi_value GetJsonProfile(napi_env env, napi_callback_info info);
H A Dbundle_manager.cpp99 const std::string GET_JSON_PROFILE = "GetJsonProfile";
4726 napi_value GetJsonProfile(napi_env env, napi_callback_info info) in GetJsonProfile() function
4728 APP_LOGD("GetJsonProfile napi called"); in GetJsonProfile()
4744 iBundleMgr->GetJsonProfile(static_cast<ProfileType>(profileType), bundleName, moduleName, profile, userId)); in GetJsonProfile()
4746 APP_LOGD("napi GetJsonProfile err:%{public}d -n %{public}s", ret, bundleName.c_str()); in GetJsonProfile()
4754 APP_LOGD("call GetJsonProfile done"); in GetJsonProfile()
/foundation/multimedia/av_session/services/session/adapter/
H A Dbundle_status_adapter.cpp173 auto ret = bundleMgrProxy->GetJsonProfile(AppExecFwk::ProfileType::INTENT_PROFILE, bundleName, module, in IsSupportPlayIntent()
176 SLOGI("GetJsonProfile success, profile=%{public}s", profile.c_str()); in IsSupportPlayIntent()
H A Davsession_dynamic_insight.cpp104 auto ret = bundleMgrProxy->GetJsonProfile(AppExecFwk::ProfileType::INTENT_PROFILE, bundleName, module, in IsSupportPlayIntent()
107 SLOGI("GetJsonProfile success, profile=%{public}s", profile.c_str()); in IsSupportPlayIntent()
129 SLOGD("GetJsonProfile profile=%{public}s", profile.c_str()); in GetPlayIntentParam()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp342 __attribute__((no_sanitize("cfi"))) std::string NetworkSecurityConfig::GetJsonProfile() in GetJsonProfile() function in OHOS::NetManagerStandard::NetworkSecurityConfig
375 static std::string json = GetJsonProfile(); in GetJsonFromBundle()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h76 ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
/foundation/ability/ability_runtime/test/fuzztest/bundlemgrhelper_fuzzer/
H A Dbundlemgrhelper_fuzzer.cpp139 bmHelper->GetJsonProfile(static_cast<ProfileType>(int32Param), stringParam, stringParam, stringParam, int32Param); in BundleMgrHelperFuzztest2()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp838 ErrCode BundleMgrHelper::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() function in OHOS::AppExecFwk::BundleMgrHelper
849 return bundleMgr->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in GetJsonProfile()
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp783 * @tc.desc: GetJsonProfile
793 auto ret = bundleMgrHelper->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp296 bundleMgrProxy.GetJsonProfile(ProfileType::ADDITION_PROFILE, bundleName, moduleName, profile); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h1428 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h994 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp5501 * @tc.name: GetJsonProfile
5502 * @tc.desc: 1. GetJsonProfile with wrong bundle name
5503 * 2. GetJsonProfile failed, return ERR_BUNDLE_MANAGER_BUNDLE_NOT_EXIST
5517 auto ret = dataMgr->GetJsonProfile(profileType, wrongName, MODULE_NAME, profile, USERID); in HWTEST_F()
5524 * @tc.name: GetJsonProfile
5525 * @tc.desc: 1. GetJsonProfile with wrong module name
5526 * 2. GetJsonProfile failed, return ERR_BUNDLE_MANAGER_MODULE_NOT_EXIST
5540 auto ret = dataMgr->GetJsonProfile(profileType, BUNDLE_BACKUP_NAME, wrongName, profile, USERID); in HWTEST_F()
5547 * @tc.name: GetJsonProfile
5548 * @tc.desc: 1. GetJsonProfile i
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h944 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
H A Dbundle_data_mgr.h913 ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName, const std::string &moduleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp3750 ErrCode BundleMgrHostImpl::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() function in OHOS::AppExecFwk::BundleMgrHostImpl
3753 APP_LOGD("GetJsonProfile profileType: %{public}d, bundleName: %{public}s, moduleName: %{public}s" in GetJsonProfile()
3772 return dataMgr->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in GetJsonProfile()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp3465 ErrCode ret = GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in HandleGetJsonProfile()
H A Dbundle_mgr_proxy.cpp4167 ErrCode BundleMgrProxy::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() function in OHOS::AppExecFwk::BundleMgrProxy
4171 APP_LOGD("begin to GetJsonProfile"); in GetJsonProfile()
4179 APP_LOGE("fail to GetJsonProfile due to write InterfaceToken fail"); in GetJsonProfile()
4183 APP_LOGE("fail to GetJsonProfile due to write flags fail"); in GetJsonProfile()
4187 APP_LOGE("fail to GetJsonProfile due to write bundleName fail"); in GetJsonProfile()
4191 APP_LOGE("fail to GetJsonProfile due to write moduleName fail"); in GetJsonProfile()

Completed in 61 milliseconds

12