Home
last modified time | relevance | path

Searched refs:AbsRdbPredicates (Results 1 – 25 of 173) sorted by relevance

1234567

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dabs_rdb_predicates.cpp26 AbsRdbPredicates::AbsRdbPredicates(const std::string &tableName) in AbsRdbPredicates() function in OHOS::NativeRdb::AbsRdbPredicates
37 AbsRdbPredicates::AbsRdbPredicates(const std::vector<std::string> &tables) in AbsRdbPredicates() function in OHOS::NativeRdb::AbsRdbPredicates
159 AbsRdbPredicates* AbsRdbPredicates::InAllDevices() in InAllDevices()
191 AbsRdbPredicates* AbsRdbPredicates::And() in And()
197 AbsRdbPredicates* AbsRdbPredicates::Or() in Or()
203 AbsRdbPredicates* AbsRdbPredicates::OrderByAsc(const std::string &field) in OrderByAsc()
210 AbsRdbPredicates* AbsRdbPredicates::OrderByDesc(const std::string &field) in OrderByDesc()
272 AbsRdbPredicates *AbsRdbPredicates::IsNull(const std::string &field) in IsNull()
277 AbsRdbPredicates *AbsRdbPredicates::IsNotNull(const std::string &field) in IsNotNull()
297 AbsRdbPredicates *AbsRdbPredicates::Distinct() in Distinct()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dabs_rdb_predicates.h27 class API_EXPORT AbsRdbPredicates : public AbsPredicates {
36 API_EXPORT explicit AbsRdbPredicates(const std::string &tableName);
45 API_EXPORT explicit AbsRdbPredicates(const std::vector<std::string> &tables);
50 API_EXPORT ~AbsRdbPredicates() override {} in ~AbsRdbPredicates()
77 API_EXPORT AbsRdbPredicates *InDevices(std::vector<std::string>& devices);
86 API_EXPORT AbsRdbPredicates *InAllDevices();
117 API_EXPORT AbsRdbPredicates* And() override;
124 API_EXPORT AbsRdbPredicates* Or() override;
187 API_EXPORT AbsRdbPredicates *IsNull(const std::string &field) override;
194 API_EXPORT AbsRdbPredicates *IsNotNull(const std::string &field) override;
[all …]
H A Drdb_store.h230 virtual int Update(int &changedRows, const Row &row, const AbsRdbPredicates &predicates);
289 virtual int Delete(int &deletedRows, const AbsRdbPredicates &predicates);
326 …virtual std::shared_ptr<AbsSharedResultSet> Query(const AbsRdbPredicates &predicates, const Fields…
371 …virtual std::shared_ptr<ResultSet> QueryByStep(const AbsRdbPredicates &predicates, const Fields &c…
381 …d::shared_ptr<ResultSet> RemoteQuery(const std::string &device, const AbsRdbPredicates &predicates,
390 …:pair<int32_t, std::shared_ptr<ResultSet>> QuerySharingResource(const AbsRdbPredicates &predicates,
468 virtual int Count(int64_t &outValue, const AbsRdbPredicates &predicates);
569 …virtual int Sync(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncBrief &as…
585 …virtual int Sync(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncDetail &a…
686 virtual int ModifyLockStatus(const AbsRdbPredicates &predicates, bool isLock);
/ohos5.0/base/telephony/telephony_data/sms_mms/src/
H A Dsms_mms_ability.cpp230 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in GetPredicates()
233 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SMS_MMS_INFO); in GetPredicates()
237 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PROTOCOL); in GetPredicates()
245 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PART); in GetPredicates()
249 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SESSION); in GetPredicates()
253 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PDU); in GetPredicates()
323 NativeRdb::AbsRdbPredicates *absRdbPredicates = nullptr; in CreateAbsRdbPredicates()
326 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SMS_MMS_INFO); in CreateAbsRdbPredicates()
346 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_MMS_PART); in CreateAbsRdbPredicates()
350 absRdbPredicates = new NativeRdb::AbsRdbPredicates(TABLE_SESSION); in CreateAbsRdbPredicates()
[all …]
/ohos5.0/base/security/security_guard/test/unittest/mock/rdb/
H A Drdb_store.h40 const NativeRdb::AbsRdbPredicates &predicates) = 0;
41 virtual int Delete(int &deletedRows, const NativeRdb::AbsRdbPredicates &predicates) = 0;
43 const NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> columns) = 0;
48 virtual int Count(int64_t &outValue, const NativeRdb::AbsRdbPredicates &predicates) = 0;
70 MOCK_METHOD2(Count, int(int64_t &outValue, const AbsRdbPredicates &predicates));
72 const AbsRdbPredicates &predicates, const std::vector<std::string> columns));
73 …MOCK_METHOD3(Update, int(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &pre…
74 MOCK_METHOD2(Delete, int(int &deletedRows, const AbsRdbPredicates &predicates));
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/rdb/
H A Drdb_data_manager.h42 const NativeRdb::AbsRdbPredicates &absRdbPredicates);
43 bool DeleteData(const NativeRdb::AbsRdbPredicates &absRdbPredicates);
45 const NativeRdb::AbsRdbPredicates &absRdbPredicates);
49 const NativeRdb::AbsRdbPredicates &absRdbPredicates);
52 … const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &absRdbPredicates);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_rdbstore.h53 …EXPORT static std::shared_ptr<NativeRdb::ResultSet> Query(const NativeRdb::AbsRdbPredicates &predi…
64 EXPORT static void BuildQuerySql(const NativeRdb::AbsRdbPredicates &predicates,
70 EXPORT static int32_t Delete(const NativeRdb::AbsRdbPredicates &predicates);
72 const NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> &columns);
74 const NativeRdb::AbsRdbPredicates &predicates);
75 static void ReplacePredicatesUriToId(NativeRdb::AbsRdbPredicates &predicates);
76 …static std::shared_ptr<NativeRdb::ResultSet> GetIndexOfUri(const NativeRdb::AbsRdbPredicates &pred…
108 …EXPORT int Sync(const DistributedRdb::SyncOption &option, const NativeRdb::AbsRdbPredicates &predi…
112 …EXPORT std::shared_ptr<NativeRdb::ResultSet> QueryByStep(const NativeRdb::AbsRdbPredicates &predic…
115 const NativeRdb::AbsRdbPredicates &predicates);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dmock_rdb_data_manager.cpp63 … const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &absRdbPredicates) in UpdateData()
73 bool RdbDataManager::DeleteData(const NativeRdb::AbsRdbPredicates &absRdbPredicates) in DeleteData()
84 const NativeRdb::AbsRdbPredicates &absRdbPredicates) in QueryData()
100 const NativeRdb::AbsRdbPredicates &absRdbPredicates) in QueryByStep()
/ohos5.0/base/security/security_guard/services/data_collect/store/include/
H A Ddatabase.h37 …changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::AbsRdbPredicates &predicates);
38 int Delete(int &deletedRows, const NativeRdb::AbsRdbPredicates &predicates);
40 const NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> columns);
44 int Count(int64_t &outValue, const NativeRdb::AbsRdbPredicates &predicates);
/ohos5.0/base/security/security_guard/test/unittest/data_collect/include/
H A Ddatabase.h37 …changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::AbsRdbPredicates &predicates);
38 int Delete(int &deletedRows, const NativeRdb::AbsRdbPredicates &predicates);
40 const NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> columns);
44 int Count(int64_t &outValue, const NativeRdb::AbsRdbPredicates &predicates);
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/data_sync/
H A Ddata_syncer_rdb_store.cpp63 NativeRdb::AbsRdbPredicates predicates = NativeRdb::AbsRdbPredicates(DATA_SYNCER_TABLE); in Insert()
150 NativeRdb::AbsRdbPredicates predicates = NativeRdb::AbsRdbPredicates(DATA_SYNCER_TABLE); in GetLastSyncTime()
171 NativeRdb::AbsRdbPredicates predicates = NativeRdb::AbsRdbPredicates(DATA_SYNCER_TABLE); in QueryDataSyncer()
176 int32_t DataSyncerRdbStore::Query(NativeRdb::AbsRdbPredicates predicates, in Query()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/include/
H A Dclouddisk_rdbstore_mock.h106 MOCK_METHOD2(Count, int(int64_t &outValue, const AbsRdbPredicates &predicates));
108 std::shared_ptr<AbsSharedResultSet>(const AbsRdbPredicates &predicates,
136 std::shared_ptr<ResultSet>(const AbsRdbPredicates &predicates,
141 const AbsRdbPredicates &predicates,
152 …MOCK_METHOD3(Sync, int(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncBri…
153 …MOCK_METHOD3(Sync, int(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncDet…
162 …MOCK_METHOD3(Update, int(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &pre…
163 MOCK_METHOD2(Delete, int(int &deletedRows, const AbsRdbPredicates &predicates));
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
H A Drdb_store_mock.h106 MOCK_METHOD2(Count, int(int64_t &outValue, const AbsRdbPredicates &predicates));
108 std::shared_ptr<AbsSharedResultSet>(const AbsRdbPredicates &predicates,
135 std::shared_ptr<ResultSet>(const AbsRdbPredicates &predicates,
140 const AbsRdbPredicates &predicates,
151 …MOCK_METHOD3(Sync, int(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncBri…
152 …MOCK_METHOD3(Sync, int(const SyncOption &option, const AbsRdbPredicates &predicate, const AsyncDet…
161 …MOCK_METHOD3(Update, int(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &pre…
162 MOCK_METHOD2(Delete, int(int &deletedRows, const AbsRdbPredicates &predicates));
/ohos5.0/base/telephony/telephony_data/common/include/
H A Drdb_base_helper.h29 class AbsRdbPredicates; variable
47 …changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::AbsRdbPredicates &predicates);
50 int Delete(int &deletedRows, const NativeRdb::AbsRdbPredicates &predicates);
54 const NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> columns);
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_rdb.h40 MOCK_METHOD(int, Delete, (int& deletedRows, const AbsRdbPredicates& predicates), (override));
52 (const AbsRdbPredicates& predicates, const std::vector<std::string>& columns), (override));
150 int Count(int64_t& outValue, const AbsRdbPredicates& predicates) override in Count()
156 …const AbsRdbPredicates& predicates, const std::vector<std::string>& columns, bool preCount) overri… in QueryByStep()
160 …std::shared_ptr<ResultSet> RemoteQuery(const std::string& device, const AbsRdbPredicates& predicat… in RemoteQuery()
165 …int Update(int& changedRows, const ValuesBucket& values, const AbsRdbPredicates& predicates) overr… in Update()
240 …int Sync(const SyncOption& option, const AbsRdbPredicates& predicate, const AsyncBrief& async) ove… in Sync()
245 …int Sync(const SyncOption& option, const AbsRdbPredicates& predicate, const AsyncDetail& async) ov… in Sync()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Dmock_app_provision_info.h144 virtual int Count(int64_t &outValue, const AbsRdbPredicates &predicates) in Count()
149 const AbsRdbPredicates &predicates, const std::vector<std::string> &columns) in Query()
156 … const AbsRdbPredicates &predicates, const std::vector<std::string> &columns, bool preCount = true)
161 const AbsRdbPredicates &predicates, const std::vector<std::string> &columns, int &errCode) in RemoteQuery()
165 …virtual int Update(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &predicate… in Update()
169 virtual int Delete(int &deletedRows, const AbsRdbPredicates &predicates) in Delete()
245 …virtual int Sync(const SyncOption& option, const AbsRdbPredicates& predicate, const AsyncBrief& as… in Sync()
250 …virtual int Sync(const SyncOption& option, const AbsRdbPredicates& predicate, const AsyncDetail& a… in Sync()
/ohos5.0/base/customization/enterprise_device_management/services/edm/include/database/
H A Dedm_rdb_data_manager.h30 bool Delete(const NativeRdb::AbsRdbPredicates &predicates);
31 …bool Update(const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &predic…
32 std::shared_ptr<NativeRdb::ResultSet> Query(const NativeRdb::AbsRdbPredicates &predicates,
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_rdbstore.cpp194 AbsRdbPredicates lookUpPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in LookUp()
217 AbsRdbPredicates getAttrPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetAttr()
277 AbsRdbPredicates readDirPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in ReadDir()
657 AbsRdbPredicates getRowIdPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetRowId()
956 AbsRdbPredicates getAttrPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetExtAttr()
1183 AbsRdbPredicates readDirPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetHasChild()
1249 AbsRdbPredicates predicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetDirtyType()
1276 AbsRdbPredicates predicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetCurNode()
1311 AbsRdbPredicates predicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GetParentNode()
1678 AbsRdbPredicates lookUpPredicates = AbsRdbPredicates(FileColumn::FILES_TABLE); in GenerateDentryRecursively()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dshortcut_data_storage_rdb.cpp85 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in DeleteDesktopShortcutInfo()
101 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in GetAllDesktopShortcutInfo()
141 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in DeleteDesktopShortcutInfo()
154 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in DeleteDesktopShortcutInfo()
169 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in ShortcutIdVerification()
199 NativeRdb::AbsRdbPredicates absRdbPredicates(SHORTCUT_RDB_TABLE_NAME); in GetDesktopShortcutInfosByDefaultUserId()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager_rdb.cpp131 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteAppInstallControlRule()
147 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in GetAppInstallControlRule()
239 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteAppRunningControlRule()
256 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in GetAppRunningControlRule()
297 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in GetAppRunningControlRule()
381 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteDisposedStatus()
399 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in GetDisposedStatus()
438 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteOldControlRule()
482 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteDisposedRule()
499 NativeRdb::AbsRdbPredicates absRdbPredicates(APP_CONTROL_RDB_TABLE_NAME); in DeleteAllDisposedRuleByBundle()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/
H A Dmultistages_capture_manager.cpp34 void MultiStagesCaptureManager::RemovePhotos(const NativeRdb::AbsRdbPredicates &predicates, in RemovePhotos()
43 NativeRdb::AbsRdbPredicates predicatesNew(predicates.GetTableName()); in RemovePhotos()
80 void MultiStagesCaptureManager::RestorePhotos(const NativeRdb::AbsRdbPredicates &predicates) in RestorePhotos()
88 NativeRdb::AbsRdbPredicates predicatesNew(predicates.GetTableName()); in RestorePhotos()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/src/database_manage/
H A Dmedialibrary_device_operations.cpp48 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in InsertDeviceInfo()
87 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in UpdateDeviceInfo()
133 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in UpdateSyncStatus()
159 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in GetSyncStatusById()
192 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in QueryDeviceTable()
220 AbsRdbPredicates absPredDevice(DEVICE_TABLE); in GetAllDeviceData()
249 AbsRdbPredicates absPredevice(DEVICE_TABLE); in GetAgingDeviceData()
284 AbsRdbPredicates absPreDevice(DEVICE_TABLE); in GetAllDeviceUdid()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rdb/
H A Drdb_data_manager.cpp186 NativeRdb::AbsRdbPredicates absRdbPredicates(bmsRdbConfig_.tableName); in UpdateData()
196 … const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &absRdbPredicates) in UpdateData()
214 … const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &absRdbPredicates) in UpdateOrInsertData()
247 NativeRdb::AbsRdbPredicates absRdbPredicates(bmsRdbConfig_.tableName); in DeleteData()
253 bool RdbDataManager::DeleteData(const NativeRdb::AbsRdbPredicates &absRdbPredicates) in DeleteData()
278 NativeRdb::AbsRdbPredicates absRdbPredicates(bmsRdbConfig_.tableName); in QueryData()
302 const NativeRdb::AbsRdbPredicates &absRdbPredicates) in QueryData()
331 NativeRdb::AbsRdbPredicates absRdbPredicates(bmsRdbConfig_.tableName); in QueryAllData()
412 const NativeRdb::AbsRdbPredicates &absRdbPredicates) in QueryByStep()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/fuzztest/rdbstore_fuzzer/
H A Drdbstore_fuzzer.cpp196 AbsRdbPredicates predicates(tableName); in RdbDoLockRowFuzz()
217 void RdbSetLockedRowPredicates(AbsRdbPredicates &predicates) in RdbSetLockedRowPredicates()
221 predicates.EqualTo(AbsRdbPredicates::LOCK_STATUS, AbsRdbPredicates::LOCKED); in RdbSetLockedRowPredicates()
223 predicates.EqualTo(AbsRdbPredicates::LOCK_STATUS, AbsRdbPredicates::LOCK_CHANGED); in RdbSetLockedRowPredicates()
242 AbsRdbPredicates predicates(tableName); in RdbQueryLockedRowFuzz1()
291 AbsRdbPredicates predicates(tableName); in RdbQueryLockedRowFuzz2()
342 AbsRdbPredicates predicates(tableName); in RdbQueryFuzz1()
401 AbsRdbPredicates predicates(tableName); in RdbQueryFuzz2()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/rdb/
H A Drdb_data_manager.h53 … const NativeRdb::ValuesBucket &valuesBucket, const NativeRdb::AbsRdbPredicates &absRdbPredicates);
54 int32_t DeleteData(const NativeRdb::AbsRdbPredicates &absRdbPredicates);
55 …std::shared_ptr<NativeRdb::AbsSharedResultSet> QueryData(const NativeRdb::AbsRdbPredicates &absRdb…

1234567