Home
last modified time | relevance | path

Searched refs:GetKey (Results 1 – 25 of 34) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_sorting_map.cpp31 sortedKey_.push_back(item.GetKey()); in NotificationSortingMap()
32 sortings_[item.GetKey()] = item; in NotificationSortingMap()
59 sortedKey_.push_back(item.GetKey()); in SetNotificationSorting()
60 sortings_[item.GetKey()] = item; in SetNotificationSorting()
Dmessage_user.cpp42 std::string MessageUser::GetKey() const in GetKey() function in OHOS::Notification::MessageUser
/base/hiviewdfx/hiview/base/event_raw/encoded/
Draw_data_builder.cpp248 auto paramKey = param->GetKey(); in AppendValue()
254 if ((*iter)->GetKey() == paramKey) { in AppendValue()
270 if ((*iter)->GetKey() == key) { in GetValue()
314 … this->AppendValue(std::make_shared<UnsignedVarintEncodedParam<uint64_t>>(param->GetKey(), in InitValueParams()
321 … this->AppendValue(std::make_shared<SignedVarintEncodedParam<int64_t>>(param->GetKey(), in InitValueParams()
328 … this->AppendValue(std::make_shared<FloatingNumberEncodedParam<double>>(param->GetKey(), in InitValueParams()
335 this->AppendValue(std::make_shared<StringEncodedParam>(param->GetKey(), in InitValueParams()
361 … this->AppendValue(std::make_shared<UnsignedVarintEncodedArrayParam<uint64_t>>(param->GetKey(), in InitArrayValueParams()
368 … this->AppendValue(std::make_shared<SignedVarintEncodedArrayParam<int64_t>>(param->GetKey(), in InitArrayValueParams()
375 … this->AppendValue(std::make_shared<FloatingNumberEncodedArrayParam<double>>(param->GetKey(), in InitArrayValueParams()
[all …]
Dencoded_param.cpp38 std::string& EncodedParam::GetKey() in GetKey() function in OHOS::HiviewDFX::EventRaw::EncodedParam
/base/hiviewdfx/hiview/base/event_raw/decoded/
Ddecoded_event.cpp135 this->AppendValue(ss, param->GetKey(), u64Vec); in AppendCustomizedArrayParam()
141 this->AppendValue(ss, param->GetKey(), i64Vec); in AppendCustomizedArrayParam()
147 this->AppendValue(ss, param->GetKey(), dVec); in AppendCustomizedArrayParam()
153 this->AppendValue(ss, param->GetKey(), strVec); in AppendCustomizedArrayParam()
170 this->AppendValue(ss, param->GetKey(), uint64DecodedVal); in AppendCustomizedParam()
176 this->AppendValue(ss, param->GetKey(), int64DecodedVal); in AppendCustomizedParam()
182 this->AppendValue(ss, param->GetKey(), dDecodedVal); in AppendCustomizedParam()
188 this->AppendValue(ss, param->GetKey(), strDecodedVal); in AppendCustomizedParam()
Ddecoded_param.cpp26 std::string DecodedParam::GetKey() in GetKey() function in OHOS::HiviewDFX::EventRaw::DecodedParam
/base/powermgr/power_manager/utils/setting/src/
Dsetting_observer.cpp35 const std::string& SettingObserver::GetKey() in GetKey() function in OHOS::PowerMgr::SettingObserver
Dsetting_provider.cpp133 auto uri = AssembleUri(observer->GetKey()); in RegisterObserver()
152 auto uri = AssembleUri(observer->GetKey()); in UnregisterObserver()
/base/powermgr/power_manager/utils/setting/include/
Dsetting_observer.h30 const std::string& GetKey();
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_sorting_map.h42 inline std::vector<std::string> GetKey() in GetKey() function
Dmessage_user.h44 std::string GetKey() const;
Dnotification_sorting.h56 inline std::string GetKey() const in GetKey() function
Dnotification.h128 std::string GetKey() const;
/base/notification/distributed_notification_service/test/fuzztest/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp47 messageUser.GetKey(); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Dencoded_param.cpp38 std::string& EncodedParam::GetKey() in GetKey() function in OHOS::HiviewDFX::Encoded::EncodedParam
Draw_data_builder.cpp229 auto paramKey = param->GetKey(); in AppendValue()
234 if ((*iter)->GetKey() == paramKey) { in AppendValue()
249 if ((*iter)->GetKey() == key) { in GetValue()
/base/notification/distributed_notification_service/test/fuzztest/notification_fuzzer/
Dnotification_fuzzer.cpp42 notification.GetKey(); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp76 return str + g_SizeMap.GetKey(unit); in Size2Str()
162 return g_LogTypes.GetKey(str); in Str2LogType()
235 return g_LogLevels.GetKey(str); in Str2LogLevel()
253 return g_ShortLogLevels.GetKey(str); in ShortStr2LogLevel()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp671 EXPECT_EQ(eventParser.GetOnConsumedReq()[i]->GetKey(), notificationKey);
674 EXPECT_EQ(eventParser.GetOnConsumedWithSortingMapReq()[i]->GetKey(), notificationKey);
677 EXPECT_EQ(sorting.GetKey().c_str(), notificationKey);
708 std::string key = notifications[0]->GetKey().c_str();
725 EXPECT_EQ(eventParser.GetOnCanceledReq()[0]->GetKey(), notificationKey);
726 EXPECT_EQ(eventParser.GetOnCanceledWithSortingMapReq()[0]->GetKey(), notificationKey);
728 EXPECT_EQ(sorting.GetKey().c_str(), notificationKey);
755 std::string key = notifications[0]->GetKey().c_str();
998 EXPECT_EQ(eventParser.GetOnCanceledReq()[0]->GetKey(), notificationKey);
999 EXPECT_EQ(eventParser.GetOnCanceledWithSortingMapReq()[0]->GetKey(), notificationKey);
[all …]
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_utils.h40 const K GetKey(const V& value) const in GetKey() function
/base/hiviewdfx/hiview/base/event_store/dao/
Ddoc_query.cpp112 if (cond.col_ != param->GetKey()) { in IsContainExtraConds()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_compress.cpp37 return g_CompressTypes.GetKey(str); in Str2CompressType()
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp145 std::string key = settingObserver->GetKey();
/base/hiviewdfx/hiview/base/event_raw/include/decoded/
Ddecoded_param.h39 virtual std::string GetKey();
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp415 if (!IsNotificationExists(record->notification->GetKey())) { in AssignToNotificationList()
628 if (item->notification->GetKey() == key) { in IsNotificationExists()
669 if ((*iter)->notification->GetKey() == record->notification->GetKey()) { in UpdateInNotificationList()
697 sorting.SetKey(record->notification->GetKey()); in GenerateSortingMap()
1198 keys.push_back(record->notification->GetKey()); in GetNotificationKeys()
1408 if (record->notification->GetKey() == key) { in RemoveFromNotificationList()
1429 … if ((record->notification->GetKey() == key) && (record->notification->GetUserId() == userId)) { in RemoveFromNotificationListForDeleteAll()
1622 if (IsContained(key, record->notification->GetKey())) { in GetSpecialActiveNotifications()
1949 if (!IsNotificationExists(record->notification->GetKey())) { in PublishContinuousTaskNotification()
2286 if (recentNotification->notification->GetKey() == notification->GetKey()) { in UpdateRecentNotification()
[all …]

12