Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp413 std::string bundleKey = "<bundleKey>"; variable
430 std::string bundleKey = "<bundleKey>"; variable
449 std::string bundleKey = "<bundleKey>"; variable
463 std::string bundleKey = "<bundleKey>"; variable
480 std::string bundleKey = "<bundleKey>"; variable
499 std::string bundleKey = "<bundleKey>"; variable
514 std::string bundleKey = "<bundleKey>"; variable
530 std::string bundleKey = "<bundleKey>"; variable
546 std::string bundleKey = "<bundleKey>"; variable
562 std::string bundleKey = "<bundleKey>"; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_database.cpp328 std::string bundleKey = GenerateBundleLablel(bundleInfo); in PutShowBadge() local
696 std::string bundleKey; in GetBundleInfo() local
738 const std::string &bundleKey, const int32_t &bundleUid) in RemoveBundleFromDisturbeDB() argument
779 if (bundleKey.empty()) { in RemoveSlotFromDisturbeDB()
878 const std::string &bundleKey, const int32_t &bundleUid) in RemoveAllSlotsFromDisturbeDB() argument
883 if (bundleKey.empty()) { in RemoveAllSlotsFromDisturbeDB()
990 GenerateSlotEntry(bundleKey, slot, values); in SlotToEntry()
1035 std::string bundleKey = item.second; in ParseBundleFromDistureDB() local
1059 info.SetBundleInfoFromDb(bunldeInfo, bundleKey); in ParseBundleFromDistureDB()
1239 std::string tempStr = FindLastString(bundleKey, key); in IsSlotKey()
[all …]
H A Dnotification_preferences_info.cpp228 std::string bundleKey = info.GetBundleName().append(std::to_string(info.GetBundleUid())); in SetBundleInfo() local
229 infos_.insert_or_assign(bundleKey, info); in SetBundleInfo()
235 std::string bundleKey = bundleOption->GetBundleName() + std::to_string(bundleOption->GetUid()); in GetBundleInfo() local
236 auto iter = infos_.find(bundleKey); in GetBundleInfo()
246 std::string bundleKey = bundleOption->GetBundleName() + std::to_string(bundleOption->GetUid()); in RemoveBundleInfo() local
247 auto iter = infos_.find(bundleKey); in RemoveBundleInfo()
257 std::string bundleKey = bundleOption->GetBundleName() + std::to_string(bundleOption->GetUid()); in IsExsitBundleInfo() local
258 auto iter = infos_.find(bundleKey); in IsExsitBundleInfo()
407 void NotificationPreferencesInfo::SetBundleInfoFromDb(BundleInfo &info, std::string bundleKey) in SetBundleInfoFromDb() argument
409 infos_.insert_or_assign(bundleKey, info); in SetBundleInfoFromDb()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp426 std::string bundleKey = "BundleKey"; variable
463 std::string bundleKey = "bundleKey"; variable
480 std::string bundleKey = "bundleKey"; variable
497 std::string bundleKey = "bundleKey"; variable
514 std::string bundleKey = "bundleKey"; variable
531 std::string bundleKey = "bundleKey"; variable
548 std::string bundleKey = "bundleKey"; variable
565 std::string bundleKey = "bundleKey"; variable
582 std::string bundleKey = "bundleKey"; variable
599 std::string bundleKey = "bundleKey"; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h180 bool RemoveBundleFromDisturbeDB(const std::string &bundleKey, const int32_t &bundleUid);
190 …bool RemoveSlotFromDisturbeDB(const std::string &bundleKey, const NotificationConstant::SlotType &…
208 bool RemoveAllSlotsFromDisturbeDB(const std::string &bundleKey, const int32_t &bundleUid);
258 const std::string &bundleKey, const BundleType &type, const T &t, const int32_t &bundleUid);
262 const std::string &bundleKey, const NotificationPreferencesInfo::BundleInfo &bundleInfo);
273 void GenerateSlotEntry(const std::string &bundleKey, const sptr<NotificationSlot> &slot,
284 bool IsSlotKey(const std::string &bundleKey, const std::string &key) const;
286 …const std::string &bundleKey, const std::string &type = "", const std::string &subType = "") const;
287 std::string GenerateBundleKey(const std::string &bundleKey, const std::string &type = "") const;
291 …otFromDisturbeDB(NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &bundleKey,
[all …]
H A Dnotification_preferences_info.h314 void SetBundleInfoFromDb(BundleInfo &info, std::string bundleKey);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dbundle_mgr_proxy.cpp67 std::string bundleKey = bundleName + std::to_string(userId); in GetBundleInfoFromBMS() local
69 bundleKey += "appIndex" + std::to_string(appIndex); in GetBundleInfoFromBMS()
71 auto it = bundleCache_.Find(bundleKey); in GetBundleInfoFromBMS()
114 bundleCache_.Insert(bundleKey, bundle); in GetBundleInfoFromBMS()