/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...] |