Home
last modified time | relevance | path

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

123456789

/frameworks/av/media/codecs/amrwb/dec/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()
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/libs/modules-utils/java/com/android/modules/utils/testing/
DNativeCoverageHackInstrumentationListener.java197 public boolean isCaught(int signal) { in isCaught() argument
198 return isSignalInMask(signal, Type.CAUGHT); in isCaught()
201 public boolean isBlocked(int signal) { in isBlocked() argument
202 return isSignalInMask(signal, Type.BLOCKED); in isBlocked()
205 public boolean isPending(int signal) { in isPending() argument
206 return isSignalInMask(signal, Type.PENDING); in isPending()
209 public boolean isIgnored(int signal) { in isIgnored() argument
210 return isSignalInMask(signal, Type.IGNORED); in isIgnored()
219 private boolean isSignalInMask(int signal, Type mask) { in isSignalInMask() argument
220 long bit = 1L << (signal - 1); in isSignalInMask()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/
DFakeScrollCaptureConnection.java57 ICancellationSignal signal = CancellationSignal.createTransport(); in startCapture() local
58 mCancellationSignal = CancellationSignal.fromTransport(signal); in startCapture()
59 return signal; in startCapture()
74 ICancellationSignal signal = CancellationSignal.createTransport(); in requestImage() local
75 mCancellationSignal = CancellationSignal.fromTransport(signal); in requestImage()
76 return signal; in requestImage()
89 ICancellationSignal signal = CancellationSignal.createTransport(); in endCapture() local
90 mCancellationSignal = CancellationSignal.fromTransport(signal); in endCapture()
91 return signal; in endCapture()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java85 private final CancellationSignal signal; field in ThumbnailUtils.Resizer
87 public Resizer(Size size, CancellationSignal signal) { in Resizer() argument
89 this.signal = signal; in Resizer()
95 if (signal != null) signal.throwIfCanceled(); in onHeaderDecoded()
148 @Nullable CancellationSignal signal) throws IOException { in createAudioThumbnail() argument
150 if (signal != null) signal.throwIfCanceled(); in createAudioThumbnail()
152 final Resizer resizer = new Resizer(size, signal); in createAudioThumbnail()
205 if (signal != null) signal.throwIfCanceled(); in createAudioThumbnail()
246 @Nullable CancellationSignal signal) throws IOException { in createImageThumbnail() argument
248 if (signal != null) signal.throwIfCanceled(); in createImageThumbnail()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DTestScrollCaptureCallback.java38 public void onScrollCaptureSearch(@NonNull CancellationSignal signal, in onScrollCaptureSearch() argument
40 mLastCancellationSignal = signal; in onScrollCaptureSearch()
47 @NonNull CancellationSignal signal, @NonNull Runnable onReady) { in onScrollCaptureStart() argument
48 mLastCancellationSignal = signal; in onScrollCaptureStart()
55 @NonNull CancellationSignal signal, @NonNull Rect captureArea, in onScrollCaptureImageRequest() argument
57 mLastCancellationSignal = signal; in onScrollCaptureImageRequest()
/frameworks/av/media/libaaudio/src/flowgraph/
DSinkI32.cpp41 const float *signal = input.getBuffer(); in read() local
44 memcpy_to_i32_from_float(intData, signal, numSamples); in read()
46 signal += numSamples; in read()
49 *intData++ = FlowgraphUtilities::clamp32FromFloat(*signal++); in read()
DSinkI16.cpp42 const float *signal = input.getBuffer(); in read() local
45 memcpy_to_i16_from_float(shortData, signal, numSamples); in read()
47 signal += numSamples; in read()
50 int32_t n = (int32_t) (*signal++ * 32768.0f); in read()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBindRequester.java47 CancellationSignal signal = new CancellationSignal(); in requestRebind() local
49 mBindRequestListener.onBindRequest(entry, signal, callback); in requestRebind()
51 return signal; in requestRebind()
72 @NonNull CancellationSignal signal, in onBindRequest() argument
/frameworks/av/media/codecs/amrwb/enc/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/view/
DScrollCaptureConnection.java290 protected SafeCallback(CancellationSignal signal, Executor executor, T value) { in SafeCallback() argument
291 mSignal = signal; in SafeCallback()
307 static Runnable create(CancellationSignal signal, Executor executor, Runnable target) { in create() argument
308 return new RunnableCallback(signal, executor, target); in create()
311 static <T> Consumer<T> create(CancellationSignal signal, Executor executor, in create() argument
313 return new ConsumerCallback<>(signal, executor, target); in create()
318 RunnableCallback(CancellationSignal signal, Executor executor, Runnable target) { in RunnableCallback() argument
319 super(signal, executor, target); in RunnableCallback()
330 ConsumerCallback(CancellationSignal signal, Executor executor, Consumer<T> target) { in ConsumerCallback() argument
331 super(signal, executor, target); in ConsumerCallback()
DScrollCaptureCallback.java85 void onScrollCaptureSearch(@NonNull CancellationSignal signal, @NonNull Consumer<Rect> onReady); in onScrollCaptureSearch() argument
103 @NonNull CancellationSignal signal, @NonNull Runnable onReady); in onScrollCaptureStart() argument
134 @NonNull CancellationSignal signal, @NonNull Rect captureArea, in onScrollCaptureImageRequest() argument
/frameworks/av/media/codecs/amrwb/enc/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()
/frameworks/av/media/libeffects/preprocessing/tests/
DEffectTestHelper.h35 double signal{}; in computeSnr()
41 signal += value * value; in computeSnr()
47 if (signal > 0.0f && noise > 0.0f) { in computeSnr()
48 snr = 10.f * log(signal / noise); in computeSnr()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java165 mNotFull.signal(); in stop()
177 mReadReady.signal(); in stop()
198 mReadReady.signal(); in done()
204 mNotFull.signal(); in done()
280 mReadReady.signal(); in put()
315 mNotFull.signal(); in take()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewSupport.java201 public final void onScrollCaptureSearch(CancellationSignal signal, Consumer<Rect> onReady) { in onScrollCaptureSearch() argument
202 if (signal.isCanceled()) { in onScrollCaptureSearch()
217 public final void onScrollCaptureStart(ScrollCaptureSession session, CancellationSignal signal, in onScrollCaptureStart() argument
219 if (signal.isCanceled()) { in onScrollCaptureStart()
239 CancellationSignal signal, Rect requestRect, Consumer<Rect> onComplete) { in onScrollCaptureImageRequest() argument
240 if (signal.isCanceled()) { in onScrollCaptureImageRequest()
253 mViewHelper.onScrollRequested(view, session.getScrollBounds(), requestRect, signal, in onScrollCaptureImageRequest()
254 (result) -> onScrollResult(result, view, signal, onComplete)); in onScrollCaptureImageRequest()
257 private void onScrollResult(ScrollResult scrollResult, V view, CancellationSignal signal, in onScrollResult() argument
260 if (signal.isCanceled()) { in onScrollResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierSignalAgent.java330 Intent signal = new Intent(intent); in broadcast() local
332 signal.setComponent(name); in broadcast()
336 signal.setPackage(name.getPackageName()); in broadcast()
339 if (wakeup && packageManager.queryBroadcastReceivers(signal, in broadcast()
342 + signal.getComponent()); in broadcast()
345 if (!wakeup && !packageManager.queryBroadcastReceivers(signal, in broadcast()
348 + signal.getComponent()); in broadcast()
352 SubscriptionManager.putSubscriptionIdExtra(signal, mPhone.getSubId()); in broadcast()
353 signal.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in broadcast()
354 if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES); in broadcast()
[all …]
/frameworks/base/core/java/android/content/
DLoggingContentInterface.java233 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile() argument
234 try (Logger l = new Logger("openFile", uri, mode, signal)) { in openFile() argument
236 return l.setResult(delegate.openFile(uri, mode, signal)); in openFile()
246 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile() argument
247 try (Logger l = new Logger("openAssetFile", uri, mode, signal)) { in openAssetFile() argument
249 return l.setResult(delegate.openAssetFile(uri, mode, signal)); in openAssetFile()
260 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openTypedAssetFile() argument
261 try (Logger l = new Logger("openTypedAssetFile", uri, mimeTypeFilter, opts, signal)) { in openTypedAssetFile() argument
263 return l.setResult(delegate.openTypedAssetFile(uri, mimeTypeFilter, opts, signal)); in openTypedAssetFile()
DContentProviderClient.java449 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile() argument
456 if (signal != null) { in openFile()
457 signal.throwIfCanceled(); in openFile()
459 signal.setRemote(remoteSignal); in openFile()
493 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile() argument
500 if (signal != null) { in openAssetFile()
501 signal.throwIfCanceled(); in openAssetFile()
503 signal.setRemote(remoteSignal); in openAssetFile()
526 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor() argument
528 return openTypedAssetFile(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor()
[all …]
/frameworks/base/core/java/android/os/
DFileUtils.java350 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument
354 return copy(in, out, signal, executor, listener); in copy()
382 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument
387 signal, executor, listener); in copy()
392 return copyInternalUserspace(in, out, signal, executor, listener); in copy()
420 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument
422 return copy(in, out, Long.MAX_VALUE, signal, executor, listener); in copy()
439 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument
447 return copyInternalSendfile(in, out, count, signal, executor, listener); in copy()
454 return copyInternalUserspace(in, out, count, signal, executor, in copy()
[all …]
/frameworks/av/media/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()

123456789