Home
last modified time | relevance | path

Searched refs:tName (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sm7250/gps/utils/
DLocThread.cpp47 LocThreadDelegate(const string tName, shared_ptr<LocRunnable> r);
55 inline static LocThreadDelegate* create(const char* tName, shared_ptr<LocRunnable> runnable);
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create() argument
64 if (!tName) { in create()
65 tName = defaultThreadName; in create()
69 auto nameSize = strlen(tName) + 1; in create()
71 memcpy(lname, tName, len); in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate() argument
82 mThread([tName, runnable] { in LocThreadDelegate()
83 prctl(PR_SET_NAME, tName.c_str(), 0, 0, 0); in LocThreadDelegate()
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocThread.cpp47 LocThreadDelegate(const string tName, shared_ptr<LocRunnable> r);
55 inline static LocThreadDelegate* create(const char* tName, shared_ptr<LocRunnable> runnable);
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create() argument
64 if (!tName) { in create()
65 tName = defaultThreadName; in create()
69 auto nameSize = strlen(tName) + 1; in create()
71 memcpy(lname, tName, len); in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate() argument
82 mThread([tName, runnable] { in LocThreadDelegate()
83 prctl(PR_SET_NAME, tName.c_str(), 0, 0, 0); in LocThreadDelegate()
[all …]