/external/emma/tools/java/com/vladium/tools/ |
ClassDep.java | 88 final FileOutputStream out = new FileOutputStream (outFile); local 93 result.store (out, "this file is auto-generated, do not edit"); 95 out.close ();
|
/external/guava/guava-tests/test/com/google/common/hash/ |
FunnelsTest.java | 130 OutputStream out = Funnels.asOutputStream(sink); local 132 out.write(255); 133 out.write(bytes); 134 out.write(bytes, 1, 2);
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTester.java | 134 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 135 source.copyTo(out); 136 assertExpectedBytes(out.toByteArray()); 140 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 145 return out; 148 assertExpectedBytes(out.toByteArray()); 171 final ByteArrayOutputStream out = new ByteArrayOutputStream(); 175 out.write(buf, off, len); 181 return out.toByteArray();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
CoverageTest.java | 78 System.out.print(" - can't write file!"); 163 ObjectOutputStream out = new ObjectOutputStream(byteOut); local 166 out.writeObject(objectsOut); 167 out.close();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
CoverageTest.java | 74 System.out.print(" - can't write file!"); 159 ObjectOutputStream out = new ObjectOutputStream(byteOut); local 162 out.writeObject(objectsOut); 163 out.close();
|
/external/icu/tools/ |
ZoneCompactor.java | 39 // Concatenate the contents of 'inFile' onto 'out'. 40 private static void copyFile(File inFile, OutputStream out) throws Exception { 50 out.write(buf, 0, nbytes); 57 out.flush(); 135 // Follow the chain of links to work out where the real data for this zone lives.
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
CoverageTransformerTest.java | 232 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 236 out.write(buffer, 0, len); 239 return out.toByteArray();
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/ |
ExecFileLoaderTest.java | 87 final OutputStream out = new FileOutputStream(file); local 88 out.write("invalid".getBytes()); 89 out.close(); 119 final FileOutputStream out = new FileOutputStream(file); local 120 final ExecutionDataWriter writer = new ExecutionDataWriter(out); 124 out.close();
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
ShutdownMonitor.java | 96 OutputStream out = socket.getOutputStream(); local 108 out.write("Stopped\r\n".getBytes(StringUtil.__UTF8)); 109 out.flush(); 128 out.write("OK\r\n".getBytes(StringUtil.__UTF8)); 129 out.flush(); 180 System.out.printf("STOP.PORT=%d%n",port); 187 System.out.printf("STOP.KEY=%s%n",key);
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
DefaultHandler.java | 175 OutputStream out=response.getOutputStream(); local 176 writer.writeTo(out); 177 out.close();
|
/external/mockito/src/org/mockito/internal/creation/ |
AcrossJVMSerializationFeature.java | 196 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 197 ObjectOutputStream objectOutputStream = new MockitoMockObjectOutputStream(out); 202 out.close(); 205 this.serializedMock = out.toByteArray(); 373 public MockitoMockObjectOutputStream(ByteArrayOutputStream out) throws IOException { 374 super(out);
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedServer.java | 118 System.out.println(e.getMessage()); 129 BufferedSink out = Okio.buffer(stream.getSink()); local 130 out.writeUtf8("Not found: " + path); 131 out.close(); 141 BufferedSink out = Okio.buffer(stream.getSink()); local 144 out.writeUtf8("<a href='" + target + "'>" + target + "</a><br>"); 146 out.close(); 158 BufferedSink out = Okio.buffer(stream.getSink()); local 159 out.writeAll(source); 160 out.close() [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
RealBufferedSinkTest.java | 33 OutputStream out = sink.outputStream(); local 34 out.close();
|
SegmentSharingTest.java | 67 Buffer out = new Buffer(); local 68 byteString.write(out.outputStream()); 69 assertEquals(xs + ys + zs, out.readUtf8());
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 51 final ByteString.CodedBuilder out = local 53 writeTo(out.getCodedOutput()); 54 return out.build();
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
HttpFacade.java | 43 private void inputStreamToOutputStream(InputStream in, OutputStream out) throws IOException { 48 if (out == null) { 56 out.write(bytes, 0, read); 62 out.close(); 121 // Try to figure out the name of the file being downloaded.
|
/frameworks/base/core/java/android/gesture/ |
GestureStore.java | 226 DataOutputStream out = null; local 236 out = new DataOutputStream((stream instanceof BufferedOutputStream) ? stream : 239 out.writeShort(FILE_FORMAT_VERSION); 241 out.writeInt(maps.size()); 249 out.writeUTF(key); 251 out.writeInt(count); 254 examples.get(i).serialize(out); 258 out.flush(); 267 if (closeStream) GestureUtils.closeStream(out);
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 146 public void writeToParcel(Parcel out, int flags) { 147 out.writeString(user); 148 out.writeString(interfaze); 149 out.writeString(session); 150 out.writeInt(mtu); 151 out.writeTypedList(addresses); 152 out.writeTypedList(routes); 153 out.writeStringList(dnsServers); 154 out.writeStringList(searchDomains); 155 out.writeStringList(allowedApplications) [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 180 PrintStream out = new PrintStream(outputStream); local 181 generateSnapshotHeader(name, packageInfo, out); 182 if (out.checkError()) { 214 PrintStream out) { 216 out.println("Version: 3"); 217 out.println("Process: " + processName); 219 out.println("Package: " + packageInfo.packageName); 220 out.println("Package-Version: " + packageInfo.versionCode); 222 out.println("Build: " + Build.FINGERPRINT); 224 out.println() [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
FileRotatorTest.java | 190 public void write(OutputStream out) throws IOException { 191 new DataOutputStream(out).writeUTF("bar"); 384 final OutputStream out = new FileOutputStream(new File(mBasePath, name)); local 385 out.close(); 390 final DataOutputStream out = new DataOutputStream( local 392 out.writeUTF(value); 393 out.close(); 398 public void write(OutputStream out) throws IOException { 399 new DataOutputStream(out).writeUTF(value);
|
/frameworks/base/obex/javax/obex/ |
HeaderSet.java | 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 577 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 580 out.write(COUNT); 583 out.write(NAME); 586 out.write(TYPE); 589 out.write(LENGTH); 592 out.write(TIME_ISO_8601); 595 out.write(TIME_4_BYTE); 598 out.write(DESCRIPTION); 601 out.write(TARGET) [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
DocumentsProviderHelper.java | 119 Bundle out = mClient.call("createDocumentWithFlags", null, in); local 120 Uri uri = out.getParcelable(DocumentsContract.EXTRA_URI); 140 try (AutoCloseOutputStream out = new AutoCloseOutputStream(file)) { 141 out.write(contents, 0, contents.length);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
OMAConstructed.java | 138 public void marshal(OutputStream out, int level) throws IOException { 139 OMAConstants.indent(level, out); 140 OMAConstants.serializeString(getName(), out); local 142 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8)); 144 out.write(new byte[]{'+', '\n'}); 147 child.marshal(out, level + 1); 149 OMAConstants.indent(level, out); 150 out.write(".\n".getBytes(StandardCharsets.UTF_8));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutPackageInfo.java | 154 public void saveToXml(XmlSerializer out) throws IOException { 156 out.startTag(null, TAG_ROOT); 158 ShortcutService.writeAttr(out, ATTR_VERSION, mVersionCode); 159 ShortcutService.writeAttr(out, ATTR_LAST_UPDATE_TIME, mLastUpdateTime); 160 ShortcutService.writeAttr(out, ATTR_SHADOW, mIsShadow); 163 out.startTag(null, TAG_SIGNATURE); 164 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, Base64.encode(mSigHashes.get(i))); 165 out.endTag(null, TAG_SIGNATURE); 167 out.endTag(null, TAG_ROOT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest7.java | 62 final File out = File.createTempFile("shellout-", ".tmp", local 65 try (final ParcelFileDescriptor fd = ParcelFileDescriptor.open(out, 73 return readAll(out); 75 out.delete();
|