/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ContactsQueryHelperTest.java | 97 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUri() local 98 assertTrue(mHelper.query(contactUri.toString())); in testQueryWithUri() 110 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUriNotStarredNoPhoneNumber() local 111 assertTrue(mHelper.query(contactUri.toString())); in testQueryWithUriNotStarredNoPhoneNumber() 120 Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, CONTACT_LOOKUP_KEY); in testQueryWithUriNotFound() local 121 assertFalse(mHelper.query(contactUri.toString())); in testQueryWithUriNotFound() 129 String contactUri = "tel:" + PHONE_NUMBER; in testQueryWithPhoneNumber() local 130 assertTrue(mHelper.query(contactUri)); in testQueryWithPhoneNumber() 140 String contactUri = "mailto:test@gmail.com"; in testQueryWithEmail() local 141 assertTrue(mHelper.query(contactUri)); in testQueryWithEmail() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | PublishUtils.java | 45 Uri contactUri = deviceCap.getImsAssociatedUri(); in getDeviceContactUri() local 46 if (contactUri != null) { in getDeviceContactUri() 48 return contactUri; in getDeviceContactUri() 58 contactUri = getContactUriFromIsim(telephonyManager); in getDeviceContactUri() 59 if (contactUri != null) { in getDeviceContactUri() 61 return contactUri; in getDeviceContactUri()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabControllerImpl.java | 169 public @NonNull EabCapabilityResult getAvailability(@NonNull Uri contactUri) { in getAvailability() argument 170 Objects.requireNonNull(contactUri); in getAvailability() 174 contactUri, in getAvailability() 178 return generateEabResult(contactUri, this::isAvailabilityExpired); in getAvailability() 237 private List<EabCapabilityResult> generateDestroyedResult(List<Uri> contactUri) { in generateDestroyedResult() argument 239 for (Uri uri : contactUri) { in generateDestroyedResult() 248 private EabCapabilityResult generateEabResult(Uri contactUri, in generateEabResult() argument 256 getNumberFromUri(mContext, contactUri)); in generateEabResult() 267 builder = createNewBuilder(contactUri, cursor); in generateEabResult() 269 updateCapability(contactUri, cursor, builder); in generateEabResult() [all …]
|
D | EabCapabilityResult.java | 67 public EabCapabilityResult(@QueryResult Uri contactUri, int status, in EabCapabilityResult() argument 70 mContactUri = contactUri; in EabCapabilityResult()
|
D | EabController.java | 40 @NonNull EabCapabilityResult getAvailability(@NonNull Uri contactUri); in getAvailability() argument
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ConversationStore.java | 147 Uri contactUri = conversationInfo.getContactUri(); in deleteConversation() local 148 if (contactUri != null) { in deleteConversation() 149 mContactUriToShortcutIdMap.remove(contactUri); in deleteConversation() 187 synchronized ConversationInfo getConversationByContactUri(@NonNull Uri contactUri) { in getConversationByContactUri() argument 188 return getConversation(mContactUriToShortcutIdMap.get(contactUri)); in getConversationByContactUri() 269 Uri contactUri = conversationInfo.getContactUri(); in updateConversationsInMemory() local 270 if (contactUri != null) { in updateConversationsInMemory() 271 mContactUriToShortcutIdMap.put(contactUri, conversationInfo.getShortcutId()); in updateConversationsInMemory()
|
D | ContactsQueryHelper.java | 50 boolean query(@NonNull String contactUri) { in query() argument 51 if (TextUtils.isEmpty(contactUri)) { in query() 54 Uri uri = Uri.parse(contactUri); in query() 59 } else if (contactUri.startsWith(Contacts.CONTENT_LOOKUP_URI.toString())) { in query()
|
D | ConversationInfo.java | 432 String contactUri = in.readUTF(); in readFromBackupPayload() local 433 if (!TextUtils.isEmpty(contactUri)) { in readFromBackupPayload() 434 builder.setContactUri(Uri.parse(contactUri)); in readFromBackupPayload() 520 Builder setContactUri(Uri contactUri) { in setContactUri() argument 521 mContactUri = contactUri; in setContactUri()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/ |
D | UceController.java | 228 public synchronized void setRemoteCapabilityRequestEvent(Uri contactUri, in setRemoteCapabilityRequestEvent() argument 231 args.arg1 = contactUri; in setRemoteCapabilityRequestEvent() 460 Uri contactUri = (Uri) args.arg1; in handleCachedCapabilityEvent() 463 retrieveOptionsCapabilitiesForRemote(contactUri, remoteCapabilities, callback); in handleCachedCapabilityEvent() 479 public EabCapabilityResult getAvailabilityFromCache(Uri contactUri) { 480 return mEabController.getAvailability(contactUri); 556 public void onRemoteCapabilityRequest(Uri contactUri, 558 if (contactUri == null || remoteCapabilities == null || cb == null) { 563 mCachedCapabilityEvent.setRemoteCapabilityRequestEvent(contactUri, 567 retrieveOptionsCapabilitiesForRemote(contactUri, remoteCapabilities, cb); [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/options/ |
D | OptionsControllerImpl.java | 71 public void sendCapabilitiesRequest(Uri contactUri, @NonNull Set<String> deviceFeatureTags, in sendCapabilitiesRequest() argument 85 featureManager.sendOptionsCapabilityRequest(contactUri, new ArrayList<>(deviceFeatureTags), in sendCapabilitiesRequest()
|
D | OptionsController.java | 38 void sendCapabilitiesRequest(@NonNull Uri contactUri, @NonNull Set<String> deviceFeatureTags, in sendCapabilitiesRequest() argument
|
/frameworks/base/core/java/com/android/ims/internal/uce/presence/ |
D | PresCapInfo.java | 64 public void setContactUri(String contactUri) { in setContactUri() argument 65 this.mContactUri = contactUri; in setContactUri()
|
D | PresTupleInfo.java | 62 public void setContactUri(String contactUri) { in setContactUri() argument 63 this.mContactUri = contactUri; in setContactUri()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 102 int appWidgetId, Uri contactUri, BackupManager backupManager) { in setSharedPreferencesStorageForTile() argument 114 String contactUriString = contactUri == null ? EMPTY_STRING : contactUri.toString(); in setSharedPreferencesStorageForTile() 167 PackageManager packageManager, String contactUri, in getNotificationsByUri() argument 170 if (TextUtils.isEmpty(contactUri)) { in getNotificationsByUri() 177 && Objects.equals(contactUri, getContactUri(e.getSbn())) in getNotificationsByUri() 249 Uri contactUri = Uri.parse(uriFromNotification); in augmentTileFromNotification() local 252 contactUri, backupManager); in augmentTileFromNotification() 254 updatedTile.setContactUri(contactUri); in augmentTileFromNotification()
|
D | NotificationHelper.java | 170 String contactUri = people.get(0).getUri(); in getContactUri() local 171 if (contactUri != null && !contactUri.isEmpty()) { in getContactUri() 172 return contactUri; in getContactUri()
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | CapabilityExchangeAidlWrapper.java | 87 public void onRemoteCapabilityRequest(@NonNull Uri contactUri, in onRemoteCapabilityRequest() argument 118 listener.onRemoteCapabilityRequest(contactUri, new ArrayList<>(remoteCapabilities), in onRemoteCapabilityRequest()
|
D | ICapabilityExchangeEventListener.aidl | 34 void onRemoteCapabilityRequest(in Uri contactUri, in onRemoteCapabilityRequest() argument
|
D | IImsRcsFeature.aidl | 49 oneway void sendOptionsCapabilityRequest(in Uri contactUri, in sendOptionsCapabilityRequest() argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/ |
D | UceUtils.java | 387 public static String getContactNumber(Uri contactUri) { in getContactNumber() argument 388 if (contactUri == null) { in getContactNumber() 391 String number = contactUri.getSchemeSpecificPart(); in getContactNumber() 399 return contactUri.toString(); in getContactNumber()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
D | RemoteOptionsRequest.java | 174 Uri contactUri = mUriList.get(0); in executeRequestInternal() local 175 RcsContactUceCapability remoteCaps = FeatureTags.getContactCapability(contactUri, in executeRequestInternal()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureManager.java | 95 void onRemoteCapabilityRequest(Uri contactUri, in onRemoteCapabilityRequest() argument 116 public void onRemoteCapabilityRequest(Uri contactUri, 120 contactUri, remoteCapabilities, cb)); 433 public void sendOptionsCapabilityRequest(Uri contactUri, List<String> myCapabilities, in sendOptionsCapabilityRequest() argument 435 mRcsFeatureConnection.sendOptionsCapabilityRequest(contactUri, myCapabilities, callback); in sendOptionsCapabilityRequest()
|
D | RcsFeatureConnection.java | 246 public void sendOptionsCapabilityRequest(Uri contactUri, List<String> myCapabilities, in sendOptionsCapabilityRequest() argument 250 getServiceInterface(mBinder).sendOptionsCapabilityRequest(contactUri, myCapabilities, in sendOptionsCapabilityRequest()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | CapabilityExchangeEventListener.java | 110 void onRemoteCapabilityRequest(@NonNull Uri contactUri, in onRemoteCapabilityRequest() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 415 String contactUri = mSharedPrefs.getString(String.valueOf(appWidgetId), null); in getTileFromPersistentStorage() local 416 if (supplementFromStorage && contactUri != null in getTileFromPersistentStorage() 418 if (DEBUG) Log.d(TAG, "Restore contact uri from storage: " + contactUri); in getTileFromPersistentStorage() 419 storedTile.setContactUri(Uri.parse(contactUri)); in getTileFromPersistentStorage() 513 String contactUri = null; in augmentTileFromNotificationEntryManager() local 515 contactUri = tile.getContactUri().toString(); in augmentTileFromNotificationEntryManager() 517 return augmentTileFromNotifications(tile, key, contactUri, notifications, appWidgetId); in augmentTileFromNotificationEntryManager() 548 String contactUri, in augmentTileFromNotifications() argument 557 notificationsByUri = getNotificationsByUri(mPackageManager, contactUri, notifications); in augmentTileFromNotifications() 656 String contactUri = getContactUri(sbn); in fetchMatchingUriWidgetIds() local [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsContactUceCapability.java | 239 private RcsContactUceCapability(@NonNull Uri contactUri, @CapabilityMechanism int mechanism, in RcsContactUceCapability() argument 241 mContactUri = contactUri; in RcsContactUceCapability()
|