OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:InputStream
(Results
101 - 125
of
3051
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
RootInputStream.java
23
import java.io.
InputStream
;
26
* <code>
InputStream
</code> used by the parser to wrap the original user
35
class RootInputStream extends
InputStream
{
36
private
InputStream
is = null;
46
public RootInputStream(
InputStream
is) {
61
* Truncates this <code>
InputStream
</code>. After this call any
71
* @see java.io.
InputStream
#read()
88
* @see java.io.
InputStream
#read(byte[], int, int)
106
* @see java.io.
InputStream
#read(byte[])
/cts/tests/tests/provider/src/android/provider/cts/
PhotoUtil.java
24
import java.io.
InputStream
;
29
InputStream
input = context.getResources().openRawResource(R.drawable.testimage);
/cts/tests/tests/security/src/android/security/cts/
AllocatePixelRefIntOverflowTest.java
24
import java.io.
InputStream
;
36
InputStream
exploitImage = mContext.getResources().openRawResource(
BigRleTest.java
23
import java.io.
InputStream
;
35
InputStream
exploitImage = mContext.getResources().openRawResource(R.raw.bug_33251605);
/external/apache-harmony/support/src/test/java/tests/support/
Support_HttpConnector.java
21
import java.io.
InputStream
;
34
public
InputStream
getInputStream() throws IOException;
/external/apache-http/android/src/com/android/internal/http/multipart/
ByteArrayPartSource.java
34
import java.io.
InputStream
;
82
public
InputStream
createInputStream() {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DEROctetStringParser.java
4
import java.io.
InputStream
;
21
* Return an
InputStream
representing the contents of the OCTET STRING.
23
* @return an
InputStream
with its source as the OCTET STRING content.
25
public
InputStream
getOctetStream()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
Streams.java
5
import java.io.
InputStream
;
21
public static void drain(
InputStream
inStr)
37
public static byte[] readAll(
InputStream
inStr)
54
public static byte[] readAllLimited(
InputStream
inStr, int limit)
70
public static int readFully(
InputStream
inStr, byte[] buf)
86
public static int readFully(
InputStream
inStr, byte[] buf, int off, int len)
109
public static void pipeAll(
InputStream
inStr, OutputStream outStr)
128
public static long pipeAllLimited(
InputStream
inStr, long limit, OutputStream outStr)
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
StreamUriLoader.java
16
import java.io.
InputStream
;
19
* A {@link ModelLoader} for translating uri models into {@link
InputStream
} data. Capable of handling 'http',
23
public class StreamUriLoader extends UriLoader<
InputStream
> implements StreamModelLoader<Uri> {
28
public static class Factory implements ModelLoaderFactory<Uri,
InputStream
> {
31
public ModelLoader<Uri,
InputStream
> build(Context context, GenericLoaderFactory factories) {
32
return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class,
InputStream
.class));
45
public StreamUriLoader(Context context, ModelLoader<GlideUrl,
InputStream
> urlLoader) {
50
protected DataFetcher<
InputStream
> getLocalUriFetcher(Context context, Uri uri) {
55
protected DataFetcher<
InputStream
> getAssetPathFetcher(Context context, String assetPath) {
StreamFileLoader.java
13
import java.io.
InputStream
;
16
* A {@link ModelLoader} For translating {@link File} models for local uris into {@link
InputStream
} data.
18
public class StreamFileLoader extends FileLoader<
InputStream
> implements StreamModelLoader<File> {
23
public static class Factory implements ModelLoaderFactory<File,
InputStream
> {
25
public ModelLoader<File,
InputStream
> build(Context context, GenericLoaderFactory factories) {
26
return new StreamFileLoader(factories.buildModelLoader(Uri.class,
InputStream
.class));
39
public StreamFileLoader(ModelLoader<Uri,
InputStream
> uriLoader) {
StreamResourceLoader.java
12
import java.io.
InputStream
;
15
* A {@link ModelLoader} For translating android resource id models for local uris into {@link
InputStream
} data.
17
public class StreamResourceLoader extends ResourceLoader<
InputStream
> implements StreamModelLoader<Integer> {
22
public static class Factory implements ModelLoaderFactory<Integer,
InputStream
> {
25
public ModelLoader<Integer,
InputStream
> build(Context context, GenericLoaderFactory factories) {
26
return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class,
InputStream
.class));
39
public StreamResourceLoader(Context context, ModelLoader<Uri,
InputStream
> uriLoader) {
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
InputStreams.java
16
import java.io.
InputStream
;
19
* Utilities for {@link
InputStream
}s.
28
* {@link
InputStream
} is not closed by this method.
36
public static byte[] readFully(final
InputStream
is) throws IOException {
ContentTypeDetector.java
16
import java.io.
InputStream
;
42
private final
InputStream
in;
56
public ContentTypeDetector(final
InputStream
in) throws IOException {
67
private static int determineType(final
InputStream
in) throws IOException {
95
private static int readInt(final
InputStream
in) throws IOException {
105
public
InputStream
getInputStream() {
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
MemoryOutput.java
19
import java.io.
InputStream
;
34
public
InputStream
getContentsAsStream() {
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
SeekableInputStream.java
12
import java.io.
InputStream
;
18
public abstract class SeekableInputStream extends
InputStream
{
32
* {@link java.io.
InputStream
#skip(long)
InputStream
.skip}.
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
IoUtil.java
20
import java.io.
InputStream
;
31
* Read the contents of the
InputStream
and return as a byte[].
33
* @param input - the
InputStream
to read
34
* @return the contents of the
InputStream
as a byte[]
35
* @throws AssertFailedException - if the
InputStream
is null
38
public static byte[] readBytes(
InputStream
input) throws IOException {
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue205/
AppleSmileTest.java
21
import java.io.
InputStream
;
27
InputStream
input = Thread.currentThread().getContextClassLoader().getResourceAsStream("issues/ios_emoji_surrogate.yaml");
/frameworks/opt/bitmap/src/com/android/bitmap/
RequestKey.java
22
import java.io.
InputStream
;
88
* object to cancel the asynchronous task. If the client wants to create an
InputStream
instead,
95
* Create an {@link
InputStream
} for the source. This method will be called if
103
public
InputStream
createInputStream() throws IOException;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeInputStream.java
19
import java.io.
InputStream
;
25
public class FakeInputStream extends
InputStream
{
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
StreamUtil.java
20
import java.io.
InputStream
;
33
* @param inStream the {@link
InputStream
}
37
public static void copyStreams(
InputStream
inStream, OutputStream outStream)
/tools/apksig/src/test/java/com/android/apksig/internal/util/
ByteStreams.java
21
import java.io.
InputStream
;
32
public static byte[] toByteArray(
InputStream
in) throws IOException {
/tools/tradefederation/core/src/com/android/tradefed/result/
ByteArrayInputStreamSource.java
19
import java.io.
InputStream
;
33
public synchronized
InputStream
createInputStream() {
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
FileToStreamDecoder.java
10
import java.io.
InputStream
;
13
* A decoder that wraps an {@link
InputStream
} decoder to allow it to decode from a file.
15
* @param <T> The type of resource that the wrapped
InputStream
decoder decodes.
20
private ResourceDecoder<
InputStream
, T> streamDecoder;
23
public FileToStreamDecoder(ResourceDecoder<
InputStream
, T> streamDecoder) {
28
FileToStreamDecoder(ResourceDecoder<
InputStream
, T> streamDecoder, FileOpener fileOpener) {
35
InputStream
is = null;
59
public
InputStream
open(File file) throws FileNotFoundException {
/external/sfntly/cpp/src/sfntly/
font_factory.h
50
void LoadFonts(
InputStream
* is, FontArray* output);
67
void LoadFontsForBuilding(
InputStream
* is, FontBuilderArray* output);
115
CALLER_ATTACH Font* LoadSingleOTF(
InputStream
* is);
118
void LoadCollection(
InputStream
* is, FontArray* output);
121
CALLER_ATTACH Font::Builder* LoadSingleOTFForBuilding(
InputStream
* is);
126
void LoadCollectionForBuilding(
InputStream
* is, FontBuilderArray* builders);
/libcore/luni/src/main/java/javax/xml/transform/stream/
StreamSource.java
23
import java.io.
InputStream
;
31
* <p><em>Note:</em> Due to their internal use of either a {@link Reader} or {@link
InputStream
} instance,
49
* {@link #setInputStream(java.io.
InputStream
inputStream
)} or
52
* create an empty source {@link java.io.
InputStream
} using
53
* {@link java.io.
InputStream
#
InputStream
() new
InputStream
()}.</p>
69
* @param
inputStream
A valid
InputStream
reference to an XML stream
[
all
...]
Completed in 7842 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>