/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/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.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 52 friend Formatter& operator << (Formatter& out, const char* in) { argument 56 out.mString.append(in); 60 friend inline Formatter& operator << (Formatter& out, const String8& in) { argument 61 return operator << (out, in.string()); 115 ALOGD("shader cache generated - %u shaders in %f ms\n", shaderCount, compileTimeMs); 160 // default precision is required-ish in fragment shaders 232 // look-up the program in the cache
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMapEventReport.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 * This object will be received in {@link BluetoothMasClient#EVENT_EVENT_REPORT} 96 // msg_type, in such case leave it as null rather than throw 129 * <code>type</code> application parameter in MAP specification 136 * @return value corresponding to <code>handle</code> parameter in MAP 144 * @return value corresponding to <code>folder</code> parameter in MAP 152 * @return value corresponding to <code>old_folder</code> parameter in MAP 161 * <code>msg_type</code> application parameter in MAP specification 184 static BluetoothMapEventReport fromStream(DataInputStream in) { argument [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
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 | 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 51 public CommandDetails(Parcel in) { argument 52 compRequired = in.readInt() != 0; 53 commandNumber = in.readInt(); 54 typeOfCommand = in.readInt(); 55 commandQualifier = in.readInt(); 69 public CommandDetails createFromParcel(Parcel in) { 70 return new CommandDetails(in);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicLUT.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 62 const uchar *in = (uchar *)p->in; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 76 in += 4;
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.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 715 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in) { argument 717 ret.x = (m->m[0] * in.x) + (m->m[4] * in.y) + (m->m[8] * in.z) + (m->m[12] * in.w); 718 ret.y = (m->m[1] * in.x) + (m->m[5] * in.y) + (m->m[9] * in 725 rsMatrixMultiply(const rs_matrix4x4 *m, float3 in) argument 735 rsMatrixMultiply(const rs_matrix4x4 *m, float2 in) argument 745 rsMatrixMultiply(const rs_matrix3x3 *m, float3 in) argument 754 rsMatrixMultiply(const rs_matrix3x3 *m, float2 in) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/media/ |
H A D | MediaDescriptionCompatApi21.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 58 public static Object fromParcel(Parcel in) { argument 59 return MediaDescription.CREATOR.createFromParcel(in);
|
/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 261 int16_t *out, const uint8_t *in, size_t inSize) { 263 int32_t x = *in++; 287 int16_t *out, const uint8_t *in, size_t inSize) { 289 int32_t x = *in++; 260 DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) argument 286 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 50 // number of bits used in interpolation multiply - 15 bits avoids overflow 62 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 65 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 389 int16_t *in = mBuffer.i16; 394 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 395 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 412 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 418 out[outputIndex++] += vl * Interp(in[inputInde 484 int16_t *in = mBuffer.i16; member in namespace:android [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AlarmManager.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 * to schedule your application to be run at some point in the future. When 43 * Alarm Manager releases this wake lock. This means that the phone will in some 59 * the OS will shift alarms in order to minimize wakeups and battery use. There are 63 * is earlier than API 19 will continue to see the previous behavior in which all 76 * Alarm time in {@link System#currentTimeMillis System.currentTimeMillis()} 77 * (wall clock time in UTC), which will wake up the device when 82 * Alarm time in {@link System#currentTimeMillis System.currentTimeMillis()} 83 * (wall clock time in UT 616 AlarmClockInfo(Parcel in) argument [all...] |
H A D | ApplicationErrorReport.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 * is stored in {@link #crashInfo}. 45 * ANR is stored in {@link #anrInfo}. 47 * battery. Information about the battery use is stored in {@link #batteryInfo}. 49 * unneeded serive running. Information about the battery use is stored in 155 ApplicationErrorReport(Parcel in) { argument 156 readFromParcel(in); 161 // check if error reporting is enabled in secure settings 170 // look for receiver in th 255 readFromParcel(Parcel in) argument 378 CrashInfo(Parcel in) argument 454 AnrInfo(Parcel in) argument 513 BatteryInfo(Parcel in) argument 564 RunningServiceInfo(Parcel in) argument [all...] |
H A D | RemoteInput.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 89 * Get the key that the result of this input will be set in from the Bundle returned by 113 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 194 * <p>Values within the Bundle will replace existing extras values in this Builder. 231 private RemoteInput(Parcel in) { argument 232 mResultKey = in.readString(); 233 mLabel = in.readCharSequence(); 234 mChoices = in.readCharSequenceArray(); 235 mFlags = in [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageEvents.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 52 * An event type denoting that a component was in the foreground when the stats 59 * An event type denoting that a component was in the foreground the previous day. 112 * The time at which this event occurred, measured in milliseconds since the epoch. 158 public UsageEvents(Parcel in) { argument 159 mEventCount = in.readInt(); 160 mIndex = in.readInt(); 162 mStringPool = in.createStringArray(); 164 final int listByteLength = in [all...] |
/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 31 * Describes the meta data for an installed AppWidget provider. The fields in this class 32 * correspond to the fields in the <code><appwidget-provider></code> xml tag. 41 * Widget is resizable in the horizontal axis only. 45 * Widget is resizable in the vertical axis only. 49 * Widget is resizable in both the horizontal and vertical axes. 71 * {@link android.appwidget as described in the AppWidget package documentation}. 73 * <p>This field corresponds to the <code>android:name</code> attribute in 74 * the <code><receiver></code> element in th 220 AppWidgetProviderInfo(Parcel in) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | AdvertiseSettings.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 * Perform Bluetooth LE advertising in low power mode. This is the default and preferred 35 * Perform Bluetooth LE advertising in balanced power mode. This is balanced between advertising 41 * Perform Bluetooth LE advertising in low latency, high power mode. This has the highest power 86 private AdvertiseSettings(Parcel in) { argument 87 mAdvertiseMode = in.readInt(); 88 mAdvertiseTxPowerLevel = in.readInt(); 89 mAdvertiseConnectable = in.readInt() != 0 ? true : false; 90 mAdvertiseTimeoutMillis = in [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.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 * must return correct MIME type(s) describing the data in the clip. For help 51 * in correctly constructing a clip with the correct MIME type, use 83 * <p>More complicated exchanges will be done through URIs, in particular 85 * to interact closely with the ContentProvider holding the data in order to 86 * negotiate the transfer of that data. The clip must also be filled in with 120 * <p>More complicated data types require the implementation of support in 141 * <p>The copy operation in our NotePad application is now just a simple matter 168 * Description of a single item in 922 ClipData(Parcel in) argument [all...] |
H A D | IntentSender.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 179 * corresponds to the permission argument in 321 public IntentSender createFromParcel(Parcel in) { 322 IBinder target = in.readStrongBinder(); 350 * @param in The Parcel containing the written Messenger. 355 public static IntentSender readIntentSenderOrNullFromParcel(Parcel in) { argument 356 IBinder b = in.readStrongBinder();
|
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleViewDebug.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 /** Operation on view root, first parameter in packet should be one of VURT_* constants */ 63 * Generic View Operation, first parameter in the packet should be one of the 83 /** Error code indicating operation specified in chunk is invalid. */ 124 ByteBuffer in = wrapChunk(request); 125 int op = in.getInt(); 127 View rootView = getRootView(in); 134 return dumpHierarchy(rootView, in); 143 final View targetView = getTargetView(rootView, in); 196 getRootView(ByteBuffer in) argument 206 getTargetView(View root, ByteBuffer in) argument 229 dumpHierarchy(View rootView, ByteBuffer in) argument 322 invokeViewMethod(final View rootView, final View targetView, ByteBuffer in) argument 403 setLayoutParameter(final View rootView, final View targetView, ByteBuffer in) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.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 // if it's null we're running in the system process 126 // create one, and put it in our list. 182 // in our mapping, if not, get rid of it too. 282 * output: 3,4,5: values in the old API format 283 * 0,1,2: transformed values in the old API format 381 public float filter(long time, float in) { argument 382 float v = in;
|
/frameworks/base/core/java/android/net/ |
H A D | LinkQualityInfo.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 64 /* Sample duration in millisecond */ 115 public LinkQualityInfo createFromParcel(Parcel in) { 116 int objectType = in.readInt(); 119 li.initializeFromParcel(in); 122 return WifiLinkQualityInfo.createFromParcelBody(in); 124 return MobileLinkQualityInfo.createFromParcelBody(in); 138 protected void initializeFromParcel(Parcel in) { argument 139 mNetworkType = in [all...] |
H A D | MobileLinkQualityInfo.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 MobileLinkQualityInfo createFromParcelBody(Parcel in) { argument 73 li.initializeFromParcel(in); 75 li.mMobileNetworkType = in.readInt(); 76 li.mRssi = in.readInt(); 77 li.mGsmErrorRate = in.readInt(); 78 li.mCdmaDbm = in.readInt(); 79 li.mCdmaEcio = in.readInt(); 80 li.mEvdoDbm = in [all...] |