/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/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | BluetoothPbapVcardListing.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 35 public BluetoothPbapVcardListing(InputStream in) throws IOException { argument 36 parse(in); 39 private void parse(InputStream in) throws IOException { argument 43 parser.setInput(in, "UTF-8");
|
/packages/apps/Settings/tests/app/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/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/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | DumpDatabaseAction.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 103 private DumpDatabaseAction(final Parcel in) { argument 104 super(in); 110 public DumpDatabaseAction createFromParcel(final Parcel in) { 111 return new DumpDatabaseAction(in);
|
H A D | FixupMessageStatusOnStartupAction.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 * Action used to fixup actively downloading or sending status at startup - just in case we 46 // Now mark any messages in active sending or downloading state as inactive 55 // in wrong status within a short window if that happens. But this should 57 // while the pending intent is still in the fly. Alternatively, we could 93 private FixupMessageStatusOnStartupAction(final Parcel in) { argument 94 super(in); 100 public FixupMessageStatusOnStartupAction createFromParcel(final Parcel in) { 101 return new FixupMessageStatusOnStartupAction(in); [all...] |
H A D | MarkAsReadAction.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 34 * Action used to mark all the messages in a conversation as read 57 // TODO: Consider doing this in background service to avoid delaying other actions 60 // Mark all messages in thread as read in telephony 92 private MarkAsReadAction(final Parcel in) { argument 93 super(in); 99 public MarkAsReadAction createFromParcel(final Parcel in) { 100 return new MarkAsReadAction(in); [all...] |
H A D | ReceiveSmsMessageAction.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 49 * Create a message received from a particular number in a particular conversation 98 // goes through this path because it needs to compute messageInFocusedConversation in order 100 // already in the conversation. 108 // incoming messages are marked as seen in the telephony db 158 + " in conversation " + message.getConversationId() 177 private ReceiveSmsMessageAction(final Parcel in) { argument 178 super(in); 184 public ReceiveSmsMessageAction createFromParcel(final Parcel in) { [all...] |
H A D | ResendMessageAction.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 49 * Constructor used for retrying sending in the background (only message id available) 99 error += "not found in database"; 107 private ResendMessageAction(final Parcel in) { argument 108 super(in); 114 public ResendMessageAction createFromParcel(final Parcel in) { 115 return new ResendMessageAction(in);
|
H A D | UpdateMessageNotificationAction.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 42 private UpdateMessageNotificationAction(final Parcel in) { argument 43 super(in); 49 public UpdateMessageNotificationAction createFromParcel(final Parcel in) { 50 return new UpdateMessageNotificationAction(in);
|
/packages/apps/Settings/src/com/android/settings/support/ |
H A D | SupportPhone.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 47 protected SupportPhone(Parcel in) { argument 48 language = in.readString(); 49 number = in.readString(); 50 isTollFree = in.readInt() != 0; 75 public SupportPhone createFromParcel(Parcel in) { 76 return new SupportPhone(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;
|