Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py31 import signal
40 for signum in [signal.SIGCONT]:
41 signal.signal(signum, signal.SIG_IGN)
87 for signum in [signal.SIGALRM, signal.SIGHUP, signal.SIGINT,
88 signal.SIGILL, signal.SIGQUIT,
89 signal.SIGTRAP,signal.SIGABRT, signal.SIGIOT, signal.SIGBUS,
90 signal.SIGFPE, signal.SIGSEGV, signal.SIGUSR2, signal.SIGPIPE,
91 signal.SIGTERM]:
92 signal.signal(signum, self.handle_signal)
/cts/tests/app/src/android/app/cts/
DKeyguardManagerTest.java53 CountDownLatch signal = new CountDownLatch(1); in testPrivateNotificationsAllowed() local
59 signal.countDown(); in testPrivateNotificationsAllowed()
61 signal.await(); in testPrivateNotificationsAllowed()
/cts/tests/camera/src/android/hardware/cts/
DCameraTestCase.java74 startDone.signal(); in initializeMessageLooper()
121 previewDone.signal(); in startPreview()
150 focusDone.signal(); in autoFocus()
181 snapshotDone.signal(); in takePicture()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java144 mOnCompletionCalled.signal(); in testIfMediaServerDied()
379 mOnCompletionCalled.signal(); in testPlayAudioLooping()
488 mOnTimedTextCalled.signal();
688 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
696 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
734 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
742 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
767 mTestCompleted.signal(); in testSetNextMediaPlayer()
1129 mOnSeekCompleteCalled.signal();
1136 mOnCompletionCalled.signal();
[all …]
DDecoderTestAacDrc.java250 private double getEnergy(short[] signal, int start, int stop) { in getEnergy() argument
253 double v = signal[sample]; in getEnergy()
287 public void apply(short[] signal, int offset, int stride) { in apply() argument
297 for (int sample = offset; sample < signal.length; sample += stride) { in apply()
298 x_0 = signal[sample]; in apply()
305 signal[sample] = (short)y_0; in apply()
DMediaPlayerDrmTestBase.java126 mOnErrorCalled.signal(); in setOnErrorListener()
276 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_Generic()
321 playbackCompleted.signal(); in playLoadedModularDrmVideo_Generic()
393 onPreparedCalled.signal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
509 onPreparedCalled.signal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
541 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
557 playbackCompleted.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
666 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
683 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
711 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
[all …]
DMediaPlayerTestBase.java242 mOnVideoSizeChangedCalled.signal(); in playLoadedVideo()
262 mOnVideoRenderingStartCalled.signal(); in playLoadedVideo()
348 mOnErrorCalled.signal(); in setOnErrorListener()
D.goutputstream-9KZYJZ377 mOnPrepareCalled.signal();
379 mOnBufferingUpdateCalled.signal();
435 mOnErrorCalled.signal();
441 mOnPrepareCalled.signal();
443 mOnBufferingUpdateCalled.signal();
483 mOnBufferingUpdateCalled.signal();
491 onSetBufferingParamsCalled.signal();
611 mOnPrepareCalled.signal();
661 mOnPlayCalled.signal();
DTestUtils.java76 public synchronized void signal() { in signal() method in TestUtils.Monitor
DMediaPlayerFlakyNetworkTest.java195 releaseThreadRunning.signal(); in releaseMediaPlayerAndFailIfAnr()
261 mOnPrepareCalled.signal(); in localHttpStreamTest()
DStreamingMediaPlayerTest.java307 mOnBufferingUpdateCalled.signal(); in localHttpAudioStreamTest()
361 mOnBufferingUpdateCalled.signal(); in localHttpsAudioStreamTest()
DDecoderTest.java1409 private double getRmsError(short[] signal) throws RuntimeException {
1411 int stride = mMasterBuffer.length / signal.length;
1412 assertEquals("wrong data size", mMasterBuffer.length, signal.length * stride);
1414 for (int i = 0; i < signal.length; i++) {
1415 short sample = signal[i];
1420 long avgErrorSquared = (totalErrorSquared / signal.length);
DMediaDrmClearkeyTest.java301 mSessionMonitor.signal(); in startDrm()
/cts/hostsidetests/seccomp/app/jni/
Dandroid_seccomp_cts_app_SeccompDeviceTest.cpp60 int signal = WTERMSIG(status); in doTestSyscallBlocked() local
61 if (signal == 31) { in doTestSyscallBlocked()
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/
DPrintActivity.java66 CancellationSignal signal, PrintDocumentAdapter.LayoutResultCallback cb, in onStart()
72 … public void onWrite(PageRange[] pages, ParcelFileDescriptor dest, CancellationSignal signal, in onStart()
/cts/tests/app/app/src/android/app/stubs/
DKeyboardShortcutsActivity.java61 mSignalOnActivityDeFocused.signal(); in onWindowFocusChanged()
87 mSignalOnProvideKeyboardShortcuts.signal(); in onProvideKeyboardShortcuts()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java152 mDone.signal(); in onInit()
200 mDone.signal(); in onDone()
211 mDone.signal(); in onError()
222 mDone.signal(); in onError()
245 mDone.signal(); in onStop()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DHearingAidProfileTest.java281 mConditionAdapterIsEnabled.signal(); in onReceive()
289 mConditionAdapterIsDisabled.signal(); in onReceive()
378 mConditionProfileIsConnected.signal(); in onServiceConnected()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java371 CancellationSignal signal) throws FileNotFoundException { in openDocument() argument
379 return openDocumentUnchecked(doc, mode, signal); in openDocument()
383 CancellationSignal signal) throws FileNotFoundException { in openDocumentUnchecked() argument
455 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument() argument
470 doc, "r", signal), 0, doc.contents.length); in openTypedDocument()
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py21 import scipy.signal
/cts/tests/tests/car/src/android/car/cts/
DCarBluetoothTest.java95 mConditionAdapterStateReached.signal(); in onReceive()
197 mConditionAllProfilesConnected.signal(); in onServiceConnected()
/cts/apps/CameraITS/tools/
Ddng_noise_model.py28 import scipy.signal
173 hp = scipy.signal.sepfir2d(p, f, f).astype('float32')
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java209 condition.signal(); in onRegistration()
/cts/tools/utils/
Dmonsoon.py50 import signal
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1168 condition.signal(); in onError()
1184 condition.signal(); in onCompletion()

12