/packages/apps/Email/src/org/apache/commons/io/input/ |
H A D | CloseShieldInputStream.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
24 * This class is typically used in cases where an input stream needs to be
37 * @param in underlying input stream
39 public CloseShieldInputStream(InputStream in) {
argument 40 super(in);
49 in = new ClosedInputStream();
|
H A D | ProxyInputStream.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(bts);
75 return in.read(bts, st, end);
85 return in.skip(ln);
94 return in.available();
102 in [all...] |
H A D | ProxyReader.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(chr);
75 return in.read(chr, st, end);
85 return in.skip(ln);
94 return in.ready();
102 in [all...] |
H A D | AutoCloseInputStream.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
26 * closed, so any allocated in-memory buffers can be freed even if the
42 * @param in underlying input stream
44 public AutoCloseInputStream(InputStream in) {
argument 45 super(in);
62 in.close();
63 in = new ClosedInputStream();
71 * @return next byte in the stream, or -1 if no more bytes are available
75 int n = in [all...] |
H A D | SwappedDataInputStream.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
71 return (byte)in.read();
95 return EndianUtils.readSwappedDouble( in );
107 return EndianUtils.readSwappedFloat( in );
161 return EndianUtils.readSwappedInteger( in );
186 return EndianUtils.readSwappedLong( in );
198 return EndianUtils.readSwappedShort( in );
210 return in.read();
222 return EndianUtils.readSwappedUnsignedShort( in );
[all...] |
/packages/apps/Email/src/org/apache/james/mime4j/ |
H A D | EOLConvertingInputStream.java | 7 * "License"); you may not use this file except in compliance *
12 * Unless required by applicable law or agreed to in writing, *
42 private PushbackInputStream in = null;
field in class:EOLConvertingInputStream 48 * instance converting bytes in the given <code>InputStream</code>.
51 * @param in the <code>InputStream</code> to read from.
53 public EOLConvertingInputStream(InputStream in) {
argument 54 this(in, CONVERT_BOTH);
58 * instance converting bytes in the given <code>InputStream</code>.
60 * @param in the <code>InputStream</code> to read from.
64 public EOLConvertingInputStream(InputStream in, in argument [all...] |
/packages/apps/Phone/src/com/android/phone/ |
H A D | INetworkQueryService.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 void startNetworkQuery(in INetworkQueryServiceCallback cb); 40 * This may not do anything for the Query request in the 44 void stopNetworkQuery(in INetworkQueryServiceCallback cb);
|
H A D | INetworkQueryServiceCallback.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 void onQueryComplete(in List<NetworkInfo> networkInfoArray, int status);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7StyleCharsetDecoder.java | 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
argument 65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
73 return overflow(in);
80 return overflow(in);
81 CoderResult result = handleBase64(in, out, b);
90 return malformed(in);
103 overflow(ByteBuffer in) argument 120 handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) argument 172 malformed(ByteBuffer in) argument [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_dic.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 51 #define NJ_INT16_READ(in) \ 52 (((((NJ_INT16)((in)[0])) << 8) & 0xff00U) + ((in)[1] & 0xffU)) 54 #define NJ_INT32_READ(in) \ 55 (((((NJ_INT32)((in)[0])) << 24) & 0xff000000) | \ 56 ((((NJ_INT32)((in)[1])) << 16) & 0xff0000) | \ 57 ((((NJ_INT32)((in)[2])) << 8) & 0xff00) | \ 58 ((((NJ_INT32)((in)[ [all...] |
/packages/apps/Email/src/com/android/email/service/ |
H A D | IEmailService.aidl | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 23 int validate(in String protocol, in String host, in String userName, in String password,
|
/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/ |
H A D | IPinyinDecoderService.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 23 int imSearch(in byte[] pyBuf, int pyLen); 38 int imGetPredictsNum(in String fixedStr); 42 String syncUserDict(in String tomerge); 45 int syncPutLemmas(in String tomerge);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapReceiver.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 51 Intent in = new Intent(); 52 in.putExtras(intent); 53 in.setClass(context, BluetoothPbapService.class); 55 in.putExtra("action", action); 59 in.putExtra(BluetoothAdapter.EXTRA_STATE, state); 66 context.startService(in);
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | CopyUtils.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
53 * let you specify the buffer size because in modern VMs the impact on speed
58 * to the <code>copy</code> methods in <code>Buffered*</code> streams. For
61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) );
66 * would usually suggest wrapping in a BufferedInputStream. The
109 * @deprecated Use IOUtils. Will be removed in 2.0.
111 * Null handling behaviour changed in IOUtils (null data does not
122 * Instances should NOT be constructed in standard programming.
155 ByteArrayInputStream in [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | HistoryEntry.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 HistoryEntry(int version, DataInput in) throws IOException { argument 35 mBase = in.readUTF(); 36 mEdited = in.readUTF();
|
H A D | Persist.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 45 DataInputStream in = new DataInputStream(is); 46 int version = in.readInt(); 50 history = new History(version, in); 51 in.close();
|
/packages/providers/DownloadProvider/tests/src/tests/http/ |
H A D | MockWebServer.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 45 * replays them upon request in sequence. 47 * TODO: merge with the version from libcore/support/src/tests/java once it's in. 80 * Sets the number of bytes of the POST body to keep in memory to the given 137 InputStream in = new BufferedInputStream(s.getInputStream()); 142 RecordedRequest request = readRequest(in, sequenceNumber); 159 in.close(); 191 private RecordedRequest readRequest(InputStream in, int sequenceNumber) throws IOException { argument 192 String request = readAsciiUntilCrlf(in); 273 transfer(int length, InputStream in, OutputStream out) argument 289 readAsciiUntilCrlf(InputStream in) argument 304 readEmptyLine(InputStream in) argument [all...] |
/packages/apps/Browser/ |
H A D | Android.mk | 19 # additionally, build tests in sub-folders in a separate .apk
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
H A D | BinaryTempFileBody.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 70 InputStream in = getInputStream(); 73 IOUtils.copy(in, base64Out); 79 public BinaryTempFileBodyInputStream(InputStream in) { argument 80 super(in);
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
H A D | LoggingInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 * in addition to the tokenized version. 39 public LoggingInputStream(InputStream in) { argument 40 this(in, "RAW", false); 43 public LoggingInputStream(InputStream in, String tag, boolean dumpEmptyLines) { argument 44 super(in);
|
/packages/apps/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 25 void open(in long [] list, int position); 41 void enqueue(in long [] list, int action);
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportPreviewActivity.java | 46 InputStream in = null; 48 // TODO: do this in a background thread, using handlers and all that nonsense. 49 in = getContentResolver().openInputStream(uri); 50 String text = BugReportParser.extractSystemLogs(in, section); 62 if (in != null) { 63 in.close();
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBackupAgent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 58 * last time we did a backup, we store the following bits of info in the 65 * After we flatten the bookmarks file here in onBackup, we compare its 79 DataInputStream in = new DataInputStream( 82 savedFileSize = in.readLong(); 83 savedCrc = in.readLong(); 84 savedVersion = in.readInt(); 88 if (in != null) { 89 in [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | FixedLengthInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 public FixedLengthInputStream(InputStream in, int length) { argument 33 this.mIn = in; 78 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength);
|
H A D | PeekableInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 24 * client of this stream can call peek() to see the next available byte in the stream 32 public PeekableInputStream(InputStream in) { argument 33 this.mIn = in; 77 return String.format("PeekableInputStream(in=%s, peeked=%b, peekedByte=%d)",
|