Home
last modified time | relevance | path

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

12345

/packages/modules/Bluetooth/system/osi/test/
Dthread_test.cc12 thread_t* thread = thread_new("test_thread"); in TEST_F() local
18 thread_t* thread = thread_new("test_thread"); in TEST_F() local
23 thread_t* thread = thread_new("test_name"); in TEST_F() local
29 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F() local
35 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F() local
41 thread_t* thread = (thread_t*)context; in thread_is_self_fn() local
46 thread_t* thread = thread_new("test_thread"); in TEST_F() local
52 thread_t* thread = thread_new("test_thread"); in TEST_F() local
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_thread.cc52 void thread_free(thread_t* thread) { in thread_free()
56 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
60 bool thread_is_self(const thread_t* thread) { in thread_is_self()
64 void thread_join(thread_t* thread) { in thread_join()
68 const char* thread_name(const thread_t* thread) { in thread_name()
80 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
84 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
88 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
92 void thread_stop(thread_t* thread) { in thread_stop()
/packages/modules/Bluetooth/system/osi/src/
Dthread.cc54 thread_t* thread; member
111 void thread_free(thread_t* thread) { in thread_free()
122 void thread_join(thread_t* thread) { in thread_join()
129 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
146 void thread_stop(thread_t* thread) { in thread_stop()
151 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
164 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
180 bool thread_is_self(const thread_t* thread) { in thread_is_self()
185 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
190 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/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DProcessLifeguardRule.java49 Thread thread, in ignoreUncaughtBackgroundException()
62 Thread thread, in newUncaughtBackgroundException()
75 Thread thread, in newUncaughtBackgroundException()
87 Thread thread, in writeToTestStorage()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DAbstractProcessLifeguardRule.java63 Thread thread, in ignoreUncaughtBackgroundException()
77 Thread thread, in newUncaughtBackgroundException()
99 Thread thread, in newUncaughtBackgroundException()
162 Thread thread = sMyHandler.thread; in evaluate() local
220 public @Nullable Thread thread; field in AbstractProcessLifeguardRule.DreamCatcher
/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.java138 Thread thread = getCurrentThreadIninterrupted(); in testGetResult_interruptedException() local
199 Thread thread = getCurrentThreadIninterrupted(); in testGetResult_withCustomTimeout_interruptedException() local
210 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/common/
Dmessage_loop_thread_unittest.cc291 base::BindOnce([](MessageLoopThread* thread) { thread->IsRunning(); }, in TEST_F()
301 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
311 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
320 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
330 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
345 base::BindOnce([](MessageLoopThread* thread, in TEST_F()
346 int* counter) { ASSERT_EQ((*counter)++, 1); }, in TEST_F()
/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.cc72 void ModuleRegistry::Start(ModuleList* modules, Thread* thread) { in Start()
83 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/IntentResolver/java/src/com/android/intentresolver/inject/
DConcurrencyModule.kt56 val thread = HandlerThread("BroadcastReceiver", Process.THREAD_PRIORITY_BACKGROUND) in mainDispatcher() constant
/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::__anonbf63a0bf0111::ThreadTest
/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/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_dm_inq_db_test.cc63 thread_t* thread = new thread_t; in SetUp() local
73 [](thread_t* thread, thread_func func, void* context) -> bool { in SetUp()
82 test::mock::osi_thread::thread_free.body = [](thread_t* thread) { in SetUp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DPreBootListener.java34 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSessionTest.java192 BluetoothOppObexClientSession.ClientThread thread = in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError() local
210 BluetoothOppObexClientSession.ClientThread thread = in clientThreadInterrupt_sendMessageShareInterrupted() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSamplerRule.java46 Thread thread = in startThread() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitorTest.kt34 private val thread = HandlerThread(MdnsAdvertiserTest::class.simpleName) constant
/packages/modules/Bluetooth/system/test/fake/
Dfake_looper.cc50 thread_t* thread = nullptr; in run_message_loop() local

12345