/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapIMProvider.java | 99 protected void onAccountChanged(String accountId) { in onAccountChanged() argument 105 if (accountId == null) { in onAccountChanged() 108 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged() 112 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged() 125 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument 131 if (accountId == null) { in onMessageChanged() 135 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged() 137 newUri = BluetoothMapContract.buildMessageUriWithId(mAuthority, accountId, in onMessageChanged() 142 Log.d(TAG, "onMessageChanged() accountId = " + accountId + " messageId = " + messageId in onMessageChanged() 157 protected void onContactChanged(String accountId, String contactId) { in onContactChanged() argument [all …]
|
D | BluetoothMapEmailProvider.java | 75 protected abstract void WriteMessageToStream(long accountId, long messageId, in WriteMessageToStream() argument 144 long accountId = Long.valueOf(getAccountId(uri)); in readDataFromPipe() local 145 UpdateMimeMessageFromStream(fIn, accountId, messageId); in readDataFromPipe() 174 protected abstract void UpdateMimeMessageFromStream(FileInputStream input, long accountId, in UpdateMimeMessageFromStream() argument 199 long accountId = Long.parseLong(getAccountId(uri)); in writeDataToPipe() local 213 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe() 240 protected void onAccountChanged(String accountId) { in onAccountChanged() argument 246 if (accountId == null) { in onAccountChanged() 249 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged() 252 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged() [all …]
|
D | BluetoothMapContract.java | 175 public static Uri buildAccountUriwithId(String authority, String accountId) { in buildAccountUriwithId() argument 179 .appendPath(accountId) in buildAccountUriwithId() 199 public static Uri buildMessageUri(String authority, String accountId) { in buildMessageUri() argument 202 .appendPath(accountId) in buildMessageUri() 212 public static Uri buildMessageUriWithId(String authority, String accountId, String messageId) { in buildMessageUriWithId() argument 215 .appendPath(accountId) in buildMessageUriWithId() 226 public static Uri buildFolderUri(String authority, String accountId) { in buildFolderUri() argument 229 .appendPath(accountId) in buildFolderUri() 239 public static Uri buildConversationUri(String authority, String accountId) { in buildConversationUri() argument 242 .appendPath(accountId) in buildConversationUri() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | RawContactMatcher.java | 168 private MatchScore getMatchingScore(long rawContactId, long contactId, long accountId) { in getMatchingScore() argument 173 matchingScore.reset(rawContactId, contactId, accountId); in getMatchingScore() 175 matchingScore = new MatchScore(rawContactId, contactId, accountId); in getMatchingScore() 191 public void matchName(long rawContactId, long contactId, long accountId, int in matchName() argument 199 updatePrimaryScore(rawContactId, contactId, accountId, maxScore); in matchName() 239 updatePrimaryScore(rawContactId, contactId, accountId, score); in matchName() 242 public void matchIdentity(long rawContactId, long contactId, long accountId) { in matchIdentity() argument 243 updateSecondaryScore(rawContactId, contactId, accountId, IDENTITY_MATCH_SCORE); in matchIdentity() 246 public void updateScoreWithPhoneNumberMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithPhoneNumberMatch() argument 247 updateSecondaryScore(rawContactId, contactId, accountId, PHONE_MATCH_SCORE); in updateScoreWithPhoneNumberMatch() [all …]
|
D | MatchScore.java | 38 public MatchScore(long rawContactId, long contactId, long accountId) { in MatchScore() argument 41 this.mAccountId = accountId; in MatchScore() 50 public void reset(long rawContactId, long contactId, long accountId) { in reset() argument 53 this.mAccountId = accountId; in reset()
|
D | ContactAggregatorHelper.java | 64 for (Long accountId : accounts.keySet()) { in mergeComponentsWithDisjointAccounts() 65 final Set<Integer> s = accounts.get(accountId); in mergeComponentsWithDisjointAccounts() 78 for (Long accountId : accounts.keySet()) { in mergeComponentsWithDisjointAccounts() 79 final Set<Integer> s = accounts.get(accountId); in mergeComponentsWithDisjointAccounts()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2.java | 92 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument 186 reAggregateRawContacts(txContext, db, currentContactId, rawContactId, accountId, in aggregateContact() 313 long currentCidForRawContact, long rawContactId, long accountId, in reAggregateRawContacts() argument 324 rawContactsToAccounts.put(rawContactId, accountId); in reAggregateRawContacts() 525 long accountId = -1; in updateMatchScoresBasedOnExceptions() local 530 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID2); in updateMatchScoresBasedOnExceptions() 536 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID1); in updateMatchScoresBasedOnExceptions() 541 matcher.keepIn(rId, contactId, accountId); in updateMatchScoresBasedOnExceptions() 543 matcher.keepOut(rId, contactId, accountId); in updateMatchScoresBasedOnExceptions() 569 final long accountId = c.getLong(IdentityLookupMatchQuery.ACCOUNT_ID); in updateMatchScoresBasedOnIdentityMatch() local [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForGroupMembership.java | 208 final long accountId = accountIdOrNull; 219 if (entry.accountId == accountId) { 225 entry.accountId = accountId; 233 new String[]{sourceId, Long.toString(accountId)}, null, null, null); 240 groupValues.put(GroupsColumns.ACCOUNT_ID, accountId);
|
D | TransactionContext.java | 57 public void rawContactInserted(long rawContactId, long accountId) { in rawContactInserted() argument 59 mInsertedRawContactsAccounts.put(rawContactId, accountId); in rawContactInserted()
|
D | ContactsProvider2.java | 1355 long accountId; field in ContactsProvider2.GroupIdCacheEntry 2923 final long accountId = replaceAccountInfoByAccountId(uri, values); in insertRawContact() local 2944 mTransactionContext.get().rawContactInserted(rawContactId, accountId); in insertRawContact() 3288 final long accountId = replaceAccountInfoByAccountId(uri, values); in insertGroup() local 3301 mSelectionArgs1[0] = Long.toString(accountId); in insertGroup() 4514 final long accountId = dbHelper.getOrCreateAccountIdInTransaction( in updateGroups() local 4516 updatedValues.put(GroupsColumns.ACCOUNT_ID, accountId); in updateGroups() 4630 long accountId = 0; in updateRawContact() local 4641 accountId = cursor.getLong(RawContactsQuery.ACCOUNT_ID); in updateRawContact() 4665 accountId = dbHelper.getOrCreateAccountIdInTransaction(newAccountWithDataSet); in updateRawContact() [all …]
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/ |
D | TelephonyDataModel.java | 97 int accountId, @NonNull String conversationId, @NonNull String message) { in replyConversation() argument 98 if (accountId <= 0) { in replyConversation() 105 SmsManager.getSmsManagerForSubscriptionId(accountId) in replyConversation() 115 public void sendMessage(int accountId, @NonNull String phoneNumber, @NonNull String message) { in sendMessage() argument 117 SmsManager.getSmsManagerForSubscriptionId(accountId) in sendMessage()
|
D | ConversationsPerDeviceFetchManager.java | 93 public static Cursor getCursor(int accountId) { in getCursor() argument 99 /* selection= */ SUBSCRIPTION_ID + "=" + accountId, in getCursor()
|
/packages/apps/TV/src/com/android/tv/util/account/ |
D | AccountHelperImpl.java | 48 String accountId = mDefaultPreferences.getString(SELECTED_ACCOUNT, null); in getSelectedAccount() local 49 if (accountId == null) { in getSelectedAccount() 52 if (mSelectedAccount == null || !mSelectedAccount.name.equals((accountId))) { in getSelectedAccount() 55 if (account.name.equals(accountId)) { in getSelectedAccount()
|
/packages/apps/Dialer/java/com/android/dialer/telecom/ |
D | TelecomUtil.java | 172 @Nullable String componentString, @Nullable String accountId) { in composePhoneAccountHandle() argument 173 return composePhoneAccountHandle(componentString, accountId, null); in composePhoneAccountHandle() 179 @Nullable String componentString, @Nullable String accountId, in composePhoneAccountHandle() argument 181 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) { in composePhoneAccountHandle() 189 return new PhoneAccountHandle(componentName, accountId); in composePhoneAccountHandle() 191 return new PhoneAccountHandle(componentName, accountId, userHandle); in composePhoneAccountHandle()
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 75 String accountId; field in CallLogBackupAgent.Call 88 return "[" + id + ", account: [" + accountComponentName + " : " + accountId + in toString() 256 if (call.accountComponentName != null && call.accountId != null) { in writeCallToProvider() 258 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); in writeCallToProvider() 336 call.accountId = readString(dataInput); in readCallFromData() 408 call.accountId = in readCallFromCursor() 437 writeString(data, call.accountId); in addCallToBackup()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
D | FetchVoicemailReceiver.java | 107 String accountId = cursor.getString(PHONE_ACCOUNT_ID); in onReceive() local 108 if (TextUtils.isEmpty(accountId)) { in onReceive() 111 accountId = telephonyManager.getSimSerialNumber(); in onReceive() 113 if (TextUtils.isEmpty(accountId)) { in onReceive()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 121 String accountId; in addGroups() local 132 accountId = cursor.getString(CallLogQuery.ACCOUNT_ID); in addGroups() 141 isSameAccount(groupAccountComponentName, accountComponentName, groupAccountId, accountId); in addGroups() 178 groupAccountId = accountId; in addGroups()
|
D | CallLogNotificationsQueryHelper.java | 272 public final String accountId; field in CallLogNotificationsQueryHelper.NewCall 284 String accountId, in NewCall() argument 294 this.accountId = accountId; in NewCall()
|
D | VisualVoicemailNotifier.java | 285 if (call == null || call.accountComponentName == null || call.accountId == null) { in getAccountForCall() 289 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); in getAccountForCall()
|
D | MissedCallNotifier.java | 272 if (call.accountComponentName == null || call.accountId == null) { in removeSelfManagedCalls() 279 PhoneAccountHandle phoneAccountHandle = new PhoneAccountHandle(componentName, call.accountId); in removeSelfManagedCalls()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/ |
D | DataModel.java | 99 @NonNull int accountId, @NonNull String conversationId, @NonNull String message); in replyConversation() 108 void sendMessage(int accountId, @NonNull String phoneNumber, @NonNull String message); in sendMessage() argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelperTest.java | 275 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( in testUpgradeHashId() local 279 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId); in testUpgradeHashId() 313 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( in testUpgradeHashIdForPhoto() local 317 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId); in testUpgradeHashIdForPhoto()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/ |
D | VoiceUtil.java | 255 final int accountId = in voiceReply() local 258 if (bundle == null || accountId == NULL_ACCOUNT_ID) { in voiceReply() 267 .replyConversation(accountId, conversationKey, message.toString()); in voiceReply()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | PhoneCallDetails.java | 132 public String accountId; field in PhoneCallDetails
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 565 long accountId = mAccountId; in updateInbox() local 572 if (accountId != -1) { in updateInbox() 574 Log.d(TAG, "updateInbox accountId=" + accountId); in updateInbox() 578 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, accountId); in updateInbox()
|