/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 230 // 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/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | OMAConstants.java | 62 public static String deserializeString(InputStream in) throws IOException { argument 65 byte b = (byte) in.read(); 77 int amount = in.read(octets, offset, octets.length - offset); 85 public static String readURN(InputStream in) throws IOException { argument 89 byte b = (byte) in.read();
|
H A D | OMANode.java | 76 public static OMAConstructed unmarshal(InputStream in) throws IOException { argument 77 OMANode node = buildNode(in, null); 81 unmarshal(in, (OMAConstructed) node); 85 private static void unmarshal(InputStream in, OMAConstructed parent) throws IOException { argument 87 OMANode node = buildNode(in, parent); 92 unmarshal(in, (OMAConstructed) node); 97 private static OMANode buildNode(InputStream in, OMAConstructed parent) throws IOException { argument 98 String name = OMAConstants.deserializeString(in); 104 int next = in.read(); 106 urn = OMAConstants.readURN(in); [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 *)info->inPtr[0]; 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 703 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in) { argument 705 ret.x = (m->m[0] * in.x) + (m->m[4] * in.y) + (m->m[8] * in.z) + (m->m[12] * in.w); 706 ret.y = (m->m[1] * in.x) + (m->m[5] * in.y) + (m->m[9] * in 713 rsMatrixMultiply(const rs_matrix4x4 *m, float3 in) argument 723 rsMatrixMultiply(const rs_matrix4x4 *m, float2 in) argument 733 rsMatrixMultiply(const rs_matrix3x3 *m, float3 in) argument 742 rsMatrixMultiply(const rs_matrix3x3 *m, float2 in) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PersistentFocusWrapper.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 // Select a child in requestFocus 131 SavedState(Parcel in) { argument 132 super(in); 133 mSelectedPosition = in.readInt(); 149 public SavedState createFromParcel(Parcel in) { 150 return new SavedState(in);
|
/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 SrchMaxWithIndex(const Word32 *in, Word16 *index, Word16 n); 89 /* Attack in Window 0 */ {1, 3, 3, 1}, 90 /* Attack in Window 1 */ {1, 1, 3, 3}, 91 /* Attack in Window 2 */ {2, 1, 3, 2}, 92 /* Attack in Window 3 */ {3, 1, 3, 1}, 93 /* Attack in Window 4 */ {3, 1, 1, 3}, 94 /* Attack in Window 5 */ {3, 2, 1, 2}, 95 /* Attack in Windo 246 SrchMaxWithIndex(const Word32 in[], Word16 *index, Word16 n) 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 264 int16_t *out, const uint8_t *in, size_t inSize) { 266 int32_t x = *in++; 290 int16_t *out, const uint8_t *in, size_t inSize) { 292 int32_t x = *in++; 263 DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) argument 289 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 47 // number of bits used in interpolation multiply - 15 bits avoids overflow 59 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 62 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 387 int16_t *in = mBuffer.i16; 392 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 393 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 410 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 416 out[outputIndex++] += vl * Interp(in[inputInde 483 int16_t *in = mBuffer.i16; member in namespace:android [all...] |
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Event.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 153 public Reader(InputStreamReader in) { argument 154 mReader = new JsonReader(in); 197 error("Error reading in object, ignoring.", ex);
|
/frameworks/base/core/java/android/app/ |
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 258 readFromParcel(Parcel in) argument 382 CrashInfo(Parcel in) argument 458 AnrInfo(Parcel in) argument 517 BatteryInfo(Parcel in) argument 568 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. 71 * An event type denoting that a package was interacted with in some way by the system. 77 * An event type denoting that a package was interacted with in some way by the user. 123 * The time at which this event occurred, measured in milliseconds since the epoch. 169 public UsageEvents(Parcel in) { argument 170 mEventCount = in.readInt(); 171 mIndex = 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...] |
H A D | ScanSettings.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 * Perform Bluetooth LE scan in low power mode. This is the default scan mode as it consumes the 42 * Perform Bluetooth LE scan in balanced power mode. Scan results are returned at a rate that 49 * running in the foreground. 82 * the resources in hw 88 * capability and availibility of the resources in hw 95 * and few number of sightings/match in a duration. 184 private ScanSettings(Parcel in) { argument 185 mScanMode = 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 952 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 332 invokeViewMethod(final View rootView, final View targetView, ByteBuffer in) argument 413 setLayoutParameter(final View rootView, final View targetView, ByteBuffer in) argument [all...] |