Searched defs:in (Results 1 - 25 of 139) sorted by relevance

123456

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMD5Calculator.java5 * 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 DMeetingResponseParser.java4 * 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 DSettingsParser.java4 * 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 DGalParser.java4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
32 public GalParser(InputStream in, EasSyncService service) throws IOException { argument
33 super(in);
H A DSendMailParser.java10 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/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockAttachment.java5 * 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 DCloseShieldInputStream.java6 * (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 DAutoCloseInputStream.java6 * (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 DBugReportParser.java16 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 DInterp.h5 * 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 DMatrixUtils.h5 * 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/jni/feature_mos/src/mosaic/
H A DInterp.h5 * 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 DMatrixUtils.h5 * 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 DTinyPlanetNative.java5 * 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/src/com/android/email/
H A DFixedLengthInputStream.java5 * 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 DPeekableInputStream.java5 * 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/src/com/android/email/mail/store/imap/
H A DImapMemoryLiteral.java5 * 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 DInterp.h5 * 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 DMatrixUtils.h5 * 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 DSmilXmlParser.java6 * 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 DBinaryTempFileBody.java5 * 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/ui/
H A DFolderOperation.java6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
57 * @param in a FolderOperation, possibly null.
60 public static Collection<FolderOperation> listOf(FolderOperation in) { argument
61 final Collection<FolderOperation> target = (in == null) ? EMPTY : ImmutableList.of(in);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DStorageLowState.java5 * 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/src/com/android/inputmethod/latin/utils/
H A DFileTransforms.java5 * 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 DCompress.java5 * 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
40 public static InputStream getUncompressedStream(final InputStream in) throws IOException { argument
41 return new GZIPInputStream(in);
64 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in
92 final InputStream input = inFilename.equals(STDIN_OR_STDOUT) ? System.in

Completed in 549 milliseconds

123456