/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
Telecom.java | 197 final String accountId = nextArgRequired(); 206 return new PhoneAccountHandle(component, accountId, userHandle);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogGroupBuilder.java | 140 String accountId; 151 accountId = cursor.getString(CallLogQuery.ACCOUNT_ID); 157 groupAccountComponentName, accountComponentName, groupAccountId, accountId); 186 groupAccountId = accountId;
|
CallLogNotificationsHelper.java | 177 public final String accountId; 188 String accountId, 197 this.accountId = 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/services/Telephony/src/com/android/phone/vvm/omtp/fetch/ |
FetchVoicemailReceiver.java | 106 String accountId = cursor.getString(PHONE_ACCOUNT_ID); 107 if (TextUtils.isEmpty(accountId)) { 110 accountId = telephonyManager.getSimSerialNumber(); 112 if (TextUtils.isEmpty(accountId)) {
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
BluetoothMapIMProvider.java | 100 * @param accountId the ID of the account that changed. Null is a valid value, 101 * if accountId is unknown or multiple accounts changed. 103 protected void onAccountChanged(String accountId) { 109 if(accountId == null){ 112 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); 115 if(D) Log.d(TAG,"onAccountChanged() accountId = " + accountId + " URI: " + newUri); 122 * @param accountId Null is a valid value, if accountId is unknown, but 127 protected void onMessageChanged(String accountId, String messageId) [all...] |
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/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...] |
/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);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsDatabaseHelperTest.java | 261 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( 265 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId); 299 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( 303 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId);
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 640 String accountId = null; 643 accountId = accountHandle.getId(); 660 values.put(PHONE_ACCOUNT_ID, accountId); [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
BluetoothMapContentTest.java | 102 String accountId = getEnabledAccount(); 105 mEmailUri = Uri.withAppendedPath(tmpEmailUri, accountId + "/"); 309 int accountId = 0; 323 accountId = c.getInt(c.getColumnIndex( 334 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, accountId); [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 587 String accountId = null; 590 accountId = accountHandle.getId(); 605 values.put(Calls.PHONE_ACCOUNT_ID, accountId);
|
/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...] |