/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 46 private Account mAccount; 68 mAccount = extras.getParcelable(EXTRAS_ACCOUNT); 74 if (mAccount == null || mAuthTokenType == null || packages == null) { 83 accountTypeLabel = getAccountLabel(mAccount); 114 AccountManager.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null); 131 ((TextView) findViewById(R.id.account_name)).setText(mAccount.name); 162 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true); 170 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false);
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 228 private final Account mAccount; 237 mAccount = account; 259 AbstractThreadedSyncAdapter.this.onPerformSync(mAccount, mExtras,
|
SyncRequest.java | 203 mAccountToSync = b.mAccount; 294 private Account mAccount; 415 mAccount = account; 588 if (mAccount == null) {
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncFragment.java | 75 private Account mAccount; 93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), 126 || !ContentResolver.getSyncAutomatically(mAccount, CalendarContract.AUTHORITY)) { 137 Utils.startCalendarMetafeedSync(mAccount); 151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), 187 mArgs[0] = mAccount.name; 188 mArgs[1] = mAccount.type;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NfcImportVCardActivity.java | 59 private AccountWithDataSet mAccount; 132 return new ImportRequest(mAccount, mRecord.getPayload(), null, 174 mAccount = null; 176 mAccount = accountList.get(0); 189 mAccount = new AccountWithDataSet(
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
SetupData.java | 53 private Account mAccount; 70 mAccount = new Account(); 88 mAccount = account; 104 return mAccount; 108 mAccount = account; 155 mAccount.mPolicy = policy; 188 dest.writeParcelable(mAccount, 0); 200 mAccount = in.readParcelable(loader); 212 sb.append(mAccount == null ? "none" :mAccount.mId) [all...] |
AccountSecurity.java | 68 private Account mAccount; 119 mAccount = Account.restoreAccountWithId(AccountSecurity.this, accountId); 120 if (mAccount == null) { 130 PasswordExpirationDialog.newInstance(mAccount.getDisplayName(), 140 if (mAccount.mPolicyKey != 0) { 147 SecurityNeededDialog.newInstance(mAccount.getDisplayName()); 155 tryAdvanceSecurity(mAccount); 167 tryAdvanceSecurity(mAccount); 350 if (activity.mAccount == null) { 360 activity.tryAdvanceSecurity(activity.mAccount); [all...] |
AccountSettingsFragment.java | 131 * mAccount is email-specific, transition to using mUiAccount instead 134 private Account mAccount; 242 if (mAccount != null && !mLoaded) { 263 mAccount.mHostAuthRecv = 264 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv); 265 mAccount.mHostAuthSend = 266 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeySend); 269 Account refreshedAccount = Account.restoreAccountWithId(mContext, mAccount.mId); 270 if (refreshedAccount == null || mAccount.mHostAuthRecv == null) { 275 mAccount.setDeletePolicy(refreshedAccount.getDeletePolicy()) [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
AbstractSyncAdapter.java | 58 public Account mAccount; 87 mAccount = service.mAccount; 88 mAccountManagerAccount = new android.accounts.Account(mAccount.mEmailAddress,
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MailboxUtilitiesTests.java | 39 // All tests must build their accounts in mAccount so it will be deleted from live data 40 private Account mAccount; 56 mAccount = null; 66 if (mAccount != null && mAccount.mId > 0) { 68 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null); 74 mAccount = setupTestAccount("acct1", true); 75 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, 77 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, 79 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/ |
DrawerItem.java | 52 public final Account mAccount; 135 mAccount = account; 187 sb.append(", mAccount="); 188 sb.append(mAccount); 349 accountItemView.bind(mAccount, mIsSelected, mResource); 351 v.setBackgroundColor(mAccount.color);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
EmlViewerActivity.java | 60 private Account mAccount; 93 mAccount = savedInstanceState.getParcelable(SAVED_ACCOUNT); 120 mHelpItem.setVisible(mAccount != null 121 && mAccount.supportsCapability(UIProvider.AccountCapabilities.HELP_CONTENT)); 124 mSendFeedbackItem.setVisible(mAccount != null 125 && mAccount.supportsCapability(UIProvider.AccountCapabilities.SEND_FEEDBACK)); 138 Utils.showSettings(this, mAccount); 140 Utils.showHelp(this, mAccount, getString(R.string.main_help_context)); 142 Utils.sendFeedback(this, mAccount, false); 157 return mAccount; [all...] |
SelectedConversationsActionMenu.java | 92 private Account mAccount; 106 mAccount = newAccount; 109 mAccount = mAccountObserver.initialize(activity.getAccountController()); 167 Account acct = mAccount; 200 return Utils.getFolder(mContext, mAccount.settings.moveToInbox, 250 final Settings settings = mAccount.settings; 401 && mAccount.supportsCapability(AccountCapabilities.ARCHIVE); 416 mAccount.supportsCapability(UIProvider.AccountCapabilities.ARCHIVE); 434 && mAccount.supportsCapability(UIProvider.AccountCapabilities.REPORT_SPAM) 438 mAccount.supportsCapability(UIProvider.AccountCapabilities.REPORT_SPAM) & [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
RecentFolderList.java | 56 private Account mAccount = null; 91 * Copy {@link RecentFolderList#mAccount} in case the account changes between when the 95 private final Account mAccount; 106 mAccount = account; 112 final Uri uri = mAccount.recentFolderListUri; 152 final boolean accountSwitched = (mAccount == null) || !mAccount.matches(account); 153 mAccount = account; 165 if (mAccount == null || c == null) { 166 LogUtils.e(TAG, "RecentFolderList.loadFromUiProvider: bad input. mAccount=%s,cursor=%s" [all...] |
ConversationsInOutboxTipView.java | 56 private Account mAccount = null; 103 mAccount = account; 180 mAccount.folderListUri, UIProvider.FOLDERS_PROJECTION, Folder.FACTORY);
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
Chromoting.java | 64 private Account mAccount; 111 mAccount = new Account(prefs.getString("account_name", null), 113 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this, 116 mAccountSwitcher.setTitle(mAccount.name); 149 if (usableAccounts.length == 1 && usableAccounts[0].equals(mAccount)) { 155 if (mAccount == null) { 160 mAccountSwitcher.setTitle(mAccount.name); 184 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this, 225 mAccount = new Account(accountName, accountType); 266 if (mAccount != null) [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
SyncStatusHelper.java | 46 private Account mAccount; 59 if (account.equals(mAccount)) return; 102 Account oldAccount = mAccount; 104 mAccount = account;
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 187 private final Account mAccount; 195 mAccount = account; 211 getAuthTokenAsynchronously(null, mAccount, mAuthTokenType, mCallback, mNumTries,
|
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 60 private final Account mAccount; 75 mAccount = account; 179 am.getAuthToken(mAccount, "SID", null, mActivity, this, null); 197 mAccount, "LSID", null, mActivity, this, null); 239 mAccount.name), 245 mAccount, "SID", null, mActivity, this, null); 267 Log.d(LOGTAG, "Finished login attempt for " + mAccount.name);
|
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
AbstractSyncService.java | 56 public Account mAccount; 116 mAccount = Account.restoreAccountWithId(_context, _mailbox.mAccountKey);
|
/packages/apps/Email/tests/src/com/android/email/service/ |
AttachmentDownloadServiceTests.java | 46 private Account mAccount; 61 mAccount = ProviderTestUtils.setupAccount("account", false, mMockContext); 62 mAccount.mFlags |= Account.FLAGS_BACKGROUND_ATTACHMENTS; 63 mAccount.save(mMockContext); 64 mAccountId = mAccount.mId; 246 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory)); 250 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory)); 259 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory)); 264 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory));
|
/packages/services/Telephony/src/com/android/phone/ |
SimContacts.java | 72 private Account mAccount; 115 actuallyImportOneSimContact(mCursor, resolver, mAccount); 210 actuallyImportOneSimContact(mCursor, resolver, mAccount); 227 mAccount = new Account(accountName, accountType);
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOperation.java | 152 protected Account mAccount; 154 /** The connection to use for this operation. This is created when {@link #mAccount} is set. */ 176 mAccount = account; 196 mAccount = parentOperation.mAccount; 207 mAccount = new Account(); 208 mAccount.mEmailAddress = hostAuth.mLogin; 209 mConnection = new EasServerConnection(mContext, mAccount, hostAuth); 223 if (mAccount == null || allowReload) { 224 mAccount = Account.restoreAccountWithId(mContext, getAccountId()) [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasServerConnection.java | 113 protected final Account mAccount; 143 mAccount = account;
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 77 private Account mAccount; 98 .removeAccount(mAccount, 186 mAccount = (Account) arguments.getParcelable(ACCOUNT_KEY); 187 if (mAccount != null) { 188 if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "Got account: " + mAccount); 189 mUserId.setText(mAccount.name); 190 mProviderId.setText(mAccount.type); 333 if (mAccount != null) { 336 if (syncAdapter.accountType.equals(mAccount.type)) { 337 requestOrCancelSync(mAccount, syncAdapter.authority, startSync) [all...] |