/foundation/bundlemanager/app_domain_verify/test/unittest/frameworks_common/bms_test/ |
H A D | bundle_info_query_test.cpp | 67 * @tc.desc: GetBundleInfo test. 76 ASSERT_TRUE(BundleInfoQuery::GetBundleInfo(bundleName, appIdentifier, fingerprint)); in HWTEST_F() 80 * @tc.desc: GetBundleInfo no system ability. 89 ASSERT_FALSE(BundleInfoQuery::GetBundleInfo(bundleName, appIdentifier, fingerprint)); in HWTEST_F() 94 * @tc.desc: GetBundleInfo failed. 107 ASSERT_FALSE(BundleInfoQuery::GetBundleInfo(bundleName, appIdentifier, fingerprint)); in HWTEST_F() 111 * @tc.desc: GetBundleInfo get accoutInfo empty. 119 ASSERT_FALSE(BundleInfoQuery::GetBundleInfo(bundleName, appIdentifier, fingerprint)); in HWTEST_F() 123 * @tc.desc: GetBundleInfo get accoutInfo -1. 132 ASSERT_FALSE(BundleInfoQuery::GetBundleInfo(bundleNam in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/ |
H A D | bm_install_multi_user_test.cpp | 258 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 262 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 297 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 301 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 336 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 340 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 375 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 379 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 414 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 418 ret = bmsProxy->GetBundleInfo(BUNDLE_NAM in HWTEST_F() [all...] |
/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_permission.c | 85 errCode = bmsInterface->GetBundleInfo(permissionCheckInfo->calleeBundleName,
in CheckRemotePermission() 89 errCode = GetBundleInfo(permissionCheckInfo->calleeBundleName,
in CheckRemotePermission() 95 errCode = GetBundleInfo(permissionCheckInfo->calleeBundleName,
in CheckRemotePermission() 99 HILOGE("[GetBundleInfo errCode = %d]", errCode);
in CheckRemotePermission() 182 errCode = bmsServerProxy->GetBundleInfo(bundleName, GET_BUNDLE_WITHOUT_ABILITIES, bundleInfo);
in GetBundleInfoFromBms() 189 errCode = GetBundleInfo(bundleName, GET_BUNDLE_WITHOUT_ABILITIES, bundleInfo);
in GetBundleInfoFromBms() 195 errCode = GetBundleInfo(callerInfo->bundleName, GET_BUNDLE_WITHOUT_ABILITIES, bundleInfo);
in GetBundleInfoFromBms() 198 HILOGE("[GetBundleInfo failed]");
in GetBundleInfoFromBms()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/ |
H A D | app_manager.cpp | 43 appRecord->GetBundleInfo().bundleName, token);
in StartAppProcess() 79 if (current != nullptr && current->GetBundleInfo().bundleName != nullptr &&
in RemoveAppRecord() 80 (strcmp(current->GetBundleInfo().bundleName, bundleName) == 0)) {
in RemoveAppRecord() 105 if (appRecord != nullptr && appRecord->GetBundleInfo().bundleName != nullptr &&
in GetAppRecordByBundleName() 106 (strcmp(appRecord->GetBundleInfo().bundleName, bundleName) == 0)) {
in GetAppRecordByBundleName()
|
/foundation/filemanagement/app_file_service/tests/mock/bundle_manager/include/ |
H A D | mock_bundle_manager.h | 35 bool GetBundleInfo(const std::string &bundleName, 50 virtual bool GetBundleInfo(const std::string &bundleName, 55 virtual bool GetBundleInfo(const std::string &bundleName,
|
/foundation/filemanagement/app_file_service/tests/mock/bundle_manager/src/ |
H A D | mock_bundle_manager.cpp | 32 bool BundleMgrProxy::GetBundleInfo(const string &bundleName, in GetBundleInfo() function in OHOS::AppExecFwk::BundleMgrProxy 37 GTEST_LOG_(INFO) << "BundleMgrProxy:GetBundleInfo is ok"; in GetBundleInfo() 50 bool BundleMgrStub::GetBundleInfo(const string &bundleName, in GetBundleInfo() function in OHOS::AppExecFwk::BundleMgrStub 55 GTEST_LOG_(INFO) << "BundleMgrStub:GetBundleInfo is ok"; in GetBundleInfo() 63 bool BundleMgrStub::GetBundleInfo(const string &bundleName, int32_t flags, BundleInfo &bundleInfo, int32_t userId) in GetBundleInfo() function in OHOS::AppExecFwk::BundleMgrStub 65 GTEST_LOG_(INFO) << "GetBundleInfo is ok"; in GetBundleInfo()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundleinfo_fuzzer/ |
H A D | getbundleinfo_fuzzer.cpp | 32 bundleMgrProxy.GetBundleInfo(bundleName, flag, bundleInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI() 33 bundleMgrProxy.GetBundleInfo(bundleName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/slite/ |
H A D | bundle_manager.cpp | 35 uint8_t GetBundleInfo(const char *bundleName, int32_t flags, BundleInfo *bundleInfo)
in GetBundleInfo() function 37 return OHOS::BundleMsClient::GetInstance().GetBundleInfo(bundleName, flags, bundleInfo);
in GetBundleInfo()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/client/ |
H A D | app_spawn_client.cpp | 94 char *innerBundleName = appRecord.GetBundleInfo().bundleName;
in SpawnProcess() 106 cJSON_AddNumberToObject(root, "uID", appRecord.GetBundleInfo().uid);
in SpawnProcess() 107 cJSON_AddNumberToObject(root, "gID", appRecord.GetBundleInfo().gid);
in SpawnProcess()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_mgr_slite_feature.cpp | 31 .GetBundleInfo = BundleMgrSliteFeature::GetBundleInfo,
119 uint8_t BundleMgrSliteFeature::GetBundleInfo(const char *bundleName, int32_t flags, BundleInfo *bundleInfo)
in GetBundleInfo() function in OHOS::BundleMgrSliteFeature 121 return OHOS::GtManagerService::GetInstance().GetBundleInfo(bundleName, flags, *bundleInfo);
in GetBundleInfo()
|
/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_bundle_mgr.h | 31 MOCK_METHOD4(GetBundleInfo, bool(const std::string &, int32_t, BundleInfo &, int32_t)); 48 MOCK_METHOD4(GetBundleInfo, bool(const std::string &, int32_t, BundleInfo &, int32_t));
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/bms_interfaces/ |
H A D | bundle_manager.h | 66 uint8_t GetBundleInfo(const char *bundleName, int32_t flags, BundleInfo *bundleInfo);
|
H A D | bundle_manager_mock.cpp | 23 uint8_t GetBundleInfo(const char *bundleName, int32_t flags, BundleInfo *bundleInfo) in GetBundleInfo() function
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/ |
H A D | plugin_pattern_test_ng.cpp | 364 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)).WillOnce(Return(false)); in HWTEST_F() 368 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 383 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 396 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 439 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 446 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 461 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 470 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F() 529 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _)) in HWTEST_F()
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/bms/ |
H A D | bundle_info_query.h | 25 static bool GetBundleInfo(const std::string &bundleName, std::string &appIdentifier, std::string &fingerprint);
|
/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_new_leg_test/ |
H A D | mock_form_bms_helper.cpp | 41 bool FormBmsHelper::GetBundleInfo(const std::string &bundleName, int32_t userId, BundleInfo &bundleInfo)
in GetBundleInfo() function in OHOS::AppExecFwk::FormBmsHelper
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_bundle_mgr_service.h | 27 virtual bool GetBundleInfo(
|
/foundation/multimedia/media_foundation/services/media_monitor/server/include/ |
H A D | media_monitor_wrapper.h | 37 MediaMonitorErr GetBundleInfo(int32_t appUid, BundleInfo *bundleInfo);
|
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/ |
H A D | mock_bundle_manager.h | 60 bool GetBundleInfo( 92 bool GetBundleInfo(
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager_form.h | 67 bool GetBundleInfo( 96 bool GetBundleInfo(
|
H A D | mock_bundle_manager.h | 40 bool GetBundleInfo(const std::string& bundleName, 79 bool GetBundleInfo(const std::string& bundleName,
|
/foundation/ability/ability_runtime/test/unittest/free_install_manager_test/ |
H A D | mock_bundle_manager.h | 60 bool GetBundleInfo( 92 bool GetBundleInfo(
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | mock_bundle_manager.h | 67 bool GetBundleInfo( 89 bool GetBundleInfo(
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bundle_manager_helper.cpp | 75 bool BundleManagerHelper::GetBundleInfo(const std::string &bundleName, const AppExecFwk::BundleFlag flag,
in GetBundleInfo() function in OHOS::BackgroundTaskMgr::BundleManagerHelper 82 if (bundleMgr_ != nullptr && bundleMgr_->GetBundleInfo(bundleName, flag, bundleInfo, userId)) {
in GetBundleInfo()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_bundle_mgr_helper.cpp | 87 bool BundleActiveBundleMgrHelper::GetBundleInfo(const std::string &bundleName, const AppExecFwk::BundleFlag flag,
in GetBundleInfo() function in OHOS::DeviceUsageStats::BundleActiveBundleMgrHelper 98 if (bundleMgr_ != nullptr && bundleMgr_->GetBundleInfo(bundleName, flag, bundleInfo, userId)) {
in GetBundleInfo()
|