/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | MD5Calculator.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 26 public static String checksum(final InputStream in) throws IOException { argument 36 while ((byteCount = in.read(bytes)) > 0) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | MeetingResponseParser.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 30 public MeetingResponseParser(final InputStream in) throws IOException { argument 31 super(in); 39 LogUtils.w(TAG, "Error in meeting response: %d", status);
|
H A D | SettingsParser.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 27 * We only send the Settings command in EAS 14.0 after sending a Provision command for the first 28 * time. parse() returns true in the normal case; false if access to the account is denied due 35 public SettingsParser(InputStream in) throws IOException { argument 36 super(in);
|
H A D | GalParser.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 34 public GalParser(final InputStream in) throws IOException { argument 35 super(in); 55 // here if we can't parse the input stream in the case where the schema may have changed.
|
H A D | SendMailParser.java | 10 public SendMailParser(final InputStream in, final int startTag) throws IOException { argument 11 super(in); 20 * The only useful info in the SendMail response is the status; we capture and save it
|
/packages/apps/Settings/tests/src/com/android/settings/vpn2/ |
H A D | VpnProfileParser.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 231 public static Map<Integer, VpnInfo> parse(InputStream in) { argument 235 saxParser.parse(in, mHandler);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockAttachment.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 26 public MockAttachment(Parcel in) { argument 27 super(in);
|
/packages/apps/UnifiedEmail/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 | 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...] |
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportParser.java | 16 private static final int MAX_LINES = 1000; // just in case we miss the end of the section. 21 public static String extractSystemLogs(InputStream in, String section) throws IOException { argument 25 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"), BUFFER_SIZE);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Interp.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 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[ [all...] |
H A D | MatrixUtils.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 63 static void convert9to33(double out[3][3], double in[9]) { argument 64 out[0][0] = in[0]; 65 out[0][1] = in[1]; 66 out[0][2] = in[2]; 68 out[1][0] = in[3]; 69 out[1][1] = in[4]; 70 out[1][2] = in[5]; 72 out[2][0] = in[ 121 convert33to9(double out[9], double in[3][3]) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetNative.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 * @param in the 360 degree stereographically mapped panoramic input image. 38 * @param angleRadians the angle of the tiny planet in radians. 40 public static native void process(Bitmap in, int width, int height, Bitmap out, int outputSize, argument
|
/packages/apps/Email/provider_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)",
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
H A D | ImapMemoryLiteral.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 29 * Subclass of {@link ImapString} used for literals backed by an in-memory byte array. 34 /* package */ ImapMemoryLiteral(FixedLengthInputStream in) throws IOException { argument 37 mData = new byte[in.getLength()]; 40 int read = in.read(mData, pos, mData.length - pos);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Interp.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 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[ [all...] |
H A D | MatrixUtils.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 63 static void convert9to33(double out[3][3], double in[9]) { argument 64 out[0][0] = in[0]; 65 out[0][1] = in[1]; 66 out[0][2] = in[2]; 68 out[1][0] = in[3]; 69 out[1][1] = in[4]; 70 out[1][2] = in[5]; 72 out[2][0] = in[ 121 convert33to9(double out[9], double in[3][3]) argument [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
H A D | SmilXmlParser.java | 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 49 public SMILDocument parse(InputStream in) throws IOException, SAXException { argument 52 mXmlReader.parse(new InputSource(in));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/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 72 InputStream in = getInputStream(); 75 IOUtils.copy(in, base64Out); 81 public BinaryTempFileBodyInputStream(InputStream in) { argument 82 super(in);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | StorageLowState.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 53 * Checks if the device is in storage low state. If the state changes, the handler is notified 57 // Identify if we are in low storage mode. This works because storage low is a sticky 88 * @param in a handler that can deal with changes to the storage state. 90 public static void registerHandler(LowStorageHandler in) { argument 91 sHandler = in; 92 // If we are currently in low storage mode, let the handler deal with it immediately.
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
H A D | FileTransforms.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 public static InputStream getDecryptedStream(InputStream in) { argument 32 return in; 35 public static InputStream getUncompressedStream(InputStream in) throws IOException { argument 36 return new GZIPInputStream(in);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Compress.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 34 public static InputStream getUncompressedStream(final InputStream in) throws IOException { argument 35 return new GZIPInputStream(in);
|
H A D | Crypt.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 32 public static InputStream getDecryptedStream(final InputStream in) { argument 34 return in;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
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 28 * in addition to the tokenized version. 37 public LoggingInputStream(InputStream in) { argument 38 this(in, "RAW", false); 41 public LoggingInputStream(InputStream in, String tag, boolean dumpEmptyLines) { argument 42 super(in);
|