Home
last modified time | relevance | path

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

1234

/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dclouddisk_rdb_utils_mock.cpp43 int32_t CloudDiskRdbUtils::GetLong(const string &key, int64_t &val, in GetLong() function in OHOS::FileManagement::CloudDisk::CloudDiskRdbUtils
67 rowEntity.Get(FileColumn::FILE_SIZE).GetLong(long_variable); in FillFileInfo()
69 rowEntity.Get(FileColumn::FILE_TIME_ADDED).GetLong(long_variable); in FillFileInfo()
71 rowEntity.Get(FileColumn::META_TIME_EDITED).GetLong(long_variable); in FillFileInfo()
73 rowEntity.Get(FileColumn::FILE_TIME_EDITED).GetLong(long_variable); in FillFileInfo()
77 rowEntity.Get(FileColumn::ROW_ID).GetLong(long_variable); in FillFileInfo()
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_rdb_utils.cpp57 int32_t CloudDiskRdbUtils::GetLong(const string &key, int64_t &val, in GetLong() function in OHOS::FileManagement::CloudDisk::CloudDiskRdbUtils
70 err = resultSet->GetLong(index, val); in GetLong()
108 rowEntity.Get(FileColumn::FILE_SIZE).GetLong(long_variable); in FillFileInfo()
110 rowEntity.Get(FileColumn::FILE_TIME_ADDED).GetLong(long_variable); in FillFileInfo()
112 rowEntity.Get(FileColumn::META_TIME_EDITED).GetLong(long_variable); in FillFileInfo()
114 rowEntity.Get(FileColumn::FILE_TIME_EDITED).GetLong(long_variable); in FillFileInfo()
119 rowEntity.Get(FileColumn::ROW_ID).GetLong(long_variable); in FillFileInfo()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_execute_test.cpp323 outValue.GetLong(outputResult); in HWTEST_F()
359 outValue.GetLong(outputResult); in HWTEST_F()
382 outValue.GetLong(outputResult); in HWTEST_F()
404 outValue1.GetLong(outputResult); in HWTEST_F()
412 outValue2.GetLong(outputResult); in HWTEST_F()
434 outValue1.GetLong(outputResult); in HWTEST_F()
442 outValue2.GetLong(outputResult); in HWTEST_F()
497 resultSet->GetLong(0, intOutValue); in HWTEST_F()
510 resultSet->GetLong(0, intOutValue); in HWTEST_F()
539 outValue2.GetLong(intOutValu in HWTEST_F()
[all...]
H A Drdb_sqlite_shared_result_set_test.cpp341 rstSet->GetLong(2, valuelg); in HWTEST_F()
360 rstSet->GetLong(2, valuelg); in HWTEST_F()
387 rstSet->GetLong(2, valuelg); in HWTEST_F()
501 int ret = rstSet->GetLong(0, valueInt); in HWTEST_F()
506 rstSet->GetLong(0, valueInt); in HWTEST_F()
508 rstSet->GetLong(2, valueInt); in HWTEST_F()
510 rstSet->GetLong(3, valueInt); in HWTEST_F()
515 rstSet->GetLong(0, valueInt); in HWTEST_F()
518 rstSet->GetLong(0, valueInt); in HWTEST_F()
521 rstSet->GetLong( in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_helper_impl.cpp81 resultSet->GetLong(indexPos, size); in InitFileAsset()
88 resultSet->GetLong(indexPos, dateMmodified); in InitFileAsset()
153 resultSet->GetLong(indexPos, dateAdded); in UpdateFileAsset()
160 resultSet->GetLong(indexPos, dateTaken); in UpdateFileAsset()
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/
H A Dclouddisk_rdb_utils_test.cpp151 * @tc.desc: Verify the GetLong function.
157 GTEST_LOG_(INFO) << "GetLong Start"; in HWTEST_F()
162 EXPECT_CALL(*resultSet, GetLong(_, _)).WillOnce(Return(E_OK)); in HWTEST_F()
163 int32_t ret = CloudDiskRdbUtils::GetLong(key, value, std::move(resultSet)); in HWTEST_F()
165 GTEST_LOG_(INFO) << "GetLong End"; in HWTEST_F()
170 * @tc.desc: Verify the GetLong function.
176 GTEST_LOG_(INFO) << "GetLong Start"; in HWTEST_F()
182 EXPECT_CALL(*resultSet, GetLong(_, _)).WillOnce(Return(E_OK)); in HWTEST_F()
183 int32_t ret = CloudDiskRdbUtils::GetLong(key, value, std::move(resultSet)); in HWTEST_F()
187 GTEST_LOG_(INFO) << " GetLong ERRO in HWTEST_F()
[all...]
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp325 * @tc.desc: normal testcase of GetLong
332 int64_t ret = pref->GetLong(LONG_KEY + 'x', 35L); in HWTEST_F()
335 ret = pref->GetLong("", 35L); in HWTEST_F()
342 ret = pref->GetLong(KEY_TEST_INT_ELEMENT, 3L); in HWTEST_F()
345 ret = pref->GetLong(KEY_TEST_LONG_ELEMENT, 3L); in HWTEST_F()
390 int64_t ret2 = pref->GetLong(KEY_TEST_LONG_ELEMENT, 10000L); in HWTEST_F()
497 int64_t ret = pref->GetLong(LONG_KEY + 'x', 1L); in HWTEST_F()
499 ret = pref->GetLong("", 1L); in HWTEST_F()
506 ret = pref->GetLong(LONG_KEY, 1L); in HWTEST_F()
508 ret = pref->GetLong(KEY_TEST_LONG_ELEMEN in HWTEST_F()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
H A Ddatashare_result_set.h31 static int GetLong(int columnIndex, int64_t &value) in GetLong() function in OHOS::DataShare::DataShareResultSet
H A Dcloud_pref_impl_mock.cpp42 void CloudPrefImpl::GetLong(const std::string& key, int64_t &value) in GetLong() function in OHOS::FileManagement::CloudSync::CloudPrefImpl
/foundation/filemanagement/dfs_service/utils/preference/src/
H A Dcloud_pref_impl.cpp95 void CloudPrefImpl::GetLong(const std::string& key, int64_t &value) in GetLong() function in OHOS::FileManagement::CloudSync::CloudPrefImpl
101 value = pref_->GetLong(key, 0); in GetLong()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/data_sync/
H A Ddata_syncer_rdb_store.cpp129 static int32_t GetLong(const string &key, int64_t &val, NativeRdb::ResultSet &resultSet) in GetLong() function
138 err = resultSet.GetLong(index, val); in GetLong()
161 int32_t ret = GetLong(LAST_SYNC_TIME, time, *resultSet); in GetLastSyncTime()
/foundation/multimedia/ringtone_library/services/ringtone_dfx/src/
H A Ddfx_worker.cpp65 lastReportTime_ = prefs->GetLong(LAST_REPORT_TIME, 0); in InitCycleThread()
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_rdb_utils.h32 static int32_t GetLong(const std::string &key, int64_t &val,
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drdb_store_test.cpp902 rstSet->GetLong(2, valuelg); in HWTEST_F()
921 rstSet->GetLong(2, valuelg); in HWTEST_F()
948 rstSet->GetLong(2, valuelg); in HWTEST_F()
1113 int ret = rstSet->GetLong(0, valueInt); in HWTEST_F()
1118 rstSet->GetLong(0, valueInt); in HWTEST_F()
1120 rstSet->GetLong(2, valueInt); in HWTEST_F()
1122 rstSet->GetLong(3, valueInt); in HWTEST_F()
1127 rstSet->GetLong(0, valueInt); in HWTEST_F()
1130 rstSet->GetLong(0, valueInt); in HWTEST_F()
1133 rstSet->GetLong( in HWTEST_F()
[all...]
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/basic/
H A Dresult_set.h197 virtual int GetLong(int columnIndex, int64_t &value) = 0;
/foundation/filemanagement/dfs_service/utils/inner_api/
H A Dcloud_pref_impl.h34 void GetLong(const std::string& key, int64_t& value);
/foundation/filemanagement/dfs_service/test/unittests/utils/preference/
H A Dcloud_pref_impl_test.cpp40 MOCK_METHOD2(GetLong, int64_t(const std::string &key, const int64_t &defValue));
451 cloudPrefImpl.GetLong(key, value); in HWTEST_F()
472 cloudPrefImpl.GetLong(key, value); in HWTEST_F()
493 cloudPrefImpl.GetLong(key, value); in HWTEST_F()
514 cloudPrefImpl.GetLong(key, value); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_worker.cpp73 int64_t lastReportTime = prefs->GetLong(LAST_REPORT_TIME, 0); in HandleLoopTask()
74 int64_t lastMiddleReportTime = prefs->GetLong(LAST_MIDDLE_REPORT_TIME, 0); in HandleLoopTask()
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_preferences.h42 int64_t GetLong(const std::string &key, const int64_t &defValue = {}) override;
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/
H A Ddatashare_result_set.h82 int GetLong(int columnIndex, int64_t &value) override;
H A Ddatashare_abs_result_set.h34 virtual int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/
H A Dresultset_json_formatter.cpp63 resultSet->GetLong(i, value); in MarshalRow()
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/
H A Drelational_store_impl_resultsetproxy.h77 int64_t GetLong(int32_t columnIndex, int32_t* rtnCode);
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dremote_result_set.h265 virtual int GetLong(int columnIndex, int64_t &value) = 0;
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/cycle_task/
H A Dcycle_task.cpp67 cloudPrefImpl_->GetLong("lastRunTime-" + taskName_, time); in GetLastRunTime()

Completed in 13 milliseconds

1234