/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
LogoUtils.java | 44 final FileOutputStream out = new FileOutputStream(logoFile); local 48 out.write(buffer, 0, bytesReadCount); 50 out.close();
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 124 ClassDefItem out = local 131 out.setClassAnnotations(classAnnotations, dexFile); 136 processFields(cf, out, dexFile); 137 processMethods(cf, cfOptions, dexOptions, out, dexFile); 156 return out; 163 * @param out {@code non-null;} output class 167 DirectClassFile cf, ClassDefItem out, DexFile dexFile) { 184 out.addStaticField(fi, constVal); 187 out.addInstanceField(fi); 193 out.addFieldAnnotations(field, annotations, dexFile) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 70 ZipOutputStream out = null; local 72 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(reportFile))); 74 out.putNextEntry(entry); 75 out.write(contents); 81 if (out != null) { 82 out.close();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 32 PrintStream out = new PrintStream(outputStream); local 40 printPackage(apiPackage, out); 44 out.println(); 45 out.println(); 49 printPackage(apiPackage, out); 55 printClass(apiClass, out); 61 printConstructor(constructor, out); 67 printMethod(method, out); 75 private static void printPackage(ApiPackage apiPackage, PrintStream out) { 76 out.println(apiPackage.getName() + " [all...] |
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 50 final OutputStream out = new FileOutputStream(file); local 52 out.write(data); 54 out.close();
|
/external/emma/core/java12/com/vladium/util/ |
Descriptors.java | 100 final StringBuffer out = new StringBuffer (); local 107 out.append (className); 109 out.append (methodVMName); 116 out.append (methodVMName); 122 out.append (" ("); 128 if (start > 1) out.append (", "); 129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); 135 out.append ("): "); 137 typeDescriptorToJavaName (chars, end + 1, shortTypeNames, out); 141 out.append (')') [all...] |
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
StrictLineReader.java | 148 ByteArrayOutputStream out = new ByteArrayOutputStream(end - pos + 80) { local 161 out.write(buf, pos, end - pos); 169 out.write(buf, pos, i - pos); 172 return out.toString();
|
/external/guava/guava/src/com/google/common/io/ |
ByteSink.java | 85 OutputStream out = openStream(); local 86 return (out instanceof BufferedOutputStream) 87 ? (BufferedOutputStream) out 88 : new BufferedOutputStream(out); 101 OutputStream out = closer.register(openStream()); local 102 out.write(bytes); 103 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330 123 OutputStream out = closer.register(openStream()); local 124 long written = ByteStreams.copy(input, out); 125 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=133 [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingOutputStreamTest.java | 48 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 50 out.write(b); 60 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 62 out.write(buf); 72 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 74 out.write(buf, 0, 3); 83 HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); local 85 out.write(buf); 87 assertEquals(expectedHash, out.hash());
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 64 PrintWriter out = null; local 66 out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(outName), "UTF8")); 68 out = new PrintWriter(System.out); 70 trans(trans, inText, in, out, isHTML); 71 out.close(); 75 BufferedReader in, PrintWriter out, boolean isHTML) throws IOException { 98 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 106 if (DEBUG) System.out.println("T:" + line.substring(right+1)); 112 if (DEBUG) System.out.println("T:" + line.substring(right+1, left)) [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
SignatureRemoverTest.java | 103 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 105 assertTrue(remover.filterEntry("META-INF/MANIFEST.MF", in, out)); 116 createManifest(out.toByteArray()));
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
TargetLoader.java | 62 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 66 out.write(buffer, 0, len); 69 return out.toByteArray();
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
ExecDump.java | 31 private final PrintStream out; field in class:ExecDump 36 * @param out 39 public ExecDump(final PrintStream out) { 40 this.out = out; 58 out.printf("exec file: %s%n", file); 59 out.println("CLASS ID HITS/PROBES CLASS NAME"); 65 out.printf("Session \"%s\": %s - %s%n", info.getId(), new Date( 72 out.printf("%016x %3d of %3d %s%n", 81 out.println() [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
StandaloneJarProcessor.java | 33 JarOutputStream out = new JarOutputStream(new FileOutputStream(tmpTo)); local 50 out.putNextEntry(entry); 51 out.write(struct.data); 63 out.close();
|
/external/javassist/sample/evolve/ |
DemoServer.java | 47 public void doReply(InputStream in, OutputStream out, String cmd)
51 runJava(out);
72 super.doReply(in, out, cmd);
76 OutputStreamWriter out = new OutputStreamWriter(outs);
local 77 out.write("HTTP/1.0 200 OK\r\n\r\n");
79 page.show(out);
80 out.close();
|
/external/objenesis/tck/test/org/objenesis/tck/ |
TextReporterTest.java | 71 PrintStream out = new PrintStream(expectedSummaryBuffer); local 72 out.println("Running TCK on platform: Some platform"); 73 out.println(); 74 out.println("Not serializable parent constructor called: Y"); 75 out.println(); 76 out.println(" instantiator1 instantiator2 instantiator3 "); 77 out.println("candidate A n n Y "); 78 out.println("candidate B Y n Y "); 79 out.println("candidate C n n Y "); 80 out.println() [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.java | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 131 ObjectOutputStream out = new ObjectOutputStream(baos); local 133 out.writeObject(expected); 135 out.close();
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 55 BufferedWriter out = new BufferedWriter(stream); local 56 out.write(data); 57 out.close(); 96 // Filter out any files that don't have interpreters installed. 121 // Filter out any files that don't have interpreters installed.
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
AnnotationDirectoryItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 58 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); 60 out.annotate(4, "class_annotations_off = %s", 63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "fields_size = %d", fieldsSize); 66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); 67 out.annotate(4, "annotated_methods_size = %d", annotatedMethodsSize); 69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); 70 out.annotate(4, "annotated_parameters_size = %d", annotatedParameterSize) [all...] |
/frameworks/base/core/java/android/text/util/ |
Rfc822Tokenizer.java | 45 public static void tokenize(CharSequence text, Collection<Rfc822Token> out) { 66 out.add(new Rfc822Token(name.toString(), 70 out.add(new Rfc822Token(null, 151 out.add(new Rfc822Token(name.toString(), 155 out.add(new Rfc822Token(null, 172 ArrayList<Rfc822Token> out = new ArrayList<Rfc822Token>(); local 173 tokenize(text, out); 174 return out.toArray(new Rfc822Token[out.size()]);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
OMAScalar.java | 73 public void marshal(OutputStream out, int level) throws IOException { 74 OMAConstants.indent(level, out); 75 OMAConstants.serializeString(getName(), out); local 76 out.write((byte) '='); 77 OMAConstants.serializeString(getValue(), out); local 78 out.write((byte) '\n');
|
/frameworks/base/services/core/java/com/android/server/net/ |
DelayedDiskWrite.java | 37 public void onWriteCalled(DataOutputStream out) throws IOException; 67 DataOutputStream out = null; local 70 out = new DataOutputStream(new BufferedOutputStream( 73 w.onWriteCalled(out); 77 if (out != null) { 79 out.close();
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 206 PrintStream out = new PrintStream(openFileOutput(name, mode)); local 207 out.print(contents); 208 out.close();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAScalar.java | 73 public void marshal(OutputStream out, int level) throws IOException { 74 OMAConstants.indent(level, out); 75 OMAConstants.serializeString(getName(), out); local 76 out.write((byte) '='); 77 OMAConstants.serializeString(getValue(), out); local 78 out.write((byte) '\n');
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 46 ObjectOutputStream out = null; local 50 out = new ObjectOutputStream(bytes); 59 out.writeObject(mfield); 60 out.writeObject(field); 84 if (out != null) 85 out.close();
|