Home
last modified time | relevance | path

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

123

/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.java316 CancellationSignal signal = new CancellationSignal(); in callOnScrollCaptureSearch() local
318 target.getCallback().onScrollCaptureSearch(signal, (scrollBounds) -> { in callOnScrollCaptureSearch()
445 public void onScrollCaptureSearch(@NonNull CancellationSignal signal, in onScrollCaptureSearch() argument
451 @NonNull CancellationSignal signal, @NonNull Runnable onReady) { in onScrollCaptureStart() argument
456 @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/tests/PhotoPicker/src/android/photopicker/cts/cloudproviders/
DCloudProviderNoPermission.java53 CancellationSignal signal) throws FileNotFoundException { in onOpenPreview() argument
59 CancellationSignal signal) throws FileNotFoundException { in onOpenMedia() argument
DCloudProviderNoIntentFilter.java53 CancellationSignal signal) throws FileNotFoundException { in onOpenPreview() argument
59 CancellationSignal signal) throws FileNotFoundException { in onOpenMedia() argument
DCloudProviderSecondary.java72 CancellationSignal signal) throws FileNotFoundException { in onOpenPreview() argument
79 CancellationSignal signal) throws FileNotFoundException { in onOpenMedia() argument
DCloudProviderPrimary.java87 CancellationSignal signal) throws FileNotFoundException { in onOpenPreview() argument
94 CancellationSignal signal) throws FileNotFoundException { in onOpenMedia() argument
/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/location/location_gnss/
DREADME.txt1 These tests require a GNSS signal.
/cts/tests/app/app/src/android/app/stubs/
DKeyboardShortcutsActivity.java61 mSignalOnActivityDeFocused.signal(); in onWindowFocusChanged()
87 mSignalOnProvideKeyboardShortcuts.signal(); in onProvideKeyboardShortcuts()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DDistanceMeasurementManagerTest.java108 CancellationSignal signal = mDistanceMeasurementManager.startMeasurementSession(params, in startMeasurementSession() local
110 assertNotNull(signal); in startMeasurementSession()
111 signal.cancel(); in startMeasurementSession()
DBluetoothCsipSetCoordinatorTest.java95 mConditionTestCallback.signal(); in onGroupLockSet()
373 mConditionProfileConnection.signal(); in onServiceConnected()
384 mConditionProfileConnection.signal(); in onServiceDisconnected()
DBluetoothPbapTest.java243 mConditionProfileConnection.signal(); in onServiceConnected()
254 mConditionProfileConnection.signal(); in onServiceDisconnected()
DBluetoothSapTest.java238 mConditionProfileConnection.signal(); in onServiceConnected()
249 mConditionProfileConnection.signal(); in onServiceDisconnected()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java226 mOnCompletionCalled.signal(); in testIfMediaServerDied()
519 mOnCompletionCalled.signal(); in testPlayAudioLooping()
635 mOnTimedTextCalled.signal();
855 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
860 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
896 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()
901 mOnInfoCalled.signal(); in testSetNextMediaPlayer()
925 mTestCompleted.signal(); in testSetNextMediaPlayer()
1281 mMediaPlayer.setOnSeekCompleteListener(mp -> mOnSeekCompleteCalled.signal());
1283 mMediaPlayer.setOnCompletionListener(mp -> mOnCompletionCalled.signal());
[all …]
/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/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java125 mOnErrorCalled.signal(); in setOnErrorListener()
289 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_Generic()
334 playbackCompleted.signal(); in playLoadedModularDrmVideo_Generic()
406 onPreparedCalled.signal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
522 onPreparedCalled.signal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
554 mOnVideoSizeChangedCalled.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
570 playbackCompleted.signal(); in playLoadedModularDrmVideo_V4_offlineKey()
679 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
696 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
724 onDrmPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBtAdapterUtils.java77 sConditionAdapterIsEnabled.signal(); in onReceive()
85 sConditionAdapterIsDisabled.signal(); in onReceive()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java186 mOnVideoSizeChangedCalled.signal(); in playLoadedVideo()
200 mOnVideoRenderingStartCalled.signal(); in playLoadedVideo()
273 mOnErrorCalled.signal(); in setOnErrorListener()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestAacDrc.java358 private double getEnergy(short[] signal, int start, int stop) { in getEnergy() argument
361 double v = signal[sample]; in getEnergy()
395 public void apply(short[] signal, int offset, int stride) { in apply() argument
405 for (int sample = offset; sample < signal.length; sample += stride) { in apply()
406 x_0 = signal[sample]; in apply()
413 signal[sample] = (short)y_0; in apply()
/cts/hostsidetests/graphics/gpuprofiling/app/
Dandroid_graphics_cts_GpuCounters.cpp92 std::signal(SIGTERM, [](int /*signal*/) { in main()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomationFileProvider.java54 public ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile() argument
/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()

123