/libcore/ojluni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 474 * will be read and at most {@link Buffer#remaining out.remaining()} 545 * @param out 566 public final CoderResult encode(CharBuffer in, ByteBuffer out, 579 cr = encodeLoop(in, out); 610 if (out.remaining() < replacement.length) 612 out.put(replacement); 635 * its current position. At most {@link Buffer#remaining out.remaining()} 652 * @param out 666 public final CoderResult flush(ByteBuffer out) { 668 CoderResult cr = implFlush(out); 795 ByteBuffer out = ByteBuffer.allocate(n); local [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
ChunkedOutputStream.java | 55 private PrintStream out; field in class:ChunkedOutputStream 92 out = o; 145 out.write(buf, 0, preferredChunkGrossSize); 146 out.flush(); 166 out.write(buf, adjustedHeaderStartIndex, count - adjustedHeaderStartIndex); 169 out.write(EMPTY_CHUNK_HEADER, 0, EMPTY_CHUNK_HEADER_SIZE); 172 out.flush(); 179 return out.checkError(); 184 if (out == null) 290 out = null [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
URLJarFile.java | 207 final OutputStream out = new FileOutputStream(dst); local 212 out.write(buf, 0, len); 215 out.close();
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
PKCS9Attributes.java | 234 * @param out the output stream on which to put the DER encoding. 238 public void encode(byte tag, OutputStream out) throws IOException { 239 out.write(tag); 240 out.write(derEncoding, 1, derEncoding.length -1); 244 DerOutputStream out = new DerOutputStream(); local 247 out.putOrderedSetOf(DerValue.tag_SetOf, 249 return out.toByteArray();
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
OCSP.java | 216 OutputStream out = null; local 233 out = con.getOutputStream(); 234 out.write(bytes); 235 out.flush(); 272 if (out != null) { 274 out.close();
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 116 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 121 out.write(in.read()); 124 out.flush(); 125 test0Data = out.toByteArray(); 126 out.close(); 137 if (out != null) { 138 out.close();
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactPhotoUtils.java | 54 * Generate a new, unique file to be used as an out-of-band communication 111 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 113 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 114 out.flush(); 115 out.close(); 116 return out.toByteArray();
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetProvider.java | 53 Log.d(TAG, "sending out views=" + views 63 // Clean deleted photos out of our database 129 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 130 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 131 out.flush(); 132 out.close(); 137 out.toByteArray());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 189 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 191 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 192 out.flush(); 193 out.close(); 194 return out.toByteArray();
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestSongs.java | 88 OutputStream out = new FileOutputStream(dst); local 90 // Transfer bytes from in to out 94 out.write(buf, 0, len); 97 out.close(); 129 System.out.println("resolver = null"); 159 System.out.println("resolver = null"); 207 System.out.println("resolver = null");
|
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/ |
TagCanon.java | 87 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 90 photo.compress(Bitmap.CompressFormat.PNG, 100, out); 91 out.flush(); 92 byte[] payload = out.toByteArray(); 93 out.close();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 113 PrintWriter out = new PrintWriter(buf); typedefs 114 out.println(); 1159 OutputStreamWriter out = new OutputStreamWriter(output); local 1194 OutputStreamWriter out = new OutputStreamWriter(output, encoding); local [all...] |
/packages/services/Telephony/src/org/apache/commons/io/ |
IOUtils.java | 112 PrintWriter out = new PrintWriter(buf); typedefs 113 out.println(); 1084 OutputStreamWriter out = new OutputStreamWriter(output); local 1119 OutputStreamWriter out = new OutputStreamWriter(output, encoding); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/ |
NdkDiscoveredPathInfo.java | 138 PrintStream out = new PrintStream(infoFile); local 141 out.print("t,"); //$NON-NLS-1$ 142 out.print(mLastUpdate); 143 out.println(); 146 out.print("i,"); //$NON-NLS-1$ 147 out.print(include.toPortableString()); 148 out.println(); 152 out.print("d,"); //$NON-NLS-1$ 153 out.print(symbol.getKey()); 154 out.print(","); //$NON-NLS-1 [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldJarURLConnectionTest.java | 213 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile)); local 214 out.putNextEntry(new ZipEntry("test")); 215 out.closeEntry(); 216 out.close(); 294 JarOutputStream out = new JarOutputStream(new BufferedOutputStream( local 297 out.putNextEntry(jarEntry); 298 out.write(new byte[] { 'a', 'b', 'c' }); 299 out.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
AbstractZipFileTest.java | 89 FileOutputStream out = new FileOutputStream(f); local 90 out.write(bytes); 91 out.close(); 104 ZipOutputStream out = createZipOutputStream(baos); local 105 out.putNextEntry(new ZipEntry(name2)); 106 out.closeEntry(); 107 out.putNextEntry(new ZipEntry(name1)); 108 out.closeEntry(); 109 out.close(); 133 ZipOutputStream out = createZipOutputStream(baos) local 257 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); local 376 ZipOutputStream out = createZipOutputStream(file); local 423 ZipOutputStream out = createZipOutputStream(file); local 439 ZipOutputStream out = createZipOutputStream(file); local 469 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); local 520 ZipOutputStream out = createZipOutputStream(zip); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 718 XmlSerializer out = new FastXmlSerializer(); local 719 out.setOutput(fos, StandardCharsets.UTF_8.name()); 720 out.startDocument(null, true); 721 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 722 out.startTag(null, "services"); 724 out.startTag(null, "service"); 725 out.attribute(null, "uid", Integer.toString(service.getValue())); 726 mSerializerAndParser.writeAsXml(service.getKey(), out); local 727 out.endTag(null, "service"); 729 out.endTag(null, "services") [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsUsageMonitor.java | 505 XmlSerializer out = new FastXmlSerializer(); local 506 out.setOutput(outfile, StandardCharsets.UTF_8.name()); 508 out.startDocument(null, true); 510 out.startTag(null, TAG_SMS_POLICY_BODY); 513 out.startTag(null, TAG_PACKAGE); 514 out.attribute(null, ATTR_PACKAGE_NAME, policy.getKey()); 515 out.attribute(null, ATTR_PACKAGE_SMS_POLICY, policy.getValue().toString()); 516 out.endTag(null, TAG_PACKAGE); 519 out.endTag(null, TAG_SMS_POLICY_BODY); 520 out.endDocument() [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CarrierConfigLoader.java | 118 // Bind timed out for the default app. 120 // Bind timed out for a carrier app. 489 FastXmlSerializer out = new FastXmlSerializer(); local 490 out.setOutput(outFile, "utf-8"); 491 out.startDocument("utf-8", true); 492 out.startTag(null, TAG_DOCUMENT); 493 out.startTag(null, TAG_VERSION); 494 out.text(version); 495 out.endTag(null, TAG_VERSION); 496 out.startTag(null, TAG_BUNDLE) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptorTest.java | 194 // test writeToParcel(), test by assert source and out FileDescriptor content equals. 198 AssetFileDescriptor out = AssetFileDescriptor.CREATOR.createFromParcel(parcel); local 199 assertEquals(out.getStartOffset(), mAssetFileDes.getStartOffset()); 200 assertEquals(out.getDeclaredLength(), mAssetFileDes.getDeclaredLength()); 201 assertEquals(out.getParcelFileDescriptor().getStatSize(),
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 46 * Handler for writing out {@code encoded_values} and parts 102 private final AnnotatedOutput out; field in class:ValueEncoder 108 * @param out {@code non-null;} output stream to write to 110 public ValueEncoder(DexFile file, AnnotatedOutput out) { 115 if (out == null) { 116 throw new NullPointerException("out == null"); 120 this.out = out; 124 * Writes out the encoded form of the given constant. 184 out.writeByte(type) [all...] |
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
FileByFileV1DeltaApplierTest.java | 129 FileOutputStream out = new FileOutputStream(oldFile); local 130 out.write(oldFileBytes); 131 out.flush(); 132 out.close(); 151 // Initialize fake delta applier to mock out dependency on bsdiff
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ValueEncoder.java | 44 * Handler for writing out {@code encoded_values} and parts 100 private final AnnotatedOutput out; field in class:ValueEncoder 106 * @param out {@code non-null;} output stream to write to 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { 113 if (out == null) { 114 throw new NullPointerException("out == null"); 118 this.out = out; 122 * Writes out the encoded form of the given constant. 182 out.writeByte(type) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetCloseOver.java | 64 System.out.println("This tool will generate several output files. Each is named according"); 65 System.out.println("the target file. For example, the contents of to_UnicodeSet.java should"); 66 System.out.println("be pasted into UnicodeSet.java."); 67 System.out.println(); 200 PrintStream out = new PrintStream(new FileOutputStream(JAVA_OUT)); local 201 System.out.println("Writing " + JAVA_OUT); 203 out.println(" // " + WARNING); 204 out.println(" private static final String CASE_PAIRS ="); 205 out.println(Utility.formatForSource(pairs.toString()) + ";"); 206 out.println() [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/ |
HieroSettings.java | 314 PrintStream out = new PrintStream(file, "UTF-8"); local 315 out.println("font.name=" + fontName); 316 out.println("font.size=" + fontSize); 317 out.println("font.bold=" + bold); 318 out.println("font.italic=" + italic); 319 out.println("font.gamma=" + gamma); 320 out.println("font.mono=" + mono); 321 out.println(); 322 out.println("font2.file=" + font2File); 323 out.println("font2.use=" + font2Active) [all...] |