Home
last modified time | relevance | path

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

/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_records_handler.cpp59 DataShare::DataShareValuesBucket bucket; in ProcessEvent() local
61 bucket.Put(CALL_PHONE_NUMBER, std::string(info.phoneNumber)); in ProcessEvent()
62 bucket.Put(CALL_DISPLAY_NAME, std::string(contactInfo.name)); in ProcessEvent()
63 bucket.Put(CALL_DIRECTION, static_cast<int32_t>(info.directionType)); in ProcessEvent()
64 bucket.Put(CALL_VOICEMAIL_URI, std::string("")); in ProcessEvent()
65 bucket.Put(CALL_SIM_TYPE, 0); in ProcessEvent()
66 bucket.Put(CALL_IS_HD, 0); in ProcessEvent()
67 bucket.Put(CALL_IS_READ, 0); in ProcessEvent()
68 bucket.Put(CALL_RING_DURATION, static_cast<int32_t>(info.ringDuration)); in ProcessEvent()
69 bucket.Put(CALL_TALK_DURATION, static_cast<int32_t>(info.callDuration)); in ProcessEvent()
[all …]
/base/telephony/sms_mms/services/
Dsms_receive_handler.cpp234 NativeRdb::ValuesBucket bucket; in AddMsgToDB() local
235 bucket.PutString(SmsMmsData::SLOT_ID, std::to_string(slotId_)); in AddMsgToDB()
236 bucket.PutString(SmsMmsData::RECEIVER_NUMBER, indexer->GetOriginatingAddress()); in AddMsgToDB()
237 bucket.PutString(SmsMmsData::SENDER_NUMBER, indexer->GetOriginatingAddress()); in AddMsgToDB()
238 bucket.PutString(SmsMmsData::START_TIME, std::to_string(indexer->GetTimestamp())); in AddMsgToDB()
239 bucket.PutString(SmsMmsData::END_TIME, std::to_string(indexer->GetTimestamp())); in AddMsgToDB()
240 bucket.PutString(SmsMmsData::RAW_PUD, StringUtils::StringToHex(indexer->GetPdu())); in AddMsgToDB()
242 bucket.PutInt(SmsMmsData::FORMAT, indexer->GetIsCdma() ? cdma : gsm); in AddMsgToDB()
243 bucket.PutInt(SmsMmsData::DEST_PORT, indexer->GetDestPort()); in AddMsgToDB()
244 bucket.PutInt(SmsMmsData::SMS_SUBSECTION_ID, indexer->GetMsgRefId()); in AddMsgToDB()
[all …]
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_settings_rdb_helper.cpp123 DataShare::DataShareValuesBucket bucket; in PutValue() local
124 bucket.Put(CELLULAR_DATA_COLUMN_VALUE, valueObj); in PutValue()
125 bucket.Put(CELLULAR_DATA_COLUMN_KEYWORD, keyObj); in PutValue()
128 result = settingHelper->Insert(uri, bucket); in PutValue()
132 result = settingHelper->Update(uri, predicates, bucket); in PutValue()
/base/powermgr/power_manager/utils/setting/src/
Dsetting_provider.cpp219 DataShare::DataShareValuesBucket bucket; in PutStringValue() local
220 bucket.Put(SETTING_COLUMN_KEYWORD, keyObj); in PutStringValue()
221 bucket.Put(SETTING_COLUMN_VALUE, valueObj); in PutStringValue()
225 if (helper->Update(uri, predicates, bucket) <= 0) { in PutStringValue()
227 helper->Insert(uri, bucket); in PutStringValue()