HomeSort by relevance Sort by last modified time
    Searched full:accountid (Results 26 - 50 of 89) sorted by null

12 3 4

  /frameworks/base/drm/java/android/drm/
DrmRights.java 62 * @param accountId Account ID of the user.
64 public DrmRights(String rightsFilePath, String mimeType, String accountId) {
67 mAccountId = accountId;
75 * @param accountId Account ID of the user.
79 String rightsFilePath, String mimeType, String accountId, String subscriptionId) {
82 mAccountId = accountId;
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 75 public static void deleteAccount(Context context, long accountId) {
77 Account.CONTENT_URI, accountId), null, null);
83 public static HostAuth setupHostAuth(String name, long accountId, boolean saveIt,
112 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
114 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL);
116 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
118 return setupMailbox(name, accountId, saveIt, context, type, '/');
120 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
133 box.mAccountKey = accountId;
152 public static Message setupMessage(String name, long accountId, long mailboxId
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForGroupMembership.java 208 final long accountId = accountIdOrNull;
219 if (entry.accountId == accountId) {
225 entry.accountId = accountId;
233 new String[]{sourceId, Long.toString(accountId)}, null, null, null);
240 groupValues.put(GroupsColumns.ACCOUNT_ID, accountId);
TransactionContext.java 55 public void rawContactInserted(long rawContactId, long accountId) {
57 mInsertedRawContactsAccounts.put(rawContactId, accountId);
  /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...]
IntentUtilities.java 57 public static void setAccountId(Uri.Builder b, long accountId) {
58 if (accountId != -1) {
59 b.appendQueryParameter(ACCOUNT_ID_PARAM, Long.toString(accountId));
  /packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java 98 private Intent getViewIntent(long accountId, long mailboxId) {
102 EmailProvider.uiUri("uiaccount", accountId),
107 LogUtils.e(LOG_TAG, "Null account cursor for mAccountId %d", accountId);
127 accountId, mailboxId);
137 accountId, mailboxId);
  /packages/apps/Exchange/src/com/android/exchange/service/
EasService.java 100 public void loadAttachment(final IEmailServiceCallback callback, final long accountId,
103 final Account account = loadAccount(EasService.this, accountId);
112 public void updateFolderList(final long accountId) {
113 LogUtils.d(TAG, "IEmailService.updateFolderList: %d", accountId);
114 final Account account = loadAccount(EasService.this, accountId);
121 public void sendMail(final long accountId) {
126 public int sync(final long accountId, Bundle syncExtras) {
127 LogUtils.d(TAG, "IEmailService.updateFolderList: %d", accountId);
128 final Account account = loadAccount(EasService.this, accountId);
144 public void pushModify(final long accountId) {
    [all...]
AbstractSyncAdapterService.java 110 public static Intent createAccountSettingsIntent(long accountId, String accountName) {
113 IntentUtilities.setAccountId(builder, accountId);
118 protected void showAuthNotification(long accountId, String accountName) {
122 createAccountSettingsIntent(accountId, accountName),
  /packages/apps/Email/provider_src/com/android/email/
AttachmentInfo.java 196 * @param accountId the account associated with the attachment (or 0 if we don't need to
200 public Intent getAttachmentIntent(Context context, long accountId) {
201 Uri contentUri = getUriForIntent(context, accountId);
209 protected Uri getUriForIntent(Context context, long accountId) {
210 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId);
211 if (accountId > 0) {
SecurityPolicy.java 458 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) {
459 Account account = Account.restoreAccountWithId(context, accountId);
496 * @param accountId the account for which sync cannot proceed
498 public void policiesRequired(long accountId) {
499 Account account = Account.restoreAccountWithId(mContext, accountId);
597 public void setAccountPolicy(long accountId, Policy policy, String securityKey,
599 Account account = Account.restoreAccountWithId(mContext, accountId);
638 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId);
727 long accountId = c.getLong(EmailContent.ID_PROJECTION_COLUMN);
728 Uri uri = EmailProvider.uiUri("uiaccount", accountId);
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
AccountService.java 43 public int getAccountColor(long accountId) {
44 return ResourceHelper.getInstance(mContext).getAccountColor(accountId);
EmailServiceStub.java 123 public void loadAttachment(final IEmailServiceCallback cb, final long accountId,
285 public void updateFolderList(final long accountId) throws RemoteException {
286 final Account account = Account.restoreAccountWithId(mContext, accountId);
288 LogUtils.e(LogUtils.TAG, "Account %d not found in updateFolderList", accountId);
300 if (Mailbox.findMailboxOfType(mContext, accountId, type) == Mailbox.NO_MAILBOX) {
301 final Mailbox mailbox = Mailbox.newSystemMailbox(mContext, accountId, type);
352 mContext, accountId, mailboxId);
405 public int searchMessages(final long accountId, final SearchParams params,
413 public void pushModify(final long accountId) throws RemoteException {
414 LogUtils.e(Logging.LOG_TAG, "pushModify invalid for account type for %d", accountId);
    [all...]
EmailServiceUtils.java 172 * @param accountId the message of interest
175 public static EmailServiceProxy getServiceForAccount(Context context, long accountId) {
176 return getService(context, Account.getProtocol(context, accountId));
252 public static EmailServiceInfo getServiceInfoForAccount(Context context, long accountId) {
253 String protocol = Account.getProtocol(context, accountId);
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
ExchangeTestCase.java 45 for (Long accountId: mCreatedAccountIds) {
46 resolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, accountId), null,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Mailbox.java 467 public static Mailbox newSystemMailbox(Context context, long accountId, int mailboxType) {
493 box.mAccountKey = accountId;
509 * @param accountId the ID of the account
512 public static Mailbox restoreMailboxForPath(Context context, long accountId, String path) {
517 new String[] { path, Long.toString(accountId) },
540 public static Mailbox getMailboxForPath(Context context, long accountId, String path) {
541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path);
661 * @param accountId the id of the account to be queried
665 public static long findMailboxOfType(Context context, long accountId, int type) {
666 final String[] bindArguments = new String[] {Long.toString(type), Long.toString(accountId)};
    [all...]
Account.java 484 final long accountId = cursor.getLong(Account.ID_PROJECTION_COLUMN);
486 if (accountId == lastUsedAccountId) {
487 return accountId;
491 firstAccount = accountId;
507 * @param accountId the id of the account to be examined
510 public static String getProtocol(Context context, long accountId) {
511 Account account = Account.restoreAccountWithId(context, accountId);
559 long accountId = getAccountIdForMessageId(context, messageId);
560 if (accountId != -1) {
561 return Account.restoreAccountWithId(context, accountId);
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/screens/
controller_pairing_screen_actor.cc 18 const char kContextKeyAccountId[] = "accountId";
  /packages/apps/Email/provider_src/com/android/email/activity/setup/
AccountSecurity.java 94 public static Uri getUpdateSecurityUri(final long accountId, final boolean showDialog) {
97 IntentUtilities.setAccountId(baseUri, accountId);
107 * @param accountId The account of interest
113 public static Intent actionUpdateSecurityIntent(Context context, long accountId,
116 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
126 public static Intent actionDevicePasswordExpirationIntent(Context context, long accountId,
129 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
141 final long accountId;
147 accountId = IntentUtilities.getAccountIdFromIntent(i);
148 extras.putLong(EXTRA_ACCOUNT_ID, accountId);
    [all...]
  /packages/apps/Email/provider_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);
  /packages/apps/Email/src/com/android/email/activity/setup/
EmailPreferenceActivity.java 80 final long accountId = IntentUtilities.getAccountIdFromIntent(intent);
81 if (accountId < 0) {
117 final long accountId = IntentUtilities.getAccountIdFromIntent(i);
118 if (accountId != -1) {
119 final Bundle args = AccountSettingsFragment.buildArguments(accountId);
  /packages/apps/Exchange/src/com/android/exchange/eas/
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);
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapContract.java 113 * with the given accountID is returned.
122 * with the given accountID is returned.
124 public static Uri buildAccountUriwithId(String authority, String accountId) {
128 .appendPath(accountId)
144 * with the given accountID is returned.
146 public static Uri buildMessageUri(String authority, String accountId) {
149 .appendPath(accountId)
156 * with the given accountID is returned.
158 public static Uri buildMessageUriWithId(String authority, String accountId,String messageId) {
161 .appendPath(accountId)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
DefaultVoicemailNotifier.java 125 newCall.accountId);
223 public final String accountId;
226 int numberPresentation, String accountComponentName, String accountId) {
232 this.accountId = accountId;
  /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);

Completed in 2127 milliseconds

12 3 4