Home
last modified time | relevance | path

Searched refs:GetAppType (Results 1 - 25 of 57) sorted by relevance

123

/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_container_by_mock_bms_test.cpp98 * @tc.name: GetAppType
100 * and verify whether the return value of GetAppType is correct.
109 EXPECT_CALL(*mockBundleMgr, GetAppType(testing::_)) in HWTEST_F()
112 std::string path = context_->GetAppType(); in HWTEST_F()
115 EXPECT_STREQ(context_->GetAppType().c_str(), appType.c_str()); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_bundle_mgr_service.h32 std::string GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::MockBundleMgrService
34 GTEST_LOG_(INFO) << "MockBundleMgrService::GetAppType called"; in GetAppType()
H A Dmock_application.cpp106 EXPECT_STREQ("ModuleTestType", GetBundleManager()->GetAppType("test").c_str()); in OnStart()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getapptype_fuzzer/
H A Dgetapptype_fuzzer.cpp30 bundleMgrProxy.GetAppType(bundleName); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager.cpp37 std::string BundleMgrProxy::GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrProxy
101 std::string BundleMgrService::GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrService
103 GTEST_LOG_(INFO) << " BundleMgrService::GetAppType"; in GetAppType()
H A Dmock_bundle_manager_form.h40 std::string GetAppType(const std::string& bundleName) override
94 std::string GetAppType(const std::string& bundleName) override;
H A Dmock_bundle_manager.h45 std::string GetAppType(const std::string& bundleName) override;
91 std::string GetAppType(const std::string& bundleName) override;
H A Dmock_bundle_manager_form.cpp61 std::string BundleMgrService::GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrService
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_bundle_manager.h49 std::string GetAppType(const std::string &bundleName) override
101 virtual std::string GetAppType(const std::string &bundleName);
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_bundle_manager.h43 std::string GetAppType(const std::string& bundleName) override;
95 std::string GetAppType(const std::string& bundleName) override;
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dcontext_container.h176 std::string GetAppType() override;
H A Dfa_context.h273 virtual std::string GetAppType() = 0;
H A Dcontext_deal.h184 std::string GetAppType();
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_install_bundle_info.h138 Constants::AppType GetAppType() const in GetAppType() function in OHOS::AppExecFwk::PreInstallBundleInfo
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_bundle_manager_proxy.h38 MOCK_METHOD1(GetAppType, std::string(const std::string &bundleName));
H A Dmock_bundle_manager_service.h40 MOCK_METHOD1(GetAppType, std::string(const std::string &bundleName));
/foundation/ability/form_fwk/test/mock/src/
H A Dmock_bundle_manager.cpp58 std::string BundleMgrService::GetAppType(const std::string &bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrService
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_context.h52 virtual std::string GetAppType() = 0;
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/src/
H A Dmock_bundle_manager.cpp121 std::string BundleMgrProxy::GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrProxy
179 std::string BundleMgrService::GetAppType(const std::string& bundleName) in GetAppType() function in OHOS::AppExecFwk::BundleMgrService
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_deal.cpp220 std::string ContextDeal::GetAppType() in GetAppType() function in OHOS::AppExecFwk::ContextDeal
224 TAG_LOGE(AAFwkTag::APPKIT, "GetAppType failed to get bundle manager service"); in GetAppType()
227 std::string retString = ptr->GetAppType(applicationInfo_->bundleName); in GetAppType()
H A Dcontext_container.cpp206 std::string ContextContainer::GetAppType() in GetAppType() function in OHOS::AppExecFwk::ContextContainer
209 return baseContext_->GetAppType(); in GetAppType()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoAbility/
H A Ddemo_ability_test.cpp101 EXPECT_STREQ(GetAppType().c_str(), std::string("system").c_str()); in OnSaveAbilityState()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dinner_bundle_info.h200 Constants::AppType GetAppType() const in GetAppType() function in OHOS::AppExecFwk::InnerBundleInfo
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_context_test.cpp369 * @tc.name: GetAppType
382 EXPECT_CALL(*mockBundleMgr, GetAppType(testing::_)) in HWTEST_F()
385 EXPECT_STREQ(empty.c_str(), context_->GetAppType().c_str()); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h51 std::string GetAppType(const std::string &bundleName);

Completed in 13 milliseconds

123