/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 54 BufferedWriter out = new BufferedWriter(stream); local 55 out.write(data); 56 out.close(); 95 // Filter out any files that don't have interpreters installed. 120 // 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/services/tests/servicestests/src/com/android/internal/util/ |
FakeSettingsProvider.java | 99 Bundle out = new Bundle(); local 109 out.putString(Settings.NameValueTable.VALUE, value); 128 return out;
|
/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();
|
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);
|