OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:toDataSource
(Results
1 - 3
of
3
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/
DataSource.java
22
public static DataSource
toDataSource
(String path) {
26
public static DataSource
toDataSource
(Context context, Uri uri) {
27
return
toDataSource
(uri.toString());
30
public static DataSource
toDataSource
(Context context, Uri uri, Map<String, String> headers) {
31
return
toDataSource
(context, uri);
34
public static DataSource
toDataSource
(String uri, Map<String, String> headers) {
35
return
toDataSource
(uri);
38
public static DataSource
toDataSource
(FileDescriptor fd) {
39
return
toDataSource
(fd, 0, 0);
43
public static DataSource
toDataSource
(FileDescriptor fd, long offset, long length)
[
all
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMediaMetadataRetrieverTest.java
11
import static org.robolectric.shadows.util.DataSource.
toDataSource
;
112
addException(
toDataSource
(path2), new IllegalArgumentException());
133
addException(
toDataSource
(path), e);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMediaMetadataRetriever.java
3
import static org.robolectric.shadows.util.DataSource.
toDataSource
;
35
setDataSource(
toDataSource
(path));
40
setDataSource(
toDataSource
(context, uri));
45
setDataSource(
toDataSource
(uri, headers));
50
setDataSource(
toDataSource
(fd, offset, length));
88
* Uses <tt>path</tt> to call {@link org.robolectric.shadows.util.DataSource#
toDataSource
(String)} and
98
addMetadata(
toDataSource
(path), keyCode, value);
110
* Uses <tt>path</tt> to call {@link org.robolectric.shadows.util.DataSource#
toDataSource
(String)} and
121
addFrame(
toDataSource
(path), time, bitmap);
126
* Uses <tt>path</tt> to call {@link org.robolectric.shadows.util.DataSource#
toDataSource
(Context, Uri)} an
[
all
...]
Completed in 88 milliseconds