/foundation/distributeddatamgr/preferences/test/native/unittest/ |
D | preferences_test.cpp | 274 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/ |
D | rdb_sqlite_shared_result_set_test.cpp | 314 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/ |
D | result_set_utils.cpp | 126 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/ |
D | data_convertor.h | 52 static int32_t GetLong(const std::string &key, int64_t &val, NativeRdb::ResultSet &resultSet); 73 int32_t ret = GetLong(key, val, resultSet); \
|
D | file_data_convertor.h | 197 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/ |
D | data_convertor.cpp | 75 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/ |
D | result_set.h | 197 virtual int GetLong(int columnIndex, int64_t &value) = 0;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/ |
D | app_provision_info_rdb.cpp | 170 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/ |
D | bundle_active_usage_database.cpp | 726 …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/ |
D | result_set_mock.h | 48 MOCK_METHOD2(GetLong, int(int, int64_t &));
|
D | abs_shared_result_set_mock.h | 48 MOCK_METHOD2(GetLong, int(int, int64_t &));
|
D | data_convertor_test.cpp | 361 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/ |
D | result_set_utils.h | 48 int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
D | datashare_abs_result_set.h | 34 virtual int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/ |
D | resultset_json_formatter.cpp | 63 resultSet->GetLong(i, value); in MarshalRow()
|
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/ |
D | datashare_result_set.h | 82 int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
D | remote_result_set.h | 275 virtual int GetLong(int columnIndex, int64_t &value) = 0;
|
D | abs_shared_result_set.h | 100 API_EXPORT int GetLong(int columnIndex, int64_t &value) override;
|
D | abs_result_set.h | 102 API_EXPORT int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
D | abs_result_set.h | 39 int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
D | result_set_proxy.h | 47 int GetLong(int columnIndex, int64_t &value) override;
|
D | step_result_set.h | 47 int GetLong(int columnIndex, int64_t &value) override;
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
D | mock_preferences.h | 42 int64_t GetLong(const std::string &key, const int64_t &defValue = {}) override;
|
/foundation/filemanagement/dfs_service/test/mock/ |
D | preference_helper_mock.cpp | 32 MOCK_METHOD2(GetLong, int64_t(const std::string &key, const int64_t &defValue));
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
D | step_result_set.h | 47 int GetLong(int columnIndex, int64_t &value) override;
|