Home
last modified time | relevance | path

Searched refs:accountCursor (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEmailSyncAdapterService.java96 Cursor accountCursor = in performSync() local
101 if (accountCursor.moveToFirst()) { in performSync()
102 long accountId = accountCursor.getLong(0); in performSync()
118 accountCursor.close(); in performSync()
DCalendarSyncAdapterService.java118 Cursor accountCursor = in performSync() local
123 if (accountCursor.moveToFirst()) { in performSync()
124 long accountId = accountCursor.getLong(0); in performSync()
149 accountCursor.close(); in performSync()
DContactsSyncAdapterService.java130 Cursor accountCursor = in performSync() local
134 if (accountCursor.moveToFirst()) { in performSync()
135 long accountId = accountCursor.getLong(0); in performSync()
151 accountCursor.close(); in performSync()
/packages/apps/Email/src/com/android/email/activity/
DAccountSelectorAdapter.java339 private int addAccountsToCursor(CursorWithExtras matrixCursor, Cursor accountCursor) { in addAccountsToCursor() argument
341 accountCursor.moveToPosition(-1); in addAccountsToCursor()
343 matrixCursor.mAccountCount = accountCursor.getCount(); in addAccountsToCursor()
345 while (accountCursor.moveToNext()) { in addAccountsToCursor()
347 final long accountId = accountCursor.getLong(0); in addAccountsToCursor()
350 final String name = getDisplayName(accountCursor); in addAccountsToCursor()
351 final String emailAddress = getAccountEmailAddress(accountCursor); in addAccountsToCursor()
356 accountPosition = accountCursor.getPosition(); in addAccountsToCursor()
360 final int countAccounts = accountCursor.getCount(); in addAccountsToCursor()
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java1029 Cursor accountCursor = db.query(Account.TABLE_NAME, V21_ACCOUNT_PROJECTION, null, in upgradeFromVersion21ToVersion22() local
1033 while (accountCursor.moveToNext()) { in upgradeFromVersion21ToVersion22()
1034 hostAuthArgs[0] = accountCursor.getString(V21_ACCOUNT_RECV); in upgradeFromVersion21ToVersion22()
1048 accountCursor.getString(V21_ACCOUNT_EMAIL)); in upgradeFromVersion21ToVersion22()
1051 accountCursor.getString(V21_ACCOUNT_EMAIL), in upgradeFromVersion21ToVersion22()
1058 accountCursor.getString(V21_ACCOUNT_EMAIL), in upgradeFromVersion21ToVersion22()
1071 accountCursor.close(); in upgradeFromVersion21ToVersion22()
1124 Cursor accountCursor = db.query(Account.TABLE_NAME, V25_ACCOUNT_PROJECTION, null, in upgradeFromVersion25ToVersion26() local
1129 while (accountCursor.moveToNext()) { in upgradeFromVersion25ToVersion26()
1130 hostAuthArgs[0] = accountCursor.getString(V25_ACCOUNT_RECV); in upgradeFromVersion25ToVersion26()
[all …]
DEmailProvider.java1126 for (Cursor accountCursor: accounts) { in query()
1129 if (accountCursor.moveToFirst()) { in query()
1131 accountCursor.getInt(Account.CONTENT_IS_DEFAULT_COLUMN) == 1; in query()
1132 long iterId = accountCursor.getLong(Account.CONTENT_ID_COLUMN); in query()