HomeSort by relevance Sort by last modified time
    Searched refs:uris (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /external/apache-http/src/org/apache/http/impl/client/
RedirectLocations.java 39 * A collection of URIs that were used as redirects.
48 private final Set<URI> uris; field in class:RedirectLocations
52 this.uris = new HashSet<URI>();
59 return this.uris.contains(uri);
66 this.uris.add(uri);
73 return this.uris.remove(uri);
  /packages/apps/Nfc/src/com/android/nfc/beam/
BeamTransferRecord.java 30 public Uri[] uris; field in class:BeamTransferRecord
38 boolean remoteActivating, Uri[] uris) {
42 this.uris = uris;
49 Uri[] uris) {
50 return new BeamTransferRecord(remoteDevice, remoteActivating, uris);
66 Uri[] uris = null;
68 uris = new Uri[numUris];
69 in.readTypedArray(uris, Uri.CREATOR);
73 remoteActivating, uris);
    [all...]
  /frameworks/base/core/java/android/nfc/
BeamShareData.java 10 * Allows bundling NdefMessage, Uris and flags in a single
17 public final Uri[] uris; field in class:BeamShareData
21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) {
23 this.uris = uris;
35 int urisLength = (uris != null) ? uris.length : 0;
39 dest.writeTypedArray(uris, 0);
49 Uri[] uris = null;
53 uris = new Uri[numUris]
    [all...]
NfcActivityManager.java 116 Uri[] uris = null; field in class:NfcActivityManager.NfcActivityState
143 uris = null;
152 if (uris != null) {
153 for (Uri uri : uris) {
247 public void setNdefPushContentUri(Activity activity, Uri[] uris) {
251 state.uris = uris;
360 Uri[] uris; local
370 uris = state.uris;
    [all...]
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
UrisSupplierTest.java 76 UrisSupplier uris = createWithShortList(); local
78 assertEquals(SHORT_URI_LIST.size(), uris.getItemCount());
83 UrisSupplier uris = createWithLongList(); local
85 assertEquals(LONG_URI_LIST.size(), uris.getItemCount());
90 UrisSupplier uris = createWithShortList(); local
92 assertIterableEquals(SHORT_URI_LIST, uris.getUris(mStorage));
97 UrisSupplier uris = createWithLongList(); local
99 assertIterableEquals(LONG_URI_LIST, uris.getUris(mStorage));
104 UrisSupplier uris = createWithShortList(); local
106 uris.dispose()
111 UrisSupplier uris = createWithLongList(); local
121 UrisSupplier uris = local
142 List<Uri> uris = new ArrayList<>(count); local
    [all...]
ClipStorageTest.java 87 List<Uri> uris = new ArrayList<>(); local
92 uris.add(uri);
95 assertEquals(TEST_URIS, uris);
115 List<Uri> uris = new ArrayList<>(); local
126 uris.add(iter.next());
134 assertEquals(TEST_URIS, uris);
146 private void writeAll(int slot, List<Uri> uris) {
147 mStorage.persistUris(uris, slot);
152 List<Uri> uris = new ArrayList<>(values.length); local
154 uris.add(i, Uri.parse(values[i]))
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
ObserverNodeTest.java 47 Uri[] uris = new Uri[] { local
61 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root,
63 for(int i = 1; i < uris.length; i++) {
64 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root,
71 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls);
81 Uri[] uris = new Uri[] { local
93 for(int i = 0; i < uris.length; i++) {
94 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root,
100 for (int i = uris.length - 1; i >=0; --i) {
101 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
URITest.java 28 private URI[] uris; field in class:URITest
31 if (uris != null) {
32 return uris;
35 uris = new URI[] {
81 return uris;
617 // test URIs with host names with different casing
623 // test URIs with one undefined component
629 // test URIs with one undefined component
726 // test URIs with empty string authority
732 // test URIs with port numbe
749 URI[] uris = getUris(); local
827 URI[] uris = getUris(); local
851 URI[] uris = getUris(); local
872 URI[] uris = getUris(); local
897 URI[] uris = getUris(); local
942 URI[] uris = getUris(); local
966 URI[] uris = getUris(); local
995 URI[] uris = getUris(); local
1021 URI[] uris = getUris(); local
1047 URI[] uris = getUris(); local
1075 URI[] uris = getUris(); local
1106 URI[] uris = getUris(); local
1133 URI[] uris = getUris(); local
1154 URI[] uris = getUris(); local
1187 URI[] uris = getUris(); local
1433 URI[] uris = null; local
1723 URI[] uris = getUris(); local
1774 URI[] uris = getUris(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ChangeNotifier.java 36 public ChangeNotifier(MediaSet set, Uri[] uris, GalleryApp application) {
38 for (int i = 0; i < uris.length; i++) {
39 application.getDataManager().registerChangeNotifier(uris[i], this);
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
RuntimeDocumentClipper.java 102 final List<Uri> uris = new ArrayList<>(selection.size()); local
104 uris.add(uriBuilder.apply(id));
106 return getClipDataForDocuments(uris, opType);
111 List<Uri> uris, @OpType int opType, DocumentInfo parent) {
112 ClipData clipData = getClipDataForDocuments(uris, opType);
119 public ClipData getClipDataForDocuments(List<Uri> uris, @OpType int opType) {
120 return (uris.size() > Shared.MAX_DOCS_IN_INTENT)
121 ? createJumboClipData(uris, opType)
122 : createStandardClipData(uris, opType);
128 private ClipData createStandardClipData(List<Uri> uris, @OpType int opType)
277 UrisSupplier uris = UrisSupplier.create(clipData, mClipStore); local
    [all...]
ClipStore.java 44 * Writes the uris to the next available slot, returning the tag for that slot.
46 * @return int the tag used to store the URIs.
48 int persistUris(Iterable<Uri> uris);
UrisSupplier.java 73 UrisSupplier uris; local
76 uris = new JumboUrisSupplier(clipData, storage);
78 uris = new StandardUrisSupplier(clipData);
81 return uris;
88 List<Uri> uris = new ArrayList<>(selection.size()); local
90 uris.add(uriBuilder.apply(id));
93 return create(uris, storage);
97 static UrisSupplier create(List<Uri> uris, ClipStore storage) throws IOException {
98 UrisSupplier urisSupplier = (uris.size() > Shared.MAX_DOCS_IN_INTENT)
99 ? new JumboUrisSupplier(uris, storage
    [all...]
  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
TriggerContentTest.java 58 // Path segments for image-specific URIs in the provider.
200 private void assertUriArrayLength(int length, Uri[] uris) {
201 if (uris.length != length) {
206 sb.append(uris.length);
207 if (uris.length > 0) {
209 for (int i=0; i<uris.length; i++) {
213 sb.append(uris[i]);
220 private void assertHasUri(Uri wanted, Uri[] uris) {
221 for (int i=0; i<uris.length; i++) {
222 if (wanted.equals(uris[i]))
263 Uri[] uris = params.getTriggeredContentUris(); local
310 Uri[] uris = params.getTriggeredContentUris(); local
352 Uri[] uris = params.getTriggeredContentUris(); local
418 Uri[] uris = params.getTriggeredContentUris(); local
    [all...]
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/
RTCICEServer+JSON.m 15 static NSString const *kRTCICEServerUrisKey = @"uris";
35 NSArray *uris = dictionary[kRTCICEServerUrisKey];
36 NSMutableArray *servers = [NSMutableArray arrayWithCapacity:uris.count];
37 for (NSString *uri in uris) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppHandoverReceiver.java 48 ArrayList<Uri> uris = new ArrayList<Uri>(); local
52 uris.add(stream);
55 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
58 if (mimeType != null && uris != null && !uris.isEmpty()) {
60 final ArrayList<Uri> finalUris = uris;
  /packages/apps/DocumentsUI/src/com/android/documentsui/
LoadDocStackTask.java 62 public @Nullable DocumentStack run(Uri... uris) {
63 if (mDocs.isDocumentUri(uris[0])) {
65 if (DocumentsContract.isTreeUri(uris[0])) {
68 final String docId = DocumentsContract.getDocumentId(uris[0]);
69 docUri = DocumentsContract.buildDocumentUri(uris[0].getAuthority(), docId);
71 docUri = uris[0];
  /frameworks/base/telephony/java/android/telephony/ims/aidl/
IImsRegistrationCallback.aidl 35 void onSubscriberAssociatedUriChanged(in Uri[] uris);
  /packages/apps/DocumentsUI/src/com/android/documentsui/files/
QuickViewIntentBuilder.java 112 final ArrayList<Uri> uris = new ArrayList<>(); local
113 final int documentLocation = collectViewableUris(uris);
114 final Range<Integer> range = computeSiblingsRange(uris, documentLocation);
120 uri = uris.get(i);
125 "URIs", new String[] { ClipDescription.MIMETYPE_TEXT_URILIST },
132 // The documentLocation variable contains an index in "uris". However,
133 // ClipData contains a slice of "uris", so we need to shift the location
167 private int collectViewableUris(ArrayList<Uri> uris) {
169 uris.ensureCapacity(siblingIds.length);
201 uris.add(uri)
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/services/
ResolvedResourcesJob.java 39 * Abstract job that resolves all resource URIs into mResolvedDocs. This provides
66 Iterable<Uri> uris = mResourceUris.getUris(appContext); local
67 for (Uri uri : uris) {
79 Log.e(TAG, "Failed to read list of target resource Uris. Cannot continue.", e);
121 Iterable<Uri> uris; local
123 uris = mResourceUris.getUris(appContext);
125 Log.e(TAG, "Failed to read list of target resource Uris. Cannot continue.", e);
131 for (Uri uri : uris) {
  /frameworks/base/telephony/java/com/android/ims/internal/
IImsRegistrationListener.aidl 107 * Notifies the application when the list of URIs associated with IMS client is updated.
109 void registrationAssociatedUriChanged(in Uri[] uris);
  /packages/apps/DocumentsUI/src/com/android/documentsui/ui/
MessageBuilder.java 84 List<Uri> uris) {
123 if (uris != null) {
124 for (Uri uri : uris) {
131 final int totalItems = docs.size() + (uris != null ? uris.size() : 0);
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestDocumentClipper.java 58 public ClipData getClipDataForDocuments(List<Uri> uris,
64 public ClipData getClipDataForDocuments(List<Uri> uris,
76 List<Uri> uris = new ArrayList<>(selection.size()); local
78 uris.add(uriBuilder.apply(id));
81 clipForCut.accept(uris);
  /frameworks/opt/net/ims/src/java/com/android/ims/
ImsConnectionStateListener.java 58 public void onSubscriberAssociatedUriChanged(Uri[] uris) {
59 registrationAssociatedUriChanged(uris);
182 public void registrationAssociatedUriChanged(Uri[] uris) {
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
TestJobListener.java 92 public void assertUrisFailed(List<Uri> uris) {
97 assertEquals(finished.failedDocs.size(), uris.size());
98 for (Uri uri : uris) {
  /development/samples/BusinessCard/src/com/example/android/businesscard/
BusinessCardActivity.java 102 protected ContactInfo doInBackground(Uri... uris) {
103 return mContactAccessor.loadContact(getContentResolver(), uris[0]);

Completed in 801 milliseconds

1 2 3 4 5 6 7