Home
last modified time | relevance | path

Searched refs:IsBundleInstalled (Results 1 - 24 of 24) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_controller.cpp249 if (IsBundleInstalled(event.bundleName_, userId) == false) { in ReportEvent()
351 if (!IsBundleInstalled(bundleName, userId)) { in SetAppGroup()
383 if (IsBundleInstalled(bundleName, userId) == false) { in IsBundleIdle()
418 if (!IsBundleInstalled(bundleName, userId)) { in QueryAppGroup()
444 bool BundleActiveGroupController::IsBundleInstalled(const std::string& bundleName, const int32_t userId) in IsBundleInstalled() function in OHOS::DeviceUsageStats::BundleActiveGroupController
453 BUNDLE_ACTIVE_LOGE("IsBundleInstalled bundle is not installed!"); in IsBundleInstalled()
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/
H A Dbundle_active_group_controller.h80 bool IsBundleInstalled(const std::string& bundleName, const int32_t userId);
/foundation/communication/nfc/services/src/external_deps/
H A Dapp_data_parser.h78 bool IsBundleInstalled(const std::string &bundleName);
H A Dexternal_deps_proxy.h97 bool IsBundleInstalled(const std::string &bundleName);
H A Dexternal_deps_proxy.cpp233 bool ExternalDepsProxy::IsBundleInstalled(const std::string& bundleName) in IsBundleInstalled() function in OHOS::NFC::ExternalDepsProxy
235 return AppDataParser::GetInstance().IsBundleInstalled(bundleName); in IsBundleInstalled()
H A Dapp_data_parser.cpp640 bool AppDataParser::IsBundleInstalled(const std::string &bundleName) in IsBundleInstalled() function in OHOS::NFC::AppDataParser
/foundation/communication/nfc/test/fuzztest/services_test/appdataparser_test/appdataparser/appdataparser_fuzzer/
H A Dappdataparser_fuzzer.cpp121 appDataParser.IsBundleInstalled(bundleName); in FuzzIsBundleInstalled()
/foundation/communication/nfc/test/fuzztest/services_test/external_deps_test/externaldepsproxy/externaldepsproxy_fuzzer/
H A Dexternaldepsproxy_fuzzer.cpp273 ExternalDepsProxy::GetInstance().IsBundleInstalled(bundleName); in FuzzIsBundleInstalled()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp7429 * @tc.name: IsBundleInstalled
7430 * @tc.desc: test IsBundleInstalled
7440 ErrCode ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TEST, 200, 0, isInstalled); in HWTEST_F()
7444 ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TEST, 0, -10, isInstalled); in HWTEST_F()
7448 ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TEST, 0, 10000, isInstalled); in HWTEST_F()
7452 ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TEST, 0, 0, isInstalled); in HWTEST_F()
7456 ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TEST, Constants::ANY_USERID, 0, isInstalled); in HWTEST_F()
7464 * @tc.name: IsBundleInstalled
7465 * @tc.desc: test IsBundleInstalled
7479 ErrCode ret = bundleDataMgr->IsBundleInstalled(BUNDLE_NAME_TES in HWTEST_F()
[all...]
H A Dbms_bundle_kit_service_test.cpp13650 * @tc.name: test IsBundleInstalled
13657 auto testRet = hostImpl->IsBundleInstalled(BUNDLE_NAME_TEST, DEFAULT_USERID, 0, isInstalled); in HWTEST_F()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_service_test.cpp882 EXPECT_EQ(coreObject->bundleGroupController_->IsBundleInstalled("test", userId), false); in HWTEST_F()
884 EXPECT_EQ(coreObject->bundleGroupController_->IsBundleInstalled("test", userId), false); in HWTEST_F()
/foundation/communication/nfc/services/src/card_emulation/
H A Dce_service.cpp582 ExternalDepsProxy::GetInstance().IsBundleInstalled(defaultPaymentElement_.GetBundleName()); in InitDefaultPaymentApp()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h1597 virtual ErrCode IsBundleInstalled(const std::string &bundleName, int32_t userId, in IsBundleInstalled() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h1115 virtual ErrCode IsBundleInstalled(const std::string &bundleName, int32_t userId,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp1024 * @tc.name: test the IsBundleInstalled
1026 * 2. test IsBundleInstalled
1033 ErrCode res = bundleMgrProxy.IsBundleInstalled("", 100, 0, isBundleInstalled); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h1036 virtual ErrCode IsBundleInstalled(const std::string &bundleName, int32_t userId,
H A Dbundle_data_mgr.h994 ErrCode IsBundleInstalled(const std::string &bundleName, int32_t userId, int32_t appIndex, bool &isInstalled);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp1723 * @tc.name: test IsBundleInstalled
1729 auto testRet = bundleMgrHostImpl_->IsBundleInstalled(BUNDLE_NAME, 0, 0, isInstalled); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp9625 * @tc.name: test IsBundleInstalled interface
9636 ErrCode ret = bundleMgrProxy->IsBundleInstalled(DEFAULT_APP_BUNDLE_NAME, 0, 0, isBundleInstalled); in HWTEST_F()
9646 * @tc.name: test IsBundleInstalled interface
9665 ErrCode ret = bundleMgrProxy->IsBundleInstalled(appName, 200, 0, isBundleInstalled); in HWTEST_F()
9669 ret = bundleMgrProxy->IsBundleInstalled(appName, 100, 0, isBundleInstalled); in HWTEST_F()
9674 ret = bundleMgrProxy->IsBundleInstalled(appName, 100, 3000, isBundleInstalled); in HWTEST_F()
9678 ret = bundleMgrProxy->IsBundleInstalled(appName, 100, -3000, isBundleInstalled); in HWTEST_F()
9682 ret = bundleMgrProxy->IsBundleInstalled(appName, 100, 1, isBundleInstalled); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp4471 ErrCode BundleMgrHostImpl::IsBundleInstalled(const std::string &bundleName, int32_t userId, in IsBundleInstalled() function in OHOS::AppExecFwk::BundleMgrHostImpl
4474 APP_LOGD("IsBundleInstalled -n %{public}s -u %{public}d -i %{public}d", bundleName.c_str(), userId, appIndex); in IsBundleInstalled()
4489 return dataMgr->IsBundleInstalled(bundleName, userId, appIndex, isInstalled); in IsBundleInstalled()
H A Dbundle_data_mgr.cpp8790 ErrCode BundleDataMgr::IsBundleInstalled(const std::string &bundleName, int32_t userId, in IsBundleInstalled() function in OHOS::AppExecFwk::BundleDataMgr
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp4112 auto ret = IsBundleInstalled(bundleName, userId, apppIndex, isBundleInstalled); in HandleIsBundleInstalled()
4114 APP_LOGE("IsBundleInstalled write failed"); in HandleIsBundleInstalled()
H A Dbundle_mgr_proxy.cpp5305 ErrCode BundleMgrProxy::IsBundleInstalled(const std::string &bundleName, int32_t userId, in IsBundleInstalled() function in OHOS::AppExecFwk::BundleMgrProxy
5329 APP_LOGE("Fail to IsBundleInstalled from server"); in IsBundleInstalled()
5334 APP_LOGE("IsBundleInstalled err: %{public}d", ret); in IsBundleInstalled()
/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp571 const std::string STRING_IS_BUNDLE_INSTALLED_OK = "IsBundleInstalled is ok \n";
572 const std::string STRING_IS_BUNDLE_INSTALLED_NG = "error: failed to IsBundleInstalled \n";
4583 result = bundleMgrProxy_->IsBundleInstalled(bundleName, userId, appIndex, isBundleInstalled); in RunAsIsBundleInstalled()

Completed in 118 milliseconds