Home
last modified time | relevance | path

Searched refs:absRdbPredicates (Results 1 – 6 of 6) sorted by relevance

/base/telephony/telephony_data/sms_mms/src/
Dsms_mms_ability.cpp179 NativeRdb::AbsRdbPredicates *absRdbPredicates = GetPredicates(messageUriType, uri); in Query() local
181 if (absRdbPredicates != nullptr) { in Query()
182 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query()
186 delete absRdbPredicates; in Query()
187 absRdbPredicates = nullptr; in Query()
192 delete absRdbPredicates; in Query()
193 absRdbPredicates = nullptr; in Query()
215 NativeRdb::AbsRdbPredicates *absRdbPredicates = GetPredicates(messageUriType, uri); in Update() local
216 if (absRdbPredicates != nullptr) { in Update()
218 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Update()
[all …]
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp148 …NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_PDP_PROFILE); in Query() local
149 if (absRdbPredicates != nullptr) { in Query()
150 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query()
154 delete absRdbPredicates; in Query()
155 absRdbPredicates = nullptr; in Query()
160 delete absRdbPredicates; in Query()
161 absRdbPredicates = nullptr; in Query()
186 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in Update() local
189 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_PDP_PROFILE); in Update()
204 if (absRdbPredicates != nullptr) { in Update()
[all …]
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp147 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_OPKEY_INFO); in Query() local
148 if (absRdbPredicates != nullptr) { in Query()
149 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query()
153 delete absRdbPredicates; in Query()
154 absRdbPredicates = nullptr; in Query()
159 delete absRdbPredicates; in Query()
160 absRdbPredicates = nullptr; in Query()
185 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in Update() local
188 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_OPKEY_INFO); in Update()
195 if (absRdbPredicates != nullptr) { in Update()
[all …]
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp162 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SIM_INFO); in Query() local
163 if (absRdbPredicates != nullptr) { in Query()
164 …NativeRdb::RdbPredicates rdbPredicates = ConvertPredicates(absRdbPredicates->GetTableName(), predi… in Query()
168 delete absRdbPredicates; in Query()
169 absRdbPredicates = nullptr; in Query()
174 delete absRdbPredicates; in Query()
175 absRdbPredicates = nullptr; in Query()
202 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SIM_INFO); in Update() local
203 if (absRdbPredicates != nullptr) { in Update()
206 ConvertPredicates(absRdbPredicates->GetTableName(), predicates); in Update()
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_rdb_data_mgr.cpp205 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in DeleteData() local
206 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in DeleteData()
207 int32_t ret = rdbStore_->Delete(rowId, absRdbPredicates); in DeleteData()
227 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in DeleteBathchData() local
229 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in DeleteBathchData()
230 int32_t ret = rdbStore_->Delete(rowId, absRdbPredicates); in DeleteBathchData()
250 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in QueryData() local
251 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in QueryData()
252 auto absSharedResultSet = rdbStore_->Query(absRdbPredicates, std::vector<std::string>()); in QueryData()
283 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in QueryDataBeginWithKey() local
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_store.cpp244 NativeRdb::AbsRdbPredicates absRdbPredicates(REMINDER_DB_TABLE); in IsReminderExist() local
245absRdbPredicates.EqualTo(ReminderRequest::REMINDER_ID, std::to_string(reminder->GetReminderId())); in IsReminderExist()
246 auto queryResultSet = rdbStore_->Query(absRdbPredicates, std::vector<std::string>()); in IsReminderExist()
385 NativeRdb::AbsRdbPredicates absRdbPredicates(REMINDER_DB_TABLE); in GetBundleOption() local
386 absRdbPredicates.EqualTo(ReminderRequest::REMINDER_ID, std::to_string(reminderId)); in GetBundleOption()
388 rdbStore_->Query(absRdbPredicates, std::vector<std::string>()); in GetBundleOption()