/packages/apps/TV/src/com/android/tv/util/ |
AccountHelper.java | 54 String accountId = mDefaultPreferences.getString(SELECTED_ACCOUNT, null); 55 if (accountId == null) { 58 if (mSelectedAccount == null || !mSelectedAccount.name.equals((accountId))) { 61 if (account.name.equals(accountId)) {
|
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
Telecom.java | 207 final String accountId = nextArgRequired(); 216 return new PhoneAccountHandle(component, accountId, userHandle);
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
CallLogGroupBuilder.java | 109 String accountId; 122 accountId = cursor.getString(CallLogQuery.ACCOUNT_ID); 128 isSameAccount(groupAccountComponentName, accountComponentName, groupAccountId, accountId); 160 groupAccountId = accountId;
|
CallLogNotificationsQueryHelper.java | 217 public final String accountId; 228 String accountId, 237 this.accountId = accountId;
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
PhoneCallDetails.java | 129 public String accountId;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
FetchVoicemailReceiver.java | 107 String accountId = cursor.getString(PHONE_ACCOUNT_ID); 108 if (TextUtils.isEmpty(accountId)) { 111 accountId = telephonyManager.getSimSerialNumber(); 113 if (TextUtils.isEmpty(accountId)) {
|
/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...] |
AttachmentProvider.java | 154 String accountId = segments.get(0); 157 AttachmentUtilities.getAttachmentDirectory(context, Long.parseLong(accountId)); 169 final long accountId = Long.parseLong(segments.get(0)); 175 String filename = "thmb_" + accountId + "_" + id; 179 Uri attachmentUri = AttachmentUtilities.getAttachmentUri(accountId, id); 220 new File(getContext().getDatabasePath(accountId + ".db_att"), 264 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/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
BluetoothMapIMProvider.java | 94 * @param accountId the ID of the account that changed. Null is a valid value, 95 * if accountId is unknown or multiple accounts changed. 97 protected void onAccountChanged(String accountId) { 103 if(accountId == null){ 106 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); 109 if(D) Log.d(TAG,"onAccountChanged() accountId = " + accountId + " URI: " + newUri); 116 * @param accountId Null is a valid value, if accountId is unknown, but 121 protected void onMessageChanged(String accountId, String messageId) [all...] |
BluetoothMapEmailProvider.java | 66 * @param accountId the ID of the account to which the message belong 75 abstract protected void WriteMessageToStream(long accountId, long messageId, 145 long accountId = Long.valueOf(getAccountId(uri)); 146 UpdateMimeMessageFromStream(fIn, accountId, messageId); 170 * @param accountId the accountId 173 abstract protected void UpdateMimeMessageFromStream(FileInputStream input, long accountId, 195 long accountId = Long.parseLong(getAccountId(uri)); 208 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); 232 * @param accountId the ID of the account that changed. Null is a valid value [all...] |
/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);
|
SecurityPolicyTests.java | 210 private long assertAccountPolicyConsistent(long accountId, long oldKey) { 211 Account account = Account.restoreAccountWithId(mMockContext, accountId); 221 accountId, 236 long accountId = account.mId; 250 mMockContext, Account.restoreAccountWithId(mMockContext, accountId));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactMetadataProvider.java | 270 final Long accountId = replaceAccountInfoByAccountId(uri, values); 271 if (accountId == null) { 273 "Invalid identifier is found for accountId", uri)); 275 values.put(MetadataSyncColumns.ACCOUNT_ID, accountId); 367 final Long accountId = replaceAccountInfoByAccountId(uri, values); 370 // TODO (tingtingw): Consider a corner case: if there's raw with the same accountId and 375 if (accountId == null) { 381 "Invalid identifier is found: accountId=" + accountId + "; " + 387 rawContactBackupId, accountId, data, deleted) [all...] |
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-glacier/1.11.18/ |
aws-java-sdk-glacier-1.11.18.jar | |
/frameworks/av/drm/common/ |
IDrmManagerService.cpp | 357 const String8 accountId = drmRights.getAccountId(); 358 data.writeString8((accountId == String8("")) ? String8("NULL") : 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...] |
Utility.java | 195 long accountId = c2.getLong(Account.ID_PROJECTION_COLUMN); 196 if (accountId != allowAccountId) { 197 Account account = Account.restoreAccountWithId(context, accountId);
|
/packages/apps/Email/provider_src/com/android/email/ |
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/ |
EmailBroadcastProcessorService.java | 357 long accountId = c.getLong(Account.CONTENT_ID_COLUMN); 358 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Account.java | 71 private String accountId; 269 json.put(AccountColumns.ACCOUNT_ID, accountId); 390 accountId = json.optString(UIProvider.AccountColumns.ACCOUNT_ID, accountManagerName); 451 accountId = cursor.getString( 641 accountId = in.readString(); 687 dest.writeString(accountId); 715 TextUtils.equals(accountId, other.accountId) && [all...] |
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
CallLogBackupAgent.java | 75 String accountId; 83 return "[" + id + ", account: [" + accountComponentName + " : " + accountId + 257 if (call.accountComponentName != null && call.accountId != null) { 259 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); 333 call.accountId = readString(dataInput); 387 call.accountId = 409 writeString(data, call.accountId);
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 653 String accountId = null; 656 accountId = accountHandle.getId(); 673 values.put(PHONE_ACCOUNT_ID, accountId); [all...] |
/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/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...] |