/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/ |
D | TestActivityLauncher.java | 44 Thread thread = in callActivity() local 53 thread.start(); in callActivity() 57 Thread thread = in callActivityAndCheckSuccess() local 74 thread.start(); in callActivityAndCheckSuccess() 75 thread.join(50000 /* millis */); in callActivityAndCheckSuccess()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerStubActivity.java | 150 Thread thread = new Thread() { in testReclaimResource() local 173 thread.start(); in testReclaimResource() 175 thread.join(); in testReclaimResource() 183 Thread thread = new Thread() { in testVideoCodecReclaim() local 212 thread.start(); in testVideoCodecReclaim() 214 thread.join(); in testVideoCodecReclaim() 223 Thread thread = new Thread() { in doTestReclaimResource() local 253 thread.start(); in doTestReclaimResource() 255 thread.join(); in doTestReclaimResource() 273 Thread thread = new Thread() { in doTestCodecImportanceReclaimResource() local [all …]
|
D | MediaCasTest.java | 355 final HandlerThread thread = new HandlerThread("EventListenerHandlerThread"); in testClearKeyApis() local 356 thread.start(); in testClearKeyApis() 357 Handler handler = new Handler(thread.getLooper()); in testClearKeyApis() 363 thread.interrupt(); in testClearKeyApis() 609 final HandlerThread thread = new HandlerThread("EventListenerHandlerThread"); in testResourceLostEvent() local 610 thread.start(); in testResourceLostEvent() 611 Handler handler = new Handler(thread.getLooper()); in testResourceLostEvent() 613 thread.interrupt(); in testResourceLostEvent() 632 HandlerThread thread = new HandlerThread("EventListenerHandlerThread"); in testConstructWithEventListener() local 633 thread.start(); in testConstructWithEventListener() [all …]
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 59 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedGlobal() argument 65 if (!jni_env->IsSameObject(thread, gExpectedThread)) { in ObjectAllocatedGlobal() 72 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedThread() argument 74 CHECK(jni_env->IsSameObject(thread, gExpectedThread)); in ObjectAllocatedThread() 93 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() argument 97 thread); in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() 99 if (thread == nullptr) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() 106 gExpectedThread = env->NewGlobalRef(thread); in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 150 HandlerThread thread = new HandlerThread("testIsIdle"); in testIsIdle() local 151 thread.start(); in testIsIdle() 154 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 159 Handler handler = new Handler(thread.getLooper()); in testIsIdle() 179 assertFalse(thread.getLooper().getQueue().isIdle()); in testIsIdle() 185 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 187 thread.quitSafely(); in testIsIdle() 340 AssertableHandlerThread thread = new AssertableHandlerThread(); in testFileDescriptorCallbacks() local 341 thread.start(); in testFileDescriptorCallbacks() 345 final MessageQueue queue = thread.getLooper().getQueue(); in testFileDescriptorCallbacks() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0837/ |
D | poc.cpp | 73 pthread_t thread[MAX_NUMBER_OF_THREADS]; in main() local 77 pthread_create(&thread[i], nullptr, acquireSoundTriggerSessionThread, in main() 83 pthread_create(&thread[i], nullptr, releaseSoundTriggerSessionThread, in main() 89 pthread_join(thread[i], nullptr); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0415/ |
D | poc.cpp | 56 pthread_t thread; in main() local 57 pthread_create(&thread, NULL, start2, &bufferProducer); in main() 71 pthread_join(thread, NULL); in main()
|
/cts/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/ |
D | TestActivity.java | 58 Thread thread = new Thread() { in callActivity() local 74 thread.start(); in callActivity() 75 thread.join(50000 /* millis */); in callActivity()
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTestBase.java | 73 final RequestAwareThread thread = new RequestAwareThread(request, runnable); in runWithRequestActive() local 74 thread.setUncaughtExceptionHandler(exceptionHandler); in runWithRequestActive() 77 isBaseStateRequest, thread)) { in runWithRequestActive() argument 79 thread.start(); in runWithRequestActive() 82 thread.join(); in runWithRequestActive()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 153 for (ThreadModel thread : process.getThreads()) { in findThread() 154 if (thread.getId() == id) { in findThread() 155 return thread; in findThread() 185 ThreadModel thread = findThread(result.getModel(), result.getTid()); in testBeginEndSection() local 186 assertNotNull(thread); in testBeginEndSection() 187 Slice sdkSlice = SliceQueriesKt.selectFirst(thread, in testBeginEndSection() 190 Slice ndkSlice = SliceQueriesKt.selectFirst(thread, in testBeginEndSection() 250 ThreadModel thread = findThread(result.getModel(), result.getPid()); in testTracingContent() local 251 SliceQueriesKt.iterSlices(thread, (Slice slice) -> { in testTracingContent()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecAsyncHelper.java | 38 Thread thread = new Thread(new Runnable() { in runThread() local 44 thread.setUncaughtExceptionHandler((Thread t, Throwable e) -> { in runThread() 47 thread.start(); in runThread() 48 thread.join(TIMEOUT_MS); in runThread()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionHandlerTest.java | 151 try (InputConnectionHandlingThread thread = new InputConnectionHandlingThread(); in testCommitText() argument 162 super(thread.getHandler()); in testCommitText() 217 thread.getThreadId(), callingThreadId.get()); in testCommitText() 229 try (InputConnectionHandlingThread thread = new InputConnectionHandlingThread(); in testCloseConnectionWithRestartInput() argument 263 return new HandlerInputConnection(thread.getHandler()) { in testCloseConnectionWithRestartInput() 296 thread.getThreadId(), callingThreadId.get()); in testCloseConnectionWithRestartInput() 308 try (InputConnectionHandlingThread thread = new InputConnectionHandlingThread(); in testCloseConnectionWithLosingViewFocus() argument 341 return new HandlerInputConnection(thread.getHandler()) { in testCloseConnectionWithLosingViewFocus() 373 thread.getThreadId(), callingThreadId.get()); in testCloseConnectionWithLosingViewFocus() 386 try (InputConnectionHandlingThread thread = new InputConnectionHandlingThread(); in testCloseConnectionWithLosingWindowFocus() argument [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | UtilsTest.java | 56 final HandlerThread thread = new HandlerThread("Tester"); in testListenerList() local 57 thread.start(); in testListenerList() 59 private final Handler mHandler = Handler.createAsync(thread.getLooper()); in testListenerList()
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 101 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 103 thread.start(); in onCreate() 106 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundService.java | 75 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 77 thread.start(); in onCreate() 80 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9515/ |
D | poc.c | 70 pthread_t thread; in main() local 71 if (pthread_create(&thread, NULL, uaf_worker, NULL)) in main()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ThreadNetworkTest.java | 20 import static android.net.thread.ThreadNetworkException.ERROR_FAILED_PRECONDITION; 28 import android.net.thread.ThreadNetworkController; 29 import android.net.thread.ThreadNetworkException; 30 import android.net.thread.ThreadNetworkManager; 50 import com.android.net.thread.platform.flags.Flags;
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceTest.kt | 54 val thread = LaunchActivityThread(activityIntent) in testRemoteProcessActivityPidCheck() constant 56 thread.start() in testRemoteProcessActivityPidCheck() 57 thread.join() in testRemoteProcessActivityPidCheck() 62 thread.getResultCode() in testRemoteProcessActivityPidCheck()
|
/cts/hostsidetests/tagging/common/src/android/cts/tagging/ |
D | ServiceRunnerActivity.java | 127 Thread thread = new Thread() { in runServiceCommon() local 140 thread.start(); in runServiceCommon() 141 thread.join(50000 /* millis */); in runServiceCommon()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ThemeHostTest.java | 229 Thread thread = new Thread(() -> { in generateDeviceImages() local 238 thread.start(); in generateDeviceImages() 241 thread.join(30_000); in generateDeviceImages() 251 thread.join(); in generateDeviceImages() 253 thread.join(); // test was started, so wait for it to finish in generateDeviceImages()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RenderTarget.java | 61 HandlerThread thread = new HandlerThread("RenderTarget-GL"); 62 thread.start(); in thread.start() 63 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 39 HandlerThread thread = new HandlerThread("PixelCopyHelper"); 40 thread.start(); in thread.start() 41 sHandler = new Handler(thread.getLooper());
|
/cts/tests/tests/security/src/android/security/cts/ |
D | RenderTarget.java | 64 HandlerThread thread = new HandlerThread("RenderTarget-GL"); 65 thread.start(); in thread.start() 66 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/ |
D | BluetoothConnector.kt | 89 for (thread in serverThreads.values) { in closeAllSockets() constant 90 thread.shutdown() in closeAllSockets()
|
/cts/hostsidetests/media/app/MediaExtractorTest/jni/ |
D | MediaExtractorDeviceSideTestNative.cpp | 48 std::thread(mediaExtractorTask).join(); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor()
|