Home
last modified time | relevance | path

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

/base/telephony/data_storage/sms_mms/src/
Dsms_mms_ability.cpp116 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in Query() local
119 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SMS_MMS_INFO); in Query()
123 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PROTOCOL); in Query()
127 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SMS_SUBSECTION); in Query()
131 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PART); in Query()
146 if (absRdbPredicates != nullptr) { in Query()
147 ConvertPredicates(predicates, absRdbPredicates); in Query()
148 resultSet = helper_.Query(*absRdbPredicates, columns); in Query()
149 delete absRdbPredicates; in Query()
150 absRdbPredicates = nullptr; in Query()
[all …]
/base/telephony/data_storage/pdp_profile/src/
Dpdp_profile_ability.cpp104 …NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_PDP_PROFILE); in Query() local
105 if (absRdbPredicates != nullptr) { in Query()
106 ConvertPredicates(predicates, absRdbPredicates); in Query()
107 resultSet = helper_.Query(*absRdbPredicates, columns); in Query()
108 delete absRdbPredicates; in Query()
109 absRdbPredicates = nullptr; in Query()
133 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in Update() local
136 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_PDP_PROFILE); in Update()
151 if (absRdbPredicates != nullptr) { in Update()
153 ConvertPredicates(predicates, absRdbPredicates); in Update()
[all …]
/base/telephony/data_storage/opkey/src/
Dopkey_ability.cpp103 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_OPKEY_INFO); in Query() local
104 if (absRdbPredicates != nullptr) { in Query()
105 ConvertPredicates(predicates, absRdbPredicates); in Query()
106 resultSet = helper_.Query(*absRdbPredicates, columns); in Query()
107 delete absRdbPredicates; in Query()
108 absRdbPredicates = nullptr; in Query()
132 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in Update() local
135 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_OPKEY_INFO); in Update()
142 if (absRdbPredicates != nullptr) { in Update()
144 ConvertPredicates(predicates, absRdbPredicates); in Update()
[all …]
/base/telephony/data_storage/sim/src/
Dsim_ability.cpp104 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SIM_INFO); in Query() local
105 if (absRdbPredicates != nullptr) { in Query()
106 ConvertPredicates(predicates, absRdbPredicates); in Query()
107 resultSet = helper_.Query(*absRdbPredicates, columns); in Query()
108 delete absRdbPredicates; in Query()
109 absRdbPredicates = nullptr; in Query()
135 … NativeRdb::AbsRdbPredicates *absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SIM_INFO); in Update() local
136 if (absRdbPredicates != nullptr) { in Update()
138 ConvertPredicates(predicates, absRdbPredicates); in Update()
139 result = helper_.Update(changedRows, value, *absRdbPredicates); in Update()
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_rdb_data_mgr.cpp194 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in DeleteData() local
195 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in DeleteData()
196 int32_t ret = rdbStore_->Delete(rowId, absRdbPredicates); in DeleteData()
216 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in DeleteBathchData() local
218 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in DeleteBathchData()
219 int32_t ret = rdbStore_->Delete(rowId, absRdbPredicates); in DeleteBathchData()
239 NativeRdb::AbsRdbPredicates absRdbPredicates(notificationRdbConfig_.tableName); in QueryData() local
240 absRdbPredicates.EqualTo(NOTIFICATION_KEY, key); in QueryData()
241 auto absSharedResultSet = rdbStore_->Query(absRdbPredicates, std::vector<std::string>()); in QueryData()
272 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()
247 absRdbPredicates, std::vector<std::string>()); in IsReminderExist()
388 NativeRdb::AbsRdbPredicates absRdbPredicates(REMINDER_DB_TABLE); in GetBundleOption() local
389 absRdbPredicates.EqualTo(ReminderRequest::REMINDER_ID, std::to_string(reminderId)); in GetBundleOption()
391 absRdbPredicates, std::vector<std::string>()); in GetBundleOption()
/base/telephony/data_storage/opkey/include/
Dopkey_ability.h71 …const NativeRdb::DataAbilityPredicates &predicates, NativeRdb::AbsRdbPredicates *absRdbPredicates);
/base/telephony/data_storage/pdp_profile/include/
Dpdp_profile_ability.h72 …const NativeRdb::DataAbilityPredicates &predicates, NativeRdb::AbsRdbPredicates *absRdbPredicates);
/base/telephony/data_storage/sim/include/
Dsim_ability.h72 …const NativeRdb::DataAbilityPredicates &predicates, NativeRdb::AbsRdbPredicates *absRdbPredicates);
/base/telephony/data_storage/sms_mms/include/
Dsms_mms_ability.h72 …const NativeRdb::DataAbilityPredicates &predicates, NativeRdb::AbsRdbPredicates *absRdbPredicates);