/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessageReceiver.java | 23 import android.net.Uri; 45 Uri uri; local 51 uri = Uri.withAppendedPath( 53 Uri.encode(fromAddress)); 56 // Query the filter URI 57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null);
|
/external/nanohttpd/webserver/markdown-plugin/src/main/java/fi/iki/elonen/ |
MarkdownWebServerPlugin.java | 26 @Override public boolean canServeUri(String uri, File rootDir) { 27 File f = new File(rootDir, uri); 32 public NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) {
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
PortFilter.java | 21 import android.net.Uri; 47 Uri uri = intent.getData(); local 48 if (uri != null) { 49 port = uri.getPort();
|
/libcore/benchmarks/src/benchmarks/regression/ |
SSLSocketBenchmark.java | 46 WebSite(String uri) { 48 URL url = new URL(uri); 62 this.request = ("GET " + uri + " HTTP/1.0\r\n"
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilder.java | 136 * Parse the content of the given URI as an XML document 139 * URI is <code>null</code> null. 141 * @param uri The location of the content to be parsed. 148 public Document parse(String uri) 150 if (uri == null) { 151 throw new IllegalArgumentException("URI cannot be null"); 154 InputSource in = new InputSource(uri); 179 System.out.println("Escaped URI = " + escapedURI);
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
DefaultHandler.java | 75 * or URI redirection.</p> 219 * @param uri The Namespace URI mapped to the prefix. 224 public void startPrefixMapping (String prefix, String uri) 258 * @param uri The Namespace URI, or the empty string if the 259 * element has no Namespace URI or if Namespace 273 public void startElement (String uri, String localName, 289 * @param uri The Namespace URI, or the empty string if th [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapEmailAppObserver.java | 31 import android.net.Uri; 141 * The key for the observer is the uri as string 142 * @param uri uri for the package that supports MAP email 146 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); local 147 if (V) Log.d(TAG, "registerObserver for URI "+uri.toString()+"\n"); 155 public void onChange(boolean selfChange, Uri uri) { 171 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
OpenDownloadReceiver.java | 24 import android.net.Uri; 69 Uri uri = manager.getUriForDownloadedFile(id); local 70 if (uri == null) { 75 launchIntent.setDataAndType(uri, manager.getMimeTypeForDownloadedFile(id));
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
SnoozeAlarmsService.java | 25 import android.net.Uri; 71 Uri uri = CalendarAlerts.CONTENT_URI; local 76 resolver.update(uri, dismissValues, selection, null); 82 resolver.insert(uri, values);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetClickHandler.java | 23 import android.net.Uri; 37 private boolean isValidDataUri(Uri dataUri) { 45 Log.w(TAG, "cannot open uri: " + dataUri, e); 56 Uri uri = getIntent().getData(); local 58 if (isValidDataUri(uri)) { 59 intent = new Intent(Intent.ACTION_VIEW, uri);
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
CrashingSuggestionProvider.java | 23 import android.net.Uri; 48 public Cursor query(Uri uri, String[] projectionIn, String selection, 50 Log.d(TAG, "query(" + uri + ")"); 52 List<String> path = uri.getPathSegments();
|
HangingSuggestionProvider.java | 23 import android.net.Uri; 43 public Cursor query(Uri uri, String[] projectionIn, String selection, 45 Log.d(TAG, "query(" + uri + ")"); 47 List<String> path = uri.getPathSegments();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 23 import android.net.Uri; 37 final Uri uri = intent.getData(); local 44 if (uri.getScheme().equals("file")) { 46 String path = uri.getPath();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleAttribute.java | 28 * The attribute is always represented by a namespace URI, a name and a value. 30 * The namespace URI can be empty for an attribute without a namespace but is never null. 47 * @param uri The URI of the attribute. 51 public SimpleAttribute(String uri, String name, String value) { 52 mUri = uri == null ? "" : uri; 58 * Returns the namespace URI of the attribute.
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CurrentXmlHandler.java | 55 public void startElement(String uri, String localName, String name, Attributes attributes) 57 super.startElement(uri, localName, name, attributes); 93 public void endElement(String uri, String localName, String name) throws SAXException { 94 super.endElement(uri, localName, name);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
RecommendationBuilder.java | 80 public RecommendationBuilder setImage(String uri) { 81 mImageUri = uri; 85 public RecommendationBuilder setBackground(String uri) { 86 mBackgroundUri = uri;
|
/developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/ |
DataLayerListenerService.java | 20 import android.net.Uri; 77 Uri uri = event.getDataItem().getUri(); local 78 String path = uri.getPath(); 81 // the uri. 82 String nodeId = uri.getHost(); 83 // Set the data of the message to be the bytes of the Uri. 84 byte[] payload = uri.toString().getBytes();
|
/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/ |
DataLayerListenerService.java | 20 import android.net.Uri; 77 Uri uri = event.getDataItem().getUri(); local 78 String path = uri.getPath(); 81 // the uri. 82 String nodeId = uri.getHost(); 83 // Set the data of the message to be the bytes of the Uri. 84 byte[] payload = uri.toString().getBytes();
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 28 import android.net.Uri; 90 Uri uri = data.getData(); local 91 if (uri != null) { 94 c = getContentResolver().query(uri, new String[] { BaseColumns._ID }, 101 String txt = mPendingResult.mMsg + ":\n" + uri + "\nid: " + id;
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/ |
DataLayerListenerService.java | 20 import android.net.Uri; 77 Uri uri = event.getDataItem().getUri(); local 78 String path = uri.getPath(); 81 // the uri. 82 String nodeId = uri.getHost(); 83 // Set the data of the message to be the bytes of the Uri. 84 byte[] payload = uri.toString().getBytes();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaPlayer.java | 5 import android.net.Uri; 24 private Uri sourceUri; 41 public static MediaPlayer create(Context context, Uri uri) { 44 mp.setDataSource(context, uri); 56 public void setDataSource(Context context, Uri uri) { 57 this.sourceUri = uri; 130 public Uri getSourceUri() {
|
/external/wpa_supplicant_8/hs20/server/www/ |
add-free.php | 22 $uri = $row['redirect_uri']; variable 48 header("Location: $uri", true, 302);
|
/frameworks/av/include/media/stagefright/ |
DataURISource.h | 29 static sp<DataURISource> Create(const char *uri);
|
/frameworks/base/core/java/android/net/http/ |
HttpResponseCache.java | 27 import java.net.URI; 205 @Override public CacheResponse get(URI uri, String requestMethod, 207 return delegate.get(uri, requestMethod, requestHeaders); 210 @Override public CacheRequest put(URI uri, URLConnection urlConnection) throws IOException { 211 return delegate.put(uri, urlConnection);
|
RequestQueue.java | 296 WebAddress uri = new WebAddress(url); local 297 return queueRequest(url, uri, method, headers, eventHandler, 304 * @param uri The uri of the url to load. 313 String url, WebAddress uri, String method, Map<String, String> headers, 317 if (HttpLog.LOGV) HttpLog.v("RequestQueue.queueRequest " + uri); 326 HttpHost httpHost = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); 329 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider [all...] |