/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/ |
IAccountService.aidl | 22 oneway void notifyLoginFailed(long accountId, String reason); 23 oneway void notifyLoginSucceeded(long accountId); 27 int getAccountColor(long accountId);
|
IEmailService.aidl | 30 void sendMail(long accountId); 31 oneway void loadAttachment(IEmailServiceCallback cb, long accountId, long attachmentId, 33 oneway void updateFolderList(long accountId); 35 void sync(long accountId, boolean updateFolderList, int mailboxType, in long[] foldersToSync); 40 void pushModify(long accountId); 46 int searchMessages(long accountId, in SearchParams params, long destMailboxId);
|
IPolicyService.aidl | 22 void setAccountHoldFlag(long accountId, boolean newState); 23 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
|
AccountServiceProxy.java | 46 public void notifyLoginFailed(final long accountId, final String reason) { 50 mService.notifyLoginFailed(accountId, reason); 56 public void notifyLoginSucceeded(final long accountId) { 60 mService.notifyLoginSucceeded(accountId); 79 public int getAccountColor(final long accountId) { 83 mReturn = mService.getAccountColor(accountId);
|
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); 277 * @param accountId the id of the account to be searched 283 public int searchMessages(final long accountId, final SearchParams searchParams, 288 mReturn = mService.searchMessages(accountId, searchParams, destMailboxId); 302 * @param accountId the account whose outgoing mail should be sen [all...] |
PolicyServiceProxy.java | 71 public void setAccountPolicy(final long accountId, final Policy policy, 76 mService.setAccountPolicy(accountId, policy, securityKey); 127 public static void setAccountPolicy(Context context, long accountId, Policy policy, 130 new PolicyServiceProxy(context).setAccountPolicy(accountId, policy, securityKey);
|
/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 | 124 * @param accountId The id of the account this notification is being built for. 135 private NotificationCompat.Builder createBaseAccountNotificationBuilder(long accountId, 158 Account account = Account.restoreAccountWithId(mContext, accountId); 168 * @param accountId The account id this notification is being built for. 175 private void showNotification(long accountId, String ticker, String title, 177 final NotificationCompat.Builder builder = createBaseAccountNotificationBuilder(accountId, 249 for (final Long accountId : sRefreshAccountSet) { 250 refreshNotificationsForAccountInternal(context, accountId); 263 * @param accountId The ID of the account to register the observer for. May be 267 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);
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
PingSyncSynchronizer.java | 250 * @param accountId The id for the account we're interested in. 255 private AccountSyncState getAccountState(final long accountId, final boolean createIfNeeded) { 257 AccountSyncState state = mAccountStateMap.get(accountId); 259 LogUtils.d(TAG, "PSS adding account state for %d", accountId); 261 mAccountStateMap.put(accountId, state); 274 * @param accountId The id for the account we're removing. 276 private void removeAccount(final long accountId) { 278 LogUtils.d(TAG, "PSS removing account state for %d", accountId); 279 mAccountStateMap.delete(accountId); 286 public void syncStart(final long accountId) { [all...] |
EasService.java | 74 public void sendMail(final long accountId) { 75 LogUtils.d(TAG, "IEmailService.sendMail: %d", accountId); 79 public void loadAttachment(final IEmailServiceCallback callback, final long accountId, 82 final EasLoadAttachment operation = new EasLoadAttachment(EasService.this, accountId, 88 public void updateFolderList(final long accountId) { 89 final EasFolderSync operation = new EasFolderSync(EasService.this, accountId); 94 public void sync(final long accountId, final boolean updateFolderList, 98 public void pushModify(final long accountId) { 99 LogUtils.d(TAG, "IEmailService.pushModify: %d", accountId); 100 final Account account = Account.restoreAccountWithId(EasService.this, accountId); [all...] |
/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),
|
/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/Email/src/com/android/email/service/ |
AccountService.java | 44 public void notifyLoginFailed(long accountId, String reason) { 46 nc.showLoginFailedNotification(accountId, reason); 50 public void notifyLoginSucceeded(long accountId) { 51 NotificationController.getInstance(mContext).cancelLoginFailedNotification(accountId); 60 public int getAccountColor(long accountId) { 61 return ResourceHelper.getInstance(mContext).getAccountColor(accountId);
|
PolicyService.java | 50 public void setAccountHoldFlag(long accountId, boolean newState) { 51 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 67 public void setAccountPolicy(long accountId, Policy policy, String securityKey) { 69 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey);
|
/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/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/utility/ |
AttachmentUtilities.java | 143 public static Uri getAttachmentUri(long accountId, long id) { 148 .appendPath(Long.toString(accountId)) 155 public static Uri getAttachmentThumbnailUri(long accountId, long id, long width, long height) { 160 .appendPath(Long.toString(accountId)) 175 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) { 176 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId)); 186 public static File getAttachmentDirectory(Context context, long accountId) { 187 return context.getDatabasePath(accountId + ".db_att"); 299 * @param accountId the account for the message 302 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 236 public static boolean isNormalAccount(long accountId) { 237 return (accountId > 0L) && (accountId != ACCOUNT_ID_COMBINED_VIEW); 474 public static boolean supportsServerSearch(Context context, long accountId) { 475 Account account = Account.restoreAccountWithId(context, accountId); 560 final long accountId = cursor.getLong(Account.ID_PROJECTION_COLUMN); 562 if (accountId == lastUsedAccountId) { 563 return accountId; 567 firstAccount = accountId; 583 * @param accountId the id of the account to be examine [all...] |
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);
|
MailboxUtilities.java | 164 private static void setAccountSyncAdapterFlag(Context context, long accountId, boolean start) { 165 Account account = Account.restoreAccountWithId(context, accountId); 178 * @param accountId the account that is starting to change its mailbox list 180 public static void startMailboxChanges(Context context, long accountId) { 181 setAccountSyncAdapterFlag(context, accountId, true); 187 * @param accountId the account that is finished with changes to its mailbox list 189 public static void endMailboxChanges(Context context, long accountId) { 190 setAccountSyncAdapterFlag(context, accountId, false); 197 * @param accountId the account whose mailboxes are to be checked 200 public static void checkMailboxConsistency(Context context, long accountId) { [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ActivityHelper.java | 96 public static void showSecurityHoldDialog(Activity callerActivity, long accountId) { 98 AccountSecurity.actionUpdateSecurityIntent(callerActivity, accountId, true));
|