Searched refs:accountCursor (Results 1 – 6 of 6) sorted by relevance
96 Cursor accountCursor = in performSync() local101 if (accountCursor.moveToFirst()) { in performSync()102 long accountId = accountCursor.getLong(0); in performSync()118 accountCursor.close(); in performSync()
118 Cursor accountCursor = in performSync() local123 if (accountCursor.moveToFirst()) { in performSync()124 long accountId = accountCursor.getLong(0); in performSync()149 accountCursor.close(); in performSync()
130 Cursor accountCursor = in performSync() local134 if (accountCursor.moveToFirst()) { in performSync()135 long accountId = accountCursor.getLong(0); in performSync()151 accountCursor.close(); in performSync()
339 private int addAccountsToCursor(CursorWithExtras matrixCursor, Cursor accountCursor) { in addAccountsToCursor() argument341 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()
1029 Cursor accountCursor = db.query(Account.TABLE_NAME, V21_ACCOUNT_PROJECTION, null, in upgradeFromVersion21ToVersion22() local1033 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() local1129 while (accountCursor.moveToNext()) { in upgradeFromVersion25ToVersion26()1130 hostAuthArgs[0] = accountCursor.getString(V25_ACCOUNT_RECV); in upgradeFromVersion25ToVersion26()[all …]
1126 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()