/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 | 63 * @param accountId Account ID of the user. 65 public DrmRights(String rightsFilePath, String mimeType, String accountId) { 68 mAccountId = accountId; 76 * @param accountId Account ID of the user. 80 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { 83 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); 151 public static void setAccountPolicy(Context context, long accountId, Policy policy, 153 setAccountPolicy2(context, accountId, policy, securityKey, true /* notify */); 156 public static void setAccountPolicy2(Context context, long accountId, Policy policy, 159 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/provider_src/com/android/email/ |
NotificationController.java | 28 void showLoginFailedNotificationSynchronous(long accountId, boolean incoming); 29 void cancelLoginFailedNotification(long accountId); 36 void showPasswordExpiringNotificationSynchronous(long accountId); 37 void showPasswordExpiredNotificationSynchronous(long accountId);
|
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)];
|
/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),
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
RawContactMatcher.java | 168 private MatchScore getMatchingScore(long rawContactId, long contactId, long accountId) { 173 matchingScore.reset(rawContactId, contactId, accountId); 175 matchingScore = new MatchScore(rawContactId, contactId, accountId); 191 public void matchName(long rawContactId, long contactId, long accountId, int 199 updatePrimaryScore(rawContactId, contactId, accountId, maxScore); 239 updatePrimaryScore(rawContactId, contactId, accountId, score); 242 public void matchIdentity(long rawContactId, long contactId, long accountId) { 243 updateSecondaryScore(rawContactId, contactId, accountId, IDENTITY_MATCH_SCORE); 246 public void updateScoreWithPhoneNumberMatch(long rawContactId, long contactId, long accountId) { 247 updateSecondaryScore(rawContactId, contactId, accountId, PHONE_MATCH_SCORE) [all...] |
MatchScore.java | 38 public MatchScore(long rawContactId, long contactId, long accountId) { 41 this.mAccountId = accountId; 50 public void reset(long rawContactId, long contactId, long accountId) { 53 this.mAccountId = accountId;
|
/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/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
BluetoothMapIMProvider.java | 96 * @param accountId the ID of the account that changed. Null is a valid value, 97 * if accountId is unknown or multiple accounts changed. 99 protected void onAccountChanged(String accountId) { 105 if (accountId == null) { 108 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); 112 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); 120 * @param accountId Null is a valid value, if accountId is unknown, but 125 protected void onMessageChanged(String accountId, String messageId) [all...] |
BluetoothMapEmailProvider.java | 66 * @param accountId the ID of the account to which the message belong 75 protected abstract void WriteMessageToStream(long accountId, long messageId, 144 long accountId = Long.valueOf(getAccountId(uri)); 145 UpdateMimeMessageFromStream(fIn, accountId, messageId); 171 * @param accountId the accountId 174 protected abstract void UpdateMimeMessageFromStream(FileInputStream input, long accountId, 199 long accountId = Long.parseLong(getAccountId(uri)); 213 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); 237 * @param accountId the ID of the account that changed. Null is a valid value [all...] |
BluetoothMapContract.java | 123 public static final String EXTRA_ACCOUNT_ID = "AccountId"; // Is this needed 161 * with the given accountID is returned. 173 * with the given accountID is returned. 175 public static Uri buildAccountUriwithId(String authority, String accountId) { 179 .appendPath(accountId) 197 * with the given accountID is returned. 199 public static Uri buildMessageUri(String authority, String accountId) { 202 .appendPath(accountId) 210 * with the given accountID is returned. 212 public static Uri buildMessageUriWithId(String authority, String accountId, String messageId) [all...] |
/packages/apps/Email/provider_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/TV/src/com/android/tv/util/account/ |
AccountHelperImpl.java | 43 String accountId = mDefaultPreferences.getString(SELECTED_ACCOUNT, null); 44 if (accountId == null) { 47 if (mSelectedAccount == null || !mSelectedAccount.name.equals((accountId))) { 50 if (account.name.equals(accountId)) {
|
/packages/apps/Email/provider_src/com/android/email/service/ |
PolicyService.java | 53 public void setAccountHoldFlag(long accountId, boolean newState) { 54 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 70 public void setAccountPolicy(long accountId, Policy policy, String securityKey) { 71 setAccountPolicy2(accountId, policy, securityKey, true /* notify */); 75 public void setAccountPolicy2(long accountId, Policy policy, String securityKey, 78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify);
|
/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/ |
EmailNotificationController.java | 121 * @param accountId The id of the account this notification is being built for. 131 private NotificationCompat.Builder createBaseAccountNotificationBuilder(long accountId, 153 Account account = Account.restoreAccountWithId(mContext, accountId); 163 * @param accountId The account id this notification is being built for. 170 private void showNotification(long accountId, String ticker, String title, 172 final NotificationCompat.Builder builder = createBaseAccountNotificationBuilder(accountId, 245 for (final Long accountId : sRefreshAccountSet) { 246 refreshNotificationsForAccountInternal(context, accountId); 259 * @param accountId The ID of the account to register the observer for. May be 263 private void registerMessageNotification(final long accountId) { [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/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;
|