Home
last modified time | relevance | path

Searched refs:GetLong (Results 1 – 25 of 70) sorted by relevance

123

/foundation/distributeddatamgr/preferences/test/native/unittest/
Dpreferences_test.cpp274 int64_t ret = pref->GetLong(PreferencesTest::LONG_KEY + 'x', 35L);
277 ret = pref->GetLong("", 35L);
284 ret = pref->GetLong(PreferencesTest::KEY_TEST_INT_ELEMENT, 3L);
287 ret = pref->GetLong(PreferencesTest::KEY_TEST_LONG_ELEMENT, 3L);
332 int64_t ret2 = pref->GetLong(PreferencesTest::KEY_TEST_LONG_ELEMENT, 10000L);
439 int64_t ret = pref->GetLong(PreferencesTest::LONG_KEY + 'x', 1L);
441 ret = pref->GetLong("", 1L);
448 ret = pref->GetLong(PreferencesTest::LONG_KEY, 1L);
450 ret = pref->GetLong(PreferencesTest::KEY_TEST_LONG_ELEMENT, 1L);
671 int64_t ret = pref1->GetLong(PreferencesTest::LONG_KEY);
[all …]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
Drdb_sqlite_shared_result_set_test.cpp314 rstSet->GetLong(2, valuelg);
333 rstSet->GetLong(2, valuelg);
360 rstSet->GetLong(2, valuelg);
525 int ret = rstSet->GetLong(0, valueInt);
530 rstSet->GetLong(0, valueInt);
532 rstSet->GetLong(2, valueInt);
534 rstSet->GetLong(3, valueInt);
539 rstSet->GetLong(0, valueInt);
542 rstSet->GetLong(0, valueInt);
545 rstSet->GetLong(1, valueInt);
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_ability_adapter/src/
Dresult_set_utils.cpp126 int ResultSetUtils::GetLong(int columnIndex, int64_t &value) in GetLong() function in OHOS::RdbDataAbilityAdapter::ResultSetUtils
128 return resultSet_->GetLong(columnIndex, value); in GetLong()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/gallery_data_sync/
Ddata_convertor.h52 static int32_t GetLong(const std::string &key, int64_t &val, NativeRdb::ResultSet &resultSet);
73 int32_t ret = GetLong(key, val, resultSet); \
Dfile_data_convertor.h197 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_ADDED, val, resultSet); in HandleCreatedTime()
254 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_TRASHED, val, resultSet); in HandleRecycled()
266 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_TRASHED, val, resultSet); in HandleRecycleTime()
291 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_MODIFIED, val, resultSet); in HandleEditedTime()
328 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_ADDED, val, resultSet); in HandleFirstUpdateTime()
340 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_ADDED, val, resultSet); in HandleFileCreateTime()
406 int32_t ret = GetLong(Media::PhotoColumn::MEDIA_DATE_MODIFIED, val, resultSet); in HandleDataModified()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/gallery_data_sync/
Ddata_convertor.cpp75 int32_t DataConvertor::GetLong(const string &key, int64_t &val, NativeRdb::ResultSet &resultSet) in GetLong() function in OHOS::FileManagement::CloudSync::DataConvertor
84 err = resultSet.GetLong(index, val); in GetLong()
170 if (field.GetLong(val) != DriveKit::DKLocalErrorCode::NO_ERROR) { in GetLongComp()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/basic/
Dresult_set.h197 virtual int GetLong(int columnIndex, int64_t &value) = 0;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/
Dapp_provision_info_rdb.cpp170 ret = absSharedResultSet->GetLong(INDEX_VERSION_CODE, versionCode); in ConvertToAppProvision()
189 … ret = absSharedResultSet->GetLong(INDEX_VALIDITY_NOT_BEFORE, appProvisionInfo.validity.notBefore); in ConvertToAppProvision()
191 ret = absSharedResultSet->GetLong(INDEX_VALIDITY_NOT_AFTER, appProvisionInfo.validity.notAfter); in ConvertToAppProvision()
/foundation/resourceschedule/device_usage_statistics/services/common/src/
Dbundle_active_usage_database.cpp726 …bundleActiveResult->GetLong(LAST_BOOT_FROM_USED_TIME_COLUMN_INDEX, usageHistory->lastBootFromUsedT… in GetBundleHistoryData()
727 …bundleActiveResult->GetLong(LAST_SCREEN_USED_TIME_COLUMN_INDEX, usageHistory->lastScreenUsedTimeSt… in GetBundleHistoryData()
731 bundleActiveResult->GetLong(BUNDLE_ALIVE_TIMEOUT_TIME_COLUMN_INDEX, in GetBundleHistoryData()
733 bundleActiveResult->GetLong(BUNDLE_DAILY_TIMEOUT_TIME_COLUMN_INDEX, in GetBundleHistoryData()
782 bundleActiveResult->GetLong(BOOT_BASED_DURATION_COLUMN_INDEX, durationData.first); in GetDurationData()
783 bundleActiveResult->GetLong(SCREEN_ON_DURATION_COLUMN_INDEX, durationData.second); in GetDurationData()
867 bundleActiveResult->GetLong(LAST_TIME_COLUMN_INDEX, relativeLastTimeUsed); in GetCurrentUsageData()
870 …bundleActiveResult->GetLong(LAST_TIME_CONTINUOUS_TASK_COLUMN_INDEX, relativeLastTimeFrontServiceUs… in GetCurrentUsageData()
873 bundleActiveResult->GetLong(TOTAL_TIME_COLUMN_INDEX, usageStats->totalInFrontTime_); in GetCurrentUsageData()
874 …bundleActiveResult->GetLong(TOTAL_TIME_CONTINUOUS_TASK_COLUMN_INDEX, usageStats->totalContiniousTa… in GetCurrentUsageData()
[all …]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/data_sync/
Dresult_set_mock.h48 MOCK_METHOD2(GetLong, int(int, int64_t &));
Dabs_shared_result_set_mock.h48 MOCK_METHOD2(GetLong, int(int, int64_t &));
Ddata_convertor_test.cpp361 int32_t ret = DataConvertor::GetLong(key, val, resultSet);
385 EXPECT_CALL(resultSet, GetLong(_, _)).WillOnce(Return(1));
386 int32_t ret = DataConvertor::GetLong(key, val, resultSet);
410 EXPECT_CALL(resultSet, GetLong(_, _)).WillOnce(Return(0));
411 int32_t ret = DataConvertor::GetLong(key, val, resultSet);
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb_data_ability_adapter/include/
Dresult_set_utils.h48 int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
Ddatashare_abs_result_set.h34 virtual int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/
Dresultset_json_formatter.cpp63 resultSet->GetLong(i, value); in MarshalRow()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/
Ddatashare_result_set.h82 int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
Dremote_result_set.h275 virtual int GetLong(int columnIndex, int64_t &value) = 0;
Dabs_shared_result_set.h100 API_EXPORT int GetLong(int columnIndex, int64_t &value) override;
Dabs_result_set.h102 API_EXPORT int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
Dabs_result_set.h39 int GetLong(int columnIndex, int64_t &value) override;
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
Dresult_set_proxy.h47 int GetLong(int columnIndex, int64_t &value) override;
Dstep_result_set.h47 int GetLong(int columnIndex, int64_t &value) override;
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
Dmock_preferences.h42 int64_t GetLong(const std::string &key, const int64_t &defValue = {}) override;
/foundation/filemanagement/dfs_service/test/mock/
Dpreference_helper_mock.cpp32 MOCK_METHOD2(GetLong, int64_t(const std::string &key, const int64_t &defValue));
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
Dstep_result_set.h47 int GetLong(int columnIndex, int64_t &value) override;

123