Home
last modified time | relevance | path

Searched refs:GetLong (Results 1 - 25 of 28) sorted by relevance

12

/base/security/security_guard/test/unittest/mock/rdb/
H A Dresult_set.h32 virtual int GetLong(int columnIndex, int64_t &value) = 0;
53 MOCK_METHOD2(GetLong, int(int columnIndex, int64_t &value));
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dapp_event_task_storage.cpp90 if (resultSet->GetLong(0, appEventTask.id_) != NativeRdb::E_OK) { in InnerGetAppTask()
93 if (resultSet->GetLong(1, appEventTask.taskDate_) != NativeRdb::E_OK) { // 1: task date in InnerGetAppTask()
111 if (resultSet->GetLong(7, appEventTask.startTime_) != NativeRdb::E_OK) { // 7: start time in InnerGetAppTask()
114 if (resultSet->GetLong(8, appEventTask.finishTime_) != NativeRdb::E_OK) { // 8: finish time in InnerGetAppTask()
H A Dtrace_storage.cpp181 resultSet->GetLong(1, traceFlowRecord.usedSize); // 1 means used_size field in QueryTable()
/base/telephony/call_manager/utils/src/
H A Dnumber_identity_data_base_helper.cpp136 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
147 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
159 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
/base/customization/enterprise_device_management/test/fuzztest/common/include/
H A Dcommon_fuzzer.h30 static long GetLong(const uint8_t* ptr, int32_t& pos, size_t size);
/base/request/request/services/src/cxx/
H A Dc_request_database.cpp158 queryRet->GetLong(0, value); in QueryInteger()
276 queryRet->GetLong(0, action); // Line 0 is 'action' in GetTaskQosInfo()
277 queryRet->GetLong(1, mode); // Line 1 is 'mode' in GetTaskQosInfo()
278 queryRet->GetLong(2, state); // Line 2 is 'state' in GetTaskQosInfo()
279 queryRet->GetLong(3, priority); // Line 3 is 'priority' in GetTaskQosInfo()
804 inline int64_t GetLong(std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet, int line) in GetLong() function
807 resultSet->GetLong(line, value); in GetLong()
820 info.commonData.taskId = static_cast<uint32_t>(GetLong(set, 0)); // Line 0 is 'task_id' in FillCommonTaskInfo()
821 info.commonData.uid = static_cast<uint64_t>(GetLong(set, 1)); // Line 1 is 'uid' in FillCommonTaskInfo()
824 info.commonData.ctime = static_cast<uint64_t>(GetLong(se in FillCommonTaskInfo()
[all...]
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_db_helper.cpp102 if (resultSet->GetLong(colIndex, value) != NativeRdb::E_OK) { in GetLongFromResultSet()
294 entity.Get(FoldEventTable::FIELD_TS).GetLong(record.ts); in ParseEntity()
298 entity.Get(FoldEventTable::FIELD_HAPPEN_TIME).GetLong(record.happenTime); in ParseEntity()
299 entity.Get(FoldEventTable::FIELD_FOLD_PORTRAIT_DURATION).GetLong(record.foldPortraitTime); in ParseEntity()
300 entity.Get(FoldEventTable::FIELD_FOLD_LANDSCAPE_DURATION).GetLong(record.foldLandscapeTime); in ParseEntity()
301 entity.Get(FoldEventTable::FIELD_EXPAND_PORTRAIT_DURATION).GetLong(record.expandPortraitTime); in ParseEntity()
302 entity.Get(FoldEventTable::FIELD_EXPAND_LANDSCAPE_DURATION).GetLong(record.expandLandscapeTime); in ParseEntity()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_observer_dao.cpp88 if (resultSet->GoToNextRow() == NativeRdb::E_OK && resultSet->GetLong(0, observerSeq) == NativeRdb::E_OK) { in QuerySeq()
109 if (resultSet->GetLong(0, observerSeq) != NativeRdb::E_OK) { in QuerySeqs()
H A Dapp_event_mapping_dao.cpp119 if (resultSet->GetLong(0, existEventSeq) != NativeRdb::E_OK) { in QueryExistEvent()
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_store_strategy.h170 resultSet->GetLong(columnIndex, value); in GetRdbValue()
173 resultSet->GetLong(columnIndex, t); in GetRdbValue()
/base/time/time_service/services/timer/include/
H A Dtimer_database.h37 int64_t GetLong(std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet, int line);
/base/hiviewdfx/hiview/plugins/event_store/event_export/database/adapter/
H A Dexport_db_storage.cpp140 entity.Get(COLUMN_EXPORT_ENABLED_SEQ).GetLong(record.exportEnabledSeq) != NativeRdb::E_OK || in QueryExportDetailRecord()
141 entity.Get(COLUMN_EXPORTED_MAX_SEQ).GetLong(record.exportedMaxSeq) != NativeRdb::E_OK) { in QueryExportDetailRecord()
/base/security/security_guard/test/unittest/data_collect/src/
H A Dsecurity_guard_data_collect_test.cpp97 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
135 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
176 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
218 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
258 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
299 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
378 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
441 EXPECT_CALL(*resultSetMock, GetLong).WillRepeatedly(Return(0)); in HWTEST_F()
/base/customization/enterprise_device_management/test/fuzztest/enterprisedevicemgrability_fuzzer/
H A Denterprise_device_mgr_ability_fuzzer.cpp48 long checkTime = CommonFuzzer::GetLong(data, pos, size); in getCommonEventData()
/base/update/updateservice/services/core/ability/sqlite/core/include/
H A Ditable.h121 return resultSet->GetLong(index, value); in GetIndexValue()
/base/security/security_guard/services/data_collect/store/src/
H A Ddatabase_helper.cpp77 resultSet->GetLong(table.eventIdIndex, event.eventId); in QueryRecentEventByEventId()
215 resultSet->GetLong(0, primaryKey); in DeleteOldEventByEventId()
266 resultSet->GetLong(table.eventIdIndex, event.eventId); in QueryEventBase()
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_db.cpp225 resultSet->GetLong(0, dbCount_); in RefreshDbCount()
251 resultSet->GetLong(0, happentime); // 0 is result of happentime in QueryHappentime()
/base/time/time_service/services/timer/src/
H A Dtimer_database.cpp101 int64_t GetLong(std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet, int line) in GetLong() function
104 resultSet->GetLong(line, value); in GetLong()
/base/usb/usb_manager/services/native/src/
H A Dusb_right_db_helper.cpp539 resultSet->GetLong(table.installTimeIndex, installTime) == E_OK && in GetResultRightRecordEx()
540 resultSet->GetLong(table.updateTimeIndex, updateTime) == E_OK && in GetResultRightRecordEx()
541 resultSet->GetLong(table.requestTimeIndex, requestTime) == E_OK && in GetResultRightRecordEx()
542 resultSet->GetLong(table.validPeriodIndex, validPeriod) == E_OK) { in GetResultRightRecordEx()
/base/time/time_service/services/
H A Dtime_system_ability.cpp983 auto timerId = static_cast<uint64_t>(GetLong(resultSet, 0)); in RecoverTimerInner()
990 static_cast<uint64_t>(GetLong(resultSet, 3)), in RecoverTimerInner()
992 static_cast<uint64_t>(GetLong(resultSet, 4)), in RecoverTimerInner()
1016 auto triggerTime = static_cast<uint64_t>(GetLong(resultSet, 9)); in RecoverTimerInner()
1037 uint64_t triggerTime = static_cast<uint64_t>(GetLong(resultSet, 1)); in SetAutoReboot()
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/database/
H A Dsandbox_manager_rdb_utils.cpp162 resultSet->GetLong(columnIndex, data); in ResultToGenericValues()
/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp111 return ptr->GetLong(key, defValue); in ObtainLong()
/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp117 return ptr->GetLong(key, defValue); in ObtainLong()
/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp115 return ptr->GetLong(key, defValue); in ObtainLong()
/base/customization/enterprise_device_management/test/fuzztest/common/src/
H A Dcommon_fuzzer.cpp211 long CommonFuzzer::GetLong(const uint8_t* ptr, int32_t& pos, size_t size) in GetLong() function in OHOS::EDM::CommonFuzzer

Completed in 20 milliseconds

12