Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_dm_inq_db_test.cc140 int thread_id; member
144 RawAddress RawAddressMaker(int thread_id, int subid) { in RawAddressMaker() argument
151 bd_addr.address[4] = (uint8_t)thread_id; in RawAddressMaker()
159 RawAddressMaker(data->thread_id, (int)data->inq_db_queue->size()); in allocate_db_entry()
172 data->thread_id = i; in TEST_F()
197 int thread_id; member
203 RawAddress p_bda = RawAddressMaker(data->thread_id, data->offset); in check_address()
216 data->thread_id = i; in TEST_F()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_thread.cc84 std::optional<pthread_t> thread_id; member
100 pthread_t* thread_id) { in create_thread() argument
109 ret = pthread_create(thread_id, &thread_attr, start_routine, arg); in create_thread()
116 pthread_getschedparam(*thread_id, &policy, &param); in create_thread()
121 pthread_setschedparam(*thread_id, policy, &param); in create_thread()
153 ts[h].thread_id = std::nullopt; in btsock_thread_init()
174 ts[h].thread_id = thread; in btsock_thread_create()
219 if (ts[h].thread_id.value() == pthread_self()) { in btsock_thread_add_fd()
266 if (ts[h].thread_id != std::nullopt) { in btsock_thread_exit()
267 pthread_join(ts[h].thread_id.value(), 0); in btsock_thread_exit()
[all …]
/packages/apps/Messaging/tools/messagegen/
Dfillsms203 thread_id=$(( $TABLE_THREADS_START_ID + $i ))
204 …cipient_ids,snippet,snippet_cs,read,type,error,has_attachment) values ($thread_id, $timestamp, $sm…
216 …d,address,person,date,status,type,body,read,seen) values ($message_id, $thread_id, '$phone', '$pho…
239 …,m_size,pri,rr,tr_id,d_rpt,locked,seen,text_only) values ($message_id, $thread_id, $date, 0, $mess…
241 …s,m_type,v,m_size,pri,rr,tr_id,d_rpt,locked,seen) values ($message_id, $thread_id, $date, $message…
/packages/modules/Bluetooth/system/common/
Dmessage_loop_thread_unittest.cc157 base::PlatformThreadId thread_id = message_loop_thread.GetThreadId(); in TEST_F() local
158 ASSERT_GE(thread_id, 0); in TEST_F()
167 ASSERT_EQ(thread_id, my_thread_id); in TEST_F()
/packages/modules/Bluetooth/system/test/fake/
Dfake_thread.h66 int thread_id; member
/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc258 pthread_t thread_id = -1; in create_thread() local
259 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread()
264 return thread_id; in create_thread()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java414 public static void updateThread(SQLiteDatabase db, long thread_id) { in updateThread() argument
415 if (thread_id < 0) { in updateThread()
419 updateThreads(db, "(thread_id = ?)", new String[]{ String.valueOf(thread_id) }); in updateThread()
530 int thread_id = -1; in deleteOneSms() local
536 thread_id = c.getInt(0); in deleteOneSms()
543 if (thread_id > 0) { in deleteOneSms()
545 updateThread(db, thread_id); in deleteOneSms()