/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/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...] |
/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) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
QuickViewIntentBuilder.java | 85 final ArrayList<Uri> uris = new ArrayList<Uri>(); local 86 final int documentLocation = collectViewableUris(uris); 87 final Range<Integer> range = computeSiblingsRange(uris, documentLocation); 93 uri = uris.get(i); 98 "URIs", new String[] { ClipDescription.MIMETYPE_TEXT_URILIST }, 105 // The documentLocation variable contains an index in "uris". However, 106 // ClipData contains a slice of "uris", so we need to shift the location 130 private int collectViewableUris(ArrayList<Uri> uris) { 132 uris.ensureCapacity(siblingIds.length); 164 uris.add(uri) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
ObserverNodeTest.java | 41 Uri[] uris = new Uri[] { local 55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, 57 for(int i = 1; i < uris.length; i++) { 58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, 65 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); 75 Uri[] uris = new Uri[] { local 87 for(int i = 0; i < uris.length; i++) { 88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, 94 for (int i = uris.length - 1; i >=0; --i) { 95 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls) [all...] |
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
TriggerContentTest.java | 54 // Path segments for image-specific URIs in the provider. 196 private void assertUriArrayLength(int length, Uri[] uris) { 197 if (uris.length != length) { 202 sb.append(uris.length); 203 if (uris.length > 0) { 205 for (int i=0; i<uris.length; i++) { 209 sb.append(uris[i]); 216 private void assertHasUri(Uri wanted, Uri[] uris) { 217 for (int i=0; i<uris.length; i++) { 218 if (wanted.equals(uris[i])) 259 Uri[] uris = params.getTriggeredContentUris(); local 306 Uri[] uris = params.getTriggeredContentUris(); local 348 Uri[] uris = params.getTriggeredContentUris(); 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);
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
PatternMatcher.java | 54 * @param uris the uris to test the pattern against 58 public void match (Pattern pattern, URI[] uris, boolean isNullInclusive) 61 if (uris!=null) 75 matchPatterns(null, uris, isNullInclusive); 82 matchPatterns(p, uris, isNullInclusive); 89 public void matchPatterns (Pattern pattern, URI[] uris, boolean isNullInclusive) 92 for (int i=0; i<uris.length;i++) 94 URI uri = uris[i]; 100 matched(uris[i]) [all...] |