/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...] |
/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/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 48 ArrayList<Uri> uris = new ArrayList<Uri>(); local 51 if (stream != null) uris.add(stream); 53 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); 56 if (mimeType != null && uris != null && !uris.isEmpty()) { 58 final ArrayList<Uri> finalUris = uris;
|
/frameworks/support/v13/java/android/support/v13/app/ |
ActivityCompat.java | 31 * the access permissions for content URIs associated with the {@link android.view.DragEvent}. 34 * URIs. {@code null} if no content URIs are associated with the event or if permissions could
|
/packages/apps/UnifiedEmail/unified_src/ |
README | 9 AccountCacheProvider. All subsequent uris will actually be handled by the appropriate application.
|
/frameworks/base/core/java/android/provider/ |
OpenableColumns.java | 23 * These are standard columns for openable URIs. Providers that serve openable 24 * URIs <em>must</em> support at least these columns when queried.
|
/frameworks/base/core/java/android/content/ |
ContentUris.java | 26 * Content URIs have the syntax 44 * A string that identifies the entire content provider. All the content URIs for the provider 63 * preceding path part. Most providers recognize content URIs that contain an id part 75 * <p>This supports a common convention for content URIs where an ID is
|
/frameworks/base/core/java/com/android/internal/view/ |
IDragAndDropPermissions.aidl | 22 * Interface to allow a drop receiver to request permissions for URIs passed along with ClipData
|
/packages/apps/Email/res/values/ |
accountprovider.xml | 19 <!-- List of content provider uris for -->
|
/packages/apps/UnifiedEmail/res/values/ |
accountprovider.xml | 19 <!-- List of content provider uris for -->
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailUriType.java | 21 * Defines the different URIs handled by the voicemail content provider.
|
/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/ui/ |
ActionModeHandler.java | 311 private void setNfcBeamPushUris(Uri[] uris) { 314 mNfcAdapter.setBeamPushUris(uris, mActivity); 325 final ArrayList<Uri> uris = new ArrayList<Uri>(); local 330 uris.add(manager.getContentUri(path)); 333 final int size = uris.size(); 338 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris); 342 intent.putExtra(Intent.EXTRA_STREAM, uris.get(0)); 356 final ArrayList<Uri> uris = new ArrayList<Uri>(); local 366 uris.add(manager.getContentUri(path)); 370 final int size = uris.size() [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportProcessor.java | 195 List<Uri> uris = committer.getCreatedUris(); local 197 if (uris != null && uris.size() == 1) { 198 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0)); 200 if (uris == null || uris.size() == 0) { 202 Log.w(LOG_TAG, "Created Uris is null or 0 length " +
|
/frameworks/base/core/java/android/app/job/ |
JobParameters.java | 100 * reports which URIs have triggered the job. This will be null if either no URIs have 102 * URIs is too large to report. Whether or not the number of URIs is too large, you can 115 * to retrieve the details of which URIs changed (as long as that has not exceeded the maximum
|
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/ |
BeamLargeFilesFragment.java | 81 * content:// or file:// URIs to send. 83 * Note that the system must have read access to whatever URIs are provided here. 86 * @return URIs to be sent to remote device
|
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/ |
BeamLargeFilesFragment.java | 81 * content:// or file:// URIs to send. 83 * Note that the system must have read access to whatever URIs are provided here. 86 * @return URIs to be sent to remote device
|