Searched refs:accountsCursor (Results 1 – 2 of 2) sorted by relevance
72 Cursor accountsCursor = null; in getSyncingAccounts() local76 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() local104 accountsCursor = resolver.query(MailAppProvider.getAccountsUri(), in getAccounts()106 if (accountsCursor != null) { in getAccounts()[all …]
226 final Cursor accountsCursor = queryAccountsOfRawContacts(rawContactToSimContact.keySet()); in findAccountsOfExistingSimContacts() local228 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()