Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 117) 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.cc53 thread_t* thread; member
117 void thread_free(thread_t* thread) { in thread_free()
130 void thread_join(thread_t* thread) { in thread_join()
138 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
155 void thread_stop(thread_t* thread) { in thread_stop()
160 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
174 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
192 bool thread_is_self(const thread_t* thread) { in thread_is_self()
197 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
202 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/testing-libraries/device-side/java/com/android/adservices/shared/testing/
DProcessLifeguardRule.java48 Thread thread, in ignoreUncaughtBackgroundException()
61 Thread thread, in newUncaughtBackgroundException()
74 Thread thread, in newUncaughtBackgroundException()
86 Thread thread, in writeToTestStorage()
/packages/modules/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/testing/
DAbstractProcessLifeguardRule.java74 Thread thread, in ignoreUncaughtBackgroundException()
88 Thread thread, in newUncaughtBackgroundException()
110 Thread thread, in newUncaughtBackgroundException()
195 Thread thread = sMyHandler.thread; in evaluate() local
249 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/CarTestLibUnitTest/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/gd/
Dmodule.cc69 void ModuleRegistry::Start(ModuleList* modules, Thread* thread, Handler* handler) { in Start()
75 void ModuleRegistry::set_registry_and_handler(Module* instance, Thread* thread, in set_registry_and_handler()
88 Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread, Handler* handler) { 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/offload/leaudio/hci/
Darbiter.rs22 thread: Option<JoinHandle<()>>, field
48 let thread = { in new() localVariable
155 let thread = self.thread.take().unwrap(); in drop() localVariable
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dthread_unittest.cc33 explicit SampleReactable(Thread* thread) in SampleReactable()
59 Thread* thread = nullptr; member in bluetooth::os::__anon8a239c750111::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/common/
Dmessage_loop_thread_unittest.cc272 [](MessageLoopThread* thread) { thread->IsRunning(); }, &message_loop_thread)); in TEST_F()
281 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
291 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
300 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
310 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
/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/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSamplerRule.java46 Thread thread = in startThread() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSessionTest.java200 BluetoothOppObexClientSession.ClientThread thread = in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError() local
216 BluetoothOppObexClientSession.ClientThread thread = in clientThreadInterrupt_sendMessageShareInterrupted() local
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc212 bool thread_is_self(const thread_t* thread) { in thread_is_self()
216 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
220 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
224 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
228 const char* thread_name(const thread_t* thread) { in thread_name()
232 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
244 void thread_free(thread_t* thread) { inc_func_call_count(__func__); } in thread_free()
245 void thread_join(thread_t* thread) { inc_func_call_count(__func__); } in thread_join()
246 void thread_stop(thread_t* thread) { inc_func_call_count(__func__); } in thread_stop()
/packages/modules/Bluetooth/system/test/fake/
Dfake_looper.cc49 thread_t* thread = nullptr; in run_message_loop() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java93 Future thread = mController.refreshSummaryThread(preference); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitorTest.kt34 private val thread = HandlerThread(MdnsAdvertiserTest::class.simpleName) constant

12345