/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/ |
D | DeviceCapabilityInfoTest.java | 59 Uri[] uris = new Uri[2]; in testGetImsAssociatedUriWithoutPreferTelUri() local 60 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri() 61 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri() 65 deviceCapInfo.updateRcsAssociatedUri(uris); in testGetImsAssociatedUriWithoutPreferTelUri() 78 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri() 79 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri() 81 deviceCapInfo.updateRcsAssociatedUri(uris); in testGetImsAssociatedUriWithoutPreferTelUri() 96 Uri[] uris = new Uri[2]; in testGetImsAssociatedUriWithPreferTelUri() local 97 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri() 98 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | BeamShareData.java | 17 public final Uri[] uris; field in BeamShareData 21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData() argument 23 this.uris = uris; in BeamShareData() 35 int urisLength = (uris != null) ? uris.length : 0; in writeToParcel() 39 dest.writeTypedArray(uris, 0); in writeToParcel() 49 Uri[] uris = null; 53 uris = new Uri[numUris]; 54 source.readTypedArray(uris, Uri.CREATOR); 59 return new BeamShareData(msg, uris, userHandle, flags);
|
D | NfcActivityManager.java | 117 Uri[] uris = null; field in NfcActivityManager.NfcActivityState 144 uris = null; in destroy() 153 if (uris != null) { in toString() 154 for (Uri uri : uris) { in toString() 248 public void setNdefPushContentUri(Activity activity, Uri[] uris) { in setNdefPushContentUri() argument 252 state.uris = uris; in setNdefPushContentUri() 361 Uri[] uris; in createBeamShareData() local 371 uris = state.uris; in createBeamShareData() 382 uris = urisCallback.createBeamUris(event); in createBeamShareData() 383 if (uris != null) { in createBeamShareData() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 69 Uri[] uris = new Uri[] { in testUri() local 83 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri() 85 for(int i = 1; i < uris.length; i++) { in testUri() 86 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri() 92 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUri() 103 Uri[] uris = new Uri[] { in testUriNotNotify() local 115 for(int i = 0; i < uris.length; i++) { in testUriNotNotify() 116 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify() 120 for (int i = uris.length - 1; i >=0; --i) { in testUriNotNotify() 122 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, collector); in testUriNotNotify() [all …]
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 185 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument 187 for (Uri uri : uris) { in onChange() 208 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument 210 onChange(selfChange, uris, user.getIdentifier()); in onChange() 214 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument 222 onChange(selfChange, uris, flags, UserHandle.of(userId)); in onChange() 224 onChange(selfChange, uris, flags); in onChange() 292 public final void dispatchChange(boolean selfChange, @NonNull Collection<Uri> uris, in dispatchChange() argument 294 dispatchChange(selfChange, uris, flags, UserHandle.getCallingUserId()); in dispatchChange() 298 public final void dispatchChange(boolean selfChange, @NonNull Collection<Uri> uris, in dispatchChange() argument [all …]
|
D | Cursor.java | 458 default void setNotificationUris(@NonNull ContentResolver cr, @NonNull List<Uri> uris) { in setNotificationUris() argument 459 setNotificationUri(cr, uris.get(0)); in setNotificationUris()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ActiveUnlockConfig.kt | 140 private fun registerUri(uris: Collection<Uri>) { in registerUri() 141 for (uri in uris) { in registerUri() 152 uris: Collection<Uri>, in onChange() 160 if (selfChange || uris.contains(wakeUri)) { in onChange() 165 if (selfChange || uris.contains(unlockIntentUri)) { in onChange() 170 if (selfChange || uris.contains(bioFailUri)) { in onChange() 175 if (selfChange || uris.contains(faceErrorsUri)) { in onChange() 183 if (selfChange || uris.contains(faceAcquireInfoUri)) { in onChange() 191 if (selfChange || uris.contains(unlockIntentWhenBiometricEnrolledUri)) { in onChange() 200 if (selfChange || uris.contains(wakeupsConsideredUnlockIntentsUri)) { in onChange() [all …]
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | NeededUriGrants.java | 29 final ArraySet<GrantUri> uris; field in NeededUriGrants 35 this.uris = new ArraySet<>(); in NeededUriGrants() 44 final int N = uris.size(); in dumpDebug() 46 uris.valueAt(i).dumpDebug(proto, NeededUriGrantsProto.GRANTS); in dumpDebug()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelDialog.java | 214 final List<Uri> uris = new ArrayList<>(); in getSlices() local 215 uris.add(REMOTE_MEDIA_SLICE_URI); in getSlices() 216 uris.add(VOLUME_MEDIA_URI); in getSlices() 220 uris.add(controlUri); in getSlices() 222 uris.add(MEDIA_OUTPUT_INDICATOR_SLICE_URI); in getSlices() 223 uris.add(VOLUME_CALL_URI); in getSlices() 224 uris.add(VOLUME_RINGER_URI); in getSlices() 225 uris.add(VOLUME_ALARM_URI); in getSlices() 226 return uris; in getSlices()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsRegistrationImplBase.java | 427 public final void onSubscriberAssociatedUriChanged(Uri[] uris) { in onSubscriberAssociatedUriChanged() argument 429 mUris = ArrayUtils.cloneOrNull(uris); in onSubscriberAssociatedUriChanged() 432 mCallbacks.broadcastAction((c) -> onSubscriberAssociatedUriChanged(c, uris)); in onSubscriberAssociatedUriChanged() 435 private void onSubscriberAssociatedUriChanged(IImsRegistrationCallback callback, Uri[] uris) { in onSubscriberAssociatedUriChanged() argument 437 callback.onSubscriberAssociatedUriChanged(uris); in onSubscriberAssociatedUriChanged() 478 Uri[] uris; in updateNewCallbackWithState() local 484 uris = mUris; in updateNewCallbackWithState() 505 onSubscriberAssociatedUriChanged(c, uris); in updateNewCallbackWithState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriGrantsManagerServiceTest.java | 100 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_sameUser() 118 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_differentUser() 149 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_public_differentUser() 177 assertEquals(asSet(new GrantUri(USER_PRIMARY, URI_FORCE, 0)), needed.uris); in testNeeded_force() 264 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle() 271 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, FLAG_PREFIX)), needed.uris); in testNeeded_complex_middle() 278 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle() 300 if (nug != null && nug.uris != null) { in testNeeded_mixedPersistable() 301 for (GrantUri gu : nug.uris) { in testNeeded_mixedPersistable() 313 if (nug != null && nug.uris != null) { in testNeeded_mixedPersistable() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsRegistrationCallbackHelper.java | 59 void handleImsSubscriberAssociatedUriChanged(Uri[] uris); in handleImsSubscriberAssociatedUriChanged() argument 87 public void onSubscriberAssociatedUriChanged(Uri[] uris) { 88 mImsRegistrationUpdate.handleImsSubscriberAssociatedUriChanged(uris);
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabController.java | 35 @NonNull List<EabCapabilityResult> getCapabilities(@NonNull List<Uri> uris); in getCapabilities() argument 42 @NonNull List<EabCapabilityResult> getCapabilitiesIncludingExpired(@NonNull List<Uri> uris); in getCapabilitiesIncludingExpired() argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsConnectionStateListener.java | 58 public void onSubscriberAssociatedUriChanged(Uri[] uris) { in onSubscriberAssociatedUriChanged() argument 59 registrationAssociatedUriChanged(uris); in onSubscriberAssociatedUriChanged() 182 public void registrationAssociatedUriChanged(Uri[] uris) { in registrationAssociatedUriChanged() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsRegistrationCallbackHelperTest.java | 172 Uri[] uris = new Uri[0]; in testSubscriberAssociatedUriChanged() local 173 callback.onSubscriberAssociatedUriChanged(uris); in testSubscriberAssociatedUriChanged() 175 verify(mMockRegistrationUpdate).handleImsSubscriberAssociatedUriChanged(uris); in testSubscriberAssociatedUriChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedControllerImpl.kt | 89 uris: MutableCollection<Uri>, in onChange() 93 val updateDeviceProvisioned = deviceProvisionedUri in uris in onChange() 94 val updateFrp = frpActiveUri in uris in onChange() 95 val updateUser = if (userSetupUri in uris) userId else NO_USERS in onChange()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | DeviceCapabilityListener.java | 487 public void onSubscriberAssociatedUriChanged(Uri[] uris) { 490 handleRcsSubscriberAssociatedUriChanged(uris, true); 518 public void onSubscriberAssociatedUriChanged(Uri[] uris) { 521 handleMmTelSubscriberAssociatedUriChanged(uris, true); 613 private void handleMmTelSubscriberAssociatedUriChanged(Uri[] uris, boolean triggerPublish) { in handleMmTelSubscriberAssociatedUriChanged() argument 615 mCapabilityInfo.updateMmTelAssociatedUri(uris); in handleMmTelSubscriberAssociatedUriChanged() 662 private void handleRcsSubscriberAssociatedUriChanged(Uri[] uris, boolean triggerPublish) { in handleRcsSubscriberAssociatedUriChanged() argument 664 mCapabilityInfo.updateRcsAssociatedUri(uris); in handleRcsSubscriberAssociatedUriChanged()
|
D | DeviceCapabilityInfo.java | 181 public synchronized void updateMmTelAssociatedUri(Uri[] uris) { in updateMmTelAssociatedUri() argument 183 if (uris != null) { in updateMmTelAssociatedUri() 184 mMmtelAssociatedUris = Arrays.stream(uris) in updateMmTelAssociatedUri() 250 public synchronized void updateRcsAssociatedUri(Uri[] uris) { in updateRcsAssociatedUri() argument 252 if (uris != null) { in updateRcsAssociatedUri() 253 mRcsAssociatedUris = Arrays.stream(uris) in updateRcsAssociatedUri()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsRegistrationCompatAdapter.java | 98 public void registrationAssociatedUriChanged(Uri[] uris) throws RemoteException { 99 onSubscriberAssociatedUriChanged(uris);
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsRegistrationTests.java | 167 Uri[] uris = new Uri[1]; in testSubscriberUrisChanged() local 168 uris[0] = Uri.fromParts("tel", "5555551212", null); in testSubscriberUrisChanged() 170 mRegistration.onSubscriberAssociatedUriChanged(uris); in testSubscriberUrisChanged() 172 verify(mCallback).onSubscriberAssociatedUriChanged(eq(uris)); in testSubscriberUrisChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInlineImageCache.java | 96 protected Drawable doInBackground(Uri... uris) { in doInBackground() argument 97 Uri target = uris[0]; in doInBackground()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationMessagingUtil.java | 81 public void onChange(boolean selfChange, Collection<Uri> uris, int flags, int userId) { 82 if (uris.contains(Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING))) {
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RegistrationManager.java | 196 public void onSubscriberAssociatedUriChanged(Uri[] uris) { in onSubscriberAssociatedUriChanged() argument 201 mExecutor.execute(() -> mLocalCallback.onSubscriberAssociatedUriChanged(uris)); in onSubscriberAssociatedUriChanged() 282 public void onSubscriberAssociatedUriChanged(@Nullable Uri[] uris) { in onSubscriberAssociatedUriChanged() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityTest.java | 929 ArrayList<Uri> uris = new ArrayList<>(); in oneVisibleImagePreview() local 930 uris.add(uri); in oneVisibleImagePreview() 932 Intent sendIntent = createSendUriIntentWithPreview(uris); in oneVisibleImagePreview() 965 ArrayList<Uri> uris = new ArrayList<>(); in twoVisibleImagePreview() local 966 uris.add(uri); in twoVisibleImagePreview() 967 uris.add(uri); in twoVisibleImagePreview() 969 Intent sendIntent = createSendUriIntentWithPreview(uris); in twoVisibleImagePreview() 1002 ArrayList<Uri> uris = new ArrayList<>(); in threeOrMoreVisibleImagePreview() local 1003 uris.add(uri); in threeOrMoreVisibleImagePreview() 1004 uris.add(uri); in threeOrMoreVisibleImagePreview() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IImsRegistrationCallback.aidl | 36 void onSubscriberAssociatedUriChanged(in Uri[] uris); in onSubscriberAssociatedUriChanged() argument
|