Home
last modified time | relevance | path

Searched refs:bucket (Results 1 – 8 of 8) sorted by relevance

/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_records_handler.cpp66 DataShare::DataShareValuesBucket bucket; in AddCallLogInfo() local
68 bucket.Put(CALL_PHONE_NUMBER, std::string(info.phoneNumber)); in AddCallLogInfo()
69 bucket.Put(CALL_DISPLAY_NAME, std::string(contactInfo.name)); in AddCallLogInfo()
70 bucket.Put(CALL_DIRECTION, static_cast<int32_t>(info.directionType)); in AddCallLogInfo()
71 bucket.Put(CALL_VOICEMAIL_URI, std::string("")); in AddCallLogInfo()
72 bucket.Put(CALL_SIM_TYPE, 0); in AddCallLogInfo()
73 bucket.Put(CALL_IS_HD, static_cast<int32_t>(info.callType)); in AddCallLogInfo()
74 bucket.Put(CALL_IS_READ, 0); in AddCallLogInfo()
75 bucket.Put(CALL_RING_DURATION, static_cast<int32_t>(info.ringDuration)); in AddCallLogInfo()
76 bucket.Put(CALL_TALK_DURATION, static_cast<int32_t>(info.callDuration)); in AddCallLogInfo()
[all …]
/base/telephony/sms_mms/services/sms/
Dsms_receive_handler.cpp183 DataShare::DataShareValuesBucket bucket; in AddMsgToDB() local
184 bucket.Put(SmsSubsection::SLOT_ID, std::to_string(slotId_)); in AddMsgToDB()
185 bucket.Put(SmsSubsection::RECEIVER_NUMBER, indexer->GetOriginatingAddress()); in AddMsgToDB()
186 bucket.Put(SmsSubsection::SENDER_NUMBER, indexer->GetOriginatingAddress()); in AddMsgToDB()
187 bucket.Put(SmsSubsection::START_TIME, std::to_string(indexer->GetTimestamp())); in AddMsgToDB()
188 bucket.Put(SmsSubsection::END_TIME, std::to_string(indexer->GetTimestamp())); in AddMsgToDB()
189 bucket.Put(SmsSubsection::REW_PUD, StringUtils::StringToHex(indexer->GetPdu())); in AddMsgToDB()
191 bucket.Put(SmsSubsection::FORMAT, indexer->GetIsCdma() ? SMS_TYPE_CDMA : SMS_TYPE_GSM); in AddMsgToDB()
192 bucket.Put(SmsSubsection::DEST_PORT, indexer->GetDestPort()); in AddMsgToDB()
193 bucket.Put(SmsSubsection::SMS_SUBSECTION_ID, indexer->GetMsgRefId()); in AddMsgToDB()
[all …]
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Devent_db_helper.cpp235 NativeRdb::ValuesBucket bucket; in InsertPluginStatsTable() local
236 bucket.PutString(DB_COLUMIN_PLUGIN, pluginName); in InsertPluginStatsTable()
237 bucket.PutString(DB_COLUMIN_EVNET, eventStr); in InsertPluginStatsTable()
239 if (rdbStore_->Insert(seq, DB_TABLE_PLUGIN_STATS, bucket) != NativeRdb::E_OK) { in InsertPluginStatsTable()
254 NativeRdb::ValuesBucket bucket; in InsertSysUsageTable() local
255 bucket.PutString(DB_COLUMIN_EVNET, eventStr); in InsertSysUsageTable()
257 if (rdbStore_->Insert(seq, table, bucket) != NativeRdb::E_OK) { in InsertSysUsageTable()
267 NativeRdb::ValuesBucket bucket; in UpdatePluginStatsTable() local
268 bucket.PutString(DB_COLUMIN_EVNET, eventStr); in UpdatePluginStatsTable()
272 if (rdbStore_->Update(changeRows, bucket, predicates) != NativeRdb::E_OK || changeRows == 0) { in UpdatePluginStatsTable()
[all …]
/base/location/frameworks/location_common/common/source/
Dlocation_data_rdb_helper.cpp132 DataShare::DataShareValuesBucket bucket; in SetValue() local
133 bucket.Put(LOCATION_DATA_COLUMN_VALUE, valueObj); in SetValue()
134 bucket.Put(LOCATION_DATA_COLUMN_KEYWORD, keyObj); in SetValue()
137 err = dataShareHelper->Insert(uri, bucket); in SetValue()
141 err = dataShareHelper->Update(uri, predicates, bucket); in SetValue()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_settings_rdb_helper.cpp128 DataShare::DataShareValuesBucket bucket; in PutValue() local
129 bucket.Put(CELLULAR_DATA_COLUMN_VALUE, valueObj); in PutValue()
130 bucket.Put(CELLULAR_DATA_COLUMN_KEYWORD, keyObj); in PutValue()
133 result = settingHelper->Insert(uri, bucket); in PutValue()
137 result = settingHelper->Update(uri, predicates, bucket); in PutValue()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms_pdu.cpp67 DataShare::DataShareValuesBucket bucket; in InsertMmsPdu() local
68 bucket.Put(PDU_CONTENT, targetMmsPdu); in InsertMmsPdu()
69 int32_t result = dbHelper->Insert(uri, bucket); in InsertMmsPdu()
/base/telephony/sms_mms/services/mms/
Dmms_persist_helper.cpp80 DataShare::DataShareValuesBucket bucket; in UpdateMmsPdu() local
86 bucket.Put(PDU_CONTENT, targetMmsPdu); in UpdateMmsPdu()
89 int32_t result = helper->Update(uri, predicates, bucket); in UpdateMmsPdu()
/base/powermgr/power_manager/utils/setting/src/
Dsetting_provider.cpp229 DataShare::DataShareValuesBucket bucket; in PutStringValue() local
230 bucket.Put(SETTING_COLUMN_KEYWORD, keyObj); in PutStringValue()
231 bucket.Put(SETTING_COLUMN_VALUE, valueObj); in PutStringValue()
235 if (helper->Update(uri, predicates, bucket) <= 0) { in PutStringValue()
237 helper->Insert(uri, bucket); in PutStringValue()