/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapFactory.java | 8 import android.net.Uri; 92 public static void provideWidthAndHeightHints(Uri uri, int width, int height) { 93 widthAndHeightMap.put(uri.toString(), new Point(width, height));
|
ShadowContentProviderOperation.java | 8 import android.net.Uri; 19 private Uri uri; field in class:ShadowContentProviderOperation 25 public static Builder newInsert(Uri uri) { 28 shadowBuilder.setUri(uri); 34 public static Builder newUpdate(Uri uri) { 37 shadowBuilder.setUri(uri); 43 public static Builder newDelete(Uri uri) [all...] |
ShadowCursorLoader.java | 4 import android.net.Uri; 13 private Uri uri; field in class:ShadowCursorLoader 23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 25 this.uri = uri; 33 public Uri getUri() { 34 return uri; 38 public void setUri(Uri uri) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 3 import android.net.Uri; 9 public Uri uri; field in class:SimpleTestCursor 20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 21 this.uri = uri;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
ParamsParser.java | 12 import java.net.URI; 20 URI uri = URI.create(request.getRequestLine().getUri()); local 21 String rawQuery = uri.getRawQuery();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CursorLoaderTest.java | 4 import android.net.Uri; 17 Uri uri = Uri.parse("http://robolectric.org"); local 23 uri, 29 assertThat(cursorLoader.getUri(), equalTo(uri)); 38 Uri uri = Uri.parse("http://robolectric.org"); local 44 cursorLoader.setUri(uri); [all...] |
/external/syslinux/gpxe/src/usr/ |
autoboot.c | 29 #include <gpxe/uri.h> 62 struct uri *uri; local 65 ( 3 * strlen(filename) ) /* completely URI-encoded */ 70 /* Construct URI */ 71 uri = parse_uri ( filename ); 72 if ( ! uri ) 74 filename_is_absolute = uri_is_absolute ( uri ); 75 uri_put ( uri ); 77 /* Construct a tftp:// URI for the filename. We can' [all...] |
/external/wpa_supplicant_8/src/utils/ |
browser.c | 67 wpa_printf(MSG_DEBUG, "BROWSER:%s load-status=%d uri=%s", 79 const gchar *uri = webkit_network_request_get_uri(req); local 80 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); 81 if (g_str_has_suffix(uri, "/favicon.ico")) 83 if (g_str_has_prefix(uri, "osu://")) { 84 ctx->success = atoi(uri + 6); 87 if (g_str_has_prefix(uri, "http://localhost:12345")) { 118 const gchar *uri; local 119 uri = webkit_download_get_uri(dl) [all...] |
/frameworks/av/media/libstagefright/http/ |
MediaHTTP.cpp | 45 const char *uri, 61 mLastURI = uri; 62 // reconnect() calls with uri == old mLastURI.c_str(), which gets zapped 64 uri = NULL; 190 String8 uri; local 191 if (OK == mHTTPConnection->getUri(&uri)) { 192 return uri;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMimeTest.java | 26 import android.net.Uri; 118 Uri uri = Uri.fromParts("file", MP3_FILE, null); local 120 viewIntent.setDataAndType(uri, mime);
|
/frameworks/base/sax/java/android/sax/ |
Element.java | 32 final String uri; field in class:Element 46 Element(Element parent, String uri, String localName, int depth) { 48 this.uri = uri; 64 public Element getChild(String uri, String localName) { 74 return children.getOrCreate(this, uri, localName); 92 public Element requireChild(String uri, String localName) { 93 Element child = getChild(uri, localName); 166 return toString(uri, localName); 169 static String toString(String uri, String localName) [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
FileProviderExample.java | 22 import android.net.Uri; 54 final Uri uri = FileProvider.getUriForFile(this, AUTHORITY, file); local 57 intent.putExtra(Intent.EXTRA_STREAM, uri);
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/ |
VideoActivity.java | 23 import android.net.Uri; 58 private void playVideo(Uri uri) { 59 mVideoView.setVideoURI(uri); 65 Uri uri = intent.getData(); local 66 playVideo(uri);
|
/frameworks/wilhelm/src/desktop/ |
SndFile.cpp | 151 SLchar *uri = dl_uri->URI; local 152 if (NULL == uri) { 155 if (!strncmp((const char *) uri, "file:///", 8)) { 156 uri += 8; 170 thiz->mSndFile.mPathname = uri;
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayStreamType.cpp | 58 SLDataLocator_URI uri; local 115 /* Setup the data source structure for the URI */ 116 uri.locatorType = SL_DATALOCATOR_URI; 117 uri.URI = (SLchar*) path; 125 audioSource.pLocator = (void*)&uri; 151 fprintf(stdout, "URI example: after Realize\n");
|
slesTestPlayUri2.cpp | 73 SLDataLocator_URI uri; local 124 /* Setup the data source structure for the first URI */ 125 uri.locatorType = SL_DATALOCATOR_URI; 126 uri.URI = (SLchar*) path; 134 audioSource.pLocator = (void *)&uri; 142 uri.URI = (SLchar*) path2; 143 audioSource.pLocator = (void *)&uri; 151 //fprintf(stdout, "URI example: after Realize\n") [all...] |
slesTest_playStates.cpp | 57 SLDataLocator_URI uri; local 109 /* Setup the data source structure for the URI */ 110 uri.locatorType = SL_DATALOCATOR_URI; 111 uri.URI = (SLchar*) path; 119 audioSource.pLocator = (void*)&uri; 128 fprintf(stdout, "URI example: after Realize\n");
|
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoDataFactory.java | 21 import android.net.Uri; 73 Uri uri = VideoDataQuery.CONTENT_URI.buildUpon().appendPath(String.valueOf(id)).build(); local 82 uri,
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactTileLoaderFactory.java | 20 import android.net.Uri; 93 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon() local 96 return new CursorLoader(context, uri, COLUMNS_PHONE_ONLY, null, null, null);
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
TelephonyThreadsCompat.java | 22 import android.net.Uri; 62 private static final Uri THREAD_ID_CONTENT_URI = Uri.parse("content://mms-sms/threadID"); 98 Uri.Builder uriBuilder = THREAD_ID_CONTENT_URI.buildUpon(); 108 Uri uri = uriBuilder.build(); local 111 context.getContentResolver(), uri, ID_PROJECTION, null, null, null); 124 Log.e(TAG, "getOrCreateThreadId failed with uri " + uri.toString()); 131 private static Cursor query(ContentResolver resolver, Uri uri, String[] projection [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupMetaData.java | 21 import android.net.Uri; 47 public final Uri uri; field in class:GroupMetaData 64 final Uri groupUri = ContentUris.withAppendedId( 72 this.uri = groupUri; 89 uri = source.readParcelable(Uri.class.getClassLoader()); 103 dest.writeParcelable(uri, 0); 117 return uri != null
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
CustomRingtoneDAO.java | 20 import android.net.Uri; 40 /** Prefix for a key to a preference that stores the URI associated with the ringtone id. */ 49 * @param uri points to an audio file located on the file system 50 * @param title the title of the audio content at the given {@code uri} 53 static CustomRingtone addCustomRingtone(SharedPreferences prefs, Uri uri, String title) { 59 .putString(RINGTONE_URI + id, uri.toString()) 65 return new CustomRingtone(id, uri, title, true); 96 final Uri uri = Uri.parse(prefs.getString(RINGTONE_URI + id, null)) local [all...] |
/packages/apps/Dialer/java/com/android/dialer/callintent/ |
CallIntentBuilder.java | 20 import android.net.Uri; 34 private final Uri uri; field in class:CallIntentBuilder 40 public CallIntentBuilder(@NonNull Uri uri, @NonNull CallSpecificAppData callSpecificAppData) { 41 this.uri = Assert.isNotNull(uri); 47 public CallIntentBuilder(@NonNull Uri uri, CallInitiationType.Type callInitiationType) { 48 this(uri, createCallSpecificAppData(callInitiationType)) [all...] |
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
ShortcutUsageReporter.java | 25 import android.net.Uri; 118 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)); local 122 .query(uri, new String[] {Contacts.LOOKUP_KEY}, null, null, null)) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DocumentsAccess.java | 24 import android.net.Uri; 46 @Nullable DocumentInfo getDocument(Uri uri); 47 @Nullable DocumentInfo getArchiveDocument(Uri uri); 49 boolean isDocumentUri(Uri uri); 50 @Nullable Path findDocumentPath(Uri uri) throws RemoteException; 54 @Nullable Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) 96 final Uri uri = DocumentsContract.buildDocumentUri(authority, docId); local [all...] |