Lines Matching refs:uriString
65 * @param uriString the content URI to open
69 public static int openContentUriForRead(Context context, String uriString) {
70 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString);
81 * @param uriString the content URI to query.
85 public static boolean contentUriExists(Context context, String uriString) {
86 return getParcelFileDescriptor(context, uriString) != null;
93 * @param uriString the content URI to look up.
97 public static String getMimeType(Context context, String uriString) {
100 Uri uri = Uri.parse(uriString);
108 * @param uriString the content URI to open.
111 private static ParcelFileDescriptor getParcelFileDescriptor(Context context, String uriString) {
113 Uri uri = Uri.parse(uriString);
119 Log.w(TAG, "Cannot find content uri: " + uriString, e);
121 Log.w(TAG, "Cannot open content uri: " + uriString, e);
123 Log.w(TAG, "Unknown content uri: " + uriString, e);
125 Log.w(TAG, "Unknown content uri: " + uriString, e);