Home
last modified time | relevance | path

Searched refs:GetDistributedBundleEnable (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences_info.h61 bool GetDistributedBundleEnable(const std::string &bundleName, int32_t uid);
H A Ddistributed_preferences.h66 ErrCode GetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool &isEnable);
/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences_info.cpp43 bool DistributedPreferencesInfo::GetDistributedBundleEnable(const std::string &bundleName, int32_t uid) in GetDistributedBundleEnable() function in OHOS::Notification::DistributedPreferencesInfo
H A Ddistributed_preferences.cpp187 ErrCode DistributedPreferences::GetDistributedBundleEnable( in GetDistributedBundleEnable() function in OHOS::Notification::DistributedPreferences
200 isEnable = preferencesInfo_->GetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid()); in GetDistributedBundleEnable()
/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A Ddistributed_preferences_test.cpp197 * @tc.desc : text GetDistributedBundleEnable function.
202 bool res = distributedPreferencesInfo_.GetDistributedBundleEnable("bundle", 0); in HWTEST_F()
209 * @tc.desc : text GetDistributedBundleEnable function.
214 bool res = distributedPreferencesInfo_.GetDistributedBundleEnable("com.ohos.mms", 0); in HWTEST_F()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
H A Ddistributed_preferences_branch_test.cpp160 * @tc.desc : test GetDistributedBundleEnable function and bundleOption is nullptr.
166 EXPECT_EQ(distributedPreferences_->GetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INVALID_PARAM); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp1250 result = DistributedPreferences::GetInstance()->GetDistributedBundleEnable(bundleOption, bundleDistributedEnable); in DoDistributedPublish()
H A Dadvanced_notification_service.cpp1809 result = DistributedPreferences::GetInstance()->GetDistributedBundleEnable(bundle, enabled); in IsDistributedEnableByBundle()

Completed in 13 milliseconds