OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:outputstream
(Results
251 - 275
of
2671
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/guava/guava/src/com/google/common/hash/
Funnels.java
20
import java.io.
OutputStream
;
217
* Wraps a {@code PrimitiveSink} as an {@link
OutputStream
}, so it is easy to
219
* if there is already a way to write the contents of the object to an {@code
OutputStream
}.
221
* <p>The {@code close} and {@code flush} methods of the returned {@code
OutputStream
}
226
public static
OutputStream
asOutputStream(PrimitiveSink sink) {
230
private static class SinkAsStream extends
OutputStream
{
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpKeepAliveTest.java
95
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
98
NanoHTTPD.HTTPSession session = HttpKeepAliveTest.this.testServer.createSession(tempFileManager, inputStream,
outputStream
);
102
outputStream
.reset();
104
assertResponse(
outputStream
, expected);
111
outputStream
.reset();
120
assertResponse(
outputStream
, expected);
/external/okhttp/okio/okio/src/test/java/okio/
RealBufferedSinkTest.java
19
import java.io.
OutputStream
;
33
OutputStream
out = sink.
outputStream
();
186
// Test a sample set of methods on the
OutputStream
.
187
OutputStream
os = bufferedSink.
outputStream
();
/frameworks/base/drm/java/android/drm/
DrmUtils.java
25
import java.io.
OutputStream
;
65
FileOutputStream
outputStream
= null;
69
outputStream
= new FileOutputStream(path);
70
outputStream
.write(data);
72
quietlyDispose(
outputStream
);
92
private static void quietlyDispose(
OutputStream
stream) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
CountingOutputStream.java
20
import java.io.
OutputStream
;
39
* @param out the
OutputStream
to write to
41
public CountingOutputStream(
OutputStream
out ) {
52
* @see java.io.
OutputStream
#write(byte[])
67
* @see java.io.
OutputStream
#write(byte[], int, int)
80
* @see java.io.
OutputStream
#write(int)
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
CopyUtils.java
23
import java.io.
OutputStream
;
33
* (<code>
OutputStream
</code>, <code>Writer</code>, <code>String</code> and
84
* 1 copy InputStream
OutputStream
(primitive)
89
* 4 copy Reader
OutputStream
2
91
* 5 copy String
OutputStream
2
95
* 8 copy byte[]
OutputStream
(trivial)
128
// byte[] ->
OutputStream
132
* Copy bytes from a <code>byte[]</code> to an <code>
OutputStream
</code>.
134
* @param output the <code>
OutputStream
</code> to write to
137
public static void copy(byte[] input,
OutputStream
output
[
all
...]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
Instrumenter.java
17
import java.io.
OutputStream
;
141
public void instrument(final InputStream input, final
OutputStream
output,
175
final
OutputStream
output, final String name) throws IOException {
194
final
OutputStream
output, final String name) throws IOException {
216
final
OutputStream
output, final String name) throws IOException {
224
final
OutputStream
output, final String name) throws IOException {
232
private void copy(final InputStream input, final
OutputStream
output)
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
TestNanoFileUpLoad.java
39
import java.io.
OutputStream
;
109
public HTTPSession createSession(TempFileManager tempFileManager, InputStream inputStream,
OutputStream
outputStream
) {
110
return new HTTPSession(tempFileManager, inputStream,
outputStream
);
113
public HTTPSession createSession(TempFileManager tempFileManager, InputStream inputStream,
OutputStream
outputStream
, InetAddress inetAddress) {
114
return new HTTPSession(tempFileManager, inputStream,
outputStream
, inetAddress);
/frameworks/base/core/java/android/util/jar/
StrictJarManifest.java
22
import java.io.
OutputStream
;
166
* Writes this {@code StrictJarManifest}'s name/attributes pairs to the given {@code
OutputStream
}.
173
public void write(
OutputStream
os) throws IOException {
246
* specified {@code
OutputStream
}
251
* The {@code
OutputStream
} to write to.
255
static void write(StrictJarManifest manifest,
OutputStream
out) throws IOException {
290
private static void writeEntry(
OutputStream
os, Attributes.Name name,
/libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprofWriter.java
21
import java.io.
OutputStream
;
47
public static void write(HprofData data,
OutputStream
outputStream
) throws IOException {
48
new BinaryHprofWriter(data,
outputStream
).write();
51
private BinaryHprofWriter(HprofData data,
OutputStream
outputStream
) {
53
this.out = new DataOutputStream(
outputStream
);
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
ImageDownloader.java
39
import java.io.
OutputStream
;
269
OutputStream
outputStream
= null;
273
outputStream
= new BufferedOutputStream(dataStream, IO_BUFFER_SIZE);
274
copy(inputStream,
outputStream
);
275
outputStream
.flush();
289
if (
outputStream
!= null) {
290
outputStream
.close();
338
public void copy(InputStream in,
OutputStream
out) throws IOException {
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
FileEntryTest.groovy
72
OutputStream
out = entry.createOutputStream(false)
76
// Another
OutputStream
, append=false
81
// Another
OutputStream
, append=true
91
// New
OutputStream
, append=true (so should append to contents we set directly)
96
// Yet another
OutputStream
, append=true (so should append to accumulated contents)
97
OutputStream
out2 = entry.createOutputStream(true)
102
// Write with the previous
OutputStream
(simulate 2 OututStreams writing "concurrently")
130
def
outputStream
= entry.createOutputStream(false)
131
outputStream
.withWriter { writer -> writer.write('ABCDEF') }
/packages/apps/Messaging/src/com/android/messaging/util/
UriUtil.java
38
import java.io.
OutputStream
;
283
OutputStream
outputStream
= null;
285
outputStream
= context.getContentResolver().openOutputStream(targetUri);
286
ByteStreams.copy(inputStream,
outputStream
);
291
if (
outputStream
!= null) {
293
outputStream
.flush();
295
LogUtil.e(LogUtil.BUGLE_TAG, "error trying to flush the
outputStream
", e);
299
outputStream
.close();
/external/apache-http/android/src/com/android/internal/http/multipart/
StringPart.java
33
import java.io.
OutputStream
;
120
* Writes the data to the given
OutputStream
.
121
* @param out the
OutputStream
to write to
125
protected void sendData(
OutputStream
out) throws IOException {
126
LOG.trace("enter sendData(
OutputStream
)");
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
TcpConnectionTest.java
19
import java.io.
OutputStream
;
54
final
OutputStream
remoteOut = mockConnection.getSocketB()
67
final
OutputStream
remoteOut = mockConnection.getSocketB()
82
final
OutputStream
remoteOut = mockConnection.getSocketB()
130
final
OutputStream
remoteOut = mockConnection.getSocketB()
/external/okhttp/okio/okio/src/main/java/okio/
BufferedSink.java
19
import java.io.
OutputStream
;
33
* Like {@link
OutputStream
#write(byte[])}, this writes a complete byte array to
39
* Like {@link
OutputStream
#write(byte[], int, int)}, this writes {@code byteCount}
116
OutputStream
outputStream
();
RealBufferedSink.java
20
import java.io.
OutputStream
;
187
@Override public
OutputStream
outputStream
() {
188
return new
OutputStream
() {
213
return RealBufferedSink.this + ".
outputStream
()";
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
GithubFeedbackTask.java
34
import java.io.
OutputStream
;
106
OutputStream
outputStream
= httpURLConnection.getOutputStream();
109
outputStream
.write(convertToGithubIssueFormat(environmentDetails));
111
outputStream
.close();
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
MediaStoreSaver.java
21
import java.io.
OutputStream
;
37
void write(
OutputStream
imageOut) throws IOException;
46
public void write(
OutputStream
imageOut) {
75
OutputStream
imageOut = cr.openOutputStream(url);
143
OutputStream
thumbOut = cr.openOutputStream(url);
/libcore/ojluni/src/main/java/java/io/
FilterOutputStream.java
36
* all methods of <code>
OutputStream
</code> with versions that pass
45
class FilterOutputStream extends
OutputStream
{
49
protected
OutputStream
out;
60
public FilterOutputStream(
OutputStream
out) {
71
* Implements the abstract <tt>write</tt> method of <tt>
OutputStream
</tt>.
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
VoicemailActivityInstrumentationTestCase2.java
37
import java.io.
OutputStream
;
164
OutputStream
outputStream
= getContentResolver().openOutputStream(mVoicemailUri)) {
165
copyBetweenStreams(inputStream,
outputStream
);
201
protected void copyBetweenStreams(InputStream in,
OutputStream
out) throws IOException {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
BlockingHttpClientTests.java
38
import java.io.
OutputStream
;
86
final
OutputStream
mockOutputStream = Mockito.mock(
OutputStream
.class);
116
final
OutputStream
mockOutputStream = Mockito.mock(
OutputStream
.class);
/cts/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/
ManifestGeneratorTest.java
20
import java.io.
OutputStream
;
59
OutputStream
output = new
OutputStream
() {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
Streams.java
6
import java.io.
OutputStream
;
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/resource/gif/
GifResourceEncoder.java
19
import java.io.
OutputStream
;
44
public boolean encode(Resource<GifDrawable> resource,
OutputStream
os) {
87
private boolean writeDataDirect(byte[] data,
OutputStream
os) {
Completed in 1764 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>