Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 200) sorted by relevance

12345678

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dlow_pass_filt_7k.cpp143 int16 signal[], /* input: signal */ in low_pass_filt_7k() argument
159 x[(i<<2) + L_FIR ] = signal[(i<<2)]; in low_pass_filt_7k()
160 x[(i<<2) + L_FIR + 1] = signal[(i<<2)+1]; in low_pass_filt_7k()
161 x[(i<<2) + L_FIR + 2] = signal[(i<<2)+2]; in low_pass_filt_7k()
162 x[(i<<2) + L_FIR + 3] = signal[(i<<2)+3]; in low_pass_filt_7k()
164 L_tmp1 = fxp_mac_16by16(x[(i<<2)] + signal[(i<<2)], fir_7k[0], 0x00004000); in low_pass_filt_7k()
165 L_tmp2 = fxp_mac_16by16(x[(i<<2)+1] + signal[(i<<2)+1], fir_7k[0], 0x00004000); in low_pass_filt_7k()
166 L_tmp3 = fxp_mac_16by16(x[(i<<2)+2] + signal[(i<<2)+2], fir_7k[0], 0x00004000); in low_pass_filt_7k()
167 L_tmp4 = fxp_mac_16by16(x[(i<<2)+3] + signal[(i<<2)+3], fir_7k[0], 0x00004000); in low_pass_filt_7k()
209 signal[(i<<2)] = (int16)(L_tmp1 >> 15); in low_pass_filt_7k()
[all …]
Doversamp_12k8_to_16k.cpp204 int16 signal[] in oversamp_12k8_to_16k() argument
209 pv_memcpy((void *)signal, in oversamp_12k8_to_16k()
213 pv_memcpy((void *)(signal + (2*NB_COEF_UP)), in oversamp_12k8_to_16k()
219 AmrWbUp_samp(signal + NB_COEF_UP, sig16k, lg_up); in oversamp_12k8_to_16k()
222 (void *)(signal + lg), in oversamp_12k8_to_16k()
223 (2*NB_COEF_UP)*sizeof(*signal)); in oversamp_12k8_to_16k()
Dpvamrwbdecoder_acelp.h88 int16 signal[], /* input: signal */
169 int16 signal[]
174 int16 signal[], /* input/output signal */
180 int16 signal[], /* input/output signal */
187 int16 signal[], /* input: signal */
Dhighpass_400hz_at_12k8.cpp144 int16 signal[], /* input signal / output is divided by 16 */ in highpass_400Hz_at_12k8() argument
173 x0 = signal[i]; in highpass_400Hz_at_12k8()
183 signal[i] = (int16)((L_tmp1 + 0x00008000) >> 16); in highpass_400Hz_at_12k8()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
DFilt_6k_7k_neon.s19 @ Word16 signal[], /* input: signal */
24 @ r0 --- signal[]
37 MOV r8, r0 @ copy signal[] address
58 MOV r7, r3 @ get signal[i]
61 @ x[i + L_FIR - 1] = signal[i] >> 2@
63 VLD1.S16 {Q0, Q1}, [r7]! @ signal[0] ~ signal[15]
64 VLD1.S16 {Q2, Q3}, [r7]! @ signal[16] ~ signal[31]
65 VLD1.S16 {Q4, Q5}, [r7]! @ signal[32] ~ signal[47]
66 VLD1.S16 {Q6, Q7}, [r7]! @ signal[48] ~ signal[63]
67 VLD1.S16 {Q8, Q9}, [r7]! @ signal[64] ~ signal[79]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument
319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() argument
321 if (LAG) lagUntilCanceled(signal); in openDocumentThumbnail()
322 if (THUMB_WEDGE) wedgeUntilCanceled(signal); in openDocumentThumbnail()
362 private static void lagUntilCanceled(CancellationSignal signal) { in lagUntilCanceled() argument
363 waitForCancelOrTimeout(signal, 1500); in lagUntilCanceled()
366 private static void wedgeUntilCanceled(CancellationSignal signal) { in wedgeUntilCanceled() argument
367 waitForCancelOrTimeout(signal, Integer.MAX_VALUE); in wedgeUntilCanceled()
371 final CancellationSignal signal, long timeoutMillis) { in waitForCancelOrTimeout() argument
372 if (signal != null) { in waitForCancelOrTimeout()
[all …]
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java135 mReadReady.signal(); in stop()
142 mNotFull.signal(); in stop()
163 mReadReady.signal(); in done()
169 mNotFull.signal(); in done()
196 mReadReady.signal(); in put()
231 mNotFull.signal(); in take()
/frameworks/base/core/java/android/content/
DContentProviderClient.java330 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile() argument
337 if (signal != null) { in openFile()
338 signal.throwIfCanceled(); in openFile()
340 signal.setRemote(remoteSignal); in openFile()
373 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile() argument
380 if (signal != null) { in openAssetFile()
381 signal.throwIfCanceled(); in openAssetFile()
383 signal.setRemote(remoteSignal); in openAssetFile()
405 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor() argument
413 if (signal != null) { in openTypedAssetFileDescriptor()
[all …]
DContentProviderNative.java235 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local
240 fd = openFile(callingPkg, url, mode, signal, callerToken); in onTransact()
258 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local
262 fd = openAssetFile(callingPkg, url, mode, signal); in onTransact()
309 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local
313 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal); in onTransact()
579 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) in openFile() argument
589 data.writeStrongBinder(signal != null ? signal.asBinder() : null); in openFile()
607 String callingPkg, Uri url, String mode, ICancellationSignal signal) in openAssetFile() argument
617 data.writeStrongBinder(signal != null ? signal.asBinder() : null); in openAssetFile()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddecim54.c75 Word16 signal[L_FRAME16k + (2 * NB_COEF_DOWN)]; in Decim_12k8() local
77 Copy(mem, signal, 2 * NB_COEF_DOWN); in Decim_12k8()
79 Copy(sig16k, signal + (2 * NB_COEF_DOWN), lg); in Decim_12k8()
83 Down_samp(signal + NB_COEF_DOWN, sig12k8, lg_down); in Decim_12k8()
85 Copy(signal + lg, mem, 2 * NB_COEF_DOWN); in Decim_12k8()
Dhp400.c58 Word16 signal[], /* input signal / output is divided by 16 */ in HP400_12k8() argument
78 x0 = *signal; in HP400_12k8()
93 *signal++ = (L_tmp + 0x8000) >> 16; in HP400_12k8()
Dhp50.c59 Word16 signal[], /* input/output signal */ in HP50_12k8() argument
80 x0 = *signal; in HP50_12k8()
93 *signal++ = extract_h((L_add((L_tmp<<1), 0x8000))); in HP50_12k8()
Dhp6k.c54 Word16 signal[], /* input: signal */ in Filt_6k_7k() argument
65 x[i + L_FIR - 1] = signal[i] >> 2; /* gain of filter = 4 */ in Filt_6k_7k()
85 signal[i] = (L_tmp + 0x4000) >> 15; in Filt_6k_7k()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dp_ol_wgh.cpp863 Word16 signal[], /* i : signal used to compute the open loop pitch */ in Pitch_ol_wgh() argument
893 t0 = L_mac(t0, signal[i], signal[i], pOverflow); in Pitch_ol_wgh()
912 scal_sig[i] = shr(signal[i], 3, pOverflow); in Pitch_ol_wgh()
919 scal_sig[i] = shl(signal[i], 3, pOverflow); in Pitch_ol_wgh()
926 scal_sig[i] = signal[i]; in Pitch_ol_wgh()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java62 final CancellationSignal signal = new CancellationSignal(); in testCancelEvent() local
69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testCancelEvent()
79 signal.cancel(); in testCancelEvent()
107 final CancellationSignal signal = new CancellationSignal(); in testEventObjectAdded() local
108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testEventObjectAdded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInformationRecords.java109 public int signal; field in CdmaInformationRecords.CdmaSignalInfoRec
113 public CdmaSignalInfoRec(int isPresent, int signalType, int alertPitch, int signal) { in CdmaSignalInfoRec() argument
117 this.signal = signal; in CdmaSignalInfoRec()
126 ", signal: " + signal + in toString()
DSignalToneUtil.java82 private static Integer signalParamHash(int signalType, int alertPitch, int signal) { in signalParamHash() argument
84 (alertPitch < 0) || (signal > 256) || (signal < 0)) { in signalParamHash()
96 return new Integer(signalType * 256 * 256 + alertPitch * 256 + signal); in signalParamHash()
99 public static int getAudioToneFromSignalInfo(int signalType, int alertPitch, int signal) { in getAudioToneFromSignalInfo() argument
100 Integer result = mHm.get(signalParamHash(signalType, alertPitch, signal)); in getAudioToneFromSignalInfo()
DCdmaCallWaitingNotification.java38 public int signal = 0; field in CdmaCallWaitingNotification
53 + " signal: " + signal ; in toString()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java336 public @NonNull MtpEvent readEvent(@Nullable CancellationSignal signal) throws IOException { in readEvent() argument
340 if (signal != null) { in readEvent()
341 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
352 if (signal != null) { in readEvent()
353 signal.setOnCancelListener(null); in readEvent()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java503 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; in openDocument() argument
524 String documentId, Point sizeHint, CancellationSignal signal) in openDocumentThumbnail() argument
547 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument() argument
891 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile() argument
894 return openDocument(getDocumentId(uri), mode, signal); in openFile()
918 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile() argument
921 final ParcelFileDescriptor fd = openDocument(getDocumentId(uri), mode, signal); in openAssetFile()
947 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFile() argument
949 return openTypedAssetFileImpl(uri, mimeTypeFilter, opts, signal); in openTypedAssetFile()
1005 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFileImpl() argument
[all …]
/frameworks/av/media/libstagefright/
DMediaAdapter.cpp58 mBufferReadCond.signal(); in stop()
74 mBufferReturnedCond.signal(); in signalBufferReturned()
117 mBufferReadCond.signal(); in pushBuffer()
/frameworks/base/media/jni/soundpool/
DSoundPoolThread.cpp34 mCondition.signal(); in write()
45 mCondition.signal(); in read()
55 mCondition.signal(); in quit()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java67 NativeCrashReporter(ProcessRecord app, int signal, String report) { in NativeCrashReporter() argument
70 mSignal = signal; in NativeCrashReporter()
217 int signal = unpackInt(buf, 4); in consumeNativeCrashData() local
219 Slog.v(TAG, "Read pid=" + pid + " signal=" + signal); in consumeNativeCrashData()
272 (new NativeCrashReporter(pr, signal, reportString)).start(); in consumeNativeCrashData()
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp59 mPendingChangeSignal.signal(); in addComponent()
76 mPendingChangeSignal.signal(); in removeComponent()
104 mPendingChangeSignal.signal(); in markComponent()
111 mPendingChangeSignal.signal(); in requestExit()
/frameworks/base/libs/hwui/thread/
DSignal.h32 void signal() { in signal() function
37 mCondition.signal(mType); in signal()

12345678