/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | low_pass_filt_7k.cpp | 143 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 …]
|
D | oversamp_12k8_to_16k.cpp | 204 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()
|
D | highpass_400hz_at_12k8.cpp | 144 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()
|
D | pvamrwbdecoder_acelp.h | 88 int16 signal[], /* input: signal */ 169 int16 signal[] 174 int16 signal[], /* input/output signal */ 180 int16 signal[], /* input/output signal */ 187 int16 signal[], /* input: signal */
|
/frameworks/native/libs/ui/tests/ |
D | BufferHubEventFd_test.cpp | 58 eventFd.signal(); in TEST_F() 65 eventFd.signal(); in TEST_F() 72 dupEventFd.signal(); in TEST_F() 75 dupEventFd.signal(); in TEST_F() 83 eventFd.signal(); in TEST_F() 108 eventFd.signal(); in TEST_F() 130 eventFd.signal(); in TEST_F() 149 dupEventFd.signal(); in TEST_F() 165 eventFd.signal(); in TEST_F() 191 dupedEventFd.signal(); in TEST_F() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoreCardBasedScorer.java | 109 WifiScoreCardProto.Signal signal = candidate.getEventStatistics(Event.SIGNAL_POLL); in estimatedCutoff() local 110 if (signal == null) return cutoff; in estimatedCutoff() 111 if (!signal.hasRssi()) return cutoff; in estimatedCutoff() 112 if (signal.getRssi().getCount() > MIN_POLLS_FOR_SIGNIFICANCE) { in estimatedCutoff() 113 double mean = signal.getRssi().getSum() / signal.getRssi().getCount(); in estimatedCutoff() 114 double mean_square = signal.getRssi().getSumOfSquares() / signal.getRssi().getCount(); in estimatedCutoff()
|
D | WifiScoreCard.java | 462 for (Signal signal: ap.getEventStatsList()) { in merge() 463 Pair<Event, Integer> key = new Pair<>(signal.getEvent(), signal.getFrequency()); in merge() 466 mSignalForEventAndFrequency.put(key, new PerSignal(signal)); in merge() 469 perSignal.merge(signal); in merge() 666 PerSignal(Signal signal) { in PerSignal() argument 667 this.event = signal.getEvent(); in PerSignal() 668 this.frequency = signal.getFrequency(); in PerSignal() 669 this.rssi = new PerUnivariateStatistic(signal.getRssi()); in PerSignal() 670 this.linkspeed = new PerUnivariateStatistic(signal.getLinkspeed()); in PerSignal() 671 if (signal.hasElapsedMs()) { in PerSignal() [all …]
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 93 private final CancellationSignal signal; field in ThumbnailUtils.Resizer 95 public Resizer(Size size, CancellationSignal signal) { in Resizer() argument 97 this.signal = signal; in Resizer() 103 if (signal != null) signal.throwIfCanceled(); in onHeaderDecoded() 150 @Nullable CancellationSignal signal) throws IOException { in createAudioThumbnail() argument 152 if (signal != null) signal.throwIfCanceled(); in createAudioThumbnail() 154 final Resizer resizer = new Resizer(size, signal); in createAudioThumbnail() 207 if (signal != null) signal.throwIfCanceled(); in createAudioThumbnail() 242 @Nullable CancellationSignal signal) throws IOException { in createImageThumbnail() argument 244 if (signal != null) signal.throwIfCanceled(); in createImageThumbnail() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 303 Intent signal = new Intent(intent); in broadcast() local 304 signal.setComponent(name); in broadcast() 306 if (wakeup && packageManager.queryBroadcastReceivers(signal, in broadcast() 309 + signal.getComponent()); in broadcast() 312 if (!wakeup && !packageManager.queryBroadcastReceivers(signal, in broadcast() 315 + signal.getComponent()); in broadcast() 319 SubscriptionManager.putSubscriptionIdExtra(signal, mPhone.getSubId()); in broadcast() 320 signal.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in broadcast() 321 if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES); in broadcast() 324 mPhone.getContext().sendBroadcastAsUser(signal, UserHandle.ALL); in broadcast() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | Filt_6k_7k_neon.s | 19 @ 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/ |
D | TestDocumentsProvider.java | 311 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/av/media/libaaudio/src/flowgraph/ |
D | SinkI16.cpp | 43 const float *signal = input.getBlock(); in read() local 46 memcpy_to_i16_from_float(shortData, signal, numSamples); in read() 48 signal += numSamples; in read() 51 int32_t n = (int32_t) (*signal++ * 32768.0f); in read()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | decim54.c | 75 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()
|
D | hp400.c | 58 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()
|
D | hp50.c | 59 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/base/core/java/android/content/ |
D | ContentProviderClient.java | 408 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile() argument 415 if (signal != null) { in openFile() 416 signal.throwIfCanceled(); in openFile() 418 signal.setRemote(remoteSignal); in openFile() 452 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile() argument 459 if (signal != null) { in openAssetFile() 460 signal.throwIfCanceled(); in openAssetFile() 462 signal.setRemote(remoteSignal); in openAssetFile() 484 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor() argument 486 return openTypedAssetFile(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor() [all …]
|
D | ContentProviderNative.java | 228 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local 233 fd = openFile(callingPkg, url, mode, signal, callerToken); in onTransact() 251 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local 255 fd = openAssetFile(callingPkg, url, mode, signal); in onTransact() 303 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local 307 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal); in onTransact() 358 ICancellationSignal signal = ICancellationSignal.Stub.asInterface( in onTransact() local 361 boolean out = refresh(callingPkg, url, args, signal); in onTransact() 589 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) in openFile() argument 599 data.writeStrongBinder(signal != null ? signal.asBinder() : null); in openFile() [all …]
|
D | LoggingContentInterface.java | 221 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile() argument 222 try (Logger l = new Logger("openFile", uri, mode, signal)) { in openFile() argument 224 return l.setResult(delegate.openFile(uri, mode, signal)); in openFile() 234 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile() argument 235 try (Logger l = new Logger("openAssetFile", uri, mode, signal)) { in openAssetFile() argument 237 return l.setResult(delegate.openAssetFile(uri, mode, signal)); in openAssetFile() 248 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openTypedAssetFile() argument 249 try (Logger l = new Logger("openTypedAssetFile", uri, mimeTypeFilter, opts, signal)) { in openTypedAssetFile() argument 251 return l.setResult(delegate.openTypedAssetFile(uri, mimeTypeFilter, opts, signal)); in openTypedAssetFile()
|
/frameworks/base/core/java/android/speech/tts/ |
D | SynthesisPlaybackQueueItem.java | 165 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteCandidate.java | 60 WifiScoreCardProto.Signal signal = candidate.getEventStatistics(event); in ConcreteCandidate() local 61 if (signal != null) { in ConcreteCandidate() 62 mEventStatisticsMap.put(event, signal); in ConcreteCandidate() 209 WifiScoreCardProto.Signal signal) { in setEventStatistics() argument 210 mEventStatisticsMap.put(event, signal); in setEventStatistics()
|
D | WifiScoreCardTest.java | 298 for (Signal signal: ap.getEventStatsList()) { in testAccessPointSerialization() 299 if (signal.getFrequency() == 2412) { in testAccessPointSerialization() 300 assertFalse(signal.getRssi().hasCount()); in testAccessPointSerialization() 301 assertEquals(-42.0, signal.getRssi().getHistoricalMean(), TOL); in testAccessPointSerialization() 302 assertEquals(4.0, signal.getRssi().getHistoricalVariance(), TOL); in testAccessPointSerialization() 305 assertEquals(5805, signal.getFrequency()); in testAccessPointSerialization() 306 switch (signal.getEvent()) { in testAccessPointSerialization() 308 assertEquals(384.0, signal.getLinkspeed().getMaxValue(), TOL); in testAccessPointSerialization() 309 assertEquals(111.0, signal.getElapsedMs().getMinValue(), TOL); in testAccessPointSerialization() 312 assertEquals(2, signal.getRssi().getCount()); in testAccessPointSerialization() [all …]
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 339 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 343 return copy(in, out, signal, executor, listener); in copy() 371 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 376 signal, executor, listener); in copy() 381 return copyInternalUserspace(in, out, signal, executor, listener); in copy() 409 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 411 return copy(in, out, Long.MAX_VALUE, signal, executor, listener); in copy() 428 @Nullable CancellationSignal signal, @Nullable Executor executor, in copy() argument 435 return copyInternalSendfile(in, out, count, signal, executor, listener); in copy() 437 return copyInternalSplice(in, out, count, signal, executor, listener); in copy() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | p_ol_wgh.cpp | 863 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/ |
D | MtpManagerTest.java | 62 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/ |
D | CdmaInformationRecords.java | 137 public int signal; field in CdmaInformationRecords.CdmaSignalInfoRec 141 public CdmaSignalInfoRec(int isPresent, int signalType, int alertPitch, int signal) { in CdmaSignalInfoRec() argument 145 this.signal = signal; in CdmaSignalInfoRec() 154 ", signal: " + signal + in toString()
|