Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 80) sorted by relevance

1234

/packages/modules/Bluetooth/system/osi/test/
Dthread_test.cc14 thread_t* thread = thread_new("test_thread"); in TEST_F() local
20 thread_t* thread = thread_new("test_thread"); in TEST_F() local
25 thread_t* thread = thread_new("test_name"); in TEST_F() local
31 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F() local
37 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F() local
43 thread_t* thread = (thread_t*)context; in thread_is_self_fn() local
48 thread_t* thread = thread_new("test_thread"); in TEST_F() local
54 thread_t* thread = thread_new("test_thread"); in TEST_F() local
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_thread.cc58 void thread_free(thread_t* thread) { in thread_free()
62 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
66 bool thread_is_self(const thread_t* thread) { in thread_is_self()
70 void thread_join(thread_t* thread) { in thread_join()
74 const char* thread_name(const thread_t* thread) { in thread_name()
86 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
90 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
94 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
98 void thread_stop(thread_t* thread) { in thread_stop()
Dmock_common_repeating_timer.cc43 const base::WeakPtr<MessageLoopThread>& thread, in SchedulePeriodic()
/packages/modules/Bluetooth/system/osi/src/
Dthread.cc53 thread_t* thread; member
109 void thread_free(thread_t* thread) { in thread_free()
120 void thread_join(thread_t* thread) { in thread_join()
127 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
144 void thread_stop(thread_t* thread) { in thread_stop()
149 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
162 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
178 bool thread_is_self(const thread_t* thread) { in thread_is_self()
183 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
188 const char* thread_name(const thread_t* thread) { in thread_name()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java42 Thread thread; field in Profile.WatchEntry
77 public synchronized void addWatchEntry(Thread thread, int cycleTime) { in addWatchEntry()
87 public synchronized void removeWatchEntry(Thread thread) { in removeWatchEntry()
112 Thread thread = entry.thread; in processList() local
126 Thread thread = entry.thread; in sampleStack() local
139 private WatchEntry findEntry(Thread thread) { in findEntry()
/packages/apps/Camera2/src/com/android/camera/async/
DHandlerFactory.java32 final HandlerThread thread = new HandlerThread(threadName); in create() local
52 final HandlerThread thread = new HandlerThread(threadName); in create() local
/packages/apps/TV/common/src/com/android/tv/common/concurrent/
DNamedThreadFactory.java37 final Thread thread = mDefaultThreadFactory.newThread(runnable); in newThread() local
42 public boolean namedWithPrefix(Thread thread) { in namedWithPrefix()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DJavaMockitoHelperTest.java139 Thread thread = getCurrentThreadIninterrupted(); in testGetResult_interruptedException() local
200 Thread thread = getCurrentThreadIninterrupted(); in testGetResult_withCustomTimeout_interruptedException() local
211 Thread thread = Thread.currentThread(); in getCurrentThreadIninterrupted() local
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadJobService.java67 final DownloadThread thread; in onStartJob() local
86 final DownloadThread thread; in onStopJob() local
/packages/modules/Bluetooth/system/gd/
Dstack_manager_unittest.cc28 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
52 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
Dmodule.cc68 void ModuleRegistry::Start(ModuleList* modules, Thread* thread) { in Start()
79 Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) { in Start()
/packages/modules/adb/daemon/
Dproperty_monitor_test.cpp87 auto thread = SpawnThread(&pm); in TEST() local
111 auto thread = SpawnThread(&pm); in TEST() local
153 auto thread = SpawnThread(&pm); in TEST() local
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dthread_unittest.cc33 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable()
66 Thread* thread = nullptr; member in bluetooth::os::__anon40e447eb0111::ThreadTest
/packages/modules/Bluetooth/system/common/
Dmessage_loop_thread_unittest.cc289 base::BindOnce([](MessageLoopThread* thread) { thread->IsRunning(); }, in TEST_F()
299 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
309 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
318 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
328 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java104 HashSet<Uri> thread = mThreads.get(threadId); in put() local
233 HashSet<Uri> thread = mThreads.get(entry.getThreadId()); in removeFromThreads() local
244 HashSet<Uri> thread = mThreads.remove(threadId); in purgeByThreadId() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DPreBootListener.java33 Thread thread = new Thread(() -> { in onReceive() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioninglisteners/
DProvisioningCompletedListener.java46 Thread thread = new Thread(() -> { in onReceive() local
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiFrameworkInitializer.java55 HandlerThread thread = new HandlerThread("WifiManagerThread"); in createInstance() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSamplerRule.java46 Thread thread = in startThread() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java93 Future thread = mController.refreshSummaryThread(preference); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local
/packages/modules/DnsResolver/
DDnsQueryLogTest.cpp93 for (auto& thread : threads) { in TEST_F() local
101 for (auto& thread : threads) { in TEST_F() local
/packages/modules/Bluetooth/system/gd/os/
Dhandler.cc31 Handler::Handler(Thread* thread) : tasks_(new std::queue<OnceClosure>()), thread_(thread) { in Handler()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java50 final Thread thread = Thread.currentThread(); in dump() local
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_dumpsys_test.cc52 os::Thread* thread = new os::Thread("thread", os::Thread::Priority::NORMAL); in SetUp() local
/packages/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java132 HandlerThread thread = new HandlerThread("ringtone-player"); in getNewHandler() local

1234