Lines Matching defs:key
85 int32_t DataShareDelegate::GetValue(const std::string &key, std::string &value)
93 predicates.EqualTo(SETTING_COLUMN_KEYWORD, key);
94 Uri uri = MakeUri(key);
98 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "Query failed key=%{public}s", key.c_str());
104 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "no value, key=%{public}s, count=%{public}d", key.c_str(), count);
120 Uri DataShareDelegate::MakeUri(const std::string &key)
122 Uri uri(std::string(SETTING_URI_PROXY) + "&key=" + key);
126 int32_t DataShareDelegate::RegisterObserver(const std::string &key, sptr<AAFwk::IDataAbilityObserver> observer)
128 auto uri = MakeUri(key);
139 int32_t DataShareDelegate::UnregisterObserver(const std::string &key, sptr<AAFwk::IDataAbilityObserver> observer)
141 auto uri = MakeUri(key);