Home
last modified time | relevance | path

Searched refs:GetBundleArchiveInfo (Results 1 - 22 of 22) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundlearchiveinfo_fuzzer/
H A Dgetbundlearchiveinfo_fuzzer.cpp34 bundleMgrProxy.GetBundleArchiveInfo(hapFilePath, flag, bundleInfo); in DoSomethingInterestingWithMyAPI()
35 bundleMgrProxy.GetBundleArchiveInfo(hapFilePath, reinterpret_cast<uintptr_t>(data), bundleInfo); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_mgr_host.h37 bool GetBundleArchiveInfo(const std::string &hapFilePath, const BundleFlag flag, BundleInfo &bundleInfo);
H A Dmock_bundle_mgr_host.cpp71 bool MockBundleMgrHost::GetBundleArchiveInfo(const std::string &hapFilePath, const BundleFlag flag, in GetBundleArchiveInfo() function in OHOS::AppExecFwk::MockBundleMgrHost
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp96 DECLARE_NAPI_FUNCTION("getBundleArchiveInfo", GetBundleArchiveInfo), in Init()
H A Dbundle_mgr.h329 napi_value GetBundleArchiveInfo(napi_env env, napi_callback_info info);
H A Dbundle_mgr.cpp105 const char* GET_BUNDLE_ARCHIVE_INFO = "GetBundleArchiveInfo";
3757 APP_LOGD("start GetBundleArchiveInfo, hapFilePath %{public}s", asyncCallbackInfo->hapFilePath.c_str()); in GetBundleArchiveInfoExec()
3758 asyncCallbackInfo->ret = iBundleMgr->GetBundleArchiveInfo( in GetBundleArchiveInfoExec()
3780 result[0] = BusinessError::CreateError(env, OPERATION_FAILED, "GetBundleArchiveInfo falied"); in GetBundleArchiveInfoComplete()
3791 napi_value GetBundleArchiveInfo(napi_env env, napi_callback_info info) in GetBundleArchiveInfo() function
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp98 DECLARE_NAPI_FUNCTION("getBundleArchiveInfo", GetBundleArchiveInfo), in BundleManagerExport()
H A Dbundle_manager.h293 napi_value GetBundleArchiveInfo(napi_env env, napi_callback_info info);
H A Dbundle_manager.cpp68 const std::string GET_BUNDLE_ARCHIVE_INFO = "GetBundleArchiveInfo";
218 napi_value GetBundleArchiveInfo(napi_env env, napi_callback_info info) in GetBundleArchiveInfo() function
220 APP_LOGD("begin to GetBundleArchiveInfo"); in GetBundleArchiveInfo()
259 APP_LOGD("call GetBundleArchiveInfo done"); in GetBundleArchiveInfo()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp226 bundleMgrProxy.GetBundleArchiveInfo( in DoSomethingInterestingWithMyAPI()
228 bundleMgrProxy.GetBundleArchiveInfo(std::string(reinterpret_cast<const char*>(data), size), 0, bundleInfo); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp524 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
552 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo); in HWTEST_F()
590 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h619 virtual bool GetBundleArchiveInfo( in GetBundleArchiveInfo() function in OHOS::AppExecFwk::IBundleMgr
631 virtual bool GetBundleArchiveInfo( in GetBundleArchiveInfo() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h457 virtual bool GetBundleArchiveInfo(
467 virtual bool GetBundleArchiveInfo(
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp648 * @tc.desc: Testcase for testing GetBundleArchiveInfo.
661 /* @tc.steps: step1.call GetBundleArchiveInfo in loop */ in BenchmarkTestGetBundleArchiveInfo()
662 bundleMgrProxy->GetBundleArchiveInfo(HAP_FILE, 0, info); in BenchmarkTestGetBundleArchiveInfo()
668 * @tc.desc: Testcase for testing GetBundleArchiveInfo.
681 /* @tc.steps: step1.call GetBundleArchiveInfo in loop */ in BenchmarkTestGetBundleArchiveInfoByFlag()
682 bundleMgrProxy->GetBundleArchiveInfo(HAP_FILE, BundleFlag::GET_BUNDLE_DEFAULT, info); in BenchmarkTestGetBundleArchiveInfoByFlag()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h439 virtual bool GetBundleArchiveInfo(
448 virtual bool GetBundleArchiveInfo(
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp1052 bool BundleMgrHostImpl::GetBundleArchiveInfo( in GetBundleArchiveInfo() function in OHOS::AppExecFwk::BundleMgrHostImpl
1055 return GetBundleArchiveInfo(hapFilePath, static_cast<int32_t>(flag), bundleInfo); in GetBundleArchiveInfo()
1058 bool BundleMgrHostImpl::GetBundleArchiveInfo( in GetBundleArchiveInfo() function in OHOS::AppExecFwk::BundleMgrHostImpl
1061 APP_LOGD("start GetBundleArchiveInfo, hapFilePath : %{private}s, flags : %{public}d", in GetBundleArchiveInfo()
1076 APP_LOGE("GetBundleArchiveInfo file path %{private}s invalid", hapFilePath.c_str()); in GetBundleArchiveInfo()
1087 APP_LOGD("verify permission success, begin to GetBundleArchiveInfo"); in GetBundleArchiveInfo()
1153 APP_LOGE("GetBundleArchiveInfo RevertToRealPath failed"); in GetBundleArchiveInfoBySandBoxPath()
1159 APP_LOGE("GetBundleArchiveInfo make temp dir failed"); in GetBundleArchiveInfoBySandBoxPath()
1165 APP_LOGE("GetBundleArchiveInfo copy hap file failed"); in GetBundleArchiveInfoBySandBoxPath()
3857 if (!GetBundleArchiveInfo(hapPat in GetPreferableBundleInfoFromHapPaths()
[all...]
H A Dbundle_mgr_service_event_handler.cpp1273 if (!impl.GetBundleArchiveInfo(preinstalledAppPath, GET_BUNDLE_DEFAULT, resultBundleInfo)) { in InnerProcessCheckPreinstallData()
1503 if (!impl.GetBundleArchiveInfo(preinstalledAppPath, GET_BUNDLE_DEFAULT, archiveBundleInfo)) { in InnerProcessCheckRecoverableApplicationInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_system_app_test.cpp1154 * @tc.name: test GetBundleArchiveInfo
1161 bool ret = bundleMgrHostImpl_->GetBundleArchiveInfo(HAP_FILE_PATH, FLAGS, bundleInfo); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp2143 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, flag, bundleInfo); in HWTEST_F()
2183 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo); in HWTEST_F()
2229 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
2263 bundleMgrProxy->GetBundleArchiveInfo("", flag, bundleInfo); in HWTEST_F()
2266 bundleMgrProxy->GetBundleArchiveInfo("", BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
2289 bundleMgrProxy->GetBundleArchiveInfo(hapFilePath, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp1474 bool ret = GetBundleArchiveInfo(hapFilePath, flag, info); in HandleGetBundleArchiveInfo()
1496 bool ret = GetBundleArchiveInfo(hapFilePath, flags, info); in HandleGetBundleArchiveInfoWithIntFlags()
H A Dbundle_mgr_proxy.cpp1444 bool BundleMgrProxy::GetBundleArchiveInfo(const std::string &hapFilePath, const BundleFlag flag, BundleInfo &bundleInfo) in GetBundleArchiveInfo() function in OHOS::AppExecFwk::BundleMgrProxy
1447 APP_LOGD("begin to GetBundleArchiveInfo of %{private}s", hapFilePath.c_str()); in GetBundleArchiveInfo()
1449 APP_LOGE("fail to GetBundleArchiveInfo due to params empty"); in GetBundleArchiveInfo()
1455 APP_LOGE("fail to GetBundleArchiveInfo due to write InterfaceToken fail"); in GetBundleArchiveInfo()
1459 APP_LOGE("fail to GetBundleArchiveInfo due to write hapFilePath fail"); in GetBundleArchiveInfo()
1463 APP_LOGE("fail to GetBundleArchiveInfo due to write flag fail"); in GetBundleArchiveInfo()
1468 APP_LOGE("fail to GetBundleArchiveInfo from server"); in GetBundleArchiveInfo()
1474 bool BundleMgrProxy::GetBundleArchiveInfo(const std::string &hapFilePath, int32_t flags, BundleInfo &bundleInfo) in GetBundleArchiveInfo() function in OHOS::AppExecFwk::BundleMgrProxy
1477 APP_LOGD("begin to GetBundleArchiveInfo with int flags of %{private}s", hapFilePath.c_str()); in GetBundleArchiveInfo()
1479 APP_LOGE("fail to GetBundleArchiveInfo du in GetBundleArchiveInfo()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp3764 bool listRet = hostImpl->GetBundleArchiveInfo("", BundleFlag::GET_BUNDLE_DEFAULT, testResult); in HWTEST_F()
3810 bool listRet = hostImpl->GetBundleArchiveInfo(ERROR_HAP_FILE_PATH, BundleFlag::GET_BUNDLE_DEFAULT, testResult); in HWTEST_F()
3826 bool ret = hostImpl->GetBundleArchiveInfo(RELATIVE_HAP_FILE_PATH, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
3840 bool ret = hostImpl->GetBundleArchiveInfo("data/test", BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in HWTEST_F()
3854 bool ret = hostImpl->GetBundleArchiveInfo( in HWTEST_F()

Completed in 96 milliseconds