/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
StrictLineReader.java | 148 ByteArrayOutputStream out = new ByteArrayOutputStream(end - pos + 80) { local 160 out.write(buf, pos, end - pos); 168 out.write(buf, pos, i - pos); 171 return out.toString();
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5Client.java | 66 * @throws TimeoutException if connecting to SOCKS5 proxy timed out
141 DataOutputStream out = new DataOutputStream(socket.getOutputStream());
local 150 out.write(cmd);
151 out.flush();
163 out.write(connectionRequest);
164 out.flush();
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
MapItem.java | 25 * INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 83 protected void writeItem(AnnotatedOutput out) { 87 out.annotate("map_size: 0x" + Integer.toHexString(sections.length + 2) + " (" + 89 out.writeInt(sections.length + 2); 92 out.annotate(0, "[" + index++ + "]"); 93 out.indent(); 94 writeSectionInfo(out, ItemType.TYPE_HEADER_ITEM, 1, 0); 95 out.deindent(); 98 out.annotate(0, "[" + index++ + "]"); 99 out.indent() [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/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 206 PrintStream out = new PrintStream(openFileOutput(name, mode)); local 207 out.print(contents); 208 out.close();
|
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 174 ByteArrayOutputStream out = new ByteArrayOutputStream(end - pos + 80) { local 183 out.write(buf, pos, end - pos); 191 out.write(buf, pos, i - pos); 194 return out.toString();
|
/libcore/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 151 PrintStream out = new PrintStream(bytes); local 152 out.print("<title>Directory Listing</title>\n"); 153 out.print("<base href=\"file:"); 154 out.print(f.getPath().replace('\\', '/') + "/\"><h1>" + f.getPath() 158 out.print(fileList[i] + "<br>\n"); 160 out.close();
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Choice.java | 319 public void encodeASN(BerOutputStream out) { 320 encodeContent(out); 323 public final void encodeContent(BerOutputStream out) { 324 out.encodeChoice(this); 331 public final void setEncodingContent(BerOutputStream out) { 332 out.getChoiceLength(this);
|
/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())));
|
ZipInputStreamTest.java | 46 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 54 out.write(buffer, 0, count); 60 return 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();
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Persist.java | 72 DataOutputStream out = new DataOutputStream(os); local 73 out.writeInt(LAST_VERSION); 74 out.writeInt(mDeleteMode); 75 history.write(out); 76 out.close();
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
BinaryDictOffdeviceUtilsTests.java | 58 final OutputStream out = Compress.getCompressedStream( local 62 final DictEncoder dictEncoder = new Ver3DictEncoder(out); 85 final OutputStream out = new BufferedOutputStream(new FileOutputStream(dst)); local 87 out.write(0x12345678); 89 out.close();
|
/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...] |
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
PackageTest.java | 32 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"); local 33 assertTrue(out, ALLOW_MONKEY.matcher(out).find()); 34 assertFalse(out, ALLOW_CHIMP.matcher(out).find()); 36 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000"); 37 assertFalse(out, ALLOW_MONKEY.matcher(out).find()); 38 assertTrue(out, ALLOW_CHIMP.matcher(out).find()) 42 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 45 int [] out = new int[INPUTSIZE]; local 46 mOut.copyTo(out); 50 out[i]);
|
/dalvik/hit/src/com/android/hit/ |
StackTrace.java | 61 System.out.println(mFrames[i].toString());
|
/dalvik/tests/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...] |
/dalvik/tests/047-returns/src/ |
Main.java | 9 System.out.println("pick 1"); 11 System.out.println(((CommonInterface)pickOne(1)).doStuff()); 13 System.out.println("pick 2"); 15 System.out.println(((CommonInterface)pickOne(2)).doStuff()); 17 System.out.println("pick 3"); 39 System.out.println("one running"); 42 System.out.println("one"); 49 System.out.println("two running"); 52 System.out.println("two"); 59 System.out.println("three running") [all...] |
/developers/build/prebuilts/gradle/TextSwitcher/TextSwitcherSample/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.
|
/developers/samples/android/ui/views/TextSwitcher/TextSwitcherSample/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.
|
/development/samples/browseable/TextSwitcher/src/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.
|