/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | call_records_handler.cpp | 66 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/ |
D | sms_receive_handler.cpp | 183 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/ |
D | event_db_helper.cpp | 235 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/ |
D | location_data_rdb_helper.cpp | 132 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/ |
D | cellular_data_settings_rdb_helper.cpp | 128 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/ |
D | napi_mms_pdu.cpp | 67 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/ |
D | mms_persist_helper.cpp | 80 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/ |
D | setting_provider.cpp | 229 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()
|