HomeSort by relevance Sort by last modified time
    Searched defs:accountCursor (Results 1 - 8 of 8) sorted by null

  /packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java 48 final Cursor accountCursor = context.getContentResolver().query(Uri.parse(
52 if (accountCursor == null) {
59 while (accountCursor.moveToNext()) {
60 accounts.add(Account.builder().buildFrom(accountCursor));
63 accountCursor.close();
  /packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java 101 final Cursor accountCursor = contentResolver.query(
106 if (accountCursor == null) {
113 if (accountCursor.moveToFirst()) {
114 account = com.android.mail.providers.Account.builder().buildFrom(accountCursor);
117 accountCursor.close();
  /packages/apps/Email/provider_src/com/android/email/provider/
WidgetProvider.java 63 final Cursor accountCursor = resolver.query(Uri.parse(accountUri),
66 return getPopulatedAccountObject(accountCursor);
74 final Cursor accountCursor = resolver.query(account.uri,
76 if (accountCursor != null) {
78 return accountCursor.getCount() > 0;
80 accountCursor.close();
153 final Cursor accountCursor) {
154 if (accountCursor == null) {
161 if (accountCursor.moveToFirst()) {
162 uiAccount = com.android.mail.providers.Account.builder().buildFrom(accountCursor);
    [all...]
DBHelper.java     [all...]
EmailProvider.java     [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
BaseWidgetProvider.java 275 Cursor accountCursor = null;
277 accountCursor = resolver.query(Uri.parse(accountUri),
279 if (accountCursor != null) {
280 if (accountCursor.moveToFirst()) {
281 account = Account.builder().buildFrom(accountCursor);
285 if (accountCursor != null) {
286 accountCursor.close();
  /packages/apps/Email/src/com/android/email/
EmailNotificationController.java 327 final Cursor accountCursor = mContext.getContentResolver().query(EmailProvider.uiUri(
332 if (accountCursor.moveToFirst()) {
333 uiAccount = com.android.mail.providers.Account.builder().buildFrom(accountCursor);
336 accountCursor.close();
674 final Cursor accountCursor = contentResolver.query(accountUri,
677 if (accountCursor == null) {
684 if (accountCursor.moveToFirst()) {
685 account = com.android.mail.providers.Account.builder().buildFrom(accountCursor);
688 accountCursor.close();
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationUtils.java 232 final Cursor accountCursor = context.getContentResolver().query(
235 if (accountCursor == null) {
242 if (accountCursor.moveToFirst()) {
243 account = Account.builder().buildFrom(accountCursor);
248 accountCursor.close();
    [all...]

Completed in 1344 milliseconds