OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:outputStream
(Results
101 - 125
of
452
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/luni/src/test/java/libcore/java/nio/channels/
FileIOInterruptTest.java
127
// Now close the
OutputStream
to see what happens.
169
// Now close the
OutputStream
to see what happens.
483
private final FileOutputStream
outputStream
;
488
StreamWriter(FileOutputStream
outputStream
) {
489
this.
outputStream
=
outputStream
;
499
outputStream
.write(buffer);
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DriverManagerTest.java
366
String theOutput =
outputStream
.toString();
439
static ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
441
static PrintWriter testPrintWriter = new PrintWriter(
outputStream
);
/external/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java
107
// Write directly to an
OutputStream
, without invoking getSerializedSize()
112
// Directly construct a CodedOutputStream around the actual
OutputStream
,
113
// in case writeTo(
OutputStream
output) invokes getSerializedSize();
114
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
115
CodedOutputStream codedOutput = CodedOutputStream.newInstance(
outputStream
);
122
outputStream
.toByteArray());
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java
28
import java.io.
OutputStream
;
709
private static final
OutputStream
NULL_OUTPUT_STREAM = new
OutputStream
() {
764
public
OutputStream
newOutputStream(int index) throws IOException {
773
FileOutputStream
outputStream
;
775
outputStream
= new FileOutputStream(dirtyFile);
780
outputStream
= new FileOutputStream(dirtyFile);
786
return new FaultHidingOutputStream(
outputStream
);
829
private FaultHidingOutputStream(
OutputStream
out) {
/external/okhttp/okio/src/main/java/okio/
RealBufferedSink.java
19
import java.io.
OutputStream
;
120
@Override public
OutputStream
outputStream
() {
121
return new
OutputStream
() {
146
return RealBufferedSink.this + ".
outputStream
()";
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
MediaPlayerProxyTestCase.java
30
import java.io.
OutputStream
;
535
OutputStream
outputStream
= null;
539
outputStream
= getContentResolver().openOutputStream(uri);
540
copyBetweenStreams(inputStream,
outputStream
);
544
Closeables.closeQuietly(
outputStream
);
553
public void copyBetweenStreams(InputStream in,
OutputStream
out) throws IOException {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
TestResultsGenerator.java
769
FileOutputStream
outputStream
= null;
771
outputStream
= new FileOutputStream(outputFileName);
772
outputStream
.write(contents.getBytes());
779
if (
outputStream
!= null) {
781
outputStream
.close();
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
URLConnectionTest.java
37
import java.io.
OutputStream
;
486
OutputStream
out = conn.getOutputStream();
[
all
...]
/packages/apps/Gallery/src/com/android/camera/
CropImage.java
52
import java.io.
OutputStream
;
324
OutputStream
outputStream
= null;
326
outputStream
= mContentResolver.openOutputStream(mSaveUri);
327
if (
outputStream
!= null) {
328
croppedImage.compress(mOutputFormat, 75,
outputStream
);
334
Util.closeSilently(
outputStream
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
UpdateHandler.java
53
import java.io.
OutputStream
;
631
FileOutputStream
outputStream
= null;
633
outputStream
= context.openFileOutput(destinationFile, Context.MODE_PRIVATE);
634
copyFile(inputStream,
outputStream
);
637
if (
outputStream
!= null) {
638
outputStream
.close();
677
private static void copyFile(final InputStream in, final
OutputStream
out)
[
all
...]
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java
580
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
585
outputStream
.write(buffer, 0, size);
588
buffer =
outputStream
.toByteArray();
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java
580
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
585
outputStream
.write(buffer, 0, size);
588
buffer =
outputStream
.toByteArray();
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java
580
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
585
outputStream
.write(buffer, 0, size);
588
buffer =
outputStream
.toByteArray();
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
RopeByteString.java
35
import java.io.
OutputStream
;
399
public void writeTo(
OutputStream
outputStream
) throws IOException {
400
left.writeTo(
outputStream
);
401
right.writeTo(
outputStream
);
[
all
...]
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java
108
// Write directly to an
OutputStream
, without invoking getSerializedSize()
113
// Directly construct a CodedOutputStream around the actual
OutputStream
,
114
// in case writeTo(
OutputStream
output) invokes getSerializedSize();
115
ByteArrayOutputStream
outputStream
= new ByteArrayOutputStream();
116
CodedOutputStream codedOutput = CodedOutputStream.newInstance(
outputStream
);
123
outputStream
.toByteArray());