Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java226 private void addFailure(String message, Throwable th) { in addFailure() argument
227 Log.e(TAG, "Failed: " + message, th); in addFailure()
312 } catch (Throwable th) { in checkQueryExecutable()
313 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
321 } catch (Throwable th) { in checkQueryExecutable()
322 addFailure("Query with cancel failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
332 } catch (Throwable th) { in checkQueryExecutable()
333 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
347 } catch (Throwable th) { in checkQueryExecutable()
348 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadTabActivity.java36 final TabHost th = getTabHost(); in onCreate() local
37 final TabHost.TabSpec ts = th.newTabSpec("1"); in onCreate()
40 th.addTab(ts); in onCreate()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/
Dpoc.c68 pthread_t th; in poc() local
70 pthread_create(&th, 0, thr, (void*)i); in poc()
74 pthread_create(&th, 0, thr, (void*)i); in poc()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestUtils.java92 } catch (Throwable th) { in runWithFailureHook()
93 Log.e(TAG, "Caught exception: " + th, th); in runWithFailureHook()
95 throw th; in runWithFailureHook()
DAnrMonitor.java190 } catch (Throwable th) { in threadMain()
192 Log.e(TAG, "BG thread dying unexpectedly", th); in threadMain()
193 fail("Unexpected exception detected: " + th.getMessage() + "\n" in threadMain()
194 + Log.getStackTraceString(th)); in threadMain()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestTaskQueue.java36 HandlerThread th = new HandlerThread(threadName); in TestTaskQueue() local
37 th.start(); in TestTaskQueue()
38 mHandler = new Handler(th.getLooper()); in TestTaskQueue()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_exit/
DTest_monitor_exit.java36 Thread th = new Thread(r); in testE1() local
37 th.start(); in testE1()
38 th.join(); in testE1()
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DFgsTimeoutMessageReceiver.java157 } catch (Throwable th) { in onReceive()
159 && expectedException.isAssignableFrom(th.getClass()); in onReceive()
161 Log.i(TAG, "Expected Exception received: ", th); in onReceive()
163 Log.w(TAG, "Unexpected exception received: ", th); in onReceive()
167 reply.setException(th); in onReceive()
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DShortFgsMessageReceiver.java194 } catch (Throwable th) { in onReceive()
196 && expectedException.isAssignableFrom(th.getClass()); in onReceive()
198 Log.i(TAG, "Expected Exception received: ", th); in onReceive()
200 Log.w(TAG, "Unexpected exception received: ", th); in onReceive()
204 reply.setException(th); in onReceive()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDeviceIdentifiersTest.java60 } catch (Throwable th) { in assertAccessDenied()
61 fail("Expected SecurityException but was: " + th); in assertAccessDenied()
/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java178 } catch (Throwable th) { in testThreadCleanup()
179 mThrowable = th; in testThreadCleanup()
209 Thread th = new Thread(wrappedTest, "EGL thrash"); in testThreadCleanup() local
210 th.start(); in testThreadCleanup()
211 th.join(); in testThreadCleanup()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21000/src/android/security/cts/CVE_2023_21000/
DDeviceTest.java66 } catch (Throwable th) { in testCVE_2023_21000()
67 assumeNoException(th); in testCVE_2023_21000()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DRemoteService.java87 } catch (Throwable th) { in runOnHandlerSync()
88 throwable.set(th); in runOnHandlerSync()
89 Log.e(TAG, "Error while running TestRunnable", th); in runOnHandlerSync()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DPresentationSyncTest.java265 } catch (Throwable th) { in run()
266 mThrowable = th; in run()
274 Thread th = new Thread(wrapper, "sync test"); in runTest() local
275 th.start(); in runTest()
276 th.join(); in runTest()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTimeoutTest.java119 } catch (Throwable th) { in testDefaultTimeouts()
121 throw th; in testDefaultTimeouts()
/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css41 table.summary th {
61 table.testsummary th {
85 table.testdetails th {
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java98 } catch (Throwable th) { in onPerformSync()
99 Log.e(TAG, "Exception in onPerformSync", th); in onPerformSync()
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutConfigsTest.java84 } catch (Throwable th) { in testDefaultTimeouts()
86 throw th; in testDefaultTimeouts()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminServiceTest.java81 } catch (Throwable th) { in withRetry()
82 lastThrowable = th; in withRetry()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeDecodeTest.java225 } catch (Throwable th) { in run()
226 mThrowable = th; in run()
235 Thread th = new Thread(wrapper, "codec test"); in runTest() local
236 th.start(); in runTest()
237 th.join(); in runTest()
276 } catch (Throwable th) { in run()
277 mThrowable = th; in run()
306 Thread th = new Thread(wrapper, "codec test"); in runTest() local
307 th.start(); in runTest()
308 th.join(); in runTest()
DEncodeVirtualDisplayTest.java236 } catch (Throwable th) { in run()
237 mThrowable = th; in run()
244 Thread th = new Thread(wrapper, "codec test"); in runTest() local
245 th.start(); in runTest()
246 th.join(); in runTest()
DExtractDecodeEditEncodeMuxTest.java241 } catch (Throwable th) { in run()
242 mThrowable = th; in run()
252 Thread th = new Thread(wrapper, "codec test"); in runTest() local
253 th.start(); in runTest()
254 th.join(); in runTest()
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java241 int th = Runtime.getRuntime().availableProcessors() / 2; in testEncoding() local
242 th = Math.min(Math.max(1, th), 8); in testEncoding()
244 + ":n_threads=" + th; in testEncoding()
/cts/hostsidetests/mediapc/videoencodingquality/src/
DCtsVideoEncodingQualityHostTest.java420 int th = Runtime.getRuntime().availableProcessors() / 2; in testEncoding() local
421 th = Math.min(Math.max(1, th), 8); in testEncoding()
422 String filter = "libvmaf=feature=name=psnr:model=version=vmaf_v0.6.1:n_threads=" + th; in testEncoding()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java457 final Thread th = new Thread(() -> { in testGetTranslationCapabilities() local
463 th.start(); in testGetTranslationCapabilities()
489 final Thread th = new Thread(() -> { in testGetTranslationCapabilitiesWithBadService() local
495 th.start(); in testGetTranslationCapabilitiesWithBadService()

12