Home
last modified time | relevance | path

Searched refs:accountsCursor (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DAccountUtils.java72 Cursor accountsCursor = null; in getSyncingAccounts() local
76 accountsCursor = resolver.query(MailAppProvider.getAccountsUri(), in getSyncingAccounts()
78 if (accountsCursor != null) { in getSyncingAccounts()
79 while (accountsCursor.moveToNext()) { in getSyncingAccounts()
80 account = Account.builder().buildFrom(accountsCursor); in getSyncingAccounts()
87 if (accountsCursor != null) { in getSyncingAccounts()
88 accountsCursor.close(); in getSyncingAccounts()
101 Cursor accountsCursor = null; in getAccounts() local
104 accountsCursor = resolver.query(MailAppProvider.getAccountsUri(), in getAccounts()
106 if (accountsCursor != null) { in getAccounts()
[all …]
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java226 final Cursor accountsCursor = queryAccountsOfRawContacts(rawContactToSimContact.keySet()); in findAccountsOfExistingSimContacts() local
228 while (accountsCursor.moveToNext()) { in findAccountsOfExistingSimContacts()
229 final AccountWithDataSet account = AccountQuery.getAccount(accountsCursor); in findAccountsOfExistingSimContacts()
230 final long id = AccountQuery.getId(accountsCursor); in findAccountsOfExistingSimContacts()
239 accountsCursor.close(); in findAccountsOfExistingSimContacts()