HomeSort by relevance Sort by last modified time
    Searched refs:Uri (Results 276 - 300 of 2505) sorted by null

<<11121314151617181920>>

  /packages/apps/Camera2/src/com/android/camera/data/
DataUtils.java 21 import android.net.Uri;
27 * Get the file path from a Media storage URI.
29 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) {
PanoramaMetadataLoader.java 20 import android.net.Uri;
29 * Extracts panorama metadata from the item with the given URI and fills the
32 public static boolean loadPanoramaMetadata(final Context context, Uri contentUri,
VideoItemData.java 19 import android.net.Uri;
32 Date lastModifiedDate, String filePath, Uri uri,
35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions,
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
Action.java 21 import android.net.Uri;
54 * Returns a lookup (@link Uri) for the contact data item or null if there is no data item
57 public Uri getDataUri();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
VCardImportExportListener.java 19 import android.net.Uri;
27 void onImportFinished(ImportRequest request, int jobId, Uri uri);
  /packages/apps/Dialer/src/com/android/dialer/util/
PhoneLookupUtil.java 19 import android.net.Uri;
29 public static String getContactIdColumnNameForUri(Uri phoneLookupUri) {
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BoundCursorLoader.java 21 import android.net.Uri;
32 public BoundCursorLoader(final String bindingId, final Context context, final Uri uri,
35 super(context, uri, projection, selection, selectionArgs, sortOrder);
FrequentContactsCursorQueryData.java 21 import android.net.Uri;
37 private final Uri mOriginalUri;
39 FrequentContactsCursorLoader(String bindingId, Context context, Uri uri,
41 super(bindingId, context, uri, projection, selection, selectionArgs, sortOrder);
42 mOriginalUri = uri;
57 final Uri uri = getUri(); local
58 if (uri != null) {
59 setUri(uri);
    [all...]
MediaScratchFileProvider.java 24 import android.net.Uri;
43 private static final SimpleArrayMap<Uri, String> sUriToDisplayNameMap =
44 new SimpleArrayMap<Uri, String>();
51 public static boolean isMediaScratchSpaceUri(final Uri uri) {
52 if (uri == null) {
56 final List<String> segments = uri.getPathSegments();
57 return (TextUtils.equals(uri.getScheme(), ContentResolver.SCHEME_CONTENT) &&
58 TextUtils.equals(uri.getAuthority(), AUTHORITY) &&
63 * Returns a uri that can be used to access a raw mms file
68 final Uri uri = FileProvider.buildFileUri(AUTHORITY, extension); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
MessagePartVideoThumbnailRequestDescriptor.java 20 import android.net.Uri;
29 public MessagePartVideoThumbnailRequestDescriptor(Uri uri) {
30 super(null, uri, ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE,
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/
MultiAttachmentLayoutTest.java 21 import android.net.Uri;
81 "image/jpeg", Uri.parse("content://uri1"), 100, 100);
83 "image/jpeg", Uri.parse("content://uri2"), 100, 100);
93 "image/jpeg", Uri.parse("content://uri1"), 100, 100);
95 "image/jpeg", Uri.parse("content://uri2"), 100, 100);
97 "image/jpeg", Uri.parse("content://uri3"), 100, 100);
99 "image/jpeg", Uri.parse("content://uri4"), 100, 100);
101 "image/jpeg", Uri.parse("content://uri5"), 100, 100);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestionProvider.java 31 import android.net.Uri;
62 public String getType(Uri uri) {
71 public Cursor query(Uri uri, String[] projection, String selection,
74 if (DBG) Log.d(TAG, "query uri=" + uri);
75 int match = mUriMatcher.match(uri);
78 String query = getQuery(uri);
82 String shortcutId = getQuery(uri);
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
SettingsContentObserver.java 21 import android.net.Uri;
42 public abstract void onChange(boolean selfChange, Uri uri);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
FolderWatcher.java 22 import android.net.Uri;
44 public static final String FOLDER_URI = "FOLDER-URI";
46 private final List<Uri> mUris = new ArrayList<Uri>();
47 /** Map returning the default inbox folder for each URI */
48 private final Map<Uri, Folder> mInboxMap = new HashMap<Uri, Folder>();
86 final List<Uri> newAccounts = new ArrayList<Uri>(allAccounts.length);
91 final List<Uri> uriCopy = Collections.unmodifiableList(Lists.newArrayList(mUris))
127 Uri uri; local
196 final Uri uri = account.settings.defaultInbox; local
217 final Uri uri = Uri.parse(args.getString(FOLDER_URI)); local
228 final Uri uri = f.folderUri.getComparisonUri(); local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DatabaseModifier.java 23 import android.net.Uri;
45 public abstract int update(Uri uri, String table, ContentValues values,
  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
TriggerContentTest.java 27 import android.net.Uri;
41 * Schedules jobs that look for content URI changes and ensures they are triggered correctly.
47 // The root URI of the media provider, to monitor for generic changes to its content.
48 static final Uri MEDIA_URI = Uri.parse("content://" + MediaStore.AUTHORITY + "/");
50 // Media URI for all external media content.
51 static final Uri MEDIA_EXTERNAL_URI = Uri.parse("content://" + MediaStore.AUTHORITY
73 Uri[] mActiveUris = new Uri[5]
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java 7 import android.net.Uri;
28 private HashMap<Uri, TestCursor> uriCursorMap = new HashMap<Uri, TestCursor>();
44 public final Uri uri; field in class:ShadowContentResolver.NotifiedUri
48 public NotifiedUri(Uri uri, ContentObserver observer, boolean syncToNetwork) {
49 this.uri = uri;
64 public final InputStream openInputStream(final Uri uri)
    [all...]
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryProvider.java 25 import android.net.Uri;
35 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/dictionary");
83 * When requesting a specific word, the uri alone is required.
89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
93 switch (sURIMatcher.match(uri)) {
97 "selectionArgs must be provided for the Uri: " + uri);
103 "selectionArgs must be provided for the Uri: " + uri)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
UriMatcherTest.java 4 import android.net.Uri;
24 Uri URI;
27 URI = Uri.parse("content://" + AUTH);
67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1));
70 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/1")), is(2));
73 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1))
    [all...]
  /frameworks/base/core/java/android/content/
DefaultDataHandler.java 19 import android.net.Uri;
37 * &lt;row uri="content://contacts/people">
42 * Delete, it must be in order of uri, select, and arg:
44 * &lt;del uri="content://contacts/people" select="name=? and addr=?"
47 * Use first row's uri to insert into another table,
50 * &lt;row uri="content://contacts/people">
63 * &lt;row uri="content://contacts/people" >
77 private final static String URI_STR = "uri";
83 private Stack<Uri> mUris = new Stack<Uri>();
101 Uri uri; local
    [all...]
  /frameworks/base/media/java/android/media/
MediaDescription.java 5 import android.net.Uri;
37 * A Uri for an icon suitable for display or null.
39 private final Uri mIconUri;
45 * A Uri to identify this content.
47 private final Uri mMediaUri;
50 CharSequence description, Bitmap icon, Uri iconUri, Bundle extras, Uri mediaUri) {
117 * Returns a Uri for an icon suitable for display or null.
119 * @return An icon uri or null.
121 public @Nullable Uri getIconUri()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
SharedImageProvider.java 23 import android.net.Uri;
39 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/image");
49 public int delete(Uri arg0, String arg1, String[] arg2) {
54 public String getType(Uri arg0) {
59 public String[] getStreamTypes(Uri arg0, String mimeTypeFilter) {
64 public Uri insert(Uri uri, ContentValues values) {
76 public int update(Uri arg0, ContentValues arg1, String arg2, String[] arg3)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/session/
CaptureSessionManagerImpl.java 21 import android.net.Uri;
65 * Notifies all task listeners that the task with the given URI has been
69 public void notifyTaskQueued(final Uri uri) {
75 listener.onSessionQueued(uri);
83 * Notifies all task listeners that the task with the given URI has been
87 public void notifyTaskDone(final Uri uri) {
93 listener.onSessionDone(uri);
96 finalizeSession(uri);
    [all...]
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DocumentsProviderHelper.java 30 import android.net.Uri;
70 final Uri rootsUri = buildRootsUri(mAuthority);
87 public Uri createDocument(Uri parentUri, String mimeType, String name) {
92 Uri uri = DocumentsContract.createDocument(mClient, parentUri, mimeType, name); local
93 return uri;
100 public Uri createDocument(String parentId, String mimeType, String name) {
101 Uri parentUri = buildDocumentUri(mAuthority, parentId);
105 public Uri createDocument(RootInfo root, String mimeType, String name)
120 Uri uri = out.getParcelable(DocumentsContract.EXTRA_URI); local
261 Uri uri = buildChildDocumentsUri(mAuthority, documentId); local
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
LegacyContactsProviderTest.java 24 import android.net.Uri;
71 Uri uri = mResolver.insert(People.CONTENT_URI, values); local
72 assertStoredValues(uri, values);
73 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri));
80 Uri uri = mResolver.insert(People.CONTENT_URI, values); local
81 long personId = ContentUris.parseId(uri);
82 assertStoredValues(uri, values);
87 mResolver.update(uri, values, null, null)
335 Uri uri = mResolver.insert(Organizations.CONTENT_URI, values); local
368 Uri uri = mResolver.insert(Organizations.CONTENT_URI, values); local
396 Uri uri = mResolver.insert(Phones.CONTENT_URI, values); local
438 Uri uri = mResolver.insert(Phones.CONTENT_URI, values); local
468 Uri uri = mResolver.insert(Phones.CONTENT_URI, values); local
540 Uri uri = mResolver.insert(ContactMethods.CONTENT_URI, values); local
577 Uri uri = mResolver.insert(ContactMethods.CONTENT_URI, values); local
600 Uri uri = mResolver.insert(Extensions.CONTENT_URI, values); local
620 Uri uri = mResolver.insert(Extensions.CONTENT_URI, values); local
    [all...]

Completed in 734 milliseconds

<<11121314151617181920>>