HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 326 - 350 of 1272) sorted by null

<<11121314151617181920>>

  /frameworks/base/libs/hwui/renderthread/
RenderProxy.cpp 131 // the render thread.
137 RenderThread& thread = RenderThread::getInstance(); local
138 auto invoke = [&thread, functor]() { CanvasContext::invokeFunctor(thread, functor); };
143 thread.queue().runSync(std::move(invoke));
145 thread.queue().post(std::move(invoke));
183 RenderThread& thread = RenderThread::getInstance();
184 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); })
    [all...]
  /frameworks/layoutlib/bridge/src/android/os/
HandlerThread_Delegate.java 44 for (HandlerThread thread : list) {
45 thread.quit();
57 // record the thread so that it can be quit() on clean up.
  /hardware/nxp/secure_element/ls_client/src/
LsClient.cpp 57 ** Description: Start LS download process by creating thread
66 pthread_t thread; local
71 if (pthread_create(&thread, &attr, &performLSDownload_thread, NULL) < 0) {
72 ALOGE("%s: Thread creation failed", fn);
  /hardware/qcom/gps/msm8909/utils/
LocThread.cpp 47 // bye() is for the parent thread to go away. if joinable,
48 // parent must stop the spawned thread, join, and then
59 // once the thread is created, some of these values will
60 // be check in the spawned thread, and must set correctly
70 // set up thread name, if nothing is passed in
75 // create the thread here, then if successful
76 // and a name is given, we set the thread name
85 // set thread name
90 // set the thread name here
113 LocThreadDelegate* thread = NULL local
252 LocThread thread; local
    [all...]
  /hardware/qcom/gps/msm8909w_3100/utils/
LocThread.cpp 48 // bye() is for the parent thread to go away. if joinable,
49 // parent must stop the spawned thread, join, and then
60 // once the thread is created, some of these values will
61 // be check in the spawned thread, and must set correctly
71 // set up thread name, if nothing is passed in
76 // create the thread here, then if successful
77 // and a name is given, we set the thread name
86 // set thread name
92 // set the thread name here
115 LocThreadDelegate* thread = NULL local
254 LocThread thread; local
    [all...]
  /hardware/qcom/gps/msm8996/utils/
LocThread.cpp 47 // bye() is for the parent thread to go away. if joinable,
48 // parent must stop the spawned thread, join, and then
59 // once the thread is created, some of these values will
60 // be check in the spawned thread, and must set correctly
70 // set up thread name, if nothing is passed in
75 // create the thread here, then if successful
76 // and a name is given, we set the thread name
85 // set thread name
90 // set the thread name here
113 LocThreadDelegate* thread = NULL local
252 LocThread thread; local
    [all...]
  /hardware/qcom/gps/msm8998/utils/
LocThread.cpp 48 // bye() is for the parent thread to go away. if joinable,
49 // parent must stop the spawned thread, join, and then
60 // once the thread is created, some of these values will
61 // be check in the spawned thread, and must set correctly
71 // set up thread name, if nothing is passed in
76 // create the thread here, then if successful
77 // and a name is given, we set the thread name
86 // set thread name
92 // set the thread name here
115 LocThreadDelegate* thread = NULL local
254 LocThread thread; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadTest.java 52 st = new Thread(tg, new SimpleThread(1), "SimpleThread3", 1);
53 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg)
63 new Thread(tg, new SimpleThread(1), "SimpleThread3",
77 Thread.dumpStack();
82 assertTrue(s.contains("java.lang.Thread.dumpStack"));
91 boolean b = Thread.holdsLock(this);
92 assertTrue("Thread should hold lock for object", b);
96 boolean b = Thread.holdsLock(this);
97 assertFalse("Thread should not hold lock for object", b);
105 final Thread parker = new Thread()
158 Thread thread = new Thread() { local
392 Thread thread = launchFiveSecondDummyThread(); local
419 Thread thread = new Thread() { local
445 Thread thread = launchFiveSecondDummyThread(); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/interactions/
TestLoaderManager.java 105 // We want to wait for each loader using a separate thread, so that we can
107 Thread[] waitThreads = new Thread[loaders.length];
110 waitThreads[i] = new Thread("LoaderWaitingThread" + i) {
125 for (Thread thread : waitThreads) {
127 thread.join();
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadUtils.java 50 final Thread thread = Thread.currentThread(); local
54 thread.interrupt();
63 Thread.interrupted(); // consume the interrupt signal
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /system/extras/libfec/
fec_process.cpp 30 /* thread function */
35 debug("thread %d: [%" PRIu64 ", %" PRIu64 ")", p->id, p->offset,
76 debug("%d threads, %zu bytes per thread (total %zu)", threads,
100 pthread_t thread; local
102 if (pthread_create(&thread, NULL, __process, &info[i]) != 0) {
103 error("failed to create thread: %s", strerror(errno));
106 handles.push_back(thread);
119 for (auto thread : handles) {
122 if (pthread_join(thread, (void **)&p) != 0) {
123 error("failed to join thread: %s", strerror(errno))
    [all...]
  /system/extras/memory_replay/
main.cpp 33 #include "Thread.h"
103 Thread* thread = threads.FindThread(tid); local
104 if (thread == nullptr) {
105 thread = threads.CreateThread(tid);
108 // Wait for the thread to complete any previous actions before handling
110 thread->WaitForReady();
112 Action* action = thread->CreateAction(key_pointer, type, line + line_pos);
120 // before triggering the action. Otherwise, another thread could
125 // Tell the thread to execute the action
    [all...]
  /system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
native-lib.cpp 56 pthread_t thread; local
57 int ret = pthread_create(&thread, nullptr, BusyLoopThread, nullptr);
104 pthread_t thread; local
105 int ret = pthread_create(&thread, nullptr, SleepThread, nullptr);
  /system/extras/simpleperf/
sample_tree_test.cpp 65 const ThreadEntry* thread = thread_tree_->FindThreadOrNew(pid, tid); local
66 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel);
68 pid, tid, thread->comm, map->dso->Path(), map->start_addr)));
  /system/vold/bench/
benchgen.py 35 def __init__(self, thread, time, call, args, ret):
36 self.thread = thread
69 handle = "t%sf%s" % (e.thread, fd)
114 thread = int(fn.split(".")[-1]) variable
125 events.append(Event(thread, time, call, args, ret))
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
NativeAudioThread.java 33 * A thread/audio track based audio synth.
35 public class NativeAudioThread extends Thread {
99 setPriority(Thread.MAX_PRIORITY);
209 //start thread
213 Thread thread = new Thread(new Runnable() { local
224 thread.start();
278 } //end thread.
  /cts/tests/tests/graphics/src/android/graphics/cts/
RenderTarget.java 61 HandlerThread thread = new HandlerThread("RenderTarget-GL"); external variable declarations
62 thread.start();
63 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
  /cts/tests/tests/view/src/android/view/cts/
FrameMetricsListenerTest.java 152 final HandlerThread thread = new HandlerThread("Listener"); local
153 thread.start();
163 new Handler(thread.getLooper())));
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ServiceStartArguments.java 52 * work of creating the extra thread and dispatching commands to it.
113 // Start up the thread running the service. Note that we create a
114 // separate thread because the service normally runs in the process's
115 // main thread, which we don't want to block. We also make it
117 HandlerThread thread = new HandlerThread("ServiceStartArguments", local
119 thread.start();
121 mServiceLooper = thread.getLooper();
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnService.java 44 private static class Connection extends Pair<Thread, ParcelFileDescriptor> {
45 public Connection(Thread thread, ParcelFileDescriptor pfd) {
46 super(thread, pfd);
50 private final AtomicReference<Thread> mConnectingThread = new AtomicReference<>();
118 // Replace any existing connecting thread with the new one.
119 final Thread thread = new Thread(connection, "ToyVpnThread"); local
120 setConnectingThread(thread);
    [all...]
  /development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
MissileLauncherActivity.java 139 Thread thread = new Thread(this); local
140 thread.start();
238 Thread.sleep(100);

Completed in 449 milliseconds

<<11121314151617181920>>