/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapFactoryTest.java | 35 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); 37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null);
|
/frameworks/base/libs/androidfw/tests/ |
ConfigLocale_test.cpp | 32 char out[4] = {1, 1, 1, 1}; local 33 config.unpackLanguage(out); 34 EXPECT_EQ('e', out[0]); 35 EXPECT_EQ('n', out[1]); 36 EXPECT_EQ(0, out[2]); 37 EXPECT_EQ(0, out[3]); 39 memset(out, 1, sizeof(out)); 41 config.unpackLanguage(out); 42 EXPECT_EQ(0, out[0]) 55 char out[4] = {1, 1, 1, 1}; local 71 char out[4] = {1, 1, 1, 1}; local 95 char out[4] = {1, 1, 1, 1}; local 107 char out[4] = {1, 1, 1, 1}; local 190 char out[4] = {1, 1, 1, 1}; local 272 char out[RESTABLE_MAX_LOCALE_LEN]; local [all...] |
/frameworks/base/media/jni/ |
android_media_ResampleInputStream.cpp | 93 short out[BUF_SIZE]; local 101 out[i] = (short)(sum >> 16); 105 env->SetByteArrayRegion(jOut, jOutOffset, jNpoints * 2, (jbyte*)out);
|
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator_test.cpp | 38 std::stringstream out; local 39 EXPECT_FALSE(generator.generate(u"android", &out)); 60 std::stringstream out; local 61 EXPECT_TRUE(generator.generate(u"android", &out)); 63 std::string output = out.str(); 87 std::stringstream out; local 88 ASSERT_TRUE(generator.generate(u"android", u"com.android.internal", &out)); 90 std::string output = out.str(); 109 std::stringstream out; local 110 ASSERT_TRUE(generator.generate(u"android", &out)); 137 std::stringstream out; local 148 std::stringstream out; local 159 std::stringstream out; local 220 std::stringstream out; local 241 std::stringstream out; local 282 std::stringstream out; local 309 std::stringstream out; local [all...] |
/frameworks/base/tools/preload/ |
PrintHtmlDiff.java | 71 PrintStream out = System.out; local 73 out.println("<html><body>"); 74 out.println("<style>"); 75 out.println("a, th, td, h2 { font-family: arial }"); 76 out.println("th, td { font-size: small }"); 77 out.println("</style>"); 78 out.println("<script src=\"sorttable.js\"></script>"); 79 out.println("<p><a href=\"#removed\">Removed</a>"); 80 out.println("<a name=\"added\"/><h2>Added</h2>") [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
ScanSettings.java | 61 public void writeToParcel(Parcel out, int flags) { 62 out.writeInt(channelSet == null ? 0 : channelSet.size()); 64 for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
DS1307Sample.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 38 System.out.print("The time is: " + rtc.getMonth() + "/" + rtc.getDayOfMonth() + "/" 44 System.out.print(" PM"); 46 System.out.print(" AM"); 49 System.out.println(); 52 System.out.println("Clock is in AM/PM mode"); 54 System.out.println("Clock is in 24h mode"); 64 System.out.println("Loading the current time..."); 73 System.out.println("setting the year to 50");
|
MPR121Sample.java | 15 System.out.print("Buttons pressed: "); 18 System.out.print(i + " "); 24 System.out.print("None "); 26 System.out.println();
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofWriter.java | 42 private final DataOutputStream out; field in class:BinaryHprofWriter 53 this.out = new DataOutputStream(outputStream); 75 out.flush(); 80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2"); 81 out.writeByte(0); // null terminated string 82 out.writeInt(BinaryHprof.ID_SIZE); 83 out.writeLong(dumpTimeInMilliseconds); 94 out.writeInt(flags); 95 out.writeShort((short) depth); 117 out.writeInt(e.threadId) [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
EncodedValueCodec.java | 30 * Writes a signed integral to {@code out}. 32 public static void writeSignedIntegralValue(ByteOutput out, int type, long value) { 34 * Figure out how many bits are needed to represent the value, 51 out.writeByte(type | ((requiredBytes - 1) << 5)); 55 out.writeByte((byte) value); 62 * Writes an unsigned integral to {@code out}. 64 public static void writeUnsignedIntegralValue(ByteOutput out, int type, long value) { 65 // Figure out how many bits are needed to represent the value. 78 out.writeByte(type | ((requiredBytes - 1) << 5)); 82 out.writeByte((byte) value) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPipedOutputStreamTest.java | 33 public PReader(PipedOutputStream out) { 35 reader = new PipedInputStream(out); 37 System.out.println("Exception setting up reader: " 66 System.out.println("Exception reading (" 83 PipedOutputStream out; field in class:OldPipedOutputStreamTest 86 out = new PipedOutputStream(); 87 assertNotNull(out); 89 out.close(); 99 out = new PipedOutputStream(new PipedInputStream()); 100 out.write('b') [all...] |
/libcore/luni/src/test/java/libcore/java/lang/annotation/ |
AnnotationTypeMismatchExceptionTest.java | 37 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 41 new ObjectOutputStream(out).writeObject(original);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipFileTest.java | 78 ZipOutputStream out = new ZipOutputStream(bytesOut); local 89 out.putNextEntry(newEntry); 90 out.write(input, 0, input.length); 91 out.closeEntry(); 94 out.setComment("This is a lovely compressed archive!"); 96 out.close(); 105 // System.out.println("Contents of " + zipFile + ":"); 108 // System.out.println(" " + entry.getName());
|
ZipEntryTest.java | 60 ZipOutputStream out = new ZipOutputStream(new FileOutputStream(f)); local 62 out.putNextEntry(new ZipEntry(filename)); 63 out.closeEntry(); // Empty files are fine. 65 out.close(); 109 ZipOutputStream out = createZipOutputStream(f); local 110 out.putNextEntry(new ZipEntry(maxLengthName)); 111 out.closeEntry(); 112 out.close(); 134 ZipOutputStream out = createZipOutputStream(f); local 138 out.putNextEntry(ze) 186 ZipOutputStream out = createZipOutputStream(f); local 204 ZipOutputStream out = createZipOutputStream(f); local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
FileDescriptor.java | 77 * known as <code>System.out</code>. 78 * @see java.lang.System#out 80 public static final FileDescriptor out = dupFd(1); field in class:FileDescriptor
|
PrintWriter.java | 64 protected Writer out; field in class:PrintWriter 97 * @param out A character-output stream 99 public PrintWriter (Writer out) { 100 this(out, false); 106 * @param out A character-output stream 111 public PrintWriter(Writer out, 113 super(out); 114 this.out = out; 126 * @param out An output strea [all...] |
/libcore/ojluni/src/main/java/java/security/ |
DigestOutputStream.java | 118 out.write(b); 148 out.write(b, off, len);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedOutputStream.java | 46 * @param out the output stream 49 public CheckedOutputStream(OutputStream out, Checksum cksum) { 50 super(out); 60 out.write(b); 73 out.write(b, off, len);
|
/libcore/ojluni/src/main/java/javax/crypto/ |
CipherOutputStream.java | 32 * that write() methods first process the data before writing them out 37 * CipherOutputStream will attempt to encrypt data before writing out the 74 // the buffer holding data ready to be written out 165 * to be written out. 168 * and waiting to be processed by it will not be written out. For example, 171 * the cipher's block size, no bytes will be written out. 190 * cipher to be processed. The result is written out by calling the 211 out.close();
|
/libcore/ojluni/src/main/java/sun/misc/ |
MessageUtils.java | 124 public static void out(String s) { method in class:MessageUtils 127 System.out.println(s);
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
HttpCaptureOutputStream.java | 38 public HttpCaptureOutputStream(OutputStream out, HttpCapture cap) { 39 super(out); 46 out.write(b); 54 out.write(ba); 62 out.write(b, off, len);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
CertificatePolicyMap.java | 96 * @param out the DerOutputStream to write the object to. 99 public void encode(DerOutputStream out) throws IOException { 104 out.write(DerValue.tag_Sequence,tmp);
|
CertificatePolicySet.java | 84 * @param out the DerOutputStream to encode the data to. 86 public void encode(DerOutputStream out) throws IOException { 92 out.write(DerValue.tag_Sequence,tmp);
|
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 129 FileOutputStream out = new FileOutputStream(dest); local 130 copy(in, out); 131 out.close(); 137 private static int copy(InputStream in, OutputStream out) throws IOException { 143 out.write(buffer, 0, c); 181 File f = File.createTempFile("out", ".xml"); 183 FileOutputStream out = new FileOutputStream(f); local 188 out.write(b); 190 out.flush(); 191 out.close() 198 FileOutputStream out = new FileOutputStream(dest); local [all...] |
/packages/apps/Camera2/jni/ |
jpegutilnative.cpp | 91 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); local 97 (unsigned char*)out, (size_t)outBufCapacity, //
|