HomeSort by relevance Sort by last modified time
    Searched full:uri (Results 351 - 375 of 2862) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/content/
UriMatcher.java 19 import android.net.Uri;
72 <p>Then when you need to match match against a URI, call {@link #match}, providing
121 * Creates the root node of the URI tree.
123 * @param code the code to match for the root URI
142 * Add a URI to match, and the code to return when this URI is
143 * matched. URI nodes may be exact match string, the token "*"
150 * @param code the code that is returned when a URI is matched
197 * @param uri The url whose path we will match against.
202 public int match(Uri uri
    [all...]
  /frameworks/base/media/java/android/media/
AsyncPlayer.java 20 import android.net.Uri;
41 Uri uri; field in class:AsyncPlayer.Command
48 + " uri=" + uri + " }";
62 player.setDataSource(cmd.context, cmd.uri);
76 Log.w(mTag, "error loading sound for " + cmd.uri, e);
159 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 46 import android.net.Uri;
76 * {@link Uri} triggered at any registered {@link android.database.ContentObserver} when
80 static final Uri CONTENT_APPWIDGET_RESET_URI =
81 Uri.parse("content://" + AUTHORITY + "/appWidgetReset");
92 public String getType(Uri uri) {
93 SqlArguments args = new SqlArguments(uri, null, null);
102 public Cursor query(Uri uri, String[] projection, String selection,
105 SqlArguments args = new SqlArguments(uri, selection, selectionArgs)
111 result.setNotificationUri(getContext().getContentResolver(), uri); local
248 final Uri uri = Uri.parse("content:\/\/" + Settings.AUTHORITY + local
441 final Uri uri = intent.getData(); local
827 String uri = null; local
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
RetryScheduler.java 37 import android.net.Uri;
91 Uri uri = state.getContentUri(); local
92 if (uri != null) {
93 scheduleRetry(uri);
107 private void scheduleRetry(Uri uri) {
108 long msgId = ContentUris.parseId(uri);
110 Uri.Builder uriBuilder = PendingMessages.CONTENT_URI.buildUpon();
146 Log.v(TAG, "scheduleRetry: retry for " + uri + " is scheduled at
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 22 import android.net.Uri;
58 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey);
87 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey);
115 Uri lookupUri1 = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, accountHashCode1 + "i1");
118 Uri lookupUri2 = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, accountHashCode2 + "i1");
158 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey)
    [all...]
  /external/chromium/third_party/libevent/
evhttp.h 117 /** Set a callback for a specified URI */
121 /** Removes the callback for a specified URI */
214 char *uri; /* uri after HTTP request was parsed */ member in struct:evhttp_request
300 enum evhttp_cmd_type type, const char *uri);
315 Helper function to encode a URI.
319 @param uri an unencoded URI
320 @return a newly allocated URI-encoded string
322 char *evhttp_encode_uri(const char *uri);
    [all...]
  /packages/apps/Mms/src/com/android/mms/
SuggestionsProvider.java 34 import android.net.Uri;
50 public int delete(Uri uri, String selection, String[] selectionArgs) {
55 public String getType(Uri uri) {
60 public Uri insert(Uri uri, ContentValues values) {
70 public Cursor query(Uri uri, String[] projection, String selection
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 30 import android.net.Uri;
49 private final Uri mUri;
56 public UriImage(Context context, Uri uri) {
57 if ((null == context) || (null == uri)) {
61 String scheme = uri.getScheme();
63 initFromContentUri(context, uri);
64 } else if (uri.getScheme().equals("file")) {
65 initFromFile(context, uri);
81 mUri = uri;
    [all...]
  /packages/apps/Mms/src/com/android/mms/data/
WorkingMessage.java 28 import android.net.Uri;
122 // Data URI of an MMS message if we have had to save it.
123 private Uri mMessageUri;
205 * Create a new WorkingMessage from the specified data URI, which typically
208 public static WorkingMessage load(ComposeMessageActivity activity, Uri uri) {
210 if (!uri.toString().startsWith(Mms.Draft.CONTENT_URI.toString())) {
213 LogTag.debug("load: moving %s to drafts", uri);
216 uri = persister.move(uri, Mms.Draft.CONTENT_URI)
307 Uri uri = readDraftMmsMessage(mActivity, threadId, sb); local
841 Uri uri = (Uri)bundle.getParcelable("msg_uri"); local
1268 Uri uri; local
    [all...]
  /libcore/luni/src/main/java/org/apache/xml/serializer/
ToXMLSAXHandler.java 199 final String uri = getNamespaceURI(m_elemContext.m_elementName, true); local
206 m_saxHandler.startElement(uri, localName, m_elemContext.m_elementName, m_attributes);
314 * @param prefix The prefix that maps to the URI
315 * @param uri The URI for the namespace
317 public void startPrefixMapping(String prefix, String uri)
320 startPrefixMapping(prefix, uri, true);
324 * Remember the prefix/uri mapping at the current nested element depth.
327 * @param prefix The prefix that maps to the URI
328 * @param uri The URI for the namespac
    [all...]
  /development/pdk/docs/porting/
customization.jd 187 &lt;incoming uri=&quot;imap+ssl+://imap.gmail.com&quot; username=&quot;$email&quot;/&gt;
188 &lt;outgoing uri=&quot;smtp+ssl+://smtp.gmail.com&quot; username=&quot;$email&quot;/&gt;
191 &lt;incoming uri=&quot;imap+ssl+://imap.googlemail.com&quot; username=&quot;$email&quot;/&gt;
192 &lt;outgoing uri=&quot;smtp+ssl+://smtp.googlemail.com&quot; username=&quot;$email&quot;/&gt;
195 &lt;incoming uri=&quot;imap+ssl+://imap.gmail.com&quot; username=&quot;$email&quot;/&gt;
196 &lt;outgoing uri=&quot;smtp+ssl+://smtp.gmail.com&quot; username=&quot;$email&quot;/&gt;
199 &lt;incoming uri=&quot;imap+ssl+://imap.gmail.com&quot; username=&quot;$email&quot;/&gt;
200 &lt;outgoing uri=&quot;smtp+ssl+://smtp.gmail.com&quot; username=&quot;$email&quot;/&gt;
206 &lt;incoming uri=&quot;imap://imap.aim.com&quot; label=&quot;IMAP&quot; username=&quot;$email&quot;/&gt;
207 &lt;outgoing uri=&quot;smtp://smtp.aim.com:587&quot; username=&quot;$email&quot;/&gt
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 43 import android.net.Uri;
84 private static final Uri MEDIA_URI = Uri.parse("content://media");
85 private static final Uri ALBUMART_URI = Uri.parse("content://media/external/audio/albumart");
153 private Uri mAlbumArtBaseUri = Uri.parse("content://media/external/audio/albumart");
161 detachVolume(Uri.parse("content://media/external"));
1590 c.setNotificationUri(getContext().getContentResolver(), uri); local
2518 Uri uri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI local
2974 Uri uri = Uri.parse("content:\/\/media\/" + volume + "\/audio\/" + table + "\/" + rowId); local
2994 Uri uri = Uri.parse("content:\/\/media\/" + volume + "\/audio\/" + table + "\/" + rowId); local
    [all...]
MediaScannerService.java 30 import android.net.Uri;
60 getContentResolver().insert(Uri.parse("content://media/"), values);
69 Uri.parse("content://media/" + volumeName), null, null);
100 Uri scanUri = getContentResolver().insert(MediaStore.getMediaScannerUri(), values);
102 Uri uri = Uri.parse("file://" + directories[0]); local
103 sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_STARTED, uri));
118 sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_FINISHED, uri));
191 private Uri scanFile(String path, String mimeType)
244 Uri uri = scanFile(filePath, arguments.getString("mimetype")); local
    [all...]
  /frameworks/base/docs/html/resources/articles/
wikinotes-intents.jd 7 have defined) into a <code>content:</code> URI and defining a path to data that
9 <code>ToDoList</code> would be turned into a URI such as
14 <code>VIEW</code> action and <code>content:</code> URI and finds the correct
31 <li>When the user selects a link, Linkify calls the VIEW action using the content: URI associated with the link.</li>
32 <li>Android takes the content: URI that represents the data, and looks for a
33 ContentProvider registered in the system that matches the URI.</li>
34 <li>If a match is found, Android queries the ContentProvider using the URI,
35 and asks what MIME type the data that will be returned from the URI is.</li>
38 the data represented by the content: URI.</li>
40 the URI, at which point the activity takes over, and is handed
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageManager.java 36 import android.net.Uri;
61 private static final Uri STORAGE_URI = Images.Media.EXTERNAL_CONTENT_URI;
62 private static final Uri THUMB_URI
65 private static final Uri VIDEO_STORAGE_URI =
66 Uri.parse("content://media/external/video/media");
77 public Uri mSingleImageUri;
203 public static Uri addImage(ContentResolver cr, String title, long dateTaken,
289 Uri singleImageUri = param.mSingleImageUri;
346 // This is a convenience function to create an image list from a Uri.
347 public static IImageList makeImageList(ContentResolver cr, Uri uri
    [all...]
  /frameworks/base/core/java/android/pim/
ContactsAsyncHelper.java 25 import android.net.Uri;
73 public Uri uri; field in class:ContactsAsyncHelper.WorkerArgs
144 * Convenience method used to retrieve the URI
148 public Uri getPhotoUri() {
189 args.context.getContentResolver(), args.uri);
195 args.result = Drawable.createFromStream(inputStream, args.uri.toString());
198 " token: " + msg.what + " image URI: " + args.uri);
202 " token: " + msg.what + " image URI: " + args.uri
    [all...]
  /frameworks/base/services/java/com/android/server/
NotificationPlayer.java 23 import android.net.Uri;
51 Uri uri; field in class:NotificationPlayer.Command
58 + " uri=" + uri + " }";
88 player.setDataSource(mCmd.context, mCmd.uri);
91 if ((mCmd.uri != null) && (mCmd.uri.getEncodedPath() != null)
92 && (mCmd.uri.getEncodedPath().length() > 0)) {
109 Log.w(mTag, "error loading sound for " + mCmd.uri, e)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/
Store.java 65 public static Store newInstance(String uri, Context context, PersistentDataCallbacks callbacks)
67 throw new MessagingException("Store.newInstance: Unknown scheme in " + uri);
70 private static Store instantiateStore(String className, String uri, Context context,
80 o = m.invoke(null, uri, context, callbacks);
84 e.toString(), className, uri));
85 throw new MessagingException("can not instantiate Store object for " + uri);
89 uri + ": " + className + " create incompatible object");
149 * Get an instance of a mail store. The URI is parsed as a standard URI and
152 * Although the URI format is somewhat protocol-specific, we use the following
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java 35 import android.net.Uri;
115 notes = "Test setImageURI(Uri)",
117 args = {android.net.Uri.class}
135 Uri uri = Uri.parse(imagefile.getPath()); local
136 imageSwitcher.setImageURI(uri);
147 uri = Uri.parse(imagefile.getPath());
148 imageSwitcher.setImageURI(uri);
    [all...]
  /external/skia/src/views/
SkImageView.cpp 29 void SkImageView::getUri(SkString* uri) const
31 if (uri)
32 *uri = fUri;
35 void SkImageView::setUri(const char uri[])
37 if (!fUri.equals(uri))
39 fUri.set(uri);
44 void SkImageView::setUri(const SkString& uri)
46 if (fUri != uri)
48 fUri = uri;
204 fUriIsValid = true; // give ensureUriIsLoaded() a shot at the new uri
    [all...]
  /libcore/luni/src/main/java/org/xml/sax/ext/
Attributes2.java 76 * namespace URI associated with an attribute may not have come from
80 * @param uri The Namespace URI, or the empty string if
81 * the name has no Namespace URI.
88 public boolean isDeclared (String uri, String localName);
107 * namespace URI associated with an attribute may not have come from
111 * @param uri The Namespace URI, or the empty string if
112 * the name has no Namespace URI.
119 public boolean isSpecified (String uri, String localName)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactOptionsActivity.java 25 import android.net.Uri;
55 private Uri mLookupUri;
96 Uri ringtoneUri = Uri.parse(mCustomRingtone);
99 Log.w(TAG, "ringtone's URI doesn't resolve to a Ringtone");
131 Uri ringtoneUri;
133 ringtoneUri = Uri.parse(mCustomRingtone);
135 // Otherwise pick default ringtone Uri so that something is selected.
154 Uri pickedUri = data.getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI);
161 private void handleRingtonePicked(Uri pickedUri)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 40 import android.net.Uri;
96 SqlArguments(Uri url, String where, String[] args) {
105 throw new IllegalArgumentException("Invalid URI: " + url);
124 SqlArguments(Uri url) {
133 throw new IllegalArgumentException("Invalid URI: " + url);
139 * Get the content URI of a row added to a table.
143 * @return the content URI for this particular row
145 private Uri getUriFor(Uri tableUri, ContentValues values, long rowId) {
147 throw new IllegalArgumentException("Invalid URI: " + tableUri)
336 final Uri uri = insert(Settings.Secure.CONTENT_URI, values); local
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java 39 import android.net.Uri;
187 public void markState(final Uri uri, int state) {
191 .load(uri);
200 SqliteWrapper.delete(mContext, mContext.getContentResolver(), uri, null, null);
213 Toast.makeText(mContext, getMessage(uri),
229 uri, values, null, null);
245 private String getMessage(Uri uri) throws MmsException {
247 .getPduPersister(mContext).load(uri);
    [all...]
  /frameworks/base/core/java/android/provider/
Telephony.java 27 import android.net.Uri;
192 public static final Uri CONTENT_URI =
193 Uri.parse("content://sms");
201 * Add an SMS to the given URI.
204 * @param uri the URI to add the message to
211 * @return the URI for the new message
213 public static Uri addMessageToUri(ContentResolver resolver,
214 Uri uri, String address, String body, String subject
1247 Uri uri = uriBuilder.build(); local
    [all...]

Completed in 2279 milliseconds

<<11121314151617181920>>