Searched defs:in (Results 226 - 250 of 486) sorted by relevance

1234567891011>>

/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp6 ** 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 Dblock_switch.c5 ** 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 Dwb_vad.c5 ** 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 DSoftG711.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
285 int16_t *out, const uint8_t *in, size_t inSize) {
288 int32_t x = *in++;
312 int16_t *out, const uint8_t *in, size_t inSize) {
315 int32_t x = *in++;
284 DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) argument
311 DecodeMLaw( int16_t *out, const uint8_t *in, size_t inSize) argument
/frameworks/av/services/audioflinger/
H A DAudioResampler.cpp5 * 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,
370 int16_t *in = mBuffer.i16;
375 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction);
376 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction);
393 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr,
399 out[outputIndex++] += vl * Interp(in[inputInde
465 int16_t *in = mBuffer.i16; member in namespace:android
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DEvent.java5 * 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 DApplicationErrorReport.java5 * 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 DRemoteInput.java5 * 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 DUsageEvents.java5 * 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 DAppWidgetProviderInfo.java5 * 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>&lt;appwidget-provider&gt;</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>&lt;receiver&gt;</code> element in th
220 AppWidgetProviderInfo(Parcel in) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattService.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
76 * List of characteristics included in this service.
160 public BluetoothGattService createFromParcel(Parcel in) {
161 return new BluetoothGattService(in);
169 private BluetoothGattService(Parcel in) { argument
170 mUuid = ((ParcelUuid)in.readParcelable(null)).getUuid();
171 mInstanceId = in.readInt();
172 mServiceType = in.readInt();
177 in
[all...]
/frameworks/base/core/java/android/bluetooth/le/
H A DAdvertiseSettings.java5 * 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 DScanSettings.java5 * 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 DIntentSender.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
175 * corresponds to the permission argument in
318 public IntentSender createFromParcel(Parcel in) {
319 IBinder target = in.readStrongBinder();
347 * @param in The Parcel containing the written Messenger.
352 public static IntentSender readIntentSenderOrNullFromParcel(Parcel in) { argument
353 IBinder b = in.readStrongBinder();
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java5 * 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/hardware/location/
H A DNanoApp.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
70 * other values for those fields in most cases.
139 * read only memory needed in bytes
146 * set writable memory needed in bytes
149 * writable memory needed in bytes
159 * executable memory needed in bytes
228 * @return readable memory needed in bytes
235 * get the ammount og writable memory needed in bytes
237 * @return writable memory needed in byte
279 NanoApp(Parcel in) argument
[all...]
H A DNanoAppInstanceInfo.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
138 * @return int - readable memory needed in bytes
147 * @param neededReadMemBytes - readable Memory needed in bytes
281 private NanoAppInstanceInfo(Parcel in) { argument
282 mPublisher = in.readString();
283 mName = in.readString();
285 mAppId = in.readLong();
286 mAppVersion = in.readInt();
287 mNeededReadMemBytes = in
[all...]
/frameworks/base/core/java/android/net/
H A DLinkQualityInfo.java5 * 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 DMobileLinkQualityInfo.java5 * 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...]
H A DNetworkUtils.java5 * 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 * in the future (and not explicitly bound via a bound {@link SocketFactory} (see
58 * {@code Network} ever disconnects all sockets created in this way will cease to work. This
110 * @param hostAddress an int corresponding to the IPv4 address in network byte order
128 * @return the IP address as an integer in network byte order
140 * @return the IPv4 netmask as an integer in network byte order
153 * @param netmask as an integer in network byte order
168 // inetAddressToInt returns an int in *network* byte order.
182 * but it will throw an IllegalArgumentException in tha
205 unparcelInetAddress(Parcel in) argument
[all...]
/frameworks/base/core/java/android/net/metrics/
H A DDhcpErrorEvent.java5 * 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 private DhcpErrorEvent(Parcel in) { argument
70 this.ifName = in.readString();
71 this.errorCode = in.readInt();
85 public DhcpErrorEvent createFromParcel(Parcel in) {
86 return new DhcpErrorEvent(in);
/frameworks/base/core/java/android/nfc/
H A DTag.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
55 * single activity via the {@link NfcAdapter#EXTRA_TAG} extra in an
58 * most appropriate activity to handle the tag. The Android OS executes each stage in order,
75 * If the tag contains NDEF data the system inspects the first {@link NdefRecord} in the first
79 * type is put in the intent's type field. This allows activities to register to be launched only
92 * more technologies in the tag. See {@link NfcAdapter#ACTION_TECH_DISCOVERED} for more detail.
100 * it is in range. Tag's can come in many forms, such as stickers, cards, key fobs, or
101 * even embedded in
380 readBytesWithNull(Parcel in) argument
[all...]
/frameworks/base/core/java/android/os/
H A DShellCommand.java5 * 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 public void init(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
60 mIn = in;
76 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
87 init(target, in, out, err, args, start);
102 // Unlike usual calls, in this case if an exception gets thrown
103 // back to us we want to print it back in to the dump data, since
H A DUserHandle.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
134 * @param uid A uid for an application running in a particular user.
331 * Returns the userId stored in this UserHandle.
374 * @param out The Parcel in which the UserHandle will be placed.
391 * @param in The Parcel from which to read the UserHandle
397 public static UserHandle readFromParcel(Parcel in) { argument
398 int h = in.readInt();
404 public UserHandle createFromParcel(Parcel in) {
405 return new UserHandle(in);
423 UserHandle(Parcel in) argument
[all...]
H A DWorkSource.java21 * Internal statics to avoid object allocations in some operations.
78 WorkSource(Parcel in) { argument
79 mNum = in.readInt();
80 mUids = in.createIntArray();
81 mNames = in.createStringArray();
245 * Merge the contents of <var>other</var> WorkSource in to this one.
489 // Skip uids that already exist or are not in 'other'.
496 // Remove any uids that don't exist in 'other'.
574 // Remove any uids that don't exist in 'other'.
606 if (DEBUG) Log.d(TAG, "Insert in "
[all...]

Completed in 400 milliseconds

1234567891011>>