Home
last modified time | relevance | path

Searched refs:sysAccounts (Results 1 - 5 of 5) sorted by relevance

/applications/standard/contacts_data/ability/account/src/
H A Daccount_change_event.cpp36 std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts; in OnReceiveEvent() local
43 sysAccounts.push_back(var); in OnReceiveEvent()
45 accountSync->SyncUpdateAccount(sysAccounts, true); in OnReceiveEvent()
47 accountSync->SyncUpdateAccount(sysAccounts, false); in OnReceiveEvent()
H A Daccount_data_collection.cpp60 bool AccountDataCollection::ContainSysAccounts(std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts) in ContainSysAccounts() argument
62 for (auto iter = sysAccounts.begin(); iter != sysAccounts.end(); ++iter) { in ContainSysAccounts()
H A Daccount_sync.cpp75 void AccountSync::SyncUpdateAccount(std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts, bool isProfile) in SyncUpdateAccount() argument
78 if (sysAccounts.empty()) { in SyncUpdateAccount()
79 HILOG_ERROR("AccountSync::SyncUpdateAccount sysAccounts is null"); in SyncUpdateAccount()
100 // if account is not default and not in sysAccounts then this should remove in SyncUpdateAccount()
101 if (!iter.IsDefaultAccount() && !iter.ContainSysAccounts(sysAccounts)) { in SyncUpdateAccount()
108 getShouldUpdateAndAddAccounts(sysAccounts, accounts, shouldUpdateAccounts, shouldAddAccounts); in SyncUpdateAccount()
/applications/standard/contacts_data/ability/account/include/
H A Daccount_data_collection.h34 bool ContainSysAccounts(std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts);
H A Daccount_sync.h37 void SyncUpdateAccount(std::vector<OHOS::AccountSA::OhosAccountInfo> sysAccounts, bool isProfile);

Completed in 2 milliseconds