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

1 2 3 4

  /frameworks/base/drm/java/android/drm/
ProcessedData.java 36 * @param accountId Account ID of the user.
38 /* package */ ProcessedData(byte[] data, String accountId) {
40 mAccountId = accountId;
47 * @param accountId Account ID of the user.
50 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) {
52 mAccountId = accountId;
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/emailcommon/src/com/android/emailcommon/service/
IPolicyService.aidl 22 void setAccountHoldFlag(long accountId, boolean newState);
24 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
26 void setAccountPolicy2(long accountId, in Policy policy, String securityKey, boolean notify);
IEmailService.aidl 30 oneway void loadAttachment(IEmailServiceCallback cb, long accountId, long attachmentId,
33 void updateFolderList(long accountId);
37 void sendMail(long accountId);
39 int sync(long accountId, inout Bundle syncExtras);
44 void pushModify(long accountId);
49 int searchMessages(long accountId, in SearchParams params, long destMailboxId);
IAccountService.aidl 22 int getAccountColor(long accountId);
PolicyServiceProxy.java 71 public void setAccountPolicy(final long accountId, final Policy policy,
73 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
77 public void setAccountPolicy2(final long accountId, final Policy policy,
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify);
133 public static void setAccountPolicy(Context context, long accountId, Policy policy,
135 setAccountPolicy2(context, accountId, policy, securityKey, true /* notify */);
138 public static void setAccountPolicy2(Context context, long accountId, Policy policy,
141 new PolicyServiceProxy(context).setAccountPolicy2(accountId, policy, securityKey,
EmailServiceProxy.java 111 * @param accountId the id of the account in question
117 public void loadAttachment(final IEmailServiceCallback cb, final long accountId,
124 mService.loadAttachment(cb, accountId, attachmentId, background);
205 * @param accountId the id of the account whose folder list is to be updated
208 public void updateFolderList(final long accountId) throws RemoteException {
212 mService.updateFolderList(accountId);
281 * @param accountId the id of the account to be searched
287 public int searchMessages(final long accountId, final SearchParams searchParams,
292 mReturn = mService.searchMessages(accountId, searchParams, destMailboxId);
306 * @param accountId the account whose outgoing mail should be sent
    [all...]
  /packages/apps/Email/src/com/android/email/
ResourceHelper.java 59 /* package */ int getAccountColorIndex(long accountId) {
62 return Math.abs((int) ((accountId - 1) % mAccountColors.length));
68 public int getAccountColor(long accountId) {
69 return mAccountColors[getAccountColorIndex(accountId)];
76 public int getAccountColorId(long accountId) {
77 return mAccountColorArray.getResourceId(getAccountColorIndex(accountId),
84 public Paint getAccountColorPaint(long accountId) {
85 return mAccountColorPaints[getAccountColorIndex(accountId)];
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/tests/src/com/android/email/
ResourceHelperTest.java 37 for (long accountId = -1; accountId < 100; accountId++) {
39 Integer color = mResourceHelper.getAccountColor(accountId);
40 Paint paint = mResourceHelper.getAccountColorPaint(accountId);
  /frameworks/av/drm/common/
DrmRights.cpp 23 const String8& accountId, const String8& subscriptionId) :
25 mAccountId(accountId),
36 const String8& accountId, const String8& subscriptionId) :
39 mAccountId(accountId),
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
ProfileDownloader.java 27 * @param accountId An account ID.
31 void onProfileDownloaded(String accountId, String fullName, Bitmap bitmap);
53 * @param accountId Account name to fetch the information for
57 Profile profile, String accountId, int imageSidePixels) {
59 nativeStartFetchingAccountInfoFor(profile, accountId, imageSidePixels);
63 private static void onProfileDownloadSuccess(String accountId, String fullName, Bitmap bitmap) {
66 observer.onProfileDownloaded(accountId, fullName, bitmap);
88 Profile profile, String accountId, int imageSidePixels);
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
61 return setupMailbox(name, accountId, saveIt, context, type, null);
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
69 box.mAccountKey = accountId;
86 public static Message setupMessage(String name, long accountId, long mailboxId,
89 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true);
95 public static Message setupMessage(String name, long accountId, long mailboxId,
101 message.mAccountKey = accountId;
    [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/Email/src/com/android/email/service/
PolicyService.java 51 public void setAccountHoldFlag(long accountId, boolean newState) {
52 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);
68 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
69 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
73 public void setAccountPolicy2(long accountId, Policy policy, String securityKey,
76 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify);
  /frameworks/av/include/drm/
DrmRights.h 40 * @param[in] accountId Account Id of the user
45 const String8& accountId = String8("_NO_USER"),
53 * @param[in] accountId Account Id of the user
58 const String8& accountId = String8("_NO_USER"),
  /packages/apps/Email/src/com/android/email/provider/
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/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...]
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/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...]
  /packages/apps/Email/src/com/android/email/activity/setup/
HeadlessAccountSettingsLoader.java 24 public static Uri getIncomingSettingsUri(long accountId) {
27 IntentUtilities.setAccountId(baseUri, accountId);
31 public static Uri getOutgoingSettingsUri(long accountId) {
34 IntentUtilities.setAccountId(baseUri, accountId);
43 final long accountID = IntentUtilities.getAccountIdFromIntent(i);
48 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, accountID);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneAccountUtils.java 35 String accountId) {
36 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) {
40 return new PhoneAccountHandle(componentName, accountId);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
MockUiProvider.java 68 private static void initializeAccount(int accountId,
71 createFolderDetailsMap(0, accountId, "zero", true, 0, 2);
75 final Map<String, Object> accountDetailsMap = createAccountDetailsMap(accountId,
81 createFolderDetailsMap(2, accountId, "two", 2, 2);
87 ImmutableList.of(createFolderDetailsMap(10, accountId, "zeroChild0", 0, 0),
88 createFolderDetailsMap(11, accountId, "zeroChild1", 0, 0)));
93 conversations.add(createConversationDetailsMap(accountId, name.hashCode(),
100 createMessageDetailsMap(accountId, "zeroConv0".hashCode(), "zeroConv0", 1, false);
107 createMessageDetailsMap(accountId, "zeroConv1".hashCode(), "zeroConv1", 1, false);
110 createMessageDetailsMap(accountId, "zeroConv1a".hashCode(), "zeroConv1a", 2, false)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
MessageChangeLogTable.java 73 * @param accountId The account we want to update.
77 final String accountId) {
79 args[0] = accountId;
100 * @param accountId The account we want to update.
104 final String[] projection, final String accountId) {
105 final String[] args = { accountId, STATUS_PROCESSING_STRING };
194 * @param accountId The account we're interested in.
198 final String[] projection, final long accountId) {
199 final String accountIdString = String.valueOf(accountId);
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
AccountPreferences.java 65 public AccountPreferences(final Context context, final String accountId) {
66 super(context, buildSharedPrefsName(accountId));
69 private static String buildSharedPrefsName(final String accountId) {
70 return PREFS_NAME_PREFIX + '-' + accountId;

Completed in 698 milliseconds

1 2 3 4