HomeSort by relevance Sort by last modified time
    Searched defs:accountId (Results 1 - 25 of 40) sorted by null

1 2

  /packages/apps/Email/src/com/android/email/activity/setup/
EmailPreferenceActivity.java 79 final long accountId = IntentUtilities.getAccountIdFromIntent(intent);
80 if (accountId < 0) {
116 final long accountId = IntentUtilities.getAccountIdFromIntent(i);
117 if (accountId != -1) {
118 final Bundle args = AccountSettingsFragment.buildArguments(accountId);
AccountSecurity.java 95 * @param accountId The account of interest
101 public static Intent actionUpdateSecurityIntent(Context context, long accountId,
104 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
114 public static Intent actionDevicePasswordExpirationIntent(Context context, long accountId,
117 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
129 final long accountId = i.getLongExtra(EXTRA_ACCOUNT_ID, -1);
132 if (accountId == -1) {
202 final long accountId = args.getLong(EXTRA_ACCOUNT_ID, -1);
209 return new AccountAndPolicyLoader(getApplicationContext(), accountId,
252 AccountAndPolicyLoader(final Context context, final long accountId,
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 154 String accountId = segments.get(0);
157 AttachmentUtilities.getAttachmentDirectory(context, Long.parseLong(accountId));
169 String accountId = segments.get(0);
175 String filename = "thmb_" + accountId + "_" + id;
180 getAttachmentUri(Long.parseLong(accountId), Long.parseLong(id));
221 new File(getContext().getDatabasePath(accountId + ".db_att"), id),
260 String accountId = segments.get(0);
WidgetProvider.java 92 long accountId = loadAccountIdPref(context, widgetId);
95 if (accountId == Account.NO_ACCOUNT || mailboxId == Mailbox.NO_MAILBOX) {
96 LogUtils.d(LOG_TAG, "Couldn't load account or mailbox. accountId: %d" +
97 " mailboxId: %d widgetId %d", accountId, mailboxId, widgetId);
101 accountId = migrateLegacyWidgetAccountId(accountId);
102 mailboxId = migrateLegacyWidgetMailboxId(mailboxId, accountId);
105 final com.android.mail.providers.Account uiAccount = getAccount(context, accountId);
122 private static long migrateLegacyWidgetAccountId(long accountId) {
123 if (accountId == Account.ACCOUNT_ID_COMBINED_VIEW)
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasProvision.java 165 final long accountId = getAccountId();
187 PolicyServiceProxy.setAccountPolicy(mContext, accountId, mPolicy, null);
198 PolicyServiceProxy.setAccountPolicy(mContext, accountId, mPolicy, mPolicyKey);
EasPing.java 196 final long accountId = getAccountId();
199 LogUtils.i(TAG, "Ping expired for account %d", accountId);
204 LogUtils.i(TAG, "Ping found changed folders for account %d", accountId);
212 LogUtils.e(TAG, "Bad ping request for account %d", accountId);
217 "old duration %d new duration %d", accountId, mPingDuration, newDuration);
222 LogUtils.i(TAG, "Too many folders for account %d", accountId);
225 LogUtils.i(TAG, "FolderSync needed for account %d", accountId);
229 LogUtils.i(TAG, "Server error for account %d", accountId);
233 LogUtils.i(TAG, "Retryable server error for account %d", accountId);
EasOperation.java 179 * @param accountId
181 protected EasOperation(final Context context, final long accountId) {
183 mAccountId = accountId;
474 final long accountId = getAccountId();
475 if (mConnection.setProtocolVersion(protocolVersion) && accountId != Account.NOT_SAVED) {
476 final Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
MailboxUtilitiesTests.java     [all...]
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 84 final long accountId = 1;
89 "local-message", accountId, mailboxId, false, true, mProviderContext);
95 "local-message", accountId, mailboxId, false, true, mProviderContext);
142 final long accountId = 1;
177 "local-message", accountId, mailboxId, false, true, mProviderContext);
192 final long accountId = 1;
195 "local-message", accountId, mailboxId, false, true, mProviderContext);
SecurityPolicyTests.java 210 private long assertAccountPolicyConsistent(long accountId, long oldKey) {
211 Account account = Account.restoreAccountWithId(mMockContext, accountId);
221 accountId,
236 long accountId = account.mId;
250 mMockContext, Account.restoreAccountWithId(mMockContext, accountId));
  /frameworks/av/drm/common/
IDrmManagerService.cpp 354 const String8 accountId = drmRights.getAccountId();
355 data.writeString8((accountId == String8("")) ? String8("NULL") : accountId);
    [all...]
  /frameworks/base/core/java/android/provider/
CallLog.java 446 String accountId = null;
449 accountId = accountHandle.getId();
464 values.put(PHONE_ACCOUNT_ID, accountId);
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapEmailProvider.java 68 * @param accountId the ID of the account to which the message belong
77 abstract protected void WriteMessageToStream(long accountId, long messageId,
147 long accountId = Long.valueOf(getAccountId(uri));
148 UpdateMimeMessageFromStream(fIn, accountId, messageId);
172 * @param accountId the accountId
175 abstract protected void UpdateMimeMessageFromStream(FileInputStream input, long accountId,
197 long accountId = Long.parseLong(getAccountId(uri));
210 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout);
234 * @param accountId the ID of the account that changed. Null is a valid value
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 141 public static Uri getAttachmentUri(long accountId, long id) {
146 .appendPath(Long.toString(accountId))
153 public static Uri getAttachmentThumbnailUri(long accountId, long id, long width, long height) {
158 .appendPath(Long.toString(accountId))
173 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) {
174 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId));
184 public static File getAttachmentDirectory(Context context, long accountId) {
185 return context.getDatabasePath(accountId + ".db_att");
297 * @param accountId the account for the message
300 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId)
    [all...]
Utility.java 195 long accountId = c2.getLong(Account.ID_PROJECTION_COLUMN);
196 if (accountId != allowAccountId) {
197 Account account = Account.restoreAccountWithId(context, accountId);
  /packages/apps/Email/src/com/android/email/
SecurityPolicy.java 450 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) {
451 Account account = Account.restoreAccountWithId(context, accountId);
486 * @param accountId the account for which sync cannot proceed
488 public void policiesRequired(long accountId) {
489 Account account = Account.restoreAccountWithId(mContext, accountId);
586 public void setAccountPolicy(long accountId, Policy policy, String securityKey,
588 Account account = Account.restoreAccountWithId(mContext, accountId);
626 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId);
714 long accountId = c.getLong(EmailContent.ID_PROJECTION_COLUMN);
715 Uri uri = EmailProvider.uiUri("uiaccount", accountId);
    [all...]
NotificationController.java 121 * @param accountId The id of the account this notification is being built for.
132 private NotificationCompat.Builder createBaseAccountNotificationBuilder(long accountId,
155 Account account = Account.restoreAccountWithId(mContext, accountId);
165 * @param accountId The account id this notification is being built for.
172 private void showNotification(long accountId, String ticker, String title,
174 final NotificationCompat.Builder builder = createBaseAccountNotificationBuilder(accountId,
246 for (final Long accountId : sRefreshAccountSet) {
247 refreshNotificationsForAccountInternal(context, accountId);
260 * @param accountId The ID of the account to register the observer for. May be
264 private void registerMessageNotification(final long accountId) {
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EmailBroadcastProcessorService.java 357 long accountId = c.getLong(Account.CONTENT_ID_COLUMN);
358 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);
AttachmentService.java     [all...]
  /packages/apps/Exchange/src/com/android/exchange/service/
PingSyncSynchronizer.java 292 * @param accountId The id for the account we're interested in.
297 private AccountSyncState getAccountState(final long accountId, final boolean createIfNeeded) {
299 AccountSyncState state = mAccountStateMap.get(accountId);
301 LogUtils.d(TAG, "PSS adding account state for %d", accountId);
303 mAccountStateMap.put(accountId, state);
316 * @param accountId The id for the account we're removing.
318 private void removeAccount(final long accountId) {
320 LogUtils.d(TAG, "PSS removing account state for %d", accountId);
321 mAccountStateMap.delete(accountId);
328 public void syncStart(final long accountId) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 72 private String accountId;
259 json.put(AccountColumns.ACCOUNT_ID, accountId);
378 accountId = json.optString(UIProvider.AccountColumns.ACCOUNT_ID, accountManagerName);
438 accountId = cursor.getString(
612 accountId = in.readString();
656 dest.writeString(accountId);
684 TextUtils.equals(accountId, other.accountId) &&
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapObexServer.java 120 if (D) Log.d(TAG, "BluetoothMapObexServer(): accountId=" + mAccountId);
388 long accountId = mAccountId;
393 if (accountId != -1) {
394 if (D) Log.d(TAG,"updateInbox accountId=" + accountId);
397 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, accountId);
401 if (D) Log.d(TAG,"updateInbox accountId=0 -> OBEX_HTTP_NOT_IMPLEMENTED");
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
AttachmentProviderTests.java 639 long accountId = account.mId;
643 "msg1a", accountId, mailboxId, false, true, mMockContext);
645 "msg1b", accountId, mailboxId, false, true, mMockContext);
  /packages/apps/Exchange/src/com/android/exchange/provider/
ExchangeDirectoryProvider.java 202 Long accountId = mAccountIdMap.get(accountName);
203 if (accountId == null) {
204 accountId = Utility.getFirstRowLong(context, Account.CONTENT_URI,
207 if (accountId != -1) {
208 mAccountIdMap.put(accountName, accountId);
211 return accountId;
307 final long accountId = getAccountIdByName(getContext(), accountName);
308 if (accountId == -1) {
329 final GalResult galResult = EasService.searchGal(getContext(), accountId,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 478 final long accountId = cursor.getLong(Account.ID_PROJECTION_COLUMN);
480 if (accountId == lastUsedAccountId) {
481 return accountId;
485 firstAccount = accountId;
501 * @param accountId the id of the account to be examined
504 public static String getProtocol(Context context, long accountId) {
505 Account account = Account.restoreAccountWithId(context, accountId);
553 long accountId = getAccountIdForMessageId(context, messageId);
554 if (accountId != -1) {
555 return Account.restoreAccountWithId(context, accountId);
    [all...]

Completed in 819 milliseconds

1 2