Lines Matching refs:path
915 * Sets the data source (file-path or http/rtsp URL) to use.
917 * @param path the path of the file, or the http/rtsp URL of the stream you want to play
920 * <p>When <code>path</code> refers to a local file, the file may actually be opened by a
922 * should be an absolute path (as any other process runs with unspecified current working
927 public void setDataSource(String path)
929 setDataSource(path, null, null);
933 * Sets the data source (file-path or http/rtsp URL) to use.
935 * @param path the path of the file, or the http/rtsp URL of the stream you want to play
940 public void setDataSource(String path, Map<String, String> headers)
957 setDataSource(path, keys, values);
960 private void setDataSource(String path, String[] keys, String[] values)
964 final Uri uri = Uri.parse(path);
966 path = uri.getPath();
969 final File file = new File(path);
976 _setDataSource(path, keys, values);
981 String path, String[] keys, String[] values)
1733 * @param path The file path of external timed text source file.
1739 public void addTimedTextSource(String path, String mimeType)
1746 File file = new File(path);
1753 // We do not support the case where the path is not a file.
1754 throw new IOException(path);