Lines Matching refs:std
32 std::mutex g_mtx;
34 std::shared_ptr<ContactsDataBase> AccountSync::contactsDataBase_ = nullptr;
35 std::shared_ptr<ProfileDatabase> AccountSync::profileDataBase_ = nullptr;
36 std::shared_ptr<AccountSync> AccountSync::instance_ = nullptr;
37 std::shared_ptr<ContactsAccount> g_contactsAccount = nullptr;
39 std::shared_ptr<AccountSync> AccountSync::GetInstance()
58 void AccountSync::getShouldUpdateAndAddAccounts(std::vector<OHOS::AccountSA::OhosAccountInfo> systemAccounts,
59 std::vector<AccountDataCollection> localAccounts,
60 std::vector<OHOS::AccountSA::OhosAccountInfo> &shouldUpdateAccounts,
61 std::vector<OHOS::AccountSA::OhosAccountInfo> &shouldAddAccounts)
75 void AccountSync::SyncUpdateAccount(std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts, bool isProfile)
83 std::shared_ptr<OHOS::NativeRdb::RdbStore> store = nullptr;
96 std::vector<AccountDataCollection> accounts = g_contactsAccount->GetAccountFromLocal(store);
97 std::vector<AccountDataCollection> notInSysAccounts;
106 std::vector<OHOS::AccountSA::OhosAccountInfo> shouldUpdateAccounts;
107 std::vector<OHOS::AccountSA::OhosAccountInfo> shouldAddAccounts;
129 int AccountSync::ClearData(std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int accountId)