/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | call_records_handler.cpp | 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() 77 bucket.Put(CALL_FORMAT_NUMBER, std::string(info.formattedPhoneNumber)); in AddCallLogInfo() [all …]
|
/base/security/access_token/services/common/database/test/unittest/ |
D | database_test.cpp | 66 genericValues.Put(key, data); 205 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 206 genericValues.Put(TokenFiledConst::FIELD_USER_ID, 100); 207 genericValues.Put(TokenFiledConst::FIELD_BUNDLE_NAME, "test_bundle_name"); 208 genericValues.Put(TokenFiledConst::FIELD_API_VERSION, 9); 209 genericValues.Put(TokenFiledConst::FIELD_INST_INDEX, 0); 210 genericValues.Put(TokenFiledConst::FIELD_DLP_TYPE, 0); 211 genericValues.Put(TokenFiledConst::FIELD_APP_ID, "test_app_id"); 212 genericValues.Put(TokenFiledConst::FIELD_DEVICE_ID, "test_device_id"); 213 genericValues.Put(TokenFiledConst::FIELD_APL, ATokenAplEnum::APL_NORMAL); [all …]
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_db_test.cpp | 346 inGenericValues.Put(PrivacyFiledConst::FIELD_OP_CODE, opCode); 353 inGenericValues.Put(PrivacyFiledConst::FIELD_OP_CODE, opCode); 354 inGenericValues.Put(PrivacyFiledConst::FIELD_TIMESTAMP, 10); 355 inGenericValues.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, 1); 356 inGenericValues.Put(PrivacyFiledConst::FIELD_FLAG, 1); 371 value1.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 372 value1.Put(PrivacyFiledConst::FIELD_OP_CODE, Constant::OP_MICROPHONE); 373 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND); 374 value1.Put(PrivacyFiledConst::FIELD_TIMESTAMP, 123); // 123 is random input 375 value1.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, 0); [all …]
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record.cpp | 24 values.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(record.tokenId)); in TranslationIntoGenericValues() 25 values.Put(PrivacyFiledConst::FIELD_OP_CODE, record.opCode); in TranslationIntoGenericValues() 26 values.Put(PrivacyFiledConst::FIELD_STATUS, record.status); in TranslationIntoGenericValues() 27 values.Put(PrivacyFiledConst::FIELD_TIMESTAMP, record.timestamp); in TranslationIntoGenericValues() 28 values.Put(PrivacyFiledConst::FIELD_ACCESS_DURATION, record.accessDuration); in TranslationIntoGenericValues() 29 values.Put(PrivacyFiledConst::FIELD_ACCESS_COUNT, record.accessCount); in TranslationIntoGenericValues() 30 values.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, record.rejectCount); in TranslationIntoGenericValues()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 35 outGenericValues.Put(TokenFiledConst::FIELD_PERMISSION_NAME, inPermissionDef.permissionName); in TranslationIntoGenericValues() 36 outGenericValues.Put(TokenFiledConst::FIELD_BUNDLE_NAME, inPermissionDef.bundleName); in TranslationIntoGenericValues() 37 outGenericValues.Put(TokenFiledConst::FIELD_GRANT_MODE, inPermissionDef.grantMode); in TranslationIntoGenericValues() 38 outGenericValues.Put(TokenFiledConst::FIELD_AVAILABLE_LEVEL, inPermissionDef.availableLevel); in TranslationIntoGenericValues() 39 …outGenericValues.Put(TokenFiledConst::FIELD_PROVISION_ENABLE, inPermissionDef.provisionEnable ? 1 … in TranslationIntoGenericValues() 40 outGenericValues.Put(TokenFiledConst::FIELD_DISTRIBUTED_SCENE_ENABLE, in TranslationIntoGenericValues() 42 outGenericValues.Put(TokenFiledConst::FIELD_LABEL, inPermissionDef.label); in TranslationIntoGenericValues() 43 outGenericValues.Put(TokenFiledConst::FIELD_LABEL_ID, inPermissionDef.labelId); in TranslationIntoGenericValues() 44 outGenericValues.Put(TokenFiledConst::FIELD_DESCRIPTION, inPermissionDef.description); in TranslationIntoGenericValues() 45 outGenericValues.Put(TokenFiledConst::FIELD_DESCRIPTION_ID, inPermissionDef.descriptionId); in TranslationIntoGenericValues() [all …]
|
/base/telephony/telephony_data/test/unittest/data_test/ |
D | data_storage_test.cpp | 128 value.Put(SimData::SIM_ID, 1); in SimSetCardByType() 129 value.Put(SimData::CARD_TYPE, 1); in SimSetCardByType() 138 value.Put(OpKeyData::ID, 1); in OpKeyInsert() 139 value.Put(OpKeyData::MCCMNC, "46000"); in OpKeyInsert() 140 value.Put(OpKeyData::GID1, "gid1"); in OpKeyInsert() 141 value.Put(OpKeyData::OPERATOR_NAME, "Mobile"); in OpKeyInsert() 142 value.Put(OpKeyData::OPERATOR_KEY, opkey); in OpKeyInsert() 150 values.Put(OpKeyData::GID1, "gidd1"); in OpKeyUpdate() 184 value.Put(SimData::SIM_ID, 1); in SimInsert() 185 value.Put(SimData::PHONE_NUMBER, "134xxxxxxxx"); in SimInsert() [all …]
|
/base/security/access_token/services/common/database/include/ |
D | generic_values.h | 33 void Put(const std::string& key, int32_t value); 35 void Put(const std::string& key, int64_t value); 37 void Put(const std::string& key, const std::string& value); 39 void Put(const std::string& key, const VariantValue& value);
|
/base/telephony/sms_mms/services/sms/ |
D | sms_receive_handler.cpp | 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() 194 bucket.Put(SmsSubsection::SIZE, indexer->GetMsgCount()); in AddMsgToDB() [all …]
|
D | sms_service.cpp | 203 smsMmsInfoBucket.Put(SmsMmsInfo::SLOT_ID, std::to_string(slotId)); in InsertSmsMmsInfo() 204 smsMmsInfoBucket.Put(SmsMmsInfo::RECEIVER_NUMBER, number); in InsertSmsMmsInfo() 205 smsMmsInfoBucket.Put(SmsMmsInfo::SENDER_NUMBER, ""); in InsertSmsMmsInfo() 206 smsMmsInfoBucket.Put(SmsMmsInfo::IS_SENDER, "0"); in InsertSmsMmsInfo() 207 smsMmsInfoBucket.Put(SmsMmsInfo::START_TIME, std::to_string(duration.count())); in InsertSmsMmsInfo() 208 smsMmsInfoBucket.Put(SmsMmsInfo::END_TIME, std::to_string(duration.count())); in InsertSmsMmsInfo() 209 smsMmsInfoBucket.Put(SmsMmsInfo::MSG_TYPE, "0"); in InsertSmsMmsInfo() 210 smsMmsInfoBucket.Put(SmsMmsInfo::SMS_TYPE, "0"); in InsertSmsMmsInfo() 211 smsMmsInfoBucket.Put(SmsMmsInfo::MSG_TITLE, text); in InsertSmsMmsInfo() 212 smsMmsInfoBucket.Put(SmsMmsInfo::MSG_CONTENT, text); in InsertSmsMmsInfo() [all …]
|
/base/telephony/telephony_data/test/unittest/data_gtest/ |
D | data_storage_gtest.cpp | 160 value.Put(OpKeyData::ID, 1); in OpKeyInsert() 161 value.Put(OpKeyData::MCCMNC, "460"); in OpKeyInsert() 162 value.Put(OpKeyData::GID1, "gid1"); in OpKeyInsert() 163 value.Put(OpKeyData::OPERATOR_NAME, "name"); in OpKeyInsert() 164 value.Put(OpKeyData::OPERATOR_KEY, opkey); in OpKeyInsert() 174 values.Put(OpKeyData::OPERATOR_NAME, "name2"); in OpKeyUpdate() 208 value.Put(SimData::SLOT_INDEX, 1); in SimInsert() 209 value.Put(SimData::PHONE_NUMBER, "134xxxxxxxx"); in SimInsert() 210 value.Put(SimData::ICC_ID, "icc_id"); in SimInsert() 211 value.Put(SimData::CARD_ID, "card_id"); in SimInsert() [all …]
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | write_controller.cpp | 44 lruCache.Put(key, stat); in CheckLimitWritingEvent() 53 lruCache.Put(key, stat); in CheckLimitWritingEvent() 58 lruCache.Put(key, stat); in CheckLimitWritingEvent() 61 lruCache.Put(key, stat); in CheckLimitWritingEvent()
|
/base/security/access_token/services/common/database/src/ |
D | generic_values.cpp | 21 void GenericValues::Put(const std::string& key, int32_t value) in Put() function in OHOS::Security::AccessToken::GenericValues 26 void GenericValues::Put(const std::string& key, int64_t value) in Put() function in OHOS::Security::AccessToken::GenericValues 31 void GenericValues::Put(const std::string& key, const std::string& value) in Put() function in OHOS::Security::AccessToken::GenericValues 36 void GenericValues::Put(const std::string& key, const VariantValue& value) in Put() function in OHOS::Security::AccessToken::GenericValues
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | hap_token_info_inner.cpp | 109 …outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenInfoBasic_.tokenID… in TranslationIntoGenericValues() 110 outGenericValues.Put(TokenFiledConst::FIELD_USER_ID, tokenInfoBasic_.userID); in TranslationIntoGenericValues() 111 outGenericValues.Put(TokenFiledConst::FIELD_BUNDLE_NAME, tokenInfoBasic_.bundleName); in TranslationIntoGenericValues() 112 outGenericValues.Put(TokenFiledConst::FIELD_API_VERSION, tokenInfoBasic_.apiVersion); in TranslationIntoGenericValues() 113 outGenericValues.Put(TokenFiledConst::FIELD_INST_INDEX, tokenInfoBasic_.instIndex); in TranslationIntoGenericValues() 114 outGenericValues.Put(TokenFiledConst::FIELD_DLP_TYPE, tokenInfoBasic_.dlpType); in TranslationIntoGenericValues() 115 outGenericValues.Put(TokenFiledConst::FIELD_APP_ID, tokenInfoBasic_.appID); in TranslationIntoGenericValues() 116 outGenericValues.Put(TokenFiledConst::FIELD_DEVICE_ID, tokenInfoBasic_.deviceID); in TranslationIntoGenericValues() 117 outGenericValues.Put(TokenFiledConst::FIELD_APL, tokenInfoBasic_.apl); in TranslationIntoGenericValues() 118 outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_VERSION, tokenInfoBasic_.ver); in TranslationIntoGenericValues() [all …]
|
D | native_token_info_inner.cpp | 106 …outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenInfoBasic_.tokenID… in TranslationIntoGenericValues() 107 outGenericValues.Put(TokenFiledConst::FIELD_PROCESS_NAME, tokenInfoBasic_.processName); in TranslationIntoGenericValues() 108 outGenericValues.Put(TokenFiledConst::FIELD_APL, tokenInfoBasic_.apl); in TranslationIntoGenericValues() 109 outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_VERSION, tokenInfoBasic_.ver); in TranslationIntoGenericValues() 110 outGenericValues.Put(TokenFiledConst::FIELD_DCAP, DcapToString(tokenInfoBasic_.dcap)); in TranslationIntoGenericValues() 111 …outGenericValues.Put(TokenFiledConst::FIELD_NATIVE_ACLS, NativeAclsToString(tokenInfoBasic_.native… in TranslationIntoGenericValues() 112 …outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_ATTR, static_cast<int32_t>(tokenInfoBasic_.token… in TranslationIntoGenericValues()
|
/base/telephony/core_service/services/sim/src/ |
D | multi_sim_controller.cpp | 187 values.Put(SimData::SLOT_INDEX, slotObj); in UpdateDataByIccId() 188 values.Put(SimData::IS_ACTIVE, valueObj); in UpdateDataByIccId() 192 values.Put(SimData::IS_MAIN_CARD, mainCardObj); in UpdateDataByIccId() 193 values.Put(SimData::IS_VOICE_CARD, mainCardObj); in UpdateDataByIccId() 194 values.Put(SimData::IS_MESSAGE_CARD, mainCardObj); in UpdateDataByIccId() 195 values.Put(SimData::IS_CELLULAR_DATA_CARD, mainCardObj); in UpdateDataByIccId() 212 values.Put(SimData::SLOT_INDEX, slotObj); in InsertData() 213 values.Put(SimData::ICC_ID, iccidObj); in InsertData() 214 values.Put(SimData::CARD_ID, iccidObj); // iccId == cardId by now in InsertData() 215 values.Put(SimData::IS_ACTIVE, valueObj); in InsertData() [all …]
|
D | sim_rdb_helper.cpp | 235 value.Put(SimData::SIM_ID, slotObj); in SetDefaultMainCard() 236 value.Put(SimData::CARD_TYPE, valueObj); in SetDefaultMainCard() 255 value.Put(SimData::SIM_ID, slotObj); in SetDefaultVoiceCard() 256 value.Put(SimData::CARD_TYPE, valueObj); in SetDefaultVoiceCard() 275 value.Put(SimData::SIM_ID, slotObj); in SetDefaultMessageCard() 276 value.Put(SimData::CARD_TYPE, valueObj); in SetDefaultMessageCard() 295 value.Put(SimData::SIM_ID, slotObj); in SetDefaultCellularData() 296 value.Put(SimData::CARD_TYPE, valueObj); in SetDefaultCellularData() 489 value.Put(SimData::IS_ACTIVE, valueObj); in ForgetAllData() 507 value.Put(SimData::IS_ACTIVE, valueObj); in ForgetAllData()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 1474 value.Put(TokenFiledConst::FIELD_AVAILABLE_LEVEL, ATokenAplEnum::APL_INVALID); 1659 value1.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input 1660 value1.Put(TokenFiledConst::FIELD_GRANT_IS_GENERAL, true); 1661 value1.Put(TokenFiledConst::FIELD_PERMISSION_NAME, "ohos.permission.CAMERA"); 1662 value1.Put(TokenFiledConst::FIELD_DEVICE_ID, "dev-001"); 1663 value1.Put(TokenFiledConst::FIELD_GRANT_STATE, static_cast<PermissionState>(3)); 1664 value1.Put(TokenFiledConst::FIELD_GRANT_FLAG, PermissionFlag::PERMISSION_DEFAULT_FLAG); 1676 value2.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input 1677 value2.Put(TokenFiledConst::FIELD_GRANT_IS_GENERAL, true); 1678 value2.Put(TokenFiledConst::FIELD_PERMISSION_NAME, "ohos.permission.CAMERA"); [all …]
|
/base/security/access_token/services/privacymanager/src/database/ |
D | data_translator.cpp | 45 andGenericValues.Put(PrivacyFiledConst::FIELD_TIMESTAMP_BEGIN, begin); in TranslationIntoGenericValues() 48 andGenericValues.Put(PrivacyFiledConst::FIELD_TIMESTAMP_END, end); in TranslationIntoGenericValues()
|
D | permission_used_record_db.cpp | 136 value.Put(statement.GetColumnName(i), statement.GetValue(i, true)); in FindByConditions() 138 value.Put(statement.GetColumnName(i), statement.GetValue(i, false)); in FindByConditions() 157 value.Put(statement.GetColumnName(i), statement.GetValue(i, false)); in GetDistinctValue() 159 value.Put(statement.GetColumnName(i), statement.GetColumnString(i)); in GetDistinctValue() 174 result.Put(FIELD_COUNT_NUMBER, countStatement.GetValue(column, true)); in Count()
|
/base/telephony/telephony_data/ |
D | README_zh.md | 191 value.Put(SmsMmsInfo::RECEIVER_NUMBER, "138XXXXXXXX"); 193 value.Put(SmsMmsInfo::MSG_CONTENT, "ceshi"); 194 value.Put(SmsMmsInfo::GROUP_ID, 1); 216 values.Put(SmsMmsInfo::MSG_CONTENT, "hi ohos");
|
/base/telephony/core_service/services/network_search/src/ |
D | setting_utils.cpp | 136 valuesBucket.Put(SETTING_KEY, keyObj); in Insert() 137 valuesBucket.Put(SETTING_VALUE, valueObj); in Insert() 163 valuesBucket.Put(SETTING_VALUE, valueObj); in Update()
|
/base/location/frameworks/location_common/common/source/ |
D | location_data_rdb_helper.cpp | 133 bucket.Put(LOCATION_DATA_COLUMN_VALUE, valueObj); in SetValue() 134 bucket.Put(LOCATION_DATA_COLUMN_KEYWORD, keyObj); in SetValue()
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_settings_rdb_helper.cpp | 129 bucket.Put(CELLULAR_DATA_COLUMN_VALUE, valueObj); in PutValue() 130 bucket.Put(CELLULAR_DATA_COLUMN_KEYWORD, keyObj); in PutValue()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
D | mock_single_kv_store.cpp | 50 Put(key, value); in InsertDataToDoCallback() 67 Put(key, value); in UpdateDataToDoCallback() 171 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put() function in OHOS::DistributedKv::MockSingleKvStore
|
/base/notification/distributed_notification_service/services/ans/ |
D | libans.map | 46 *Put*;
|