/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | TextMessage.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 36 private TextMessage(Parcel in) { argument 37 title = in.readString(); 38 text = in.readString(); 39 icon = in.readParcelable(null); 40 iconSelfExplanatory = in.readInt() == 1 ? true : false; 41 isHighPriority = in.readInt() == 1 ? true : false; 42 responseNeeded = in.readInt() == 1 ? true : false; 43 userClear = in [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | Forwarder.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 82 private Socket in, out; field in class:Forwarder.SocketPipe 84 public SocketPipe(Socket in, Socket out) { argument 85 this.in = in; 92 InputStream is = in.getInputStream(); 106 return "SocketPipe{" + in + "=>" + out + "}";
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.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 * Describes the meta data for an installed AppWidget provider. The fields in this class 25 * correspond to the fields in the <code><appwidget-provider></code> xml tag. 34 * Widget is resizable in the horizontal axis only. 38 * Widget is resizable in the vertical axis only. 42 * Widget is resizable in both the horizontal and vertical axes. 49 * {@link android.appwidget as described in the AppWidget package documentation}. 51 * <p>This field corresponds to the <code>android:name</code> attribute in 52 * the <code><receiver></code> element in th 173 AppWidgetProviderInfo(Parcel in) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipDescription.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 * other piece of data; in that case the MIME type should be the type 119 * @return Returns true if one of the MIME types in the clip description 133 * all MIME types in the clip that match the given MIME type. 158 * Return the number of MIME types the clip is available in. 197 ClipDescription(Parcel in) { argument 198 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); 199 mMimeTypes = in.createStringArray();
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LabeledIntent.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 39 * @param sourcePackage The package in which the label and icon live. 57 * @param sourcePackage The package in which the label and icon live. 74 * @param sourcePackage The package in which the label and icon live. 89 * @param sourcePackage The package in which the label and icon live. 131 * not have a label, null will be returned, in which case you will probably 149 * not have a icon, null will be returned, in which case you will probably 171 protected LabeledIntent(Parcel in) { argument 172 readFromParcel(in); 175 readFromParcel(Parcel in) argument [all...] |
H A D | ProviderInfo.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 43 /** If true, additional permissions to specific Uris in this content 56 * this field to be filled in. 69 * to run in different process. If false, a single instances is always 70 * run in {@link #processName}. */ 74 * running in the same process. Higher goes first. */ 120 public ProviderInfo createFromParcel(Parcel in) { 121 return new ProviderInfo(in); 134 private ProviderInfo(Parcel in) { argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.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 54 public NetworkPolicy(Parcel in) { argument 55 template = in.readParcelable(null); 56 cycleDay = in.readInt(); 57 warningBytes = in.readLong(); 58 limitBytes = in.readLong(); 59 lastSnooze = in.readLong(); 123 public NetworkPolicy createFromParcel(Parcel in) { 124 return new NetworkPolicy(in); [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ResultReceiver.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 69 * always asynchronously if the receiver has supplied a Handler in which 115 ResultReceiver(Parcel in) { argument 118 mReceiver = IResultReceiver.Stub.asInterface(in.readStrongBinder()); 123 public ResultReceiver createFromParcel(Parcel in) { 124 return new ResultReceiver(in);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 8 * use this file except in compliance with the License. 13 * Unless required by applicable law or agreed to in writing, software 52 // from 'ulaw' in wikipedia 54 // +8158 to +4063 in 16 intervals of 256 0x80 + interval number 55 // +4062 to +2015 in 16 intervals of 128 0x90 + interval number 56 // +2014 to +991 in 16 intervals of 64 0xA0 + interval number 57 // +990 to +479 in 16 intervals of 32 0xB0 + interval number 58 // +478 to +223 in 16 intervals of 16 0xC0 + interval number 59 // +222 to +95 in 16 intervals of 8 0xD0 + interval number 60 // +94 to +31 in 1 135 UlawEncoderInputStream(InputStream in, int max) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64InputStream.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 * @param in the InputStream to read the source data from 44 * constants in {@link Base64} 46 public Base64InputStream(InputStream in, int flags) { argument 47 this(in, flags, false); 54 * @param in the InputStream to read the source data from 56 * constants in {@link Base64} 61 public Base64InputStream(InputStream in, int flags, boolean encode) { argument 62 super(in); [all...] |
H A D | Xml.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 67 public static void parse(Reader in, ContentHandler contentHandler) argument 71 reader.parse(new InputSource(in)); 78 public static void parse(InputStream in, Encoding encoding, argument 82 InputSource source = new InputSource(in);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarNotification.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 69 public StatusBarNotification(Parcel in) { argument 70 readFromParcel(in); 73 public void readFromParcel(Parcel in) { argument 74 this.pkg = in.readString(); 75 this.id = in.readInt(); 76 if (in.readInt() != 0) { 77 this.tag = in.readString(); 81 this.uid = in [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | Base64Test.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 private String decodeString(String in) throws Exception { argument 33 byte[] out = Base64.decode(in, 0); 38 * Encodes the string 'in' using 'flags'. Asserts that decoding 41 private String encodeToString(String in, int flags) throws Exception { argument 42 String b64 = Base64.encodeToString(in.getBytes(), flags); 44 assertEquals(in, dec); 48 /** Assert that decoding 'in' throws IllegalArgumentException. */ 49 private void assertBad(String in) throw argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.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 110 * Return a new point from the data in the specified parcel. 112 public Point createFromParcel(Parcel in) { 114 r.readFromParcel(in); 127 * Set the point's coordinates from the data stored in the specified 130 * @param in The parcel to read the point's coordinates from 132 public void readFromParcel(Parcel in) { argument 133 x = in.readInt(); 134 y = in [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ResampleInputStream.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 149 private static native void fir21(byte[] in, int inOffset, argument
|
/frameworks/base/media/jni/ |
H A D | android_media_ResampleInputStream.cpp | 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 89 short in[BUF_SIZE]; local 90 env->GetByteArrayRegion(jIn, jInOffset, (jNpoints * 2 + nFir21 - 1) * 2, (jbyte*)in); 97 const short* inp = &in[i * 2];
|
/frameworks/base/media/libeffects/testlibs/ |
H A D | AudioPeakingFilter.h | 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 29 // in the output, even when changing parameters abruptly. 43 // sampleRate The input/output sample rate, in Hz. 49 // sampleRate The input/output sample rate, in Hz. 63 // This value will be remembered even if the filter is in disabled() state. 64 // millibel Gain value in millibel (1/100 of decibel). 67 // Gets the gain, in millibel, as set. 71 // This value will be remembered even if the filter is in disabled() state. 72 // cents Bandwidth value in cent 104 process(const audio_sample_t in[], audio_sample_t out[], int frameCount) argument [all...] |
H A D | AudioShelvingFilter.h | 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 29 // in the output, even when changing parameters abruptly. 50 // sampleRate The input/output sample rate, in Hz. 56 // sampleRate The input/output sample rate, in Hz. 69 // This value will be remembered even if the filter is in disabled() state. 70 // millibel Gain value in millibel (1/100 of decibel). 73 // Gets the gain, in millibel, as set. 78 // This value will be remembered even if the filter is in disabled() state. 79 // millihertz Frequency value in mH 98 process(const audio_sample_t in[], audio_sample_t out[], int frameCount) argument [all...] |
H A D | EffectsMath.c | 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 // for integers in the range 0 to 63 (i = ai5*2^5 + ai4*2^4 + ai3*2^3 + ai2*2^2 + ai1*2^1 + ai0*2^0) 111 int32_t Effects_Sqrt(int32_t in) argument 119 if (in == 0) return 0; 121 if (in >= 0x10000000) 124 in -= 0x10000000; 127 j = 32 - __builtin_clz(in); 134 if (in >= tmp) 137 in [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | agc.cpp | 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 91 in = input signal (Word16) 126 Word16 in[], // i : input signal (length l_trm) 133 temp = shr (in[0], 2); 138 temp = shr (in[i], 2); 169 Word16 in[], /* i : input signal (length l_trm) */ 181 temp = in[i] >> 2; 196 in = input signal (Word16) 229 CALL energy_old ( in 168 energy_old( Word16 in[], Word16 l_trm, Flag *pOverflow ) argument 258 energy_old_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) argument 370 energy_new( Word16 in[], Word16 l_trm, Flag *pOverflow ) argument 478 energy_new_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) argument [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_imdct_synth.cpp | 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 38 int32 in[], Pointer to spec values of current channel 46 int32 in[], 204 ; Declare functions defined elsewhere and referenced in this module 209 ; Declare variables used in this module but defined elsewhere 216 void pvmp3_imdct_synth(int32 in[SUBBANDS_NUMBER*FILTERBANK_BANDS], argument 234 * in case of mx_poly_band> 0, do 243 int32 * out = in + (band * FILTERBANK_BANDS); 334 int32 * out = in [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.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 * Size in bytes of an encoded block. 40 * Size in bytes of a decoded block. 45 * Size of a PKM file header, in bytes. 57 * @param in a native order direct buffer of size DECODED_BLOCK_SIZE that represent a 58 * 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R 68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out); argument 73 * @param in a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the 78 * 4 x 4 square of 3-byte pixels in for 81 decodeBlock(Buffer in, Buffer out) argument 97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument 109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioResamplerCubic.cpp | 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 73 int16_t *in = mBuffer.i16; local 83 // out[outputIndex++] += vr * in[inputIndex*2]; 101 in = mBuffer.i16; 106 advance(&left, in[inputIndex*2]); 107 advance(&right, in[inputIndex*2+1]); 138 int16_t *in = mBuffer.i16; local 167 in = mBuffer.i16; 171 advance(&left, in[inputInde [all...] |
H A D | AudioResamplerCubic.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 37 // number of bits used in interpolation multiply - 14 bits avoids overflow 53 static inline void advance(state* p, int16_t in) { argument 57 p->y3 = in;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | NeighboringCellInfo.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 52 * CID in 16 bits format in GSM. Return UNKNOWN_CID in UMTS and CMDA. 56 * LAC in 16 bits format in GSM. Return UNKNOWN_CID in UMTS and CMDA. 60 * Primary Scrambling Code in 9 bits format in UMT 162 NeighboringCellInfo(Parcel in) argument [all...] |