/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/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/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;
|
/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/Email/provider_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 | 28 void showLoginFailedNotificationSynchronous(long accountId, boolean incoming); 29 void cancelLoginFailedNotification(long accountId); 36 void showPasswordExpiringNotificationSynchronous(long accountId); 37 void showPasswordExpiredNotificationSynchronous(long 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/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/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/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/Email/emailcommon/src/com/android/emailcommon/service/ |
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);
|
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,
|
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);
|
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...] |
IAccountService.aidl | 22 int getAccountColor(long accountId);
|
AccountServiceProxy.java | 47 public int getAccountColor(final long accountId) { 51 mReturn = mService.getAccountColor(accountId);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
HeadlessAccountSettingsLoader.java | 24 public static Uri getOutgoingSettingsUri(long accountId) { 27 IntentUtilities.setAccountId(baseUri, accountId); 36 final long accountID = IntentUtilities.getAccountIdFromIntent(i); 41 .executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, 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/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);
|
/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/emailcommon/src/com/android/emailcommon/provider/ |
MailboxUtilities.java | 165 private static void setAccountSyncAdapterFlag(Context context, long accountId, boolean start) { 166 Account account = Account.restoreAccountWithId(context, accountId); 179 * @param accountId the account that is starting to change its mailbox list 181 public static void startMailboxChanges(Context context, long accountId) { 182 setAccountSyncAdapterFlag(context, accountId, true); 188 * @param accountId the account that is finished with changes to its mailbox list 190 public static void endMailboxChanges(Context context, long accountId) { 191 setAccountSyncAdapterFlag(context, accountId, false); 198 * @param accountId the account whose mailboxes are to be checked 201 public static void checkMailboxConsistency(Context context, long accountId) { [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);
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
PingSyncSynchronizer.java | 123 /** The accountId for this accountState, used for logging */ 126 public AccountSyncState(final Lock lock, final long accountId) { 134 mAccountId = accountId; 329 * @param accountId The id for the account we're interested in. 334 private AccountSyncState getAccountState(final long accountId, final boolean createIfNeeded) { 336 AccountSyncState state = mAccountStateMap.get(accountId); 338 LogUtils.i(TAG, "PSS adding account state for acct:%d", accountId); 339 state = new AccountSyncState(mLock, accountId); 340 mAccountStateMap.put(accountId, state); 353 * @param accountId The id for the account we're removing [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneAccountUtils.java | 54 public static PhoneAccountHandle getAccount(String componentString, String accountId) { 55 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) { 59 return new PhoneAccountHandle(componentName, 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;
|