Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 40) 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/tests/view/src/android/view/cts/
DMockScrollCaptureCallback.java39 public void onScrollCaptureSearch(@NonNull CancellationSignal signal, in onScrollCaptureSearch() argument
47 @NonNull CancellationSignal signal, @NonNull Runnable onReady) { in onScrollCaptureStart() argument
54 @NonNull CancellationSignal signal, @NonNull Rect captureArea, in onScrollCaptureImageRequest() argument
DViewGroup_ScrollCaptureTest.java314 CancellationSignal signal = new CancellationSignal(); in callOnScrollCaptureSearch() local
316 target.getCallback().onScrollCaptureSearch(signal, (scrollBounds) -> { in callOnScrollCaptureSearch()
443 public void onScrollCaptureSearch(@NonNull CancellationSignal signal, in onScrollCaptureSearch() argument
449 @NonNull CancellationSignal signal, @NonNull Runnable onReady) { in onScrollCaptureStart() argument
454 @NonNull CancellationSignal signal, @NonNull Rect captureArea, in onScrollCaptureImageRequest() argument
/cts/tests/camera/src/android/hardware/cts/
DCameraPerformanceTestHelper.java76 startDone.signal(); in initializeMessageLooper()
123 previewDone.signal(); in startPreview()
152 focusDone.signal(); in autoFocus()
181 snapshotDone.signal(); in takePicture()
/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/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java159 mOnCompletionCalled.signal(); in testIfMediaServerDied()
399 mOnCompletionCalled.signal(); in testPlayAudioLooping()
515 mOnTimedTextCalled.signal();
718 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
726 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
764 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
772 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
797 mTestCompleted.signal(); in testSetNextMediaPlayer()
1156 mOnSeekCompleteCalled.signal();
1163 mOnCompletionCalled.signal();
[all …]
DMediaPlayerDrmTestBase.java126 mOnErrorCalled.signal(); in setOnErrorListener()
285 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_Generic()
330 playbackCompleted.signal(); in playLoadedModularDrmVideo_Generic()
402 onPreparedCalled.signal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
518 onPreparedCalled.signal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
550 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
566 playbackCompleted.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
675 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
692 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
720 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
[all …]
DDecoderTestAacDrc.java359 private double getEnergy(short[] signal, int start, int stop) { in getEnergy() argument
362 double v = signal[sample]; in getEnergy()
396 public void apply(short[] signal, int offset, int stride) { in apply() argument
406 for (int sample = offset; sample < signal.length; sample += stride) { in apply()
407 x_0 = signal[sample]; in apply()
414 signal[sample] = (short)y_0; in apply()
DMediaPlayerTestBase.java253 mOnVideoSizeChangedCalled.signal(); in playLoadedVideo()
273 mOnVideoRenderingStartCalled.signal(); in playLoadedVideo()
359 mOnErrorCalled.signal(); in setOnErrorListener()
DMediaPlayerFlakyNetworkTest.java198 releaseThreadRunning.signal(); in releaseMediaPlayerAndFailIfAnr()
265 mOnPrepareCalled.signal(); in localHttpStreamTest()
DTestUtils.java143 public synchronized void signal() { in signal() method in TestUtils.Monitor
/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/location/location_gnss/
DREADME.txt1 These tests require a GNSS signal.
/cts/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/
DBTAdapterUtils.java72 mConditionAdapterIsEnabled.signal(); in onReceive()
80 mConditionAdapterIsDisabled.signal(); in onReceive()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java372 CancellationSignal signal) throws FileNotFoundException { in openDocument() argument
380 return openDocumentUnchecked(doc, mode, signal); in openDocument()
384 CancellationSignal signal) throws FileNotFoundException { in openDocumentUnchecked() argument
456 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument() argument
471 doc, "r", signal), 0, doc.contents.length); in openTypedDocument()
/cts/hostsidetests/graphics/gpuprofiling/app/
Dandroid_graphics_cts_GpuCounters.cpp92 std::signal(SIGTERM, [](int /*signal*/) { in main()
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py21 import scipy.signal
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-29661/
Dpoc.cpp70 if (signal(SIGTTOU, SIG_IGN)) err(EXIT_FAILURE, "signal"); in main()
/cts/tests/tests/car/src/android/car/cts/
DCarBluetoothTest.java107 mConditionAdapterStateReached.signal(); in onReceive()
209 mConditionAllProfilesConnected.signal(); in onServiceConnected()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/
Dpoc.cpp100 signal(SIGABRT, handler); in main()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioTest.java172 mConditionProfileIsConnected.signal(); in onServiceConnected()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/
Dpoc.cpp195 signal(SIGABRT, handler); in main()

12