/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionBarController.java | 62 private Account mAccount; field in ActionBarController 81 final Uri mAccount; field in ActionBarController.UpdateProvider 84 mAccount = account; in UpdateProvider() 90 mResolver.call(mAccount, UIProvider.AccountCallMethods.SET_CURRENT_ACCOUNT, in doInBackground() 91 mAccount.toString(), params[0]); in doInBackground() 154 final boolean accountChanged = mAccount == null || !mAccount.uri.equals(account.uri); in updateAccount() 155 mAccount = account; in updateAccount() 156 if (mAccount != null && accountChanged) { in updateAccount() 160 final UpdateProvider updater = new UpdateProvider(mAccount.uri, resolver); in updateAccount() 233 Utils.setMenuItemPresent(mEmptyTrashItem, mAccount != null && mFolder != null in validateVolatileMenuOptionVisibility() [all …]
|
D | RecentFolderList.java | 57 private Account mAccount = null; field in RecentFolderList 96 private final Account mAccount; field in RecentFolderList.StoreRecent 107 mAccount = account; in StoreRecent() 113 final Uri uri = mAccount.recentFolderListUri; in doInBackground() 153 final boolean accountSwitched = (mAccount == null) || !mAccount.matches(account); in setCurrentAccount() 154 mAccount = account; in setCurrentAccount() 166 if (mAccount == null || c == null) { in loadFromUiProvider() 168 mAccount, c); in loadFromUiProvider() 183 LogUtils.v(TAG, "Account %s, Recent: %s", mAccount.getEmailAddress(), folder.name); in loadFromUiProvider() 195 if (mAccount == null || !mAccount.equals(account)) { in touchFolder() [all …]
|
D | WaitFragment.java | 46 private Account mAccount; field in WaitFragment 70 mAccount = (Account)args.getParcelable(ACCOUNT_KEY); in onCreate() 86 if (mAccount != null in getContent() 87 && (mAccount.syncStatus & SyncStatus.MANUAL_SYNC_REQUIRED) in getContent() 105 mAccount = account; in updateAccount() 114 return mAccount; in getAccount() 126 if (mAccount != null && mAccount.manualSyncUri != null) { in onClick() 136 return new CursorLoader(getActivity(), mAccount.manualSyncUri, null, null, null, null); in onCreateLoader()
|
D | AccountFeedbackActivity.java | 51 protected Account mAccount; field in AccountFeedbackActivity 68 mAccount = savedInstanceState.getParcelable(SAVED_ACCOUNT); in onCreate() 84 mAccount = data.getModel(); in onAccountLoadCallbackFinished() 102 mHelpAndFeedbackItem.setVisible(mAccount != null in onPrepareOptionsMenu() 103 && mAccount.supportsCapability(UIProvider.AccountCapabilities.HELP_CONTENT)); in onPrepareOptionsMenu() 115 Utils.showSettings(this, mAccount); in onOptionsItemSelected() 127 return mAccount; in getAccount() 131 Utils.showHelp(this, mAccount, helpContext); in showHelp()
|
D | AbstractActivityController.java | 185 protected Account mAccount; field in AbstractActivityController 555 return mAccount; in getCurrentAccount() 661 if (mAccount.isAccountInitializationRequired()) { in perhapsEnterWaitMode() 667 final boolean isSyncRequired = mAccount.isAccountSyncRequired(); in perhapsEnterWaitMode() 695 final boolean firstLoad = mAccount == null; in switchToDefaultInboxOrChangeAccount() 696 final boolean switchToDefaultInbox = !firstLoad && account.uri.equals(mAccount.uri); in switchToDefaultInboxOrChangeAccount() 708 final boolean firstLoad = mAccount == null; in changeAccount() 709 final boolean accountChanged = firstLoad || !account.uri.equals(mAccount.uri); in changeAccount() 712 if (!accountChanged && !account.settingsDiffer(mAccount)) { in changeAccount() 739 if (mAccount != null && !Uri.EMPTY.equals(mAccount.settings.setupIntentUri)) { in changeAccount() [all …]
|
D | ConversationSyncDisabledTipView.java | 50 private Account mAccount = null; field in ConversationSyncDisabledTipView 80 mAccount.getAccountManagerAccount(), mAccount.syncAuthority); in getTextAreaOnClickListener() 83 Utils.showAccountSettings(getContext(), mAccount); in getTextAreaOnClickListener() 90 mAccount = account; 102 if (mAccount == null || mAccount.syncAuthority == null) { 111 setReasonSyncOff(calculateReasonSyncOff(mMailPrefs, mAccount, mAccountPreferences));
|
D | AbstractConversationWebViewClient.java | 57 private Account mAccount; field in AbstractConversationWebViewClient 61 mAccount = account; in AbstractConversationWebViewClient() 65 mAccount = account; in setAccount() 140 if (Utils.divertMailtoUri(mActivity, uri, mAccount)) { in shouldOverrideUrlLoading() 145 if (mAccount != null && !Utils.isEmpty(mAccount.viewIntentProxyUri)) { in shouldOverrideUrlLoading() 169 mActivity, mAccount.viewIntentProxyUri, uri, mAccount.getEmailAddress()); in generateProxyIntent()
|
D | AbstractConversationViewFragment.java | 77 protected Account mAccount; field in AbstractConversationViewFragment 119 final Account oldAccount = mAccount; 120 mAccount = newAccount; 121 mWebViewClient.setAccount(mAccount); 263 mAccount = args.getParcelable(ARG_ACCOUNT); in parseArguments() 272 mBaseUri = buildBaseUri(getContext(), mAccount, mConversation); in setBaseUri() 306 mAccount = mAccountObserver.initialize(mActivity.getAccountController()); in onActivityCreated() 307 mWebViewClient.setAccount(mAccount); in onActivityCreated() 347 return mAccount; in getAccount() 724 return (mAccount.enableMessageTransforms > 0) && in shouldApplyTransforms() [all …]
|
D | FolderSelectionActivity.java | 64 private Account mAccount; field in FolderSelectionActivity 87 return mAccount; 102 return new Account[]{mAccount}; 180 mAccount = intent.getParcelableExtra(EXTRA_ACCOUNT_SHORTCUT); in onCreate() 188 createFolderListFragment(FolderListFragment.ofTopLevelTree(mAccount.folderListUri, in onCreate() 253 createWidget(mAppWidgetId, mAccount, mSelectedFolder); in onClick() 272 mSelectedFolder.folderUri.fullUri, mAccount); in onFolderChanged() 302 createWidget(mAppWidgetId, mAccount, mSelectedFolder); in onFolderChanged()
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | EmailPreferenceActivityTests.java | 47 private Account mAccount; field in EmailPreferenceActivityTests 73 if (mAccount != null) { in tearDown() 157 mAccount = new Account(); in getTestIntent() 158 mAccount.setSenderName(name); in getTestIntent() 160 mAccount.mEmailAddress = "user@server.com"; in getTestIntent() 161 mAccount.getOrCreateHostAuthRecv(mContext).setHostAuthFromString(storeUri); in getTestIntent() 162 mAccount.getOrCreateHostAuthSend(mContext).setHostAuthFromString(senderUri); in getTestIntent() 163 mAccount.save(mContext); in getTestIntent() 164 mAccountId = mAccount.mId; in getTestIntent()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
D | ComposeActivityTest.java | 59 private Account mAccount; field in ComposeActivityTest 106 mAccount = account; in setAccount() 107 activity.setAccount(mAccount); in setAccount() 141 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom, in testRecipientsRefReplyAllCustomFromReplyTo() 145 mAccount.accountFromAddresses = array.toString(); in testRecipientsRefReplyAllCustomFromReplyTo() 146 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in testRecipientsRefReplyAllCustomFromReplyTo() 147 mAccount.getEmailAddress(), mAccount.getEmailAddress(), customFrom, true, false); in testRecipientsRefReplyAllCustomFromReplyTo() 179 final Account account = mAccount; in testRecipientsRefReplyAllOnlyAccount() 181 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, in testRecipientsRefReplyAllOnlyAccount() 182 mAccount.getEmailAddress(), mAccount.getEmailAddress(), mAccount.getEmailAddress(), in testRecipientsRefReplyAllOnlyAccount() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | SetupDataFragment.java | 46 private Account mAccount; field in SetupDataFragment 76 outState.putParcelable(SAVESTATE_ACCOUNT, mAccount); in onSaveInstanceState() 113 return mAccount; in getAccount() 117 mAccount = account; in setAccount() 118 mAccount.setTemporary(true); in setAccount() 127 mAccount.mEmailAddress = email; in setEmail() 200 final HostAuth recvAuth = mAccount.getOrCreateHostAuthRecv(context); in getIncomingProtocol() 205 final HostAuth recvAuth = mAccount.getOrCreateHostAuthRecv(context); in setIncomingProtocol() 212 final HostAuth recvAuth = mAccount.getOrCreateHostAuthRecv(context); in getClientCert() 246 dest.writeParcelable(mAccount, 0); in writeToParcel() [all …]
|
D | AccountSettingsFragment.java | 132 private Account mAccount; field in AccountSettingsFragment 346 mAccount.mEmailAddress, mServiceInfo.accountType); in onPreferenceChange() 367 mAccount.mEmailAddress, mServiceInfo.accountType); in onPreferenceChange() 373 mAccount.mEmailAddress, mServiceInfo.accountType); in onPreferenceChange() 379 mAccount.mEmailAddress, mServiceInfo.accountType); in onPreferenceChange() 384 int newFlags = mAccount.getFlags() & ~(Account.FLAGS_BACKGROUND_ATTACHMENTS); in onPreferenceChange() 406 new UpdateTask().run(mContext.getContentResolver(), mAccount.getUri(), cv, null, null); in onPreferenceChange() 547 mAccount = (Account) data.get(AccountLoader.RESULT_KEY_ACCOUNT); in onLoadFinished() 549 if (mAccount != null && (mAccount.mFlags & Account.FLAGS_SECURITY_HOLD) != 0) { in onLoadFinished() 551 mAccount.getId(), true); in onLoadFinished() [all …]
|
D | AccountCheckSettingsFragment.java | 315 final Account mAccount; field in AccountCheckSettingsFragment.AccountCheckTask 332 mAccount = setupData.getAccount(); in AccountCheckTask() 333 if (mAccount.mHostAuthRecv != null) { in AccountCheckTask() 334 mStoreHost = mAccount.mHostAuthRecv.mAddress; in AccountCheckTask() 335 mCheckPassword = mAccount.mHostAuthRecv.mPassword; in AccountCheckTask() 340 mCheckEmail = mAccount.mEmailAddress; in AccountCheckTask() 350 final Store store = Store.getInstance(mAccount, mContext); in doInBackground() 382 final Store store = Store.getInstance(mAccount, mContext); in doInBackground() 387 mAccount.mProtocolVersion = bundle.getString( in doInBackground() 393 mAccount.mHostAuthRecv.mAddress = redirectAddress; in doInBackground() [all …]
|
D | AccountFinalizeFragment.java | 106 private final Account mAccount; field in AccountFinalizeFragment.FinalSetupTaskLoader 110 mAccount = account; in FinalSetupTaskLoader() 114 return mAccount; in getAccount() 121 cv.put(EmailContent.AccountColumns.DISPLAY_NAME, mAccount.getDisplayName()); in loadInBackground() 122 cv.put(EmailContent.AccountColumns.SENDER_NAME, mAccount.getSenderName()); in loadInBackground() 123 mAccount.update(getContext(), cv); in loadInBackground()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | FromAddressSpinner.java | 38 private ReplyFromAccount mAccount; field in FromAddressSpinner 51 mAccount = account; in setCurrentAccount() 56 if (mAccount == null) { in selectCurrentAccount() 61 if (TextUtils.equals(mAccount.name, acct.name) in selectCurrentAccount() 62 && TextUtils.equals(mAccount.address, acct.address)) { in selectCurrentAccount() 82 return mAccount; in getCurrentAccount() 151 if (!selection.address.equals(mAccount.address)) { in onItemSelected() 152 mAccount = selection; in onItemSelected()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 60 private Account mAccount; field in AccountSyncFragment 94 mAccount = getArguments().getParcelable(ARG_ACCOUNT); in onCreate() 99 if (!accountExists(mAccount)) { in onCreate() 100 Log.e(TAG, "Account provided does not exist: " + mAccount); in onCreate() 107 Log.v(TAG, "Got account: " + mAccount); in onCreate() 141 getPreferenceScreen().setTitle(mAccount.name); in onCreatePreferences() 145 .putExtra(AccountSyncActivity.EXTRA_ACCOUNT, mAccount.name)); in onCreatePreferences() 220 if (mAccount != null) { in requestOrCancelSyncForEnabledProviders() 222 requestOrCancelSync(mAccount, syncAdapter.authority, startSync); in requestOrCancelSyncForEnabledProviders() 265 if (!accountExists(mAccount)) { in onAccountsUpdate() [all …]
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncSettings.java | 80 private Account mAccount; field in AccountSyncSettings 99 .removeAccountAsUser(mAccount, activity, in onCreateDialog() 197 mAccount = (Account) arguments.getParcelable(ACCOUNT_KEY); in onActivityCreated() 198 if (!accountExists(mAccount)) { in onActivityCreated() 199 Log.e(TAG, "Account provided does not exist: " + mAccount); in onActivityCreated() 204 Log.v(TAG, "Got account: " + mAccount); in onActivityCreated() 206 mUserId.setText(mAccount.name); in onActivityCreated() 207 mProviderId.setText(mAccount.type); in onActivityCreated() 282 getPrefContext(), mAccount.type, mUserHandle.getIdentifier()); in onCreateOptionsMenu() 383 if (mAccount != null) { in requestOrCancelSyncForEnabledProviders() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | MessagingControllerUnitTests.java | 36 private Account mAccount; field in MessagingControllerUnitTests 45 if (mAccount != null) { in tearDown() 79 mAccount = new Account(); in createTestAccount() 80 mAccount.save(getContext()); in createTestAccount() 82 mAccountId = mAccount.mId; in createTestAccount()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 89 private Account mAccount; field in SelectedConversationsActionMenu 105 mAccount = newAccount; in SelectedConversationsActionMenu() 108 mAccount = mAccountObserver.initialize(activity.getAccountController()); in SelectedConversationsActionMenu() 181 Account acct = mAccount; in onActionItemClicked() 214 return Utils.getFolder(mContext, mAccount.settings.moveToInbox, in onActionItemClicked() 264 final Settings settings = mAccount.settings; in performDestructiveAction() 417 && mAccount.supportsCapability(AccountCapabilities.ARCHIVE); in onPrepareActionMode() 427 changeFolders.setVisible(mAccount.supportsCapability( in onPrepareActionMode() 437 mAccount.supportsCapability(UIProvider.AccountCapabilities.ARCHIVE) && in onPrepareActionMode() 442 && mAccount.supportsCapability(UIProvider.AccountCapabilities.REPORT_SPAM) in onPrepareActionMode() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | MailAppProvider.java | 218 final Account account = accountEntry.mAccount; in query() 307 LogUtils.v(LOG_TAG, "adding account %s", accountEntry.mAccount); in addAccountImpl() 375 if (accountEntry.mAccount.settings == null) { in loadCachedAccountList() 380 Account account = accountEntry.mAccount; in loadCachedAccountList() 431 return entry.mAccount; in getAccountFromAccountUri() 462 previousQueryUriSet.add(entry.mAccount.uri); in onLoadComplete() 528 final Account mAccount; field in MailAppProvider.AccountCacheEntry 535 mAccount = account; in AccountCacheEntry() 540 mAccount = Account.newInstance(o.getString(KEY_ACCOUNT)); in AccountCacheEntry() 541 if (mAccount == null) { in AccountCacheEntry() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetService.java | 211 private final Account mAccount; field in WidgetService.MailFactory 234 mAccount = Account.newInstance(intent.getStringExtra(Utils.EXTRA_ACCOUNT)); in MailFactory() 257 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in MailFactory() 271 saveWidgetInformation(mContext, mAppWidgetId, mAccount, mFolderUri.toString()); in onCreate() 275 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onCreate() 276 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onCreate() 314 mAccountLoader = new CursorLoader(mContext, mAccount.uri, in onCreate() 415 MAX_SENDERS_LENGTH, senders, null, null, mAccount, 439 mAccount)); 496 Utils.createViewFolderIntent(mContext, mFolderUri, mAccount)); in getViewMoreConversationsView() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMasInstance.java | 79 private BluetoothMapAccountItem mAccount = null; // field in BluetoothMapMasInstance 124 mAccount = account; in BluetoothMapMasInstance() 318 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord() 320 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord() 324 masName = mAccount.getName(); in createMasSdpRecord() 327 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord() 329 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord() 361 mAccount, in startObexServerSession() 368 mAccount, in startObexServerSession()
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 83 private Account mAccount; field in AccountSecurity 177 mAccount = savedInstanceState.getParcelable(SAVESTATE_ACCOUNT_TAG); in onCreate() 194 outState.putParcelable(SAVESTATE_ACCOUNT_TAG, mAccount); in onSaveInstanceState() 316 mAccount = account; in completeCreate() 323 PasswordExpirationDialog.newInstance(mAccount.getDisplayName(), in completeCreate() 333 if (mAccount.mPolicyKey != 0) { in completeCreate() 340 SecurityNeededDialog.newInstance(mAccount.getDisplayName()); in completeCreate() 348 tryAdvanceSecurity(mAccount); in completeCreate() 360 tryAdvanceSecurity(mAccount); in onActivityResult() 544 if (activity.mAccount == null) { in onClick() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSyncFragment.java | 75 private Account mAccount; field in SelectCalendarsSyncFragment 93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in SelectCalendarsSyncFragment() 126 || !ContentResolver.getSyncAutomatically(mAccount, CalendarContract.AUTHORITY)) { in onResume() 137 Utils.startCalendarMetafeedSync(mAccount); in onResume() 151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in onAttach() 187 mArgs[0] = mAccount.name; in onCreateLoader() 188 mArgs[1] = mAccount.type; in onCreateLoader()
|