/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 24 import android.net.Uri; 101 Uri.Builder builder = new Uri.Builder(); 102 Uri uri = builder.scheme("wear").path(PATH_WITH_FEATURE).authority(mPeerId).build(); local 103 Wearable.DataApi.getDataItem(mGoogleApiClient, uri).setResultCallback(this);
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncAdapter.java | 29 import android.net.Uri; 222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries local 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null); 245 Uri existingUri = FeedContract.Entry.CONTENT_URI.buildUpon() 263 Uri deleteUri = FeedContract.Entry.CONTENT_URI.buildUpon() 286 FeedContract.Entry.CONTENT_URI, // URI where data was modified
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedProvider.java | 26 import android.net.Uri; 38 // The constants below represent individual URI routes, as IDs. Every URI pattern recognized by 42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined 43 // URI patterns, and the corresponding route ID will be returned. 45 * URI ID for route: /entries 50 * URI ID for route: /entries/{ID} 70 * Determine the mime type for entries returned by a given URI. 73 public String getType(Uri uri) { 111 c.setNotificationUri(ctx.getContentResolver(), uri); local [all...] |
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
DeviceDetailFragment.java | 23 import android.net.Uri; 126 Uri uri = data.getData(); local 128 statusText.setText("Sending: " + uri); 129 Log.d(MainActivity.TAG, "Intent----------- " + uri); 132 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString()); 262 intent.setDataAndType(Uri.parse("file://" + result), "image/*");
|
/developers/samples/android/content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 25 import android.net.Uri; 97 // Instead, a URI to that document will be contained in the return intent 98 // provided to this method as a parameter. Pull that uri using "resultData.getData()" 99 Uri uri = null; local 101 uri = resultData.getData(); 102 Log.i(TAG, "Uri: " + uri.toString()); 103 showImage(uri); 110 * Given the URI of an image, shows it on the screen using a DialogFragment [all...] |
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 36 import android.net.Uri; 152 Uri uri = event.getDataItem().getUri(); local 153 // URI's are of the form "/question/0", "/question/1" etc. 155 int notificationId = Integer.parseInt(uri.getLastPathSegment());
|
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 24 import android.net.Uri; 101 Uri.Builder builder = new Uri.Builder(); 102 Uri uri = builder.scheme("wear").path(PATH_WITH_FEATURE).authority(mPeerId).build(); local 103 Wearable.DataApi.getDataItem(mGoogleApiClient, uri).setResultCallback(this);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
DocumentsSample.java | 24 import android.net.Uri; 248 final Uri uri = data != null ? data.getData() : null; local 249 if (uri != null) { 250 log("isDocumentUri=" + DocumentsContract.isDocumentUri(this, uri)); 252 log("missing URI?"); 258 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); 264 is = cr.openInputStream(uri); 273 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION); 279 os = cr.openOutputStream(uri); 348 Uri uri; local [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader5.java | 25 import android.net.Uri; 164 // Create our content URI by adding the ID of the currently selected item using a 194 Uri uri = getContentResolver().insert( local 197 if(uri != null){
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 35 import android.net.Uri; 85 * Constants used by the Uri matcher to choose an action based on the pattern 86 * of the incoming URI 88 // The incoming URI matches the Notes URI pattern 91 // The incoming URI matches the Note ID URI pattern 109 * Creates and initializes the URI matcher 218 * {@link android.content.ContentResolver#query(Uri, String[], String, String[], String)}. 223 * @throws IllegalArgumentException if the incoming URI pattern is invalid 289 c.setNotificationUri(getContext().getContentResolver(), uri); local [all...] |
NotesList.java | 30 import android.net.Uri; 45 * Displays a list of notes. Will display notes from the {@link Uri} 81 * provider URI. 86 // If there is no data associated with the Intent, sets the data to the default URI, which 192 Uri uri = ContentUris.withAppendedId(getIntent().getData(), getSelectedItemId()); local 198 // Sets the Intent in the array to be an EDIT action on the URI of the selected note. 199 specifics[0] = new Intent(Intent.ACTION_EDIT, uri); 204 // Creates an Intent with no specific action, using the URI of the selected note. 205 Intent intent = new Intent(null, uri); 440 Uri uri = ContentUris.withAppendedId(getIntent().getData(), id); local [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 32 import android.net.Uri; 65 private Uri mRecordingUri; 115 Pair<Voicemail, Uri> newVoicemail = new Pair<Voicemail, Uri>( 173 Uri uri = data.getData(); local 174 logger.d("Received recording URI: " + uri); 175 if (uri != null) { 176 mRecordingUri = uri; [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 24 import android.net.Uri; 125 Uri uri = data.getData(); local 127 statusText.setText("Sending: " + uri); 128 Log.d(WiFiDirectActivity.TAG, "Intent----------- " + uri); 131 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString()); 261 intent.setDataAndType(Uri.parse("file://" + result), "image/*");
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncAdapter.java | 29 import android.net.Uri; 222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries local 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null); 245 Uri existingUri = FeedContract.Entry.CONTENT_URI.buildUpon() 263 Uri deleteUri = FeedContract.Entry.CONTENT_URI.buildUpon() 286 FeedContract.Entry.CONTENT_URI, // URI where data was modified
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedProvider.java | 26 import android.net.Uri; 38 // The constants below represent individual URI routes, as IDs. Every URI pattern recognized by 42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined 43 // URI patterns, and the corresponding route ID will be returned. 45 * URI ID for route: /entries 50 * URI ID for route: /entries/{ID} 70 * Determine the mime type for entries returned by a given URI. 73 public String getType(Uri uri) { 111 c.setNotificationUri(ctx.getContentResolver(), uri); local [all...] |
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizListenerService.java | 36 import android.net.Uri; 152 Uri uri = event.getDataItem().getUri(); local 153 // URI's are of the form "/question/0", "/question/1" etc. 155 int notificationId = Integer.parseInt(uri.getLastPathSegment());
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
StorageClientFragment.java | 25 import android.net.Uri; 97 // Instead, a URI to that document will be contained in the return intent 98 // provided to this method as a parameter. Pull that uri using "resultData.getData()" 99 Uri uri = null; local 101 uri = resultData.getData(); 102 Log.i(TAG, "Uri: " + uri.toString()); 103 showImage(uri); 110 * Given the URI of an image, shows it on the screen using a DialogFragment [all...] |
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 24 import android.net.Uri; 101 Uri.Builder builder = new Uri.Builder(); 102 Uri uri = builder.scheme("wear").path(PATH_WITH_FEATURE).authority(mPeerId).build(); local 103 Wearable.DataApi.getDataItem(mGoogleApiClient, uri).setResultCallback(this);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 27 import android.net.Uri; 43 // Indicates an invalid content URI 99 // Adds a URI "match" entry that maps picture URL content URIs to a numeric code 105 // Adds a URI "match" entry that maps modification date content URIs to a numeric code 232 * @see android.content.ContentProvider#query(Uri, String[], String, String[], String) 233 * @param uri The content URI of the table 242 Uri uri, 249 // Decodes the content URI and maps it to a cod 261 returnCursor.setNotificationUri(getContext().getContentResolver(), uri); local [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 212 * {@link Credentials}, method name and URI. 235 // Add method name and request-URI to the parameter map 237 getParameters().put("uri", request.getRequestLine().getUri()); 267 String uri = getParameter("uri"); local 272 if (uri == null) { 273 throw new IllegalStateException("URI may not be null"); 336 //TODO: add Method ":" digest-uri-value ":" H(entity-body) 338 a2 = method + ':' + uri; 398 String uri = getParameter("uri") local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
NamespaceSupport2.java | 62 * <p>This is the Namespace URI that is automatically mapped 189 * @param uri The Namespace URI to associate with the prefix. 195 public boolean declarePrefix (String prefix, String uri) 200 currentContext.declarePrefix(prefix, uri); 216 * <dd>The Namespace URI, or an empty string if none is 239 * representing the Namespace URI (or empty string), the 259 * Look up a prefix and get the currently-mapped Namespace URI. 265 * @return The associated Namespace URI, or null if the prefix 296 * Return one of the prefixes mapped to a Namespace URI 391 private String uri; field in class:PrefixForUriEnumerator 617 String uri; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
SourceTreeManager.java | 59 /** The TrAX URI resolver used to obtain source trees. */ 88 * @return The base URI of the owner argument. 109 * @param base The base URI that should be used. 111 * or a URI specified in the document() function. 132 String uri = SystemIDResolver.getAbsoluteURI(urlString, base); local 134 source = new StreamSource(uri); 228 * @param base The base URI to use if the urlString is relative. 329 * obtained from this URI.
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-launcher.jar | |
/external/libcups/cups/ |
testhttp.c | 27 typedef struct uri_test_s /**** URI test cases ****/ 30 const char *uri, /* URI */ member in struct:uri_test_s 45 static uri_test_t uri_tests[] = /* URI test data */ 145 /* Bad URI */ 226 char scheme[HTTP_MAX_URI], /* Scheme from URI */ 227 hostname[HTTP_MAX_URI], /* Hostname from URI */ 228 username[HTTP_MAX_URI], /* Username:password from URI */ 229 resource[HTTP_MAX_URI]; /* Resource from URI */ 230 int port; /* Port number from URI */ [all...] |
util.c | 70 char uri[HTTP_MAX_URI]; /* Job/printer URI */ local 98 * job-uri or printer-uri + job-id 107 httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, 110 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, 111 uri); 117 snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id) 442 char uri[HTTP_MAX_URI]; \/* URI for jobs *\/ local [all...] |