/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 69 public static void parse(Reader in, ContentHandler contentHandler) argument 73 reader.parse(new InputSource(in)); 80 public static void parse(InputStream in, Encoding encoding, argument 85 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 61 public StatusBarNotification(Parcel in) { argument 62 readFromParcel(in); 65 public void readFromParcel(Parcel in) { argument 66 this.pkg = in.readString(); 67 this.id = in.readInt(); 68 if (in.readInt() != 0) { 69 this.tag = in.readString(); 73 this.uid = in [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | AccessPointParserHelper.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 38 * Help class to process configurations of access points saved in an XML file. 39 * The configurations of an access point is included in tag 42 * in which each is included in the corresponding tags. Static IP setting is also supported. 44 * enclosed in tags of <resources></resources>. 337 * Process the InputStream in 338 * @param in is the InputStream that can be used for XML parsing 341 public AccessPointParserHelper(InputStream in) throw argument [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/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 150 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 102 short in[BUF_SIZE]; local 103 env->GetByteArrayRegion(jIn, jInOffset, (jNpoints * 2 + nFir21 - 1) * 2, (jbyte*)in); 110 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...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | Duration.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 56 private Duration(Parcel in) { argument 57 timeInterval = in.readInt(); 58 timeUnit = TimeUnit.values()[in.readInt()]; 71 public Duration createFromParcel(Parcel in) { 72 return new Duration(in);
|
H A D | Input.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 private Input(Parcel in) { argument 55 text = in.readString(); 56 defaultText = in.readString(); 57 icon = in.readParcelable(null); 58 minLen = in.readInt(); 59 maxLen = in.readInt(); 60 ucs2 = in.readInt() == 1 ? true : false; 61 packed = in [all...] |
H A D | Menu.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 57 private Menu(Parcel in) { argument 58 title = in.readString(); 59 titleIcon = in.readParcelable(null); 62 int size = in.readInt(); 64 Item item = in.readParcelable(null); 67 defaultItem = in.readInt(); 68 softKeyPreferred = in.readInt() == 1 ? true : false; 69 helpAvailable = in [all...] |
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/core/java/android/app/backup/ |
H A D | FileBackupHelperBase.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 84 void writeFile(File f, BackupDataInputStream in) { argument 91 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader);
|
/frameworks/base/core/java/android/content/ |
H A D | ComponentName.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 * a component: the package (a String) it exists in, and the class (a String) 40 * @param pkg The name of the package that the component exists in. Can 98 * Return the class name, either fully qualified or in a shortened form 114 * class names contained in the ComponentName. You can later recover 155 * names that were encoded in <var>str</var> 228 * @param out The Parcel in which the ComponentName will be placed. 245 * @param in The Parcel from which to read the ComponentName 251 public static ComponentName readFromParcel(Parcel in) { argument 277 ComponentName(Parcel in) argument 286 ComponentName(String pkg, Parcel in) argument [all...] |
H A D | DefaultDataHandler.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 31 * Inserts default data from InputStream, should be in XML format. 42 * Delete, it must be in order of uri, select, and arg: 61 * Insert multiple rows in to same table and same attributes: 87 public void insert(ContentResolver contentResolver, InputStream in) argument 90 Xml.parse(in, Xml.Encoding.UTF_8, this); 93 public void insert(ContentResolver contentResolver, String in) argument 96 Xml.parse(in, this);
|