Home
last modified time | relevance | path

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

/ohos5.0/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.h227 … bool IsAgentRelationship(const std::string &agentBundleName, const std::string &sourceBundleName);
H A Dadvanced_notification_service.h1183 … bool IsAgentRelationship(const std::string &agentBundleName, const std::string &sourceBundleName);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp831 bool AdvancedNotificationService::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::AdvancedNotificationService
834 …return NotificationPreferences::GetInstance()->IsAgentRelationship(agentBundleName, sourceBundleNa… in IsAgentRelationship()
H A Dnotification_preferences.cpp1236 bool NotificationPreferences::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::NotificationPreferences
1249 return preferncesDB_->IsAgentRelationship(agentBundleName, sourceBundleName); in IsAgentRelationship()
H A Dadvanced_notification_service.cpp176 … if (!sourceBundleName.empty() && NotificationPreferences::GetInstance()->IsAgentRelationship( in PrepareNotificationRequest()
443 …NotificationPreferences::GetInstance()->IsAgentRelationship(GetClientBundleName(), sourceBundleNam… in PrepareNotificationInfo()
H A Dadvanced_notification_publish_service.cpp472 if (IsAgentRelationship(GetClientBundleName(), bundleOption->GetBundleName())) { in CancelAsBundleWithAgent()
2521 isAgent = IsAgentRelationship(bundleName, bundle->GetBundleName()); in SetBadgeNumberByBundle()
H A Dnotification_preferences_database.cpp1875 bool NotificationPreferencesDatabase::IsAgentRelationship(const std::string &agentBundleName, in IsAgentRelationship() function in OHOS::Notification::NotificationPreferencesDatabase
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp1042 ASSERT_EQ(preferncesDB_->IsAgentRelationship(agent, source), false);