/libcore/luni/src/test/java/libcore/java/text/ |
OldNumberFormatFieldTest.java | 46 ObjectOutputStream out = new ObjectOutputStream(bytes); local 54 out.writeObject(nfield); 55 out.writeObject(field); 68 out.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 33 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 38 out.write(b); 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 54 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 58 out.write(buffer, 0, count); 60 return out.toByteArray(); 67 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 72 out.write(buffer, 0, count); 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
/libcore/luni/src/test/java/libcore/xml/ |
DeclarationTest.java | 63 OutputStream out = new FileOutputStream(file); local 64 out.write(contents.getBytes("UTF-8")); 65 out.close();
|
/libcore/ojluni/src/main/java/java/net/ |
URLEncoder.java | 205 StringBuffer out = new StringBuffer(s.length()); local 222 //System.out.println("Examining character: " + c); 228 //System.out.println("Storing: " + c); 229 out.append((char)c); 245 System.out.println(Integer.toHexString(c) 251 System.out.println("\tExamining " 256 System.out.println("\t" 272 out.append('%'); 279 out.append(ch); 284 out.append(ch) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractHtmlTemplates.java | 53 final String out = mFormatter.toString(); local 57 return out; 66 final StringBuilder out = new StringBuilder(); local 76 out.append(buf, 0, chars); 79 return out.toString();
|
/art/runtime/base/ |
hex_dump.cc | 38 char out[(kBitsPerIntPtrT / 4) + /* offset */ local 51 memset(out, ' ', sizeof(out)-1); 52 out[kBitsPerIntPtrT / 4] = ':'; 53 out[sizeof(out)-1] = '\0'; 60 char* hex = out; 61 char* asc = out + (kBitsPerIntPtrT / 4) + /* offset */ 1 + /* colon */ 101 os << prefix_ << out; local
|
/art/test/005-annotations/src/android/test/anno/ |
ClassWithInnerClasses.java | 32 System.out.println(new InnerClass()); 33 System.out.println(anonymousClass);
|
/art/test/009-instanceof/src/ |
Main.java | 30 System.out.println("iface1.mFloaty = " + face1.mFloaty + " " + face1.mWahoo); 31 System.out.println("aa.mFloaty = " + aa.mFloaty + " " + aa.mWahoo); 32 System.out.println("bb.mWhoami = " + bb.mWhoami); 35 System.out.print("aaOkay (false) = "); 36 System.out.println(aaOkay); 38 System.out.print("bbOkay (true) = "); 39 System.out.println(bbOkay); 46 System.out.println("Caught a ClassCastException (expected)"); 56 System.out.print("instanceof Serializable = "); 57 System.out.println((Object)aaArray instanceof java.io.Serializable) [all...] |
/art/test/041-narrowing/src/ |
Main.java | 8 System.out.println(); 9 System.out.println("Double.POSITIVE_INFINITY = " 11 System.out.println("Double.NEGATIVE_INFINITY = " 13 System.out.println("Float.POSITIVE_INFINITY = " 15 System.out.println("Float.NEGATIVE_INFINITY = " 17 System.out.println("Double.NaN = " 19 System.out.println("Float.NaN = " 22 System.out.println(); 23 System.out.println("(byte) Double.NaN = " 26 System.out.println("(short) Double.NaN = [all...] |
/art/test/047-returns/src/ |
Main.java | 23 System.out.println("pick 1"); 25 System.out.println(((CommonInterface)pickOne(1)).doStuff()); 27 System.out.println("pick 2"); 29 System.out.println(((CommonInterface)pickOne(2)).doStuff()); 31 System.out.println("pick 3"); 53 System.out.println("one running"); 56 System.out.println("one"); 63 System.out.println("two running"); 66 System.out.println("two"); 73 System.out.println("three running") [all...] |
/art/test/138-duplicate-classes-check/src/ |
Main.java | 30 System.out.println(new A().i);
|
/art/test/138-duplicate-classes-check2/src/ |
Main.java | 29 System.out.println(new A().i);
|
/art/test/972-iface-super-multidex/src/ |
Main.java | 24 System.out.println("Could not load class"); 30 System.out.println((String)m.invoke(c.newInstance(), new Object[0])); 32 System.out.println("Unknown exception occurred"); 38 System.out.println((String)m.invoke(c.newInstance(), new Object[0])); 43 System.out.println("Unexpected AME caught"); 46 System.out.println("Unexpected NSME caught"); 49 System.out.println("Expected ICCE caught"); 51 System.out.println("Unknown exception caught!");
|
/bionic/tests/ |
libgen_basename_test.cpp | 46 const char* out = gnu_basename(in); local 47 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; 54 const char* out = posix_basename(&writable_in[0]); local 55 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl;
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
PackageTest.java | 33 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"); local 34 String error = truncateError(out); 35 assertTrue("Monkey not found in: " + error, ALLOW_MONKEY.matcher(out).find()); 36 assertFalse("Chimp found in: " + error, ALLOW_CHIMP.matcher(out).find()); 38 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000"); 39 error = truncateError(out); 40 assertFalse("Monkey found in: " + error, ALLOW_MONKEY.matcher(out).find()); 41 assertTrue("Chimp not found in: " + error, ALLOW_CHIMP.matcher(out).find()); 45 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] local 47 String error = truncateError(out); [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
ConfirmCredentialsTx.java | 49 public void writeToParcel(Parcel out, int flags) { 50 out.writeParcelable(account, flags); 51 out.writeBundle(options); 52 out.writeBundle(result);
|
GetAccountRemovalAllowedTx.java | 45 public void writeToParcel(Parcel out, int flags) { 46 out.writeParcelable(account, flags); 47 out.writeBundle(result);
|
GetAuthTokenTx.java | 53 public void writeToParcel(Parcel out, int flags) { 54 out.writeParcelable(account, flags); 55 out.writeString(authTokenType); 56 out.writeBundle(options); 57 out.writeBundle(result);
|
HasFeaturesTx.java | 56 public void writeToParcel(Parcel out, int flags) { 57 out.writeParcelable(account, flags); 58 out.writeStringList(features); 59 out.writeBundle(result);
|
UpdateCredentialsTx.java | 53 public void writeToParcel(Parcel out, int flags) { 54 out.writeParcelable(account, flags); 55 out.writeString(authTokenType); 56 out.writeBundle(options); 57 out.writeBundle(result);
|
/cts/tests/tests/calllog/src/android/calllog/cts/ |
TestUtils.java | 45 StringBuilder out = new StringBuilder(); local 47 out.append(str); 49 return out.toString();
|
/cts/tests/tests/media/libndkaudio/ |
WaveTableOscillator.cpp | 88 float out = ((waveTable_[srcIndex] * delta1) local 91 outBuff[dstIndex++] = out; 92 outBuff[dstIndex++] = out;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 43 int [] out = new int[INPUTSIZE]; local 44 mOut.copyTo(out); 48 out[i]);
|
InitTest.java | 37 float[] out = new float[INPUTSIZE]; local 51 mOut.copyTo(out); 52 checkArray(ref, out, INPUTSIZE, 1, 1, 0);
|
/developers/build/prebuilts/gradle/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.java | 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 58 Animation out = AnimationUtils.loadAnimation(this, local 61 mSwitcher.setOutAnimation(out); 67 * automatically animated using the in/out animations set above.
|