/frameworks/base/core/java/android/view/ |
H A D | InputChannel.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 25 * a window in another process. It is Parcelable so that it can be sent 115 * as an out parameter in a binder call. 130 public void readFromParcel(Parcel in) { argument 131 if (in == null) { 132 throw new IllegalArgumentException("in must not be null"); 135 nativeReadFromParcel(in);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnProfile.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 73 public VpnProfile(Parcel in) { argument 74 key = in.readString(); 75 name = in.readString(); 76 type = in.readInt(); 77 server = in.readString(); 78 username = in.readString(); 79 password = in.readString(); 80 dnsServers = in [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.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 public StatusBarIconList(Parcel in) { argument 32 readFromParcel(in); 35 public void readFromParcel(Parcel in) { argument 36 this.mSlots = in.readStringArray(); 37 final int N = in.readInt(); 43 if (in.readInt() != 0) { 44 mIcons[i] = new StatusBarIcon(in);
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_os_ZygoteInit.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 96 jobject clazz, jobject in, jobject out, jobject errfd) 101 fd = jniGetFDFromFileDescriptor(env, in); 95 com_android_internal_os_ZygoteInit_reopenStdio(JNIEnv* env, jobject clazz, jobject in, jobject out, jobject errfd) argument
|
/frameworks/base/services/input/ |
H A D | EventHub.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 53 /* this macro is used to tell if "bit" is set in "array" 82 static String8 sha1(const String8& in) { argument 85 SHA1Update(&ctx, reinterpret_cast<const u_char*>(in.string()), in.size()); 108 // built-in so we need to rely on other information to uniquely identify 110 // location but for built-in input device, they are unlikely to ever change. 776 // Use the time specified in the event instead of the current time 791 // Bug 7291243: Add a guard in cas [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.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 * Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 39 * It is represented in units of 0.25 seconds and ranges from -2592000 45 * Latitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0. 46 * It is represented in units of 0.25 seconds and ranges from -1296000 118 * specified in 3GPP2 C.S0005-A v6.0. It is represented in units 129 * specified in 3GPP2 C.S0005-A v6.0. It is represented in unit 194 CellIdentityCdma(Parcel in) argument [all...] |
H A D | CellIdentityGsm.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 37 // 16-bit GSM Cell Identity described in TS 27.007, 0..65535 38 // 28-bit UMTS Cell Identity described in TS 25.331, 0..268435455 40 // 9-bit UMTS Primary Scrambling Code described in TS 25.331, 0..511 107 * in TS 27.007, 0..65535 109 * in TS 25.331, 0..268435455 116 * @return 9-bit UMTS Primary Scrambling Code described in 179 private CellIdentityGsm(Parcel in) { argument 180 mMcc = in [all...] |
H A D | CellIdentityLte.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 174 private CellIdentityLte(Parcel in) { argument 175 mMcc = in.readInt(); 176 mMnc = in.readInt(); 177 mCi = in.readInt(); 178 mPci = in.readInt(); 179 mTac = in.readInt(); 188 public CellIdentityLte createFromParcel(Parcel in) { 189 return new CellIdentityLte(in); [all...] |
H A D | CellInfo.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 23 * Immutable cell information from a point in time. 51 // Observation time stamped as type in nanoseconds since boot 81 /** Approximate time of this cell information in nanos since boot */ 189 protected CellInfo(Parcel in) { argument 190 mRegistered = (in.readInt() == 1) ? true : false; 191 mTimeStampType = in.readInt(); 192 mTimeStamp = in.readLong(); 198 public CellInfo createFromParcel(Parcel in) { [all...] |
H A D | CellSignalStrengthGsm.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 private int mSignalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 36 private int mBitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5 111 // signal, its better to show 0 bars to the user in such cases. 149 // signal, its better to show 0 bars to the user in such cases. 201 private CellSignalStrengthGsm(Parcel in) { argument 202 mSignalStrength = in.readInt(); 203 mBitErrorRate = in.readInt(); 218 public CellSignalStrengthGsm createFromParcel(Parcel in) { [all...] |
H A D | CellSignalStrengthLte.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 // See RIL_LTE_SignalStrength in ril.h 261 private CellSignalStrengthLte(Parcel in) { argument 262 mSignalStrength = in.readInt(); 263 mRsrp = in.readInt(); 264 mRsrq = in.readInt(); 265 mRssnr = in.readInt(); 266 mCqi = in.readInt(); 267 mTimingAdvance = in [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaSmsCbProgramResults.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 /** Program result: category already opted in. */ 41 /** Program result: category already opted in. */ 59 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */ 73 CdmaSmsCbProgramResults(Parcel in) { argument 74 mCategory = in.readInt(); 75 mLanguage = in.readInt(); 76 mCategoryResult = in.readInt(); 82 * @param dest The Parcel in whic [all...] |
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.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 * This smoke test is designed to check for crashes and ANRs in an attempt to quickly determine if 39 * all minimal functionality in the build is working properly. 52 * in the catch-all testCase. 113 * This test checks for asynchronously-caused errors (crashes or ANRs) and fails in case any 118 * that state here as a side-effect so that if two successive runs happen in the same process, 119 * the asynchronous errors in the second test run won't include errors produced during the first 129 // Reset state just in case we should get another set of runs in th 314 fromCollection(Collection<ProcessErrorStateInfo> in) argument [all...] |
/frameworks/base/tools/preload/ |
H A D | MemoryUsage.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 // These values are in 1kB increments (not 4kB like you'd expect). 246 BufferedReader in = new BufferedReader( 248 String line = in.readLine(); 256 in.close(); 274 private static void copy(InputStream in, OutputStream out) { argument 278 while ((read = in.read(buffer)) > -1) { 286 /** Measures memory usage information and stores it in the model. */
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | CellBroadcastMessage.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 44 * in the database cursor returned by the ContentProvider. 72 private CellBroadcastMessage(Parcel in) { argument 73 mSmsCbMessage = new SmsCbMessage(in); 74 mDeliveryTime = in.readLong(); 75 mIsRead = (in.readInt() != 0); 91 public CellBroadcastMessage createFromParcel(Parcel in) { 92 return new CellBroadcastMessage(in); 101 * Create a CellBroadcastMessage from a row in th [all...] |
H A D | SmsCbEtwsInfo.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 * Supported values for each element are defined in 3GPP TS 23.041. 53 /** One of the ETWS warning type constants defined in this class. */ 81 SmsCbEtwsInfo(Parcel in) { argument 82 mWarningType = in.readInt(); 83 mEmergencyUserAlert = (in.readInt() != 0); 84 mActivatePopup = (in.readInt() != 0); 85 mWarningSecurityInformation = in.createByteArray(); 91 * @param dest The Parcel in whic [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatCmdMessage.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 98 public CatCmdMessage(Parcel in) { argument 99 mCmdDet = in.readParcelable(null); 100 mTextMsg = in.readParcelable(null); 101 mMenu = in.readParcelable(null); 102 mInput = in.readParcelable(null); 106 mBrowserSettings.url = in.readString(); 107 mBrowserSettings.mode = LaunchBrowserMode.values()[in.readInt()]; 110 mToneSettings = in [all...] |
H A D | CommandDetails.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 50 public CommandDetails(Parcel in) { argument 51 compRequired = in.readInt() != 0; 52 commandNumber = in.readInt(); 53 typeOfCommand = in.readInt(); 54 commandQualifier = in.readInt(); 66 public CommandDetails createFromParcel(Parcel in) { 67 return new CommandDetails(in);
|
/frameworks/rs/driver/ |
H A D | rsdIntrinsicColorMatrix.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 96 uchar4 *in = (uchar4 *)p->in; local 100 in += xstart; 109 rsdIntrinsicColorMatrixDot_K(out, in, cp->ip, len); 111 rsdIntrinsicColorMatrix3x3_K(out, in, cp->ip, len); 114 rsdIntrinsicColorMatrix4x4_K(out, in, cp->ip, len); 118 in += len << 2; 123 One(p, out++, in [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicColorMatrix.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 96 uchar4 *in = (uchar4 *)p->in; local 100 in += xstart; 109 rsdIntrinsicColorMatrixDot_K(out, in, cp->ip, len); 111 rsdIntrinsicColorMatrix3x3_K(out, in, cp->ip, len); 114 rsdIntrinsicColorMatrix4x4_K(out, in, cp->ip, len); 118 in += len << 2; 123 One(p, out++, in [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.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 65 void AudioBiquadFilter::process(const audio_sample_t in[], audio_sample_t out[], argument 67 (this->*mCurProcessFunc)(in, out, frameCount); 139 void AudioBiquadFilter::process_bypass(const audio_sample_t * in, argument 142 // The common case is in-place processing, because this is what the EQ does. 143 if (CC_UNLIKELY(in != out)) { 144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); 148 void AudioBiquadFilter::process_normal_mono(const audio_sample_t * in, argument 162 audio_sample_t x0 = *(in 182 process_transition_normal_mono(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 191 process_transition_bypass_mono(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 200 process_normal_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 240 process_transition_normal_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 249 process_transition_bypass_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | block_switch.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 34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]); 37 SrchMaxWithIndex(const Word32 *in, Word16 *index, Word16 n); 92 /* Attack in Window 0 */ {1, 3, 3, 1}, 93 /* Attack in Window 1 */ {1, 1, 3, 3}, 94 /* Attack in Window 2 */ {2, 1, 3, 2}, 95 /* Attack in Window 3 */ {3, 1, 3, 1}, 96 /* Attack in Window 4 */ {3, 1, 1, 3}, 97 /* Attack in Windo 249 SrchMaxWithIndex(const Word32 in[], Word16 *index, Word16 n) argument 339 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | wb_vad.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 37 * ilog2(Word32 in) = -1024*log10(in * 2^-31)/log10(2), where in = [1, 2^31-1] 43 * When input is in the range of [1,2^16], max error is 0.0380%. 128 * Purpose : Calculate signal level in a sub-band. Level is calculated 174 * the signal in each band 180 Word16 in[], /* i : input frame */ 190 tmp_buf[i] = in[ 178 filter_bank( VadVars * st, Word16 in[], Word16 level[] ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
H A D | SoftG711.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 254 int16_t *out, const uint8_t *in, size_t inSize) { 256 int32_t x = *in++; 280 int16_t *out, const uint8_t *in, size_t inSize) { 282 int32_t x = *in++; 253 DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) argument 279 DecodeMLaw( int16_t *out, const uint8_t *in, size_t inSize) argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.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 48 // number of bits used in interpolation multiply - 15 bits avoids overflow 60 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 63 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 338 int16_t *in = mBuffer.i16; member in namespace:android 343 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 344 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 360 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 366 out[outputIndex++] += vl * Interp(in[inputInde [all...] |