/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 …]
|
D | AbstractContactAggregator.java | 681 long accountId = 0; in aggregateContact() local 689 accountId = cursor.getLong(RawContactIdAndAccountQuery.ACCOUNT_ID); in aggregateContact() 695 aggregateContact(txContext, db, rawContactId, accountId, contactId, in aggregateContact() 734 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
|
D | ContactAggregator.java | 80 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument 136 if (rc_accountId == accountId) { in aggregateContact()
|
/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 | ContactMetadataProvider.java | 270 final Long accountId = replaceAccountInfoByAccountId(uri, values); in update() local 271 if (accountId == null) { in update() 275 values.put(MetadataSyncColumns.ACCOUNT_ID, accountId); in update() 367 final Long accountId = replaceAccountInfoByAccountId(uri, values); in updateOrInsertDataToMetadataSync() local 375 if (accountId == null) { in updateOrInsertDataToMetadataSync() 381 "Invalid identifier is found: accountId=" + accountId + "; " + in updateOrInsertDataToMetadataSync() 387 rawContactBackupId, accountId, data, deleted); in updateOrInsertDataToMetadataSync()
|
D | TransactionContext.java | 58 public void rawContactInserted(long rawContactId, long accountId) { in rawContactInserted() argument 60 mInsertedRawContactsAccounts.put(rawContactId, accountId); in rawContactInserted()
|
D | ContactsProvider2.java | 1364 long accountId; field in ContactsProvider2.GroupIdCacheEntry 2834 final long accountId = replaceAccountInfoByAccountId(uri, values); in insertRawContact() local 2864 mTransactionContext.get().rawContactInserted(rawContactId, accountId); in insertRawContact() 3208 final long accountId = replaceAccountInfoByAccountId(uri, values); in insertGroup() local 3221 mSelectionArgs1[0] = Long.toString(accountId); in insertGroup() 4386 final long accountId = dbHelper.getOrCreateAccountIdInTransaction( in updateGroups() local 4388 updatedValues.put(GroupsColumns.ACCOUNT_ID, accountId); in updateGroups() 4504 long accountId = 0; in updateRawContact() local 4515 accountId = cursor.getLong(RawContactsQuery.ACCOUNT_ID); in updateRawContact() 4539 accountId = dbHelper.getOrCreateAccountIdInTransaction(newAccountWithDataSet); in updateRawContact() [all …]
|
/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/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 73 String accountId; field in CallLogBackupAgent.Call 85 return "[" + id + ", account: [" + accountComponentName + " : " + accountId + in toString() 262 if (call.accountComponentName != null && call.accountId != null) { in writeCallToProvider() 264 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); in writeCallToProvider() 341 call.accountId = readString(dataInput); in readCallFromData() 410 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/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/Dialer/java/com/android/dialer/telecom/ |
D | TelecomUtil.java | 171 @Nullable String componentString, @Nullable String accountId) { in composePhoneAccountHandle() argument 172 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) { in composePhoneAccountHandle() 179 return new PhoneAccountHandle(componentName, accountId); in composePhoneAccountHandle()
|
/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()
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 226 c.accountId = "account-id"; in makeCall()
|