Home
last modified time | relevance | path

Searched refs:PutLong (Results 1 – 25 of 104) sorted by relevance

12345

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_album_source_test/src/
H A Dmedialibrary_album_source_test.cpp172 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_ADDED, timestamp); in InsertPhoto()
173 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_MODIFIED, timestamp); in InsertPhoto()
174 valuesBucket.PutLong(MediaColumn::MEDIA_TIME_PENDING, ZERO); in InsertPhoto()
175 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_TRASHED, ZERO); in InsertPhoto()
204 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_ADDED, timestamp); in InsertPhotoWithEmptyPackageName()
205 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_MODIFIED, timestamp); in InsertPhotoWithEmptyPackageName()
206 valuesBucket.PutLong(MediaColumn::MEDIA_TIME_PENDING, ZERO); in InsertPhotoWithEmptyPackageName()
207 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_TRASHED, ZERO); in InsertPhotoWithEmptyPackageName()
227 updateValues.PutLong(MediaColumn::MEDIA_DATE_TRASHED, GetTimestamp()); in UpdatePhotoTrashed()
229 updateValues.PutLong(MediaColumn::MEDIA_DATE_TRASHED, ZERO); in UpdatePhotoTrashed()
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_dao.cpp85 bucket.PutLong(Events::FIELD_TIME, event->GetTime()); in Insert()
89 bucket.PutLong(Events::FIELD_TRACE_ID, event->GetTraceId()); in Insert()
90 bucket.PutLong(Events::FIELD_SPAN_ID, event->GetSpanId()); in Insert()
91 bucket.PutLong(Events::FIELD_PSPAN_ID, event->GetPspanId()); in Insert()
H A Dapp_event_mapping_dao.cpp68 bucket.PutLong(FIELD_EVENT_SEQ, eventSeq); in Insert()
69 bucket.PutLong(FIELD_OBSERVER_SEQ, observerSeq); in Insert()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner_db.cpp245 outValues.PutLong(RINGTONE_COLUMN_DATE_ADDED, dateAdded); in InsertDateAdded()
267 outValues.PutLong(VIBRATE_COLUMN_DATE_ADDED, dateAdded); in InsertVibrateDateAdded()
273 values.PutLong(RINGTONE_COLUMN_SIZE, metadata.GetSize()); in SetValuesFromMetaData()
280 values.PutLong(RINGTONE_COLUMN_DATE_MODIFIED, metadata.GetDateModified()); in SetValuesFromMetaData()
281 values.PutLong(RINGTONE_COLUMN_DATE_TAKEN, metadata.GetDateTaken()); in SetValuesFromMetaData()
301 values.PutLong(VIBRATE_COLUMN_SIZE, metadata.GetSize()); in SetValuesFromVibrateMetaData()
307 values.PutLong(VIBRATE_COLUMN_DATE_MODIFIED, metadata.GetDateModified()); in SetValuesFromVibrateMetaData()
308 values.PutLong(VIBRATE_COLUMN_DATE_TAKEN, metadata.GetDateTaken()); in SetValuesFromVibrateMetaData()
/ohos5.0/base/time/time_service/test/unittest/service_test/src/
H A Dtime_service_test.cpp1188 insertValues.PutLong("windowLength", 0);
1189 insertValues.PutLong("interval", 0);
1449 insertValues1.PutLong("windowLength", 0);
1450 insertValues1.PutLong("interval", 0);
1463 insertValues2.PutLong("windowLength", 0);
1464 insertValues2.PutLong("interval", 0);
1505 insertValues1.PutLong("windowLength", 0);
1506 insertValues1.PutLong("interval", 0);
1519 insertValues2.PutLong("windowLength", 0);
1520 insertValues2.PutLong("interval", 0);
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_rdbstore.cpp242 setAttr.PutLong(FileColumn::FILE_SIZE, static_cast<int64_t>(size)); in SetAttr()
372 fileInfo.PutLong(FileColumn::FILE_SIZE, statInfo->st_size); in CreateFile()
440 fileInfo.PutLong(FileColumn::FILE_TIME_ADDED, fileTimeAdded); in Create()
491 dirInfo.PutLong(FileColumn::FILE_TIME_ADDED, fileTimeAdded); in MkDir()
493 dirInfo.PutLong(FileColumn::FILE_TIME_EDITED, fileTimeEdited); in MkDir()
495 dirInfo.PutLong(FileColumn::META_TIME_EDITED, metaTimeEdited); in MkDir()
532 write.PutLong(FileColumn::FILE_SIZE, statInfo.st_size); in HandleWriteValue()
681 setXAttr.PutLong(FileColumn::FILE_TIME_RECYCLED, CANCEL_STATE); in RecycleSetValue()
687 setXAttr.PutLong(FileColumn::FILE_TIME_RECYCLED, recycledTime); in RecycleSetValue()
689 setXAttr.PutLong(FileColumn::META_TIME_EDITED, recycledTime); in RecycleSetValue()
[all …]
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_right_db_helper.cpp102 values.PutLong("installTime", info.installTime); in AddRightRecord()
103 values.PutLong("updateTime", info.updateTime); in AddRightRecord()
104 values.PutLong("requestTime", info.requestTime); in AddRightRecord()
105 values.PutLong("validPeriod", info.validPeriod); in AddRightRecord()
289 values.PutLong("installTime", info.installTime); in UpdateRightRecord()
290 values.PutLong("updateTime", info.updateTime); in UpdateRightRecord()
291 values.PutLong("requestTime", info.requestTime); in UpdateRightRecord()
292 values.PutLong("validPeriod", info.validPeriod); in UpdateRightRecord()
637 values.PutLong("installTime", info.installTime); in AddOrUpdateRightRecordEx()
638 values.PutLong("updateTime", info.updateTime); in AddOrUpdateRightRecordEx()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/background_cloud_file_processor_test/src/
H A Dbackground_cloud_file_processor_test.cpp104 …valuesBucket.PutLong(MediaColumn::MEDIA_SIZE, mediaType == MEDIA_TYPE_VIDEO ? videoSize : imageSiz… in InsertPhoto()
112 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_ADDED, timestamp); in InsertPhoto()
113 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_MODIFIED, timestamp); in InsertPhoto()
114 valuesBucket.PutLong(MediaColumn::MEDIA_TIME_PENDING, 0); in InsertPhoto()
115 valuesBucket.PutLong(MediaColumn::MEDIA_DATE_TRASHED, 0); in InsertPhoto()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp37 values.PutLong(ReminderBaseTable::REMINDER_TIME, reminder->GetReminderTimeInMilli()); in AppendValuesBucket()
38 values.PutLong(ReminderBaseTable::TRIGGER_TIME, reminder->GetTriggerTimeInMilli()); in AppendValuesBucket()
39 values.PutLong(ReminderBaseTable::TIME_INTERVAL, reminder->GetTimeInterval()); in AppendValuesBucket()
42 values.PutLong(ReminderBaseTable::RING_DURATION, reminder->GetRingDuration()); in AppendValuesBucket()
67 values.PutLong(ReminderBaseTable::AUTO_DELETED_TIME, reminder->GetAutoDeletedTime()); in AppendValuesBucket()
381 values.PutLong(ReminderTimerTable::TRIGGER_SECOND, seconds); in AppendValuesBucket()
382 values.PutLong(ReminderTimerTable::START_DATE_TIME, 0); in AppendValuesBucket()
383 values.PutLong(ReminderTimerTable::END_DATE_TIME, 0); in AppendValuesBucket()
509 values.PutLong(ReminderCalendarTable::CALENDAR_DATE_TIME, dateTime); in AppendValuesBucket()
510 values.PutLong(ReminderCalendarTable::CALENDAR_END_DATE_TIME, endDateTime); in AppendValuesBucket()
[all …]
/ohos5.0/base/request/request/services/src/cxx/
H A Dc_request_database.cpp779 insertValues.PutLong("idx", info->progress.commonData.index); in WriteUpdateData()
790 insertValues.PutLong("mtime", taskInfo->commonData.mtime); in WriteMutableData()
792 insertValues.PutLong("tries", taskInfo->commonData.tries); in WriteMutableData()
994 insertValues.PutLong("uid", taskConfig->commonData.uid); in RecordRequestTask()
1002 insertValues.PutLong("ctime", taskInfo->commonData.ctime); in RecordRequestTask()
1008 insertValues.PutLong("begins", taskConfig->commonData.begins); in RecordRequestTask()
1009 insertValues.PutLong("ends", taskConfig->commonData.ends); in RecordRequestTask()
1045 values.PutLong("mtime", updateInfo->mtime); in UpdateRequestTask()
1046 values.PutLong("tries", updateInfo->tries); in UpdateRequestTask()
1051 values.PutLong("idx", updateInfo->progress.commonData.index); in UpdateRequestTask()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/database/adapter/
H A Dexport_db_storage.cpp93 bucket.PutLong(COLUMN_EXPORT_ENABLED_SEQ, record.exportEnabledSeq); in InsertExportDetailRecord()
94 bucket.PutLong(COLUMN_EXPORTED_MAX_SEQ, record.exportedMaxSeq); in InsertExportDetailRecord()
172 bucket.PutLong(seqName, seqValue); in UpdateExportDetailRecordSeq()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_transaction.cpp275 … values.PutLong(PhotoColumn::PHOTO_META_DATE_MODIFIED, MediaFileUtils::UTCTimeMilliSeconds()); in Update()
276 values.PutLong(PhotoColumn::PHOTO_LAST_VISIT_TIME, MediaFileUtils::UTCTimeMilliSeconds()); in Update()
312 cmd.GetValueBucket().PutLong(PhotoColumn::PHOTO_META_DATE_MODIFIED, in Update()
314 cmd.GetValueBucket().PutLong(PhotoColumn::PHOTO_LAST_VISIT_TIME, in Update()
398 …valuesBucket.PutLong(PhotoColumn::PHOTO_META_DATE_MODIFIED, MediaFileUtils::UTCTimeMilliSeconds()); in DoDeleteFromPredicates()
H A Dmedialibrary_app_uri_sensitive_operations.cpp79 cmd.GetValueBucket().PutLong(AppUriSensitiveColumn::DATE_MODIFIED, in HandleInsertOperation()
125 … value.PutLong(AppUriSensitiveColumn::DATE_MODIFIED, MediaFileUtils::UTCTimeMilliSeconds()); in BatchInsert()
234 updateVB.PutLong(AppUriSensitiveColumn::DATE_MODIFIED, MediaFileUtils::UTCTimeMilliSeconds()); in UpdateSensitiveType()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dapp_event_task_storage.cpp173 bucket.PutLong(COLUMN_TASK_DATE, appEventTask.taskDate_); in InsertAppEventTask()
179 bucket.PutLong(COLUMN_START_TIME, appEventTask.startTime_); in InsertAppEventTask()
180 bucket.PutLong(COLUMN_FINISH_TIME, appEventTask.finishTime_); in InsertAppEventTask()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner_db.cpp151 outValues.PutLong(MediaColumn::MEDIA_DATE_ADDED, dateAdded); in InsertDateAdded()
196 values.PutLong(MEDIA_DATA_DB_SIZE, metadata.GetFileSize()); in SetValuesFromMetaDataApi9()
197 values.PutLong(MEDIA_DATA_DB_DATE_MODIFIED, metadata.GetFileDateModified()); in SetValuesFromMetaDataApi9()
199 values.PutLong(MEDIA_DATA_DB_DATE_TAKEN, metadata.GetDateTaken()); in SetValuesFromMetaDataApi9()
200 values.PutLong(MEDIA_DATA_DB_TIME_PENDING, 0); in SetValuesFromMetaDataApi9()
245 values.PutLong(MediaColumn::MEDIA_SIZE, metadata.GetFileSize()); in SetValuesFromMetaDataApi10()
246 values.PutLong(MediaColumn::MEDIA_DATE_MODIFIED, metadata.GetFileDateModified()); in SetValuesFromMetaDataApi10()
248 values.PutLong(MediaColumn::MEDIA_DATE_TAKEN, metadata.GetDateTaken()); in SetValuesFromMetaDataApi10()
249 values.PutLong(MediaColumn::MEDIA_TIME_PENDING, 0); in SetValuesFromMetaDataApi10()
263 values.PutLong(PhotoColumn::PHOTO_LAST_VISIT_TIME, metadata.GetLastVisitTime()); in SetValuesFromMetaDataApi10()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dshared_block_serializer_info.cpp69 int SharedBlockSerializerInfo::PutLong(int row, int column, sqlite3_int64 value) in PutLong() function in OHOS::NativeRdb::SharedBlockSerializerInfo
71 int status = sharedBlock_->PutLong(row, column, value); in PutLong()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_db_helper.cpp199 valuesBucket.PutLong(FoldEventTable::FIELD_TS, appEventRecord.ts); in AddAppEvent()
203 valuesBucket.PutLong(FoldEventTable::FIELD_HAPPEN_TIME, appEventRecord.happenTime); in AddAppEvent()
204 …valuesBucket.PutLong(FoldEventTable::FIELD_FOLD_PORTRAIT_DURATION, appEventRecord.foldPortraitTime… in AddAppEvent()
205 …valuesBucket.PutLong(FoldEventTable::FIELD_FOLD_LANDSCAPE_DURATION, appEventRecord.foldLandscapeTi… in AddAppEvent()
206 …valuesBucket.PutLong(FoldEventTable::FIELD_EXPAND_PORTRAIT_DURATION, appEventRecord.expandPortrait… in AddAppEvent()
207 …valuesBucket.PutLong(FoldEventTable::FIELD_EXPAND_LANDSCAPE_DURATION, appEventRecord.expandLandsca… in AddAppEvent()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp320 bucket.PutLong(COLUMN_START_TIME, static_cast<int64_t>(cpuCollectionInfo.startTime)); in StoreProcessData()
321 bucket.PutLong(COLUMN_END_TIME, static_cast<int64_t>(cpuCollectionInfo.endTime)); in StoreProcessData()
338 bucket.PutLong(COLUMN_START_TIME, static_cast<int64_t>(cpuCollection.startTime)); in StoreThreadData()
339 bucket.PutLong(COLUMN_END_TIME, static_cast<int64_t>(cpuCollection.endTime)); in StoreThreadData()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp339 pref->PutLong(KEY_TEST_LONG_ELEMENT, 5L);
493 pref->PutLong(LONG_KEY + 'x', 3L);
494 pref->PutLong("", 3L);
502 pref->PutLong(LONG_KEY, 3L);
503 pref->PutLong(KEY_TEST_LONG_ELEMENT, 3L);
721 pref1->PutLong(LONG_KEY, 3L);
722 pref1->PutLong(KEY_TEST_LONG_ELEMENT, 3L);
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_value_bucket_test.cpp67 values.PutLong("No.", 9223372036854775807L);
132 values.PutLong("No.", 9223372036854775807L);
173 values.PutLong("No.", 9223372036854775807L);
195 values.PutLong("No.", 9223372036854775807L);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbase_restore.cpp269 value.PutLong(MediaColumn::MEDIA_DATE_TAKEN, dateTaken); in InsertDateTaken()
285 value.PutLong(MediaColumn::MEDIA_DATE_TAKEN, dateTaken); in InsertDateTaken()
293 value.PutLong(MediaColumn::MEDIA_DATE_ADDED, dateAdded); in InsertDateAdded()
308 value.PutLong(MediaColumn::MEDIA_DATE_ADDED, dateAdded); in InsertDateAdded()
339 value.PutLong(PhotoColumn::PHOTO_COVER_POSITION, static_cast<int64_t>(coverPosition)); in SetCoverPosition()
347 value.PutLong(PhotoColumn::PHOTO_COVER_POSITION, static_cast<int64_t>(coverPosition)); in SetCoverPosition()
365 value.PutLong(MediaColumn::MEDIA_SIZE, fileInfo.fileSize); in SetValueFromMetaData()
368 value.PutLong(MediaColumn::MEDIA_SIZE, data->GetFileSize()); in SetValueFromMetaData()
371 value.PutLong(MediaColumn::MEDIA_DATE_MODIFIED, data->GetFileDateModified()); in SetValueFromMetaData()
374 value.PutLong(MediaColumn::MEDIA_TIME_PENDING, 0); in SetValueFromMetaData()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/
H A Dapp_provision_info_rdb.cpp104 valuesBucket.PutLong(VERSION_CODE, static_cast<int64_t>(appProvisionInfo.versionCode)); in AddAppProvisionInfo()
113 valuesBucket.PutLong(VALIDITY_NOT_BEFORE, appProvisionInfo.validity.notBefore); in AddAppProvisionInfo()
114 valuesBucket.PutLong(VALIDITY_NOT_AFTER, appProvisionInfo.validity.notAfter); in AddAppProvisionInfo()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/
H A Denhancement_database_operations.cpp98 outValues.PutLong(MediaColumn::MEDIA_DATE_ADDED, dateAdded); in HandleDateAdded()
108 outValues.PutLong(MediaColumn::MEDIA_DATE_TAKEN, dateAdded); in HandleDateAdded()
146 assetInfo.PutLong(MediaColumn::MEDIA_TIME_PENDING, fileAsset.GetTimePending()); in InsertCloudEnhancementImageInDb()
/ohos5.0/base/security/security_guard/test/unittest/mock/rdb/
H A Dvalues_bucket.h30 void PutLong(const std::string &columnName, int64_t value) {}; in PutLong() function
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/src/database_manage/
H A Dmedialibrary_device_operations.cpp63 valuesBucket.PutLong(DEVICE_DB_DATE_MODIFIED, 0); in InsertDeviceInfo()
76 valuesBucket.PutLong(DEVICE_DB_DATE_ADDED, now); in InsertDeviceInfo()
115 valuesBucket.PutLong(DEVICE_DB_DATE_MODIFIED, now); in UpdateDeviceInfo()

12345