/hardware/google/gfxstream/guest/android-emu/aemu/base/threads/ |
D | AndroidThread_pthread.cpp | 191 pid_t tid = gettid(); in getCurrentThreadId() local 194 thread_local pid_t tid = -1; in getCurrentThreadId() 195 if (tid == -1) { in getCurrentThreadId() 196 tid = syscall(__NR_gettid); in getCurrentThreadId() 199 zx_handle_t tid = zx_thread_self(); in getCurrentThreadId() 206 unsigned long tid = *reinterpret_cast<unsigned long*>(&tid); in getCurrentThreadId() 208 static_assert(sizeof(tid) <= sizeof(long), in getCurrentThreadId() 210 return static_cast<unsigned long>(tid); in getCurrentThreadId()
|
/hardware/google/aemu/base/ |
D | Thread_pthread.cpp | 183 pthread_t tid = pthread_self(); in getCurrentThreadId() local 188 static_assert(sizeof(tid) >= sizeof(int), in getCurrentThreadId() 190 return *reinterpret_cast<unsigned int*>(&tid); in getCurrentThreadId() 192 static_assert(sizeof(tid) >= sizeof(long), in getCurrentThreadId() 194 return *reinterpret_cast<unsigned long*>(&tid); in getCurrentThreadId()
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/ |
D | platform_lib_sched_policy.cpp | 37 int platform_lib_abstraction_set_sched_policy(int tid, PLASchedPolicy policy) in platform_lib_abstraction_set_sched_policy() argument 39 return set_sched_policy(tid, (SchedPolicy)policy); in platform_lib_abstraction_set_sched_policy()
|
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/src/ |
D | platform_lib_sched_policy.cpp | 37 int platform_lib_abstraction_set_sched_policy(int tid, PLASchedPolicy policy) in platform_lib_abstraction_set_sched_policy() argument 39 return set_sched_policy(tid, (SchedPolicy)policy); in platform_lib_abstraction_set_sched_policy()
|
/hardware/qcom/gps/msm8960/core/ |
D | MsgTask.cpp | 76 pthread_t tid; in createPThread() local 79 if (!pthread_create(&tid, &attr, loopMain, in createPThread() 85 pthread_setname_np(tid, lname); in createPThread()
|
/hardware/qcom/gps/msm8084/core/ |
D | MsgTask.cpp | 91 pthread_t tid; in createPThread() local 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread() 100 pthread_setname_np(tid, lname); in createPThread()
|
/hardware/qcom/gps/msm8994/core/ |
D | MsgTask.cpp | 91 pthread_t tid; in createPThread() local 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread() 100 pthread_setname_np(tid, lname); in createPThread()
|
/hardware/qcom/gps/core/ |
D | MsgTask.cpp | 91 pthread_t tid; in createPThread() local 94 if (!pthread_create(&tid, &attr, loopMain, in createPThread() 100 pthread_setname_np(tid, lname); in createPThread()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | PowerSessionManager.cpp | 60 static int set_uclamp(int tid, UclampRange range) { in set_uclamp() argument 72 const int ret = syscall(__NR_sched_setattr, tid, attr, 0); in set_uclamp() 74 ALOGW("sched_setattr failed for thread %d, err=%d", tid, errno); in set_uclamp() 164 for (auto tid : removedThreads) { in removePowerSession() local 165 if (!SetTaskProfiles(tid, {"NoResetUclampGrp"})) { in removePowerSession() 166 ALOGE("Failed to set NoResetUclampGrp task profile for tid:%d", tid); in removePowerSession() 183 for (auto tid : addedThreads) { in setThreadsFromPowerSession() local 184 if (!SetTaskProfiles(tid, {"ResetUclampGrp"})) { in setThreadsFromPowerSession() 185 ALOGE("Failed to set ResetUclampGrp task profile for tid:%d", tid); in setThreadsFromPowerSession() 188 for (auto tid : removedThreads) { in setThreadsFromPowerSession() local [all …]
|
D | SessionTaskMap.cpp | 232 for (auto tid : taskIds) { in replace() local 233 auto taskSessItr = mTasks.find(tid); in replace() 235 addedThreads->push_back(tid); in replace() 247 for (auto tid : previousTaskIds) { in replace() local 248 auto taskSessItr = mTasks.find(tid); in replace() 250 removedThreads->push_back(tid); in replace()
|
D | BackgroundWorker.cpp | 34 mThreadPool.push_back(std::thread([&, tid = threadId]() { loop(); })); in PriorityQueueWorkerPool()
|
/hardware/interfaces/audio/effect/all-versions/default/ |
D | Effect.cpp | 62 uint64_t getAffinity(pid_t tid) { in getAffinity() argument 66 if (sched_getaffinity(tid, sizeof(set), &set)) { in getAffinity() 67 ALOGW("%s: for tid:%d returning 0, failed %s", __func__, tid, strerror(errno)); in getAffinity() 77 ALOGV("%s: for tid:%d returning cpu count %d mask %llu", __func__, tid, count, in getAffinity() 82 status_t setAffinity(pid_t tid, uint64_t mask) { in setAffinity() argument 91 if (sched_setaffinity(tid, sizeof(set), &set)) { in setAffinity() 92 ALOGW("%s: for tid:%d setting cpu mask %llu failed %s", __func__, tid, in setAffinity() 96 ALOGV("%s: for tid:%d setting cpu mask %llu", __func__, tid, (unsigned long long)mask); in setAffinity() 100 __unused status_t setPriority(pid_t tid, int policy, int priority) { in setPriority() argument 104 if (sched_setscheduler(tid, policy, ¶m) != 0) { in setPriority() [all …]
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/ |
D | loc_stub_sched_policy.cpp | 47 int set_sched_policy(int tid, SchedPolicy policy) in set_sched_policy() argument
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/include/ |
D | loc_stub_sched_policy.h | 57 int set_sched_policy(int tid, SchedPolicy policy);
|
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/include/ |
D | loc_stub_sched_policy.h | 57 int set_sched_policy(int tid, SchedPolicy policy);
|
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/include/ |
D | platform_lib_sched_policy.h | 40 int platform_lib_abstraction_set_sched_policy(int tid, PLASchedPolicy policy);
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/ |
D | platform_lib_sched_policy.h | 40 int platform_lib_abstraction_set_sched_policy(int tid, PLASchedPolicy policy);
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/backtrace/ |
D | Backtrace.h | 127 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = nullptr); 190 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
|
/hardware/google/gfxstream/guest/vulkan/ |
D | gfxstream_vk_fuchsia.cpp | 37 static thread_local zx_koid_t tid = GetKoid(zx_thread_self()); variable 95 0, pid, tid); in gfxstream_fuchsia_log()
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/log/ |
D | logprint.h | 62 int32_t tid; member
|
D | log_read.h | 43 uint32_t tid; /* generating process's tid */ member
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | PowerHintSessionTest.cpp | 261 for (auto tid : threadIds) { in TEST_F() local 262 newSess1Threads.emplace_back(tid.second); in TEST_F()
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | pkt_stats.h | 157 u32 tid : 4; //[31:28] member 605 u8 tid; member
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | pkt_stats.h | 153 u32 tid : 4; //[31:28] member 601 u8 tid; member
|
/hardware/google/camera/common/hal/utils/ |
D | stream_buffer_cache_manager.cc | 262 pid_t tid = gettid(); in WorkloadThreadLoop() local 263 setpriority(PRIO_PROCESS, tid, -20); in WorkloadThreadLoop()
|