Home
last modified time | relevance | path

Searched refs:uris (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/java/android/nfc/
DBeamShareData.java17 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);
DNfcActivityManager.java117 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/
DObserverNodeTest.java69 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/
DContentObserver.java184 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument
186 for (Uri uri : uris) { in onChange()
192 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument
200 onChange(selfChange, uris, userId); in onChange()
202 onChange(selfChange, uris, flags); in onChange()
270 public final void dispatchChange(boolean selfChange, @NonNull Collection<Uri> uris, in dispatchChange() argument
272 dispatchChange(selfChange, uris, flags, UserHandle.getCallingUserId()); in dispatchChange()
276 public final void dispatchChange(boolean selfChange, @NonNull Collection<Uri> uris, in dispatchChange() argument
279 onChange(selfChange, uris, flags, userId); in dispatchChange()
282 onChange(selfChange, uris, flags, userId); in dispatchChange()
[all …]
DCursor.java452 default void setNotificationUris(@NonNull ContentResolver cr, @NonNull List<Uri> uris) { in setNotificationUris() argument
453 setNotificationUri(cr, uris.get(0)); in setNotificationUris()
DCursorWrapper.java246 public void setNotificationUris(ContentResolver cr, List<Uri> uris) { in setNotificationUris() argument
247 mCursor.setNotificationUris(cr, uris); in setNotificationUris()
DCursorToBulkCursorAdaptor.java86 public void onChange(boolean selfChange, @NonNull Collection<Uri> uris, in onChange() argument
93 uris.forEach(asList::add); in onChange()
/frameworks/base/services/core/java/com/android/server/uri/
DNeededUriGrants.java29 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsRegistrationCallbackHelper.java59 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/
DImsConnectionStateListener.java58 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/android/telephony/ims/
DImsRegistrationTests.java159 Uri[] uris = new Uri[1]; in testSubscriberUrisChanged() local
160 uris[0] = Uri.fromParts("tel", "5555551212", null); in testSubscriberUrisChanged()
162 mRegistration.onSubscriberAssociatedUriChanged(uris); in testSubscriberUrisChanged()
164 verify(mCallback).onSubscriberAssociatedUriChanged(eq(uris)); in testSubscriberUrisChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRegistrationCallbackHelperTest.java172 Uri[] uris = new Uri[0]; in testSubscriberAssociatedUriChanged() local
173 callback.onSubscriberAssociatedUriChanged(uris); in testSubscriberAssociatedUriChanged()
175 verify(mMockRegistrationUpdate).handleImsSubscriberAssociatedUriChanged(uris); in testSubscriberAssociatedUriChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java99 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_sameUser()
117 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_differentUser()
148 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_public_differentUser()
176 assertEquals(asSet(new GrantUri(USER_PRIMARY, URI_FORCE, 0)), needed.uris); in testNeeded_force()
263 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle()
270 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, FLAG_PREFIX)), needed.uris); in testNeeded_complex_middle()
277 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle()
/frameworks/base/telephony/java/android/telephony/ims/
DRegistrationManager.java155 public void onSubscriberAssociatedUriChanged(Uri[] uris) { in onSubscriberAssociatedUriChanged() argument
160 mExecutor.execute(() -> mLocalCallback.onSubscriberAssociatedUriChanged(uris)); in onSubscriberAssociatedUriChanged()
226 public void onSubscriberAssociatedUriChanged(@Nullable Uri[] uris) { in onSubscriberAssociatedUriChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsRegistrationCompatAdapter.java96 public void registrationAssociatedUriChanged(Uri[] uris) throws RemoteException {
97 onSubscriberAssociatedUriChanged(uris);
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java598 ArrayList<Uri> uris = new ArrayList<>(); in oneVisibleImagePreview() local
599 uris.add(uri); in oneVisibleImagePreview()
601 Intent sendIntent = createSendUriIntentWithPreview(uris); in oneVisibleImagePreview()
623 ArrayList<Uri> uris = new ArrayList<>(); in twoVisibleImagePreview() local
624 uris.add(uri); in twoVisibleImagePreview()
625 uris.add(uri); in twoVisibleImagePreview()
627 Intent sendIntent = createSendUriIntentWithPreview(uris); in twoVisibleImagePreview()
649 ArrayList<Uri> uris = new ArrayList<>(); in threeOrMoreVisibleImagePreview() local
650 uris.add(uri); in threeOrMoreVisibleImagePreview()
651 uris.add(uri); in threeOrMoreVisibleImagePreview()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageCache.java84 protected Drawable doInBackground(Uri... uris) { in doInBackground() argument
86 Uri target = uris[0]; in doInBackground()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java81 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/aidl/
DIImsRegistrationCallback.aidl35 void onSubscriberAssociatedUriChanged(in Uri[] uris); in onSubscriberAssociatedUriChanged() argument
DIImsRcsFeature.aidl44 oneway void requestCapabilities(in List<Uri> uris, int operationToken); in requestCapabilities() argument
/frameworks/wilhelm/tests/sandbox/
Dmultithread.c103 const char * const uris[4] = {"wav/frog.wav", "wav/frog.wav", "wav/frog.wav", "wav/frog.wav"}; variable
147 ta->mURI = (SLchar *) uris[(r >> 1) & 3]; in main()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsRegistrationImplBase.java215 public final void onSubscriberAssociatedUriChanged(Uri[] uris) { in onSubscriberAssociatedUriChanged() argument
218 c.onSubscriberAssociatedUriChanged(uris); in onSubscriberAssociatedUriChanged()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsRegistrationListener.aidl116 void registrationAssociatedUriChanged(in Uri[] uris); in registrationAssociatedUriChanged() argument
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java198 public void onChange(boolean selfChange, Collection<Uri> uris, int flags, int userId) { in onChange() argument
199 if (uris.contains(mExpectedUri) && mExpectedUserId == userId) { in onChange()
/frameworks/base/core/java/android/os/
DVibrationEffect.java341 String[] uris = context.getResources().getStringArray( in get() local
345 if (uris.length == 0) { in get()
358 for (int i = 0; i < uris.length && i < RINGTONES.length; i++) { in get()
359 if (uris[i] == null) { in get()
362 Uri mappedUri = cr.uncanonicalize(Uri.parse(uris[i])); in get()

12