Home
last modified time | relevance | path

Searched refs:GetKey (Results 1 – 25 of 49) 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()
/base/hiviewdfx/hiview/base/event_raw/encoded/
Draw_data_builder.cpp245 auto paramKey = param->GetKey(); in AppendValue()
251 if ((*iter)->GetKey() == paramKey) { in AppendValue()
271 if ((*iter)->GetKey() == key) { in GetValue()
315 … this->AppendValue(std::make_shared<UnsignedVarintEncodedParam<uint64_t>>(param->GetKey(), in InitValueParams()
322 … this->AppendValue(std::make_shared<SignedVarintEncodedParam<int64_t>>(param->GetKey(), in InitValueParams()
329 … this->AppendValue(std::make_shared<FloatingNumberEncodedParam<double>>(param->GetKey(), in InitValueParams()
336 this->AppendValue(std::make_shared<StringEncodedParam>(param->GetKey(), in InitValueParams()
362 … this->AppendValue(std::make_shared<UnsignedVarintEncodedArrayParam<uint64_t>>(param->GetKey(), in InitArrayValueParams()
369 … this->AppendValue(std::make_shared<SignedVarintEncodedArrayParam<int64_t>>(param->GetKey(), in InitArrayValueParams()
376 … this->AppendValue(std::make_shared<FloatingNumberEncodedArrayParam<double>>(param->GetKey(), in InitArrayValueParams()
[all …]
Dencoded_param.cpp35 std::string& EncodedParam::GetKey() in GetKey() function in OHOS::HiviewDFX::EventRaw::EncodedParam
/base/hiviewdfx/hiview/base/event_raw/decoded/
Ddecoded_event.cpp127 this->AppendValue(ss, param->GetKey(), u64Vec); in AppendCustomizedArrayParam()
133 this->AppendValue(ss, param->GetKey(), i64Vec); in AppendCustomizedArrayParam()
139 this->AppendValue(ss, param->GetKey(), dVec); in AppendCustomizedArrayParam()
145 this->AppendValue(ss, param->GetKey(), strVec); in AppendCustomizedArrayParam()
162 this->AppendValue(ss, param->GetKey(), uint64DecodedVal); in AppendCustomizedParam()
168 this->AppendValue(ss, param->GetKey(), int64DecodedVal); in AppendCustomizedParam()
174 this->AppendValue(ss, param->GetKey(), dDecodedVal); in AppendCustomizedParam()
180 this->AppendValue(ss, param->GetKey(), strDecodedVal); in AppendCustomizedParam()
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_live_view_service.cpp43 if (DeleteNotificationRequestFromDb(requestObj.request->GetKey()) != ERR_OK) { in RecoverLiveViewFromDb()
123 if (DeleteNotificationRequestFromDb(record->request->GetKey()) != ERR_OK) { in ProcForDeleteLiveView()
216 …auto result = NotificationPreferences::GetInstance().SetKvToDb(request->GetKey(), jsonObject.dump(… in SetNotificationRequestToDb()
220 …request->GetCreatorBundleName().c_str(), request->GetNotificationId(), request->GetKey().c_str(), … in SetNotificationRequestToDb()
270 (void)DeleteNotificationRequestFromDb(request->GetKey()); in GetBatchNotificationRequestsFromDb()
Dadvanced_notification_service.cpp271 if (!IsNotificationExists(record->notification->GetKey())) { in AssignToNotificationList()
355 uint64_t timerId = StartAutoDelete(record->notification->GetKey(), in StartFinishTimer()
386 uint64_t timerId = StartAutoDelete(record->notification->GetKey(), in StartUpdateTimer()
418 … TriggerAutoDelete(record->notification->GetKey(), NotificationConstant::APP_CANCEL_REASON_DELETE); in StartArchiveTimer()
426 uint64_t timerId = StartAutoDelete(record->notification->GetKey(), in StartArchiveTimer()
536 StartAutoDelete(record->notification->GetKey(), in PublishPreparedNotification()
555 if (item->notification->GetKey() == key) { in IsNotificationExists()
569 auto oldRecord = GetFromNotificationList(record->notification->GetKey()); in Filter()
573 record->notification->GetKey().c_str(), result); in Filter()
608 if ((*iter)->notification->GetKey() == record->notification->GetKey()) { in UpdateInNotificationList()
[all …]
/base/inputmethod/imf/services/adapter/settings_data_provider/common/src/
Dsettings_data_observer.cpp27 const std::string &SettingsDataObserver::GetKey() in GetKey() function in OHOS::MiscServices::SettingsDataObserver
Dsettings_data_utils.cpp78 auto uri = GenerateTargetUri(observer->GetKey()); in RegisterObserver()
93 auto uri = GenerateTargetUri(observer->GetKey()); in UnregisterObserver()
/base/hiviewdfx/hiview/base/event_raw/test/unittest/common/
Devent_raw_encoded_and_decoded_test.cpp66 ASSERT_EQ(param->GetKey(), TEST_KEY);
101 ASSERT_EQ(param->GetKey(), TEST_KEY);
138 ASSERT_EQ(param->GetKey(), TEST_KEY);
173 ASSERT_EQ(param->GetKey(), TEST_KEY);
210 ASSERT_EQ(param->GetKey(), TEST_KEY);
245 ASSERT_EQ(param->GetKey(), TEST_KEY);
282 ASSERT_EQ(param->GetKey(), TEST_KEY);
317 ASSERT_EQ(param->GetKey(), TEST_KEY);
501 ASSERT_EQ(param->GetKey(), TEST_KEY);
541 ASSERT_EQ(param->GetKey(), TEST_KEY);
[all …]
/base/powermgr/power_manager/utils/setting/src/
Dsetting_observer.cpp35 const std::string& SettingObserver::GetKey() in GetKey() function in OHOS::PowerMgr::SettingObserver
Dsetting_provider.cpp134 auto uri = AssembleUri(observer->GetKey()); in RegisterObserver()
153 auto uri = AssembleUri(observer->GetKey()); in UnregisterObserver()
/base/inputmethod/imf/services/adapter/settings_data_provider/common/include/
Dsettings_data_observer.h31 const std::string &GetKey();
/base/powermgr/power_manager/utils/setting/include/
Dsetting_observer.h30 const std::string& GetKey();
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Dencoded_param.cpp40 std::string& EncodedParam::GetKey() in GetKey() function in OHOS::HiviewDFX::Encoded::EncodedParam
/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/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.cpp675 EXPECT_EQ(eventParser.GetOnConsumedReq()[i]->GetKey(), notificationKey);
678 EXPECT_EQ(eventParser.GetOnConsumedWithSortingMapReq()[i]->GetKey(), notificationKey);
681 EXPECT_EQ(sorting.GetKey().c_str(), notificationKey);
712 std::string key = notifications[0]->GetKey().c_str();
729 EXPECT_EQ(eventParser.GetOnCanceledReq()[0]->GetKey(), notificationKey);
730 EXPECT_EQ(eventParser.GetOnCanceledWithSortingMapReq()[0]->GetKey(), notificationKey);
732 EXPECT_EQ(sorting.GetKey().c_str(), notificationKey);
759 std::string key = notifications[0]->GetKey().c_str();
1002 EXPECT_EQ(eventParser.GetOnCanceledReq()[0]->GetKey(), notificationKey);
1003 EXPECT_EQ(eventParser.GetOnCanceledWithSortingMapReq()[0]->GetKey(), notificationKey);
[all …]
/base/hiviewdfx/hiview/base/event_store/dao/
Ddoc_query.cpp112 if (cond.col_ != param->GetKey()) { in IsContainExtraConds()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_utils.h40 const K GetKey(const V& value) const in GetKey() function
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_live_view_service_test.cpp169 … ret = advancedNotificationService_->GetNotificationRequestFromDb(request->GetKey(), requestdbTmp);

12