Lines Matching refs:std

35     static std::shared_ptr<ContactsDataBase> GetInstance();
36 static std::shared_ptr<OHOS::NativeRdb::RdbStore> store_;
37 static std::shared_ptr<OHOS::NativeRdb::RdbStore> contactStore_;
39 std::vector<OHOS::NativeRdb::ValuesBucket> ResultSetToValuesBucket(
40 std::shared_ptr<OHOS::NativeRdb::ResultSet> &resultSet);
42 int64_t InsertRawContact(std::string table, OHOS::NativeRdb::ValuesBucket value);
43 int64_t InsertContactData(std::string table, OHOS::NativeRdb::ValuesBucket value);
44 int64_t InsertGroup(std::string table, OHOS::NativeRdb::ValuesBucket value);
45 int64_t InsertBlockList(std::string table, OHOS::NativeRdb::ValuesBucket value);
55 std::shared_ptr<OHOS::NativeRdb::ResultSet> Query(
56 OHOS::NativeRdb::RdbPredicates &rdbPredicates, std::vector<std::string> &columns);
61 static void DestroyInstanceAndRestore(std::string restorePath);
62 std::shared_ptr<OHOS::NativeRdb::ResultSet> SelectCandidate();
67 int GetTypeId(std::string typeText);
68 void DeleteExecute(std::shared_ptr<OHOS::NativeRdb::RdbStore> &store,
69 std::vector<OHOS::NativeRdb::ValuesBucket> queryValuesBucket);
70 void InsertMergeData(std::shared_ptr<OHOS::NativeRdb::RdbStore> &store, std::vector<int> &rawContactIdVector);
71 void MarkMerge(std::shared_ptr<OHOS::NativeRdb::RdbStore> &store);
73 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store, std::vector<int> &rawContactIdVector, bool isDeleted);
74 void DeleteRecordInsert(std::shared_ptr<OHOS::NativeRdb::RdbStore> &store,
75 std::vector<OHOS::NativeRdb::ValuesBucket> &queryValuesBucket);
76 void DeletedAsyncTask(std::shared_ptr<OHOS::NativeRdb::RdbStore> &store,
77 std::vector<OHOS::NativeRdb::ValuesBucket> &queryValuesBucket);
82 static std::shared_ptr<ContactsDataBase> contactDataBase_;
83 static std::shared_ptr<CallLogDataBase> callLogDataBase_;
85 std::vector<int> QueryContactDataRawContactId(
86 OHOS::NativeRdb::RdbPredicates &rdbPredicates, std::vector<std::string> &types);
87 std::string StructureDeleteContactJson(
88 OHOS::NativeRdb::ValuesBucket rawContactValues, std::string rawContactIdColumn, int rawContactId);
89 int DeleteExecute(std::vector<OHOS::NativeRdb::ValuesBucket> &queryValuesBucket);
90 int DeleteRawContactLocal(int contactId, int rawContactId, std::string backupData, std::string disPlayName);
91 std::vector<OHOS::NativeRdb::ValuesBucket> DeleteContactQuery(OHOS::NativeRdb::RdbPredicates &rdbPredicates);
92 std::vector<OHOS::NativeRdb::ValuesBucket> DeleteRawContactQuery(OHOS::NativeRdb::RdbPredicates &rdbPredicates);
93 int DeleteLocal(int rawContactId, std::string contactId);
94 static bool Restore(std::string restorePath);
96 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText);