/base/update/updateservice/services/firmware/data/db/src/ |
H A D | firmware_task_operator.cpp | 44 values.PutInt(COLUMN_TASK_STATUS, CAST_INT(status)); in UpdateProgressByTaskId() 45 values.PutInt(COLUMN_TASK_PROGRESS, progress); in UpdateProgressByTaskId() 52 values.PutInt(COLUMN_TASK_ERROR_CODE, errorCode); in UpdateErrMsgByTaskId() 68 values.PutInt(COLUMN_TASK_COMBINATION_TYPE, CAST_INT(combinationType)); in UpdateCombinationTypeByTaskId() 75 values.PutInt(COLUMN_TASK_DOWNLOAD_MODE, CAST_INT(downloadMode)); in UpdateDownloadModeByTaskId() 82 values.PutInt(COLUMN_TASK_DOWNLOAD_ALLOW_NETWORK, CAST_INT(downloadAllowNetwork)); in UpdateDownloadAllowNetworkByTaskId() 89 values.PutInt(COLUMN_TASK_DOWNLOAD_ORDER, CAST_INT(downloadOrder)); in UpdateDownloadOrderByTaskId() 97 values.PutInt(COLUMN_TASK_DOWNLOAD_MODE, CAST_INT(downloadMode)); in UpdateDownloadOptionByTaskId() 98 values.PutInt(COLUMN_TASK_DOWNLOAD_ALLOW_NETWORK, CAST_INT(downloadAllowNetwork)); in UpdateDownloadOptionByTaskId() 99 values.PutInt(COLUMN_TASK_DOWNLOAD_ORDE in UpdateDownloadOptionByTaskId() [all...] |
H A D | firmware_component_operator.cpp | 25 values.PutInt(COLUMN_COMPONENT_STATUS, CAST_INT(status)); in UpdateProgressByUrl() 26 values.PutInt(COLUMN_COMPONENT_PROGRESS, progress); in UpdateProgressByUrl()
|
/base/security/security_guard/test/unittest/mock/preferences_wrapper/ |
H A D | preferences_wrapper.h | 28 virtual int32_t PutInt(const std::string &key, int value) = 0; 36 MOCK_METHOD2(PutInt, int32_t(const std::string &key, int value)); 42 static int32_t PutInt(const std::string &key, int value) in PutInt() function in OHOS::Security::SecurityGuard::PreferenceWrapper 47 return instance_->PutInt(key, value); in PutInt()
|
/base/telephony/telephony_data/sim/src/ |
H A D | rdb_sim_helper.cpp | 95 values.PutInt(SimData::IS_MAIN_CARD, 1); in SetDefaultCardByType() 99 values.PutInt(SimData::IS_VOICE_CARD, 1); in SetDefaultCardByType() 103 values.PutInt(SimData::IS_MESSAGE_CARD, 1); in SetDefaultCardByType() 107 values.PutInt(SimData::IS_CELLULAR_DATA_CARD, 1); in SetDefaultCardByType() 133 values.PutInt(SimData::IS_MAIN_CARD, updateState); in UpdateCardStateByType() 139 values.PutInt(SimData::IS_VOICE_CARD, updateState); in UpdateCardStateByType() 145 values.PutInt(SimData::IS_MESSAGE_CARD, updateState); in UpdateCardStateByType() 151 values.PutInt(SimData::IS_CELLULAR_DATA_CARD, updateState); in UpdateCardStateByType()
|
/base/security/security_guard/test/unittest/mock/preferences/ |
H A D | preferences.h | 33 virtual int PutInt(const std::string &key, int value) = 0; 42 MOCK_METHOD2(PutInt, int(const std::string &key, int value));
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
H A D | app_event_dao.cpp | 84 bucket.PutInt(Events::FIELD_TYPE, event->GetType());
in Insert() 87 bucket.PutInt(Events::FIELD_PID, event->GetPid());
in Insert() 88 bucket.PutInt(Events::FIELD_TID, event->GetTid());
in Insert() 92 bucket.PutInt(Events::FIELD_TRACE_FLAG, event->GetTraceFlag());
in Insert()
|
H A D | custom_event_param_dao.cpp | 83 bucket.PutInt(FIELD_PARAM_TYPE, param.type); in Insert() 100 bucket.PutInt(FIELD_PARAM_TYPE, param.type); in Update()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | app_event_task_storage.cpp | 174 bucket.PutInt(COLUMN_TASK_TYPE, appEventTask.taskType_); in InsertAppEventTask() 175 bucket.PutInt(COLUMN_UID, appEventTask.uid_); in InsertAppEventTask() 176 bucket.PutInt(COLUMN_PID, appEventTask.pid_); in InsertAppEventTask() 182 bucket.PutInt(COLUMN_RESOURCE_SIZE, appEventTask.resourceSize_); in InsertAppEventTask() 184 bucket.PutInt(COLUMN_STATE, appEventTask.state_); in InsertAppEventTask()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_store_strategy.cpp | 31 values.PutInt(ReminderBaseTable::REMINDER_ID, reminder->GetReminderId()); in AppendValuesBucket() 33 values.PutInt(ReminderBaseTable::USER_ID, reminder->GetUserId()); in AppendValuesBucket() 34 values.PutInt(ReminderBaseTable::UID, reminder->GetUid()); in AppendValuesBucket() 36 values.PutInt(ReminderBaseTable::REMINDER_TYPE, static_cast<int32_t>(reminder->GetReminderType())); in AppendValuesBucket() 40 values.PutInt(ReminderBaseTable::SNOOZE_TIMES, reminder->GetSnoozeTimes()); in AppendValuesBucket() 41 values.PutInt(ReminderBaseTable::DYNAMIC_SNOOZE_TIMES, reminder->GetSnoozeTimesDynamic()); in AppendValuesBucket() 44 values.PutInt(ReminderBaseTable::STATE, reminder->GetState()); in AppendValuesBucket() 47 values.PutInt(ReminderBaseTable::SLOT_ID, reminder->GetSlotType()); in AppendValuesBucket() 48 values.PutInt(ReminderBaseTable::SNOOZE_SLOT_ID, reminder->GetSnoozeSlotType()); in AppendValuesBucket() 49 values.PutInt(ReminderBaseTabl in AppendValuesBucket() [all...] |
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/src/ |
H A D | cm_cert_property_rdb.cpp | 75 insertBucket.PutInt(COLUMN_CERT_STORE, certProperty->certStore);
in InsertCertProperty() 76 insertBucket.PutInt(COLUMN_USERID, certProperty->userId);
in InsertCertProperty() 77 insertBucket.PutInt(COLUMN_UID, certProperty->uid);
in InsertCertProperty() 123 updateBucket.PutInt(COLUMN_CERT_STORE, certProperty->certStore);
in UpdateCertProperty() 124 updateBucket.PutInt(COLUMN_USERID, certProperty->userId);
in UpdateCertProperty() 125 updateBucket.PutInt(COLUMN_UID, certProperty->uid);
in UpdateCertProperty()
|
/base/security/security_guard/test/unittest/mock/rdb/ |
H A D | values_bucket.h | 29 void PutInt(const std::string &columnName, int value) {}; in PutInt() function in OHOS::NativeRdb::ValuesBucket
|
/base/update/updateservice/services/core/ability/sqlite/core/include/ |
H A D | itable.h | 86 dbValue.PutInt(columnName, value); in PutColumnValue() 102 dbValue.PutInt(columnName, intValue); in PutColumnValue()
|
/base/time/time_service/test/unittest/service_test/src/ |
H A D | time_service_test.cpp | 1234 insertValues.PutInt("type", 0); in HWTEST_F() 1235 insertValues.PutInt("flag", 0); in HWTEST_F() 1238 insertValues.PutInt("uid", 0); in HWTEST_F() 1242 insertValues.PutInt("state", 0); in HWTEST_F() 1436 insertValues1.PutInt("type", 0); in HWTEST_F() 1437 insertValues1.PutInt("flag", 0); in HWTEST_F() 1440 insertValues1.PutInt("uid", 0); in HWTEST_F() 1444 insertValues1.PutInt("state", 0); in HWTEST_F() 1450 insertValues2.PutInt("type", 0); in HWTEST_F() 1451 insertValues2.PutInt("fla in HWTEST_F() [all...] |
/base/request/request/services/src/cxx/ |
H A D | c_request_database.cpp | 527 values.PutInt("state", static_cast<uint8_t>(State::Failed)); in RequestDBUpdateInvalidRecords() 778 insertValues.PutInt("state", info->progress.commonData.state); in WriteUpdateData() 791 insertValues.PutInt("reason", taskInfo->commonData.reason); in WriteMutableData() 996 insertValues.PutInt("action", taskConfig->commonData.action); in RecordRequestTask() 997 insertValues.PutInt("mode", taskConfig->commonData.mode); in RecordRequestTask() 998 insertValues.PutInt("cover", taskConfig->commonData.cover); in RecordRequestTask() 999 insertValues.PutInt("network", taskConfig->commonData.network); in RecordRequestTask() 1000 insertValues.PutInt("metered", taskConfig->commonData.metered); in RecordRequestTask() 1001 insertValues.PutInt("roaming", taskConfig->commonData.roaming); in RecordRequestTask() 1003 insertValues.PutInt("gaug in RecordRequestTask() [all...] |
/base/location/services/location_locator/locator/include/ |
H A D | locator_event_manager.h | 48 void PutInt(const std::string& name, int value);
|
/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/ |
H A D | daily_db_helper.cpp | 127 bucket.PutInt(EVENTS_COLUMIN_COUNT, info.count);
in InsertEventInfo() 147 bucket.PutInt(EVENTS_COLUMIN_COUNT, info.count);
in UpdateEventInfo()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | data_share_dao.cpp | 73 values.PutInt(EventTable::FIELD_UID, uid); in SaveSubscriberInfo() 86 valuesBucket.PutInt(EventTable::FIELD_UID, uid); in SaveSubscriberInfo()
|
/base/hiviewdfx/hiview/plugins/unified_collector/storage/ |
H A D | cpu_storage.cpp | 322 bucket.PutInt(COLUMN_PID, cpuCollectionInfo.pid);
in StoreProcessData() 323 bucket.PutInt(COLUMN_PROC_STATE, GetPowerProcessStateInCollectionPeriod(cpuCollectionInfo, memCgProcs));
in StoreProcessData() 327 bucket.PutInt(COLUMN_THREAD_CNT, cpuCollectionInfo.threadCount);
in StoreProcessData() 340 bucket.PutInt(COLUMN_TID, cpuCollection.tid);
in StoreThreadData()
|
/base/customization/enterprise_device_management/services/edm/src/ |
H A D | admin_policies_storage_rdb.cpp | 95 valuesBucket.PutInt(EdmRdbFiledConst::FILED_USER_ID, userId);
in CreateValuesBucket() 96 valuesBucket.PutInt(EdmRdbFiledConst::FILED_ADMIN_TYPE, static_cast<int>(admin.adminInfo_.adminType_));
in CreateValuesBucket() 292 valuesBucket.PutInt(EdmRdbFiledConst::FILED_USER_ID, EdmConstants::DEFAULT_USER_ID);
in InsertAuthorizedAdmin() 293 valuesBucket.PutInt(EdmRdbFiledConst::FILED_ADMIN_TYPE, static_cast<int32_t>(AdminType::SUB_SUPER_ADMIN));
in InsertAuthorizedAdmin()
|
/base/telephony/telephony_data/common/src/ |
H A D | parser_util.cpp | 200 value.PutInt(PdpProfileData::AUTH_TYPE, bean.authType); in ParserPdpProfileToValuesBucket() 212 value.PutInt(PdpProfileData::EDITED_STATUS, bean.edited); in ParserPdpProfileToValuesBucket() 214 value.PutInt(PdpProfileData::BEARING_SYSTEM_TYPE, bean.bearingSystemType); in ParserPdpProfileToValuesBucket() 332 value.PutInt(OpKeyData::RULE_ID, bean.ruleId); in ParserOpKeyToValuesBucket() 425 value.PutInt(NumMatchData::NUM_MATCH, bean.numMatch); in ParserNumMatchToValuesBucket() 426 value.PutInt(NumMatchData::NUM_MATCH_SHORT, bean.numMatchShort); in ParserNumMatchToValuesBucket()
|
/base/location/services/location_locator/locator/source/ |
H A D | locator_event_manager.cpp | 24 void DftEvent::PutInt(const std::string& name, int value) in PutInt() function in OHOS::Location::DftEvent
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
H A D | access_token_db_util.cpp | 67 bucket.PutInt(column, value.GetInt(column)); in ToRdbValueBucket()
|
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
H A D | fold_app_usage_db_helper.cpp | 197 valuesBucket.PutInt(FoldEventTable::FIELD_UID, -1);
in AddAppEvent() 198 valuesBucket.PutInt(FoldEventTable::FIELD_EVENT_ID, appEventRecord.rawid);
in AddAppEvent() 200 valuesBucket.PutInt(FoldEventTable::FIELD_FOLD_STATUS, appEventRecord.foldStatus);
in AddAppEvent() 201 valuesBucket.PutInt(FoldEventTable::FIELD_PRE_FOLD_STATUS, appEventRecord.preFoldStatus);
in AddAppEvent()
|
/base/security/security_guard/services/data_collect/store/src/ |
H A D | database_helper.cpp | 337 values.PutInt(EVENT_TYPE, event.eventType); in SetValuesBucket() 338 values.PutInt(DATA_SENSITIVITY_LEVEL, event.dataSensitivityLevel); in SetValuesBucket() 340 values.PutInt(USER_ID, event.userId); in SetValuesBucket()
|
/base/time/time_service/services/timer/src/ |
H A D | timer_manager.cpp | 133 insertValues.PutInt("type", paras.timerType); in GetInsertValues() 134 insertValues.PutInt("flag", paras.flag); in GetInsertValues() 137 insertValues.PutInt("uid", timerInfo->uid); in GetInsertValues() 141 insertValues.PutInt("state", 0); in GetInsertValues() 143 insertValues.PutInt("pid", timerInfo->pid); in GetInsertValues() 233 values.PutInt("state", 1); in StartTimer() 273 values.PutInt("state", 0); in StopTimerInner() 285 values.PutInt("state", 0); in StopTimerInner() 849 values.PutInt("state", 0); in DeliverTimersLocked() 857 values.PutInt("stat in DeliverTimersLocked() [all...] |