/packages/apps/LegacyCamera/src/com/android/camera/ |
Storage.java | 56 FileOutputStream out = null; local 58 out = new FileOutputStream(path); 59 out.write(jpeg); 65 out.close();
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraLatency.java | 112 BufferedWriter out = new BufferedWriter(fstream); local 113 out.write("Camera Latency : \n"); 114 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 115 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 116 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 117 out.write("Avg mShutterToPictureDisplayedTime = " 119 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 121 out.write("Avg mJpegCallbackFinishTime = " + 123 out.close();
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredNfcFServicesCache.java | 486 XmlSerializer out = new FastXmlSerializer(); local 487 out.setOutput(fos, "utf-8"); 488 out.startDocument(null, true); 489 out.setFeature(XML_INDENT_OUTPUT_FEATURE, true); 490 out.startTag(null, "services"); 495 out.startTag(null, "service"); 496 out.attribute(null, "component", entry.getKey().flattenToString()); 497 out.attribute(null, "uid", Integer.toString(entry.getValue().uid)); 498 out.attribute(null, "system-code", entry.getValue().systemCode); 500 out.attribute(null, "nfcid2" [all...] |
RegisteredServicesCache.java | 414 XmlSerializer out = new FastXmlSerializer(); local 415 out.setOutput(fos, "utf-8"); 416 out.startDocument(null, true); 417 out.setFeature(XML_INDENT_OUTPUT_FEATURE, true); 418 out.startTag(null, "services"); 422 out.startTag(null, "service"); 423 out.attribute(null, "component", service.getKey().flattenToString()); 424 out.attribute(null, "uid", Integer.toString(service.getValue().uid)); 426 group.writeAsXml(out); 428 out.endTag(null, "service") [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
EmlMessageLoaderTest.java | 63 final OutputStream out = new ParcelFileDescriptor.AutoCloseOutputStream( local 65 out.write(0); 66 out.close();
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
ImapTempFileLiteral.java | 53 OutputStream out = new FileOutputStream(mFile); local 54 IOUtils.copy(stream, out); 55 out.close();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
StringEvaluator.java | 69 StringWriter out = new StringWriter(); local 70 inputsTemplate.process(mParameters, out); 71 out.flush(); 72 return out.toString();
|
/art/test/577-profile-foreign-dex/src/ |
Main.java | 144 FileOutputStream out = new FileOutputStream(toFile); local 149 out.write(buffer, 0, bytesRead); 152 out.flush(); 154 out.getFD().sync(); 157 out.close();
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 51 FILE *out = fopen(kOutputFile, "a"); local 52 if (out == NULL) { 59 fprintf(out, "*** check-lost+found ***\nStarted: %s", ctime(&start)); 69 fprintf(out, "Wrote %s, rebooting\n", kMarkerFile); 70 fflush(out); 88 fprintf(out, "Reboot failed?!\n"); 91 fprintf(out, "Can't write %s: %s\n", kMarkerFile, strerror(errno)); 94 fprintf(out, "Found %s\n", kMarkerFile); 103 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno)); 113 fprintf(out, "OMGZ FOUND %d FILES IN %s\n", count, fn) [all...] |
/build/kati/ |
exec.cc | 107 string out; local 110 &out); 111 printf("%s", out.c_str());
|
/cts/libs/deviceutil/src/android/cts/util/ |
FileUtils.java | 114 FileOutputStream out = new FileOutputStream(destFile); local 119 out.write(buffer, 0, bytesRead); 122 out.flush(); 124 out.getFD().sync(); 127 out.close();
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
TriggerContentTest.java | 160 FileOutputStream out = new FileOutputStream(destFile); local 165 out.write(buffer, 0, bytesRead); 168 out.flush(); 170 out.getFD().sync(); 173 out.close(); 257 assertTrue("Timed out waiting for trigger content.", executed); 274 assertTrue("Timed out waiting for trigger content.", executed); 304 assertTrue("Timed out waiting for trigger content.", executed); 320 assertTrue("Timed out waiting for trigger content.", executed); 346 assertTrue("Timed out waiting for trigger content.", executed) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
DoubleTest.java | 31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); local 33 dc.forEach_times2pi(out); 35 out.copyTo(data);
|
GetElementAt.java | 31 private int[] out; field in class:GetElementAt 53 out = new int[size]; 67 mOut.copyTo(out); 69 assertEquals("idx = " + k, in[k], out[k]); 88 mOut.copyTo(out); 90 assertEquals("idx = " + k, in[k], out[k]);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 38 PrintStream out = new PrintStream(outputStream); local 39 out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); 40 out.println("<?xml-stylesheet type=\"text/xsl\" href=\"api-coverage.xsl\"?>"); 44 out.println("<api-coverage generatedTime=\"" + date + "\" title=\"" + reportTitle +"\">"); 46 out.println("<debug>"); 47 out.println("<sources>"); 49 out.println("<apk path=\"" + testApk.getPath() + "\" />"); 51 out.println("</sources>"); 52 out.println("</debug>"); 54 out.println("<api>") [all...] |
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
HelloCompute.java | 48 ImageView out = (ImageView) findViewById(R.id.displayout); local 49 out.setImageBitmap(mBitmapOut);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ExplicitTest.java | 187 DerOutputStream out = new DerOutputStream( local 190 (byte[]) taggedType[i][1], out.encoded));
|
GeneralizedTimeTest.java | 125 DerOutputStream out = new DerOutputStream(gtime, local 129 out.encoded)); //encoded
|
ImplicitTest.java | 178 DerOutputStream out = new DerOutputStream( local 181 (byte[]) taggedType[i][1], out.encoded));
|
IntegerTest.java | 110 DerOutputStream out = new DerOutputStream(asn1, validTestcase[i][1]); local 113 out.encoded));//returned
|
UTCTimeTest.java | 116 DerOutputStream out = new DerOutputStream(utime, local 120 out.encoded)); //encoded
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
ORAddressTest.java | 44 System.out.print(prefix + "0x" + tail + delimiter); 47 System.out.println(); 50 System.out.println(); 58 System.out.println(""); 59 System.out.println("ORAddress:"); 61 System.out.println(""); 64 System.out.println("GeneralName:"); 66 System.out.println(""); 70 System.out.println("GeneralNames:"); 72 System.out.println("") [all...] |
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
HelloRequestTest.java | 38 HandshakeIODataStream out = new HandshakeIODataStream(); local 39 message.send(out); 40 byte[] encoded = out.getData(1000); 41 assertEquals("incorrect out data length", message.length(),
|
ServerHelloDoneTest.java | 44 HandshakeIODataStream out = new HandshakeIODataStream(); local 45 message.send(out); 46 byte[] encoded = out.getData(1000); 47 assertEquals("incorrect out data length", message.length(),
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateMessageTest.java | 65 HandshakeIODataStream out = new HandshakeIODataStream(); local 66 message.send(out); 67 byte[] encoded = out.getData(1000); 68 assertEquals("incorrect out data length", message.length(), encoded.length); 95 HandshakeIODataStream out = new HandshakeIODataStream(); local 96 message.send(out); 97 byte[] encoded = out.getData(1000); 98 assertEquals("incorrect out data length", message.length(), encoded.length);
|