Home
last modified time | relevance | path

Searched refs:accountId (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java97 protected void onAccountChanged(String accountId) { in onAccountChanged() argument
103 if (accountId == null) { in onAccountChanged()
106 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
110 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged()
124 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument
130 if (accountId == null) { in onMessageChanged()
134 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
138 mAuthority, accountId, messageId); in onMessageChanged()
145 + accountId in onMessageChanged()
163 protected void onContactChanged(String accountId, String contactId) { in onContactChanged() argument
[all …]
DBluetoothMapEmailProvider.java75 long accountId, in WriteMessageToStream() argument
144 long accountId = Long.valueOf(getAccountId(uri)); in readDataFromPipe() local
145 UpdateMimeMessageFromStream(fIn, accountId, messageId); in readDataFromPipe()
175 FileInputStream input, long accountId, long messageId) throws IOException; in UpdateMimeMessageFromStream() argument
200 long accountId = Long.parseLong(getAccountId(uri)); in writeDataToPipe() local
214 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe()
242 protected void onAccountChanged(String accountId) { in onAccountChanged() argument
248 if (accountId == null) { in onAccountChanged()
251 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
254 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged()
[all …]
DBluetoothMapContract.java168 public static Uri buildAccountUriwithId(String authority, String accountId) { in buildAccountUriwithId() argument
173 .appendPath(accountId) in buildAccountUriwithId()
190 public static Uri buildMessageUri(String authority, String accountId) { in buildMessageUri() argument
194 .appendPath(accountId) in buildMessageUri()
203 public static Uri buildMessageUriWithId(String authority, String accountId, String messageId) { in buildMessageUriWithId() argument
207 .appendPath(accountId) in buildMessageUriWithId()
217 public static Uri buildFolderUri(String authority, String accountId) { in buildFolderUri() argument
221 .appendPath(accountId) in buildFolderUri()
230 public static Uri buildConversationUri(String authority, String accountId) { in buildConversationUri() argument
234 .appendPath(accountId) in buildConversationUri()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DRawContactMatcher.java166 private MatchScore getMatchingScore(long rawContactId, long contactId, long accountId) { in getMatchingScore() argument
171 matchingScore.reset(rawContactId, contactId, accountId); in getMatchingScore()
173 matchingScore = new MatchScore(rawContactId, contactId, accountId); in getMatchingScore()
189 public void matchName(long rawContactId, long contactId, long accountId, int in matchName() argument
197 updatePrimaryScore(rawContactId, contactId, accountId, maxScore); in matchName()
237 updatePrimaryScore(rawContactId, contactId, accountId, score); in matchName()
240 public void matchIdentity(long rawContactId, long contactId, long accountId) { in matchIdentity() argument
241 updateSecondaryScore(rawContactId, contactId, accountId, IDENTITY_MATCH_SCORE); in matchIdentity()
244 public void updateScoreWithPhoneNumberMatch(long rawContactId, long contactId, long accountId) { in updateScoreWithPhoneNumberMatch() argument
245 updateSecondaryScore(rawContactId, contactId, accountId, PHONE_MATCH_SCORE); in updateScoreWithPhoneNumberMatch()
[all …]
DMatchScore.java38 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()
DContactAggregatorHelper.java64 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/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelper.java112 String accountId = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.ACCOUNT_ID)); in getAllContactKeys() local
126 result.add(new E2eeContactKeysManager.E2eeContactKey(deviceId, accountId, in getAllContactKeys()
158 String accountId = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.ACCOUNT_ID)); in getContactKeysForOwnerPackageName() local
170 result.add(new E2eeContactKeysManager.E2eeContactKey(deviceId, accountId, in getContactKeysForOwnerPackageName()
182 String ownerPackageName, String deviceId, String accountId) { in getContactKey() argument
197 new String[] {lookupKey, String.valueOf(ownerPackageName), deviceId, accountId})) { in getContactKey() argument
210 result = new E2eeContactKeysManager.E2eeContactKey(deviceId, accountId, in getContactKey()
224 String deviceId, String accountId, int localVerificationState, long timeUpdated) { in updateContactKeyLocalVerificationState() argument
239 updateStatement.bindString(6, accountId); in updateContactKeyLocalVerificationState()
249 String deviceId, String accountId, int remoteVerificationState, long timeUpdated) { in updateContactKeyRemoteVerificationState() argument
[all …]
DE2eeContactKeysProvider.java125 final String accountId = extras.getString(E2eeContactKeys.ACCOUNT_ID); in updateOrInsertE2eeContactKey() local
137 deviceId, accountId, callerPackageName, timeUpdated, displayName, number, in updateOrInsertE2eeContactKey()
157 final String accountId = extras.getString(E2eeContactKeys.ACCOUNT_ID); in getE2eeContactKey() local
161 callerPackageName, deviceId, accountId); in getE2eeContactKey()
238 final String accountId = extras.getString(E2eeContactKeys.ACCOUNT_ID); in updateE2eeContactKeyLocalVerificationState() local
252 ownerPackageName, deviceId, accountId, localVerificationState, timeUpdated); in updateE2eeContactKeyLocalVerificationState()
255 callerPackageName, deviceId, accountId, localVerificationState, timeUpdated); in updateE2eeContactKeyLocalVerificationState()
276 final String accountId = extras.getString(E2eeContactKeys.ACCOUNT_ID); in updateE2eeContactKeyRemoteVerificationState() local
290 ownerPackageName, deviceId, accountId, remoteVerificationState, timeUpdated); in updateE2eeContactKeyRemoteVerificationState()
293 callerPackageName, deviceId, accountId, remoteVerificationState, timeUpdated); in updateE2eeContactKeyRemoteVerificationState()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapIMProviderTest.java575 String accountId = "32608910"; in onAccountChanged() local
576 expectedUri = BluetoothMapContract.buildAccountUriwithId(AUTHORITY, accountId); in onAccountChanged()
577 mProvider.onAccountChanged(accountId); in onAccountChanged()
600 String accountId = "32608910"; in onContactChanged() local
601 expectedUri = BluetoothMapContract.buildConvoContactsUri(AUTHORITY, accountId); in onContactChanged()
602 mProvider.onContactChanged(accountId, null); in onContactChanged()
608 BluetoothMapContract.buildConvoContactsUriWithId(AUTHORITY, accountId, contactId); in onContactChanged()
609 mProvider.onContactChanged(accountId, contactId); in onContactChanged()
632 String accountId = "32608910"; in onMessageChanged() local
633 expectedUri = BluetoothMapContract.buildMessageUri(AUTHORITY, accountId); in onMessageChanged()
[all …]
DBluetoothMapEmailProviderTest.java443 long accountId, in WriteMessageToStream() argument
457 FileInputStream input, long accountId, long messageId) throws IOException {} in UpdateMimeMessageFromStream() argument
460 protected int deleteMessage(String accountId, String messageId) { in deleteMessage() argument
465 protected String insertMessage(String accountId, String folderId) { in insertMessage() argument
477 String accountId, in queryFolder() argument
487 String accountId, in queryMessage() argument
496 protected int updateAccount(String accountId, int flagExpose) { in updateAccount() argument
502 String accountId, Long messageId, Long folderId, Boolean flagRead) { in updateMessage() argument
507 protected int syncFolder(long accountId, long folderId) { in syncFolder() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator2.java90 long rawContactId, long accountId, long currentContactId, in aggregateContact() argument
184 reAggregateRawContacts(txContext, db, currentContactId, rawContactId, accountId, in aggregateContact()
311 long currentCidForRawContact, long rawContactId, long accountId, in reAggregateRawContacts() argument
322 rawContactsToAccounts.put(rawContactId, accountId); in reAggregateRawContacts()
523 long accountId = -1; in updateMatchScoresBasedOnExceptions() local
528 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID2); in updateMatchScoresBasedOnExceptions()
534 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID1); in updateMatchScoresBasedOnExceptions()
539 matcher.keepIn(rId, contactId, accountId); in updateMatchScoresBasedOnExceptions()
541 matcher.keepOut(rId, contactId, accountId); in updateMatchScoresBasedOnExceptions()
567 final long accountId = c.getLong(IdentityLookupMatchQuery.ACCOUNT_ID); in updateMatchScoresBasedOnIdentityMatch() local
[all …]
/packages/apps/TV/src/com/android/tv/util/account/
DAccountHelperImpl.java48 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/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForGroupMembership.java208 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);
DTransactionContext.java57 public void rawContactInserted(long rawContactId, long accountId) { in rawContactInserted() argument
59 mInsertedRawContactsAccounts.put(rawContactId, accountId); in rawContactInserted()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java172 @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/
DCallLogBackupAgent.java79 String accountId; field in CallLogBackupAgent.Call
95 return "[" + id + ", account: [" + accountComponentName + " : " + accountId + in toString()
363 if (call.accountComponentName != null && call.accountId != null) { in writeCallToProvider()
365 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); in writeCallToProvider()
480 call.accountId = readString(dataInput); in readCallFromData()
600 call.accountId = in readCallFromCursor()
628 Log.i(TAG, "Processing PhoneAccountMigration Backup accountId: " + call.accountId); in readCallFromCursor()
631 iccId = mSubscriptionInfoMap.get(Integer.parseInt(call.accountId)); in readCallFromCursor()
640 + call.accountId); in readCallFromCursor()
641 call.accountId = iccId; in readCallFromCursor()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
DFetchVoicemailReceiver.java107 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/
DCallLogGroupBuilder.java122 String accountId; in addGroups() local
133 accountId = cursor.getString(CallLogQuery.ACCOUNT_ID); in addGroups()
142 isSameAccount(groupAccountComponentName, accountComponentName, groupAccountId, accountId); in addGroups()
179 groupAccountId = accountId; in addGroups()
DCallLogNotificationsQueryHelper.java272 public final String accountId; field in CallLogNotificationsQueryHelper.NewCall
284 String accountId, in NewCall() argument
294 this.accountId = accountId; in NewCall()
DVisualVoicemailNotifier.java285 if (call == null || call.accountComponentName == null || call.accountId == null) { in getAccountForCall()
289 ComponentName.unflattenFromString(call.accountComponentName), call.accountId); in getAccountForCall()
DMissedCallNotifier.java282 if (call.accountComponentName == null || call.accountId == null) { in removeSelfManagedCalls()
289 PhoneAccountHandle phoneAccountHandle = new PhoneAccountHandle(componentName, call.accountId); in removeSelfManagedCalls()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java277 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( in testUpgradeHashId() local
281 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId); in testUpgradeHashId()
315 final long accountId = mDbHelper.getOrCreateAccountIdInTransaction( in testUpgradeHashIdForPhoto() local
319 rawContactValues.put(ContactsDatabaseHelper.RawContactsColumns.ACCOUNT_ID, accountId); in testUpgradeHashIdForPhoto()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomShellCommand.java465 final String accountId = getNextArgRequired(); in getPhoneAccountHandleFromArgs() local
475 return new PhoneAccountHandle(component, accountId, userHandle); in getPhoneAccountHandleFromArgs()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java132 public String accountId; field in PhoneCallDetails
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java330 assertEquals(TEST_PHONE_ACCOUNT_HANDLE_ICC_ID, call.accountId); in testReadCallFromCursorForPhoneAccountMigrationBackup()
337 assertEquals(TEST_PHONE_ACCOUNT_HANDLE_SUB_ID, call.accountId); in testReadCallFromCursorForPhoneAccountMigrationBackup()
743 c.accountId = "account-id"; in makeCall()

12