Home
last modified time | relevance | path

Searched refs:IsAgentRelationship (Results 1 - 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h295 bool IsAgentRelationship(const std::string &agentBundleName, const std::string &sourceBundleName);
H A Dnotification_preferences_database.h217 bool IsAgentRelationship(const std::string &agentBundleName, const std::string &sourceBundleName);
H A Dadvanced_notification_service.h1173 bool IsAgentRelationship(const std::string &agentBundleName, const std::string &sourceBundleName);
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp949 bool AdvancedNotificationService::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::AdvancedNotificationService
952 return NotificationPreferences::GetInstance()->IsAgentRelationship(agentBundleName, sourceBundleName); in IsAgentRelationship()
H A Dnotification_preferences.cpp1212 bool NotificationPreferences::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::NotificationPreferences
1225 return preferncesDB_->IsAgentRelationship(agentBundleName, sourceBundleName); in IsAgentRelationship()
H A Dadvanced_notification_service.cpp176 if (!sourceBundleName.empty() && NotificationPreferences::GetInstance()->IsAgentRelationship( in PrepareNotificationRequest()
435 NotificationPreferences::GetInstance()->IsAgentRelationship(GetClientBundleName(), sourceBundleName) && in PrepareNotificationInfo()
H A Dadvanced_notification_publish_service.cpp467 if (IsAgentRelationship(GetClientBundleName(), bundleOption->GetBundleName())) { in CancelAsBundleWithAgent()
2312 isAgent = IsAgentRelationship(bundleName, bundle->GetBundleName()); in SetBadgeNumberByBundle()
H A Dnotification_preferences_database.cpp1814 bool NotificationPreferencesDatabase::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::NotificationPreferencesDatabase
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp1036 * @tc.desc : test IsAgentRelationship.
1042 ASSERT_EQ(preferncesDB_->IsAgentRelationship(agent, source), false); in HWTEST_F()

Completed in 31 milliseconds