Home
last modified time | relevance | path

Searched refs:SetDistributedBundleEnable (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences.cpp125 preferencesInfo_->SetDistributedBundleEnable(bundleName, uid, GetBoolFromString(value)); in ResolveDistributedBundleEnable()
165 ErrCode DistributedPreferences::SetDistributedBundleEnable( in SetDistributedBundleEnable() function in OHOS::Notification::DistributedPreferences
182 …preferencesInfo_->SetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid()… in SetDistributedBundleEnable()
H A Ddistributed_preferences_info.cpp38 void DistributedPreferencesInfo::SetDistributedBundleEnable(const std::string &bundleName, int32_t … in SetDistributedBundleEnable() function in OHOS::Notification::DistributedPreferencesInfo
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
H A Ddistributed_preferences_branch_test.cpp140 …EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INV…
153 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable),
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A Ddistributed_preferences_test.cpp81 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, enable), ERR_OK);
94 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, enable), ERR_OK);
/ohos5.0/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences_info.h52 void SetDistributedBundleEnable(const std::string &bundleName, int32_t uid, bool enable);
H A Ddistributed_preferences.h57 …ErrCode SetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool isEnab…
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_service.cpp1642 result = DistributedPreferences::GetInstance()->SetDistributedBundleEnable(bundle, enabled); in EnableDistributedByBundle()
1679 … result = DistributedPreferences::GetInstance()->SetDistributedBundleEnable(bundleOption, enabled); in EnableDistributedSelf()