/external/apache-http/src/org/apache/http/impl/client/ |
RedirectLocations.java | 39 * A collection of URIs that were used as redirects. 43 private final Set<URI> uris; field in class:RedirectLocations 47 this.uris = new HashSet<URI>(); 54 return this.uris.contains(uri); 61 this.uris.add(uri); 68 return this.uris.remove(uri);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
PendingHandoverTransfer.java | 29 public Uri[] uris; field in class:PendingHandoverTransfer 32 boolean remoteActivating, Uri[] uris) { 37 this.uris = uris; 48 Uri[] uris = null; 50 uris = new Uri[numUris]; 51 in.readTypedArray(uris, Uri.CREATOR); 54 remoteActivating, uris); 74 dest.writeInt(uris != null ? uris.length : 0) [all...] |
BluetoothOppHandover.java | 62 public BluetoothOppHandover(Context context, BluetoothDevice device, Uri[] uris, 66 mUris = uris; 128 ArrayList<Uri> uris = new ArrayList<Uri>(Arrays.asList(mUris)); local 130 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
|
/frameworks/base/core/java/android/nfc/ |
BeamShareData.java | 9 * Allows bundling NdefMessage, Uris and flags in a single 16 public final Uri[] uris; field in class:BeamShareData 19 public BeamShareData(NdefMessage msg, Uri[] uris, int flags) { 21 this.uris = uris; 32 int urisLength = (uris != null) ? uris.length : 0; 36 dest.writeTypedArray(uris, 0); 45 Uri[] uris = null; 49 uris = new Uri[numUris] [all...] |
NfcActivityManager.java | 114 Uri[] uris = null; field in class:NfcActivityManager.NfcActivityState 141 uris = null; 150 if (uris != null) { 151 for (Uri uri : uris) { 246 public void setNdefPushContentUri(Activity activity, Uri[] uris) { 250 state.uris = uris; 330 Uri[] uris; local 339 uris = state.uris; [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, 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, myUserHandle, calls) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 58 ArrayList<Uri> uris = new ArrayList<Uri>(); local 60 uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); 61 if (mimeType != null && uris != null) { 63 uris, true);
|
BluetoothOppLauncherActivity.java | 143 final ArrayList<Uri> uris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); local 144 if (mimeType != null && uris != null) { 145 if (V) Log.v(TAG, "Get ACTION_SHARE_MULTIPLE intent: uris " + uris + "\n Type= " 150 .saveSendingFileInfo(mimeType,uris, false); 160 Log.e(TAG, "type is null; or sending files URIs are null");
|
/packages/apps/Mms/src/com/android/mms/data/ |
ContactList.java | 44 * Returns a ContactList for the corresponding recipient URIs passed in. This method will 45 * always block to query provider. The given URIs could be the phone data URIs or tel URI 48 * @param uris phone URI to create the ContactList 50 public static ContactList blockingGetByUris(Parcelable[] uris) { 52 if (uris != null && uris.length > 0) { 53 for (Parcelable p : uris) { 60 final List<Contact> contacts = Contact.getByPhoneUris(uris);
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
CtsTestTest.java | 182 Collection<String> uris = new ArrayList<String>(1); local 183 uris.add(PACKAGE_NAME); 184 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris); 199 Collection<String> uris = new ArrayList<String>(1); local 200 uris.add(PACKAGE_NAME); 201 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris); 220 Collection<String> uris = new ArrayList<String>(1); local 221 uris.add(PACKAGE_NAME); 222 EasyMock.expect(mMockPlan.getTestUris()).andReturn(uris);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
BusinessCardActivity.java | 102 protected ContactInfo doInBackground(Uri... uris) { 103 return mContactAccessor.loadContact(getContentResolver(), uris[0]);
|
/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...] |
/external/chromium_org/ui/base/dragdrop/ |
gtk_dnd_util.cc | 236 gchar** uris = gtk_selection_data_get_uris(selection_data); local 237 if (!uris) 240 for (size_t i = 0; uris[i] != NULL; ++i) { 241 GURL url(uris[i]); 246 g_strfreev(uris);
|
/developers/build/prebuilts/gradle/StorageClient/StorageClientSample/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 231 protected Bitmap doInBackground(Uri... uris) { 232 dumpImageMetaData(uris[0]); 233 return getBitmapFromUri(uris[0]);
|
/developers/samples/android/content/documentsUi/StorageClient/StorageClientSample/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 231 protected Bitmap doInBackground(Uri... uris) { 232 dumpImageMetaData(uris[0]); 233 return getBitmapFromUri(uris[0]);
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
StorageClientFragment.java | 231 protected Bitmap doInBackground(Uri... uris) { 232 dumpImageMetaData(uris[0]); 233 return getBitmapFromUri(uris[0]);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
ProviderBookmarksUriTest.java | 112 Uri[] uris = new Uri[2]; local 114 for (int i = 0; i < uris.length; i++) { 115 uris[i] = addBookmark(url[i], title[i], lastUpdateTime[i], createdTime[i], visits[i], 117 assertNotNull(uris[i]); 246 Uri[] uris = new Uri[2]; local 248 for (int i = 0; i < uris.length; i++) { 249 uris[i] = addBookmark(url[i], title[i], lastUpdateTime[i], createdTime[i], visits[i], 251 assertNotNull(uris[i]); 259 Cursor cursor = getContentResolver().query(uris[0], null, null, null, null); 262 cursor = getContentResolver().query(uris[1], null, null, null, null) [all...] |
/external/chromium/chrome/browser/tab_contents/ |
web_drag_dest_gtk.cc | 163 gchar** uris = gtk_selection_data_get_uris(data); local 164 if (uris) { 166 for (gchar** uri_iter = uris; *uri_iter; uri_iter++) { 185 g_strfreev(uris);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportProcessor.java | 195 List<Uri> uris = committer.getCreatedUris(); local 197 if (uris != null && uris.size() > 0) { 199 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0)); 203 "Created Uris is null or 0 length " +
|
/frameworks/wilhelm/tests/sandbox/ |
multithread.c | 102 //const char * const uris[4] = {"wav/frog.wav", "wav/bach.wav", "wav/8days.wav", "wav/help16.wav"}; 103 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];
|
/external/chromium_org/content/browser/web_contents/ |
web_drag_dest_gtk.cc | 194 gchar** uris = gtk_selection_data_get_uris(data); local 195 if (uris) { 197 for (gchar** uri_iter = uris; *uri_iter; uri_iter++) { 218 g_strfreev(uris);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SecureConversationViewFragment.java | 204 final HashSet<Uri> uris = new HashSet<Uri>(); local 205 uris.add(message.uri); 206 activity.getConversationUpdater().markConversationMessagesUnread(mConversation, uris,
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 347 gchar** uris = reinterpret_cast<gchar**>(malloc(sizeof(gchar*) * local 356 uris[i] = const_cast<gchar*>(url.spec().c_str()); 358 uris[nodes.size()] = NULL; 360 gtk_selection_data_set_uris(selection_data, uris); 361 free(uris);
|