Home
last modified time | relevance | path

Searched refs:GetUploadCount (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dstorage_proxy.h60 …int GetUploadCount(const std::string &tableName, const Timestamp &timestamp, const bool isCloudFor…
63 …int GetUploadCount(const QuerySyncObject &query, const bool isCloudForcePush, bool isCompensatedTa…
66 …int GetUploadCount(const QuerySyncObject &query, const Timestamp &localMark, bool isCloudForcePush,
H A Dicloud_sync_storage_interface.h112 …virtual int GetUploadCount(const QuerySyncObject &query, const Timestamp &timestamp, bool isCloudF…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_test.cpp240 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
292 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
338 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
371 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
429 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
473 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
518 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
574 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
606 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
724 EXPECT_CALL(*g_iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly([](const QuerySyncObject &,
H A Dmock_icloud_sync_storage_interface.h33 …MOCK_METHOD5(GetUploadCount, int(const QuerySyncObject &, const Timestamp &, bool, bool, int64_t &…
H A Ddistributeddb_cloud_syncer_progress_manager_test.cpp85 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
142 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
199 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
H A Ddistributeddb_cloud_syncer_upload_test.cpp169 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
226 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
262 EXPECT_CALL(*iCloud, GetUploadCount(_, _, _, _, _)).WillRepeatedly(Return(E_OK));
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_meta_data_test.cpp225 EXPECT_EQ(proxyObj.GetUploadCount(TABLE_NAME_1, retLocalMark, true, count), -E_INVALID_DB);
227 EXPECT_EQ(proxyObj.GetUploadCount(query, retLocalMark, true, true, count), -E_INVALID_DB);
232 EXPECT_EQ(proxyObj.GetUploadCount(query, true, true, true, count), -E_INVALID_DB);
333 EXPECT_EQ(obj.GetUploadCount(querySync, timestamp, true, true, count), -E_INVALID_DB);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dstorage_proxy.cpp165 int StorageProxy::GetUploadCount(const QuerySyncObject &query, const bool isCloudForcePush, in GetUploadCount() function in DistributedDB::StorageProxy
192 int StorageProxy::GetUploadCount(const std::string &tableName, const Timestamp &localMark, in GetUploadCount() function in DistributedDB::StorageProxy
205 return store_->GetUploadCount(query, localMark, isCloudForcePush, false, count); in GetUploadCount()
208 int StorageProxy::GetUploadCount(const QuerySyncObject &query, const Timestamp &localMark, in GetUploadCount() function in DistributedDB::StorageProxy
219 return store_->GetUploadCount(query, localMark, isCloudForcePush, isCompensatedTask, count); in GetUploadCount()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp626 …EXPECT_EQ(g_cloudStore->GetUploadCount(query, g_startTime, false, false, resCount), -E_INVALID_QUE…
632 EXPECT_EQ(g_cloudStore->GetUploadCount(query, g_startTime, false, false, resCount), E_OK);
640 EXPECT_EQ(g_cloudStore->GetUploadCount(query, invalidTime, false, false, resCount), E_OK);
663 …EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime, false, resCount), -E_TRANSACT_S…
667 …EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime + timeOffset, false, resCount), …
677 …EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime + timeOffset, false, resCount), …
702 …EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime, false, resCount), -E_TRANSACT_S…
705 EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime, false, resCount), E_OK);
735 … EXPECT_EQ(g_storageProxy->GetUploadCount(g_tableName, g_startTime, false, resCount), E_OK); in __anona90a728d0202()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_store.h46 …int GetUploadCount(const QuerySyncObject &query, const Timestamp &timestamp, bool isCloudForcePush,
H A Dsqlite_cloud_kv_store.cpp148 int SqliteCloudKvStore::GetUploadCount([[gnu::unused]] const QuerySyncObject &query,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_sync_able_storage.h143 …int GetUploadCount(const QuerySyncObject &query, const Timestamp &timestamp, bool isCloudForcePush,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1085 int RelationalSyncAbleStorage::GetUploadCount(const QuerySyncObject &query, const Timestamp &timest… in GetUploadCount() function in DistributedDB::RelationalSyncAbleStorage
1095 … errCode = handle->GetUploadCount(timestamp, isCloudForcePush, isCompensatedTask, queryObj, count); in GetUploadCount()
1474 errCode = handle->GetUploadCount(UINT64_MAX, false, false, queryObj, count); in CheckQueryValid()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor.h115 int GetUploadCount(const Timestamp &timestamp, bool isCloudForcePush, bool isCompensatedTask,
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp1432 int SQLiteSingleVerRelationalStorageExecutor::GetUploadCount(const Timestamp &timestamp, bool isClo… in GetUploadCount() function in DistributedDB::SQLiteSingleVerRelationalStorageExecutor
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_syncer_extend.cpp658 ret = storageProxy_->GetUploadCount(GetQuerySyncObject(tableName), IsModeForcePush(taskId), in GetUploadCountByTable()
H A Dcloud_syncer.cpp1290 ret = storageProxy_->GetUploadCount(GetQuerySyncObject(tableName), IsModeForcePush(taskId), in DoUpload()