/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXml.java | 5 * use this file except in compliance with the License. You may obtain a copy 10 * Unless required by applicable law or agreed to in writing, software 44 // would be appended more than once to a checked-in file, causing a crash 55 FileInputStream in = file.openRead(); 58 read(in, statsOut); 62 in.close(); 85 private static void read(InputStream in, IntervalStats statsOut) throws IOException { argument 88 parser.setInput(in, "utf-8");
|
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsCallForwardInfo.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 public ImsCallForwardInfo(Parcel in) { argument 43 readFromParcel(in); 68 private void readFromParcel(Parcel in) { argument 69 mCondition = in.readInt(); 70 mStatus = in.readInt(); 71 mToA = in.readInt(); 72 mNumber = in.readString(); 73 mTimeSeconds = in [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
H A D | BluetoothPbapVcardList.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 51 public BluetoothPbapVcardList(InputStream in, byte format) throws IOException { argument 52 parse(in, format); 55 private void parse(InputStream in, byte format) throws IOException { argument 74 parser.parse(in);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
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()]; 74 public Duration createFromParcel(Parcel in) { 75 return new Duration(in);
|
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/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
H A D | HelloComputeNDK.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 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); argument 45 ImageView in = (ImageView) findViewById(R.id.displayin); 46 in.setImageBitmap(mBitmapIn);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.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 44 T convertToBigEndian(T in); 50 T convertToLittleEndian(T in); 58 * Wrap the given Output. Calling write methods will result in 96 * Count elements in the buffer will be written with the endianness set for this 98 * be skipped in the buffer before writing. 167 inline uint8_t convertToBigEndian(uint8_t in) { argument 168 return in; 172 inline int8_t convertToBigEndian(int8_t in) { argument 177 convertToBigEndian(uint16_t in) argument 182 convertToBigEndian(int16_t in) argument 187 convertToBigEndian(uint32_t in) argument 192 convertToBigEndian(int32_t in) argument 197 convertToBigEndian(uint64_t in) argument 202 convertToBigEndian(int64_t in) argument 207 convertToLittleEndian(uint8_t in) argument 212 convertToLittleEndian(int8_t in) argument 217 convertToLittleEndian(uint16_t in) argument 222 convertToLittleEndian(int16_t in) argument 227 convertToLittleEndian(uint32_t in) argument 232 convertToLittleEndian(int32_t in) argument 237 convertToLittleEndian(uint64_t in) argument 242 convertToLittleEndian(int64_t in) argument [all...] |
/frameworks/av/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/av/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/av/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/av/services/audioflinger/ |
H A D | AudioMixerOps.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 44 * There are 27 variants, of which 14 are actually defined in an 140 * are not needed in execution and should be removed from the final build by 225 /* MIXTYPE is used to determine how the samples in the input frame 280 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) 291 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 297 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum); 300 in++; 304 *out++ = MixMulAux<TO, TI, TV, TA>(*in 279 volumeRampMulti(TO* out, size_t frameCount, const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) argument 372 volumeMulti(TO* out, size_t frameCount, const TI* in, TA* aux, const TV *vol, TAV vola) argument [all...] |
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 74 int16_t *in = mBuffer.i16; local 84 // out[outputIndex++] += vr * in[inputIndex*2]; 104 in = mBuffer.i16; 109 advance(&left, in[inputIndex*2]); 110 advance(&right, in[inputIndex*2+1]); 142 int16_t *in = mBuffer.i16; local 173 in = mBuffer.i16; 177 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/core/java/android/app/backup/ |
H A D | RestoreDescription.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 * BackupTransport in response to a request about the next available restorable 41 * to indicate that no more package data is available in the current restore operation. 94 public RestoreDescription createFromParcel(Parcel in) { 95 final RestoreDescription unparceled = new RestoreDescription(in); 106 private RestoreDescription(Parcel in) { argument 107 mPackageName = in.readString(); 108 mDataType = in.readInt();
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanResult.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 59 private ScanResult(Parcel in) { argument 60 readFromParcel(in); 81 private void readFromParcel(Parcel in) { argument 82 if (in.readInt() == 1) { 83 mDevice = BluetoothDevice.CREATOR.createFromParcel(in); 85 if (in.readInt() == 1) { 86 mScanRecord = ScanRecord.parseFromBytes(in.createByteArray()); 88 mRssi = in [all...] |
/frameworks/base/core/java/android/content/ |
H A D | PeriodicSync.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 /** How frequently the sync should be scheduled, in seconds. Kept around for API purposes. */ 37 * How much flexibility can be taken in scheduling the sync, in seconds. 83 private PeriodicSync(Parcel in) { argument 84 this.account = in.readParcelable(null); 85 this.authority = in.readString(); 86 this.extras = in.readBundle(); 87 this.period = in [all...] |
H A D | UriPermission.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 public UriPermission(Parcel in) { argument 50 mUri = in.readParcelable(null); 51 mModeFlags = in.readInt(); 52 mPersistedTime = in.readLong(); 77 * Return the time when this permission was first persisted, in milliseconds
|
/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 44 /** If true, additional permissions to specific Uris in this content 57 * this field to be filled in. 70 * to run in different process. If false, a single instances is always 71 * run in {@link #processName}. */ 75 * running in the same process. Higher goes first. */ 79 * Bit in {@link #flags}: If set, a single instance of the provider will 86 * Options that have been set in the provider declaration in th 156 ProviderInfo(Parcel in) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CaptureResultExtras.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 CaptureResultExtras createFromParcel(Parcel in) { 36 return new CaptureResultExtras(in); 45 private CaptureResultExtras(Parcel in) { argument 46 readFromParcel(in); 75 public void readFromParcel(Parcel in) { argument 76 requestId = in.readInt(); 77 subsequenceId = in.readInt(); 78 afTriggerId = in [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | TouchCalibration.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 33 public TouchCalibration createFromParcel(Parcel in) { 34 return new TouchCalibration(in); 71 public TouchCalibration(Parcel in) { argument 72 mXScale = in.readFloat(); 73 mXYMix = in.readFloat(); 74 mXOffset = in.readFloat(); 75 mYXMix = in.readFloat(); 76 mYScale = in [all...] |
/frameworks/base/core/java/android/net/ |
H A D | RssiCurve.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 45 * in connectivity behavior from those endpoints. That is, the connectivity framework will treat 60 /** The width of each RSSI bucket, in dBm. */ 67 * The RSSI boost to give this network when active, in dBm. 79 * @param bucketWidth the width of each RSSI bucket, in dBm. 90 * @param bucketWidth the width of each RSSI bucket, in dBm. 92 * @param activeNetworkRssiBoost the RSSI boost to apply when this network is active, in dBm. 104 private RssiCurve(Parcel in) { argument 105 start = in [all...] |
H A D | StaticIpConfiguration.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 * not in fact capable of applying, or we could save a configuration that the 82 * in K and earlier, and other OSes appear to accept it. 100 * Returns a LinkProperties object expressing the data in this object. Note that the information 101 * contained in the LinkProperties will not be a complete picture of the link's configuration, 167 public StaticIpConfiguration createFromParcel(Parcel in) { 169 readFromParcel(s, in); 193 protected static void readFromParcel(StaticIpConfiguration s, Parcel in) { argument 194 s.ipAddress = in [all...] |