Home
last modified time | relevance | path

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

/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.java116 Uri[] uris = null; field in NfcActivityManager.NfcActivityState
143 uris = null; in destroy()
152 if (uris != null) { in toString()
153 for (Uri uri : uris) { in toString()
247 public void setNdefPushContentUri(Activity activity, Uri[] uris) { in setNdefPushContentUri() argument
251 state.uris = uris; in setNdefPushContentUri()
360 Uri[] uris; in createBeamShareData() local
370 uris = state.uris; in createBeamShareData()
381 uris = urisCallback.createBeamUris(event); in createBeamShareData()
382 if (uris != null) { in createBeamShareData()
[all …]
DNfcAdapter.java842 public void setBeamPushUris(Uri[] uris, Activity activity) { in setBeamPushUris() argument
846 if (uris != null) { in setBeamPushUris()
847 for (Uri uri : uris) { in setBeamPushUris()
858 mNfcActivityManager.setNdefPushContentUri(activity, uris); in setBeamPushUris()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java41 Uri[] uris = new Uri[] { in testUri() local
55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri()
57 for(int i = 1; i < uris.length; i++) { in testUri()
58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri()
65 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUri()
75 Uri[] uris = new Uri[] { in testUriNotNotify() local
87 for(int i = 0; i < uris.length; i++) { in testUriNotNotify()
88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify()
94 for (int i = uris.length - 1; i >=0; --i) { in testUriNotNotify()
95 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUriNotNotify()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DQuickViewIntentBuilder.java84 final ArrayList<Uri> uris = new ArrayList<Uri>(); in build() local
85 final int documentLocation = collectViewableUris(uris); in build()
86 final Range<Integer> range = computeSiblingsRange(uris, documentLocation); in build()
92 uri = uris.get(i); in build()
119 private int collectViewableUris(ArrayList<Uri> uris) { in collectViewableUris() argument
121 uris.ensureCapacity(siblingIds.length); in collectViewableUris()
153 uris.add(uri); in collectViewableUris()
156 documentLocation = uris.size() - 1; // Position in "uris", not in the model. in collectViewableUris()
164 private static Range<Integer> computeSiblingsRange(List<Uri> uris, int documentLocation) { in computeSiblingsRange() argument
170 if (documentLocation < uris.size() / 2) { in computeSiblingsRange()
[all …]
DDocumentsActivity.java344 final Uri[] uris = new Uri[size]; in onDocumentsPicked() local
346 uris[i] = docs.get(i).derivedUri; in onDocumentsPicked()
348 new ExistingFinishTask(this, uris) in onDocumentsPicked()
391 void onTaskFinished(Uri... uris) { in onTaskFinished() argument
392 if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); in onTaskFinished()
395 if (uris.length == 1) { in onTaskFinished()
396 intent.setData(uris[0]); in onTaskFinished()
397 } else if (uris.length > 1) { in onTaskFinished()
399 null, mState.acceptMimes, new ClipData.Item(uris[0])); in onTaskFinished()
400 for (int i = 1; i < uris.length; i++) { in onTaskFinished()
[all …]
DFilesActivity.java435 void onTaskFinished(Uri... uris) { in onTaskFinished() argument
436 if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); in onTaskFinished()
439 if (uris.length == 1) { in onTaskFinished()
440 intent.setData(uris[0]); in onTaskFinished()
441 } else if (uris.length > 1) { in onTaskFinished()
443 null, mState.acceptMimes, new ClipData.Item(uris[0])); in onTaskFinished()
444 for (int i = 1; i < uris.length; i++) { in onTaskFinished()
445 clipData.addItem(new ClipData.Item(uris[i])); in onTaskFinished()
DBaseActivity.java98 abstract void onTaskFinished(Uri... uris); in onTaskFinished() argument
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsConnectionStateListener.java83 public void registrationAssociatedUriChanged(Uri[] uris) { in registrationAssociatedUriChanged() argument
DImsManager.java1383 public void registrationAssociatedUriChanged(Uri[] uris) { in registrationAssociatedUriChanged() argument
1387 mListener.registrationAssociatedUriChanged(uris); in registrationAssociatedUriChanged()
/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/com/android/ims/internal/
DIImsRegistrationListener.aidl109 void registrationAssociatedUriChanged(in Uri[] uris); in registrationAssociatedUriChanged() argument
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java265 final JobInfo.TriggerContentUri[] uris = jobStatus.getJob().getTriggerContentUris(); in JobInstance() local
266 if (uris != null) { in JobInstance()
267 for (JobInfo.TriggerContentUri uri : uris) { in JobInstance()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java122 final Uri[] uris = new Uri[permissions.size()]; in onCreate() local
124 uris[i] = permissions.get(i).getUri(); in onCreate()
126 mDatabase.cleanDatabase(uris); in onCreate()
/frameworks/base/docs/html/training/tv/tif/
Dchannel.jd199 protected Void doInBackground(Uri... uris) {
201 fetchUri(uris[0]);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java847 public String getHtml(ArrayList<Uri> uris, boolean escapeFlag) { in getHtml() argument
848 mConverter.getUriArray(uris, getText()); in getHtml()
1906 public void getUriArray(ArrayList<Uri> uris, Editable text) { in getUriArray() argument
1907 uris.clear(); in getUriArray()
1920 uris.add(Uri.parse(images[j].getSource())); in getUriArray()
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java463 protected Bitmap doInBackground(Uri... uris) { in printBitmap()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java760 final ArrayList<Uri> uris = new ArrayList<>(); in shareDocuments() local
763 uris.add(doc.derivedUri); in shareDocuments()
767 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris); in shareDocuments()