/foundation/ai/intelligent_voice_framework/utils/ |
H A D | base_thread.cpp | 25 BaseThread::BaseThread() : tid_(0), isRuning_(false) in BaseThread() 32 pthread_detach(tid_); in ~BaseThread() 48 int ret = pthread_create(&tid_, nullptr, BaseThread::RunInThread, this); in Start() 65 pthread_join(tid_, nullptr); in Join() 76 return tid_; in Gettid()
|
H A D | task_executor.cpp | 36 int ret = pthread_create(&tid_, nullptr, TaskExecutor::ExecuteInThread, this); in StartThread() 53 pthread_join(tid_, nullptr); in StopThread()
|
H A D | base_thread.h | 41 pthread_t tid_; member in OHOS::IntellVoiceUtils::BaseThread
|
H A D | task_executor.h | 58 pthread_t tid_ = 0; member in OHOS::IntellVoiceUtils::TaskExecutor
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | event_listener.cpp | 37 tid_(tid) in EventListener() 47 tid_ = listener.tid_; in EventListener() 59 if (GetCurrentThreadId() == tid_ && callbackRef_ != nullptr) { in ~EventListener() 71 tid_ = listener.tid_; in operator =() 88 if (GetCurrentThreadId() != tid_) { in Emit() 106 if (GetCurrentThreadId() != tid_) { in Match()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | task_queue.cpp | 79 if (tid_ == -1) { in SetQos() 83 MEDIA_LOGI("SetQos thread [%{public}d] level [%{public}d]", static_cast<int>(tid_), static_cast<int>(level)); in SetQos() 84 SetQosForOtherThread(level, tid_); in SetQos() 89 if (tid_ == -1) { in ResetQos() 93 ResetQosForOtherThread(tid_); in ResetQos() 94 MEDIA_LOGI("ResetQos thread [%{public}d] ok", static_cast<int>(tid_)); in ResetQos() 152 tid_ = gettid(); in TaskProcessor() 153 MEDIA_LOGI("Enter TaskProcessor [%{public}s], tid_: (%{public}d)", name_.c_str(), tid_); in TaskProcessor() 160 MEDIA_LOGI("Exit TaskProcessor [%{public}s], tid_ in TaskProcessor() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audioschedule/ |
H A D | audio_schedule.cpp | 127 : pid_(pid), tid_(tid), bundleName_(bundleName)
in AudioScheduleGuard() 134 : pid_(audioScheduleGuard.pid_), tid_(audioScheduleGuard.tid_),
in AudioScheduleGuard() 150 this->tid_ = audioScheduleGuard.tid_;
in operator =() 158 UnscheduleReportData(pid_, tid_, bundleName_.c_str());
in ~AudioScheduleGuard()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include/ |
H A D | vsync_system_ability_listener.h | 26 const std::string& tid) : threadName_(threadName), uid_(uid), pid_(pid), tid_(tid) {} in VSyncSystemAbilityListener() 35 std::string tid_; member in OHOS::Rosen::VSyncSystemAbilityListener
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/ |
H A D | vsync_system_ability_listener.cpp | 34 __func__, threadName.c_str(), pid_.c_str(), tid_.c_str(), uid_.c_str()); in OnAddSystemAbility() 39 mapPayload["tid"] = tid_; in OnAddSystemAbility()
|
/foundation/resourceschedule/ffrt/src/util/ |
H A D | worker_monitor.h | 47 int tid_; member 53 : tid_(workerId), gid_(taskId), workerTaskType_(workerTaskType), label_(workerTaskLabel) {} in WorkerInfo()
|
H A D | worker_monitor.cpp | 239 ss << "Task_Sch_Timeout: process name:[" << processName << "], Tid:[" << timeoutFunction.workerInfo_.tid_ << in RecordSymbolAndBacktrace() 259 if (OHOS::HiviewDFX::GetBacktraceStringByTid(dumpInfo, timeoutFunction.workerInfo_.tid_, 0, false)) { in RecordSymbolAndBacktrace() 262 RecordIpcInfo(dumpInfo, timeoutFunction.workerInfo_.tid_); in RecordSymbolAndBacktrace()
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_thread_skeleton.cpp | 94 if (instance->tid_ != tid) { in GetVaildInstance() 98 tid, instance->tid_, TLSKey_, ProcessSkeleton::ConvertAddr(instance), in GetVaildInstance() 136 IPCThreadSkeleton::IPCThreadSkeleton() : tid_(gettid()) in IPCThreadSkeleton() 143 ZLOGW(LOG_LABEL, "get thread name fail, tid:%{public}d ret:%{public}d", tid_, ret); in IPCThreadSkeleton() 177 threadName_.c_str(), tid_, threadType_); in ~IPCThreadSkeleton()
|
/foundation/multimedia/audio_framework/frameworks/native/audioschedule/include/ |
H A D | audio_schedule_guard.h | 42 uint32_t tid_; member in OHOS::AudioStandard::AudioScheduleGuard
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_canvas_node.cpp | 64 tid_ = gettid(); in RSCanvasNode() 215 if (tid_ != gettid()) { in CheckThread()
|
H A D | rs_canvas_node.h | 74 pid_t tid_; member in OHOS::Rosen::RSCanvasNode
|
/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | ipc_thread_skeleton.h | 83 const pid_t tid_; member in OHOS::IPC_SINGLE::IPCThreadSkeleton
|
/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | event_listener.h | 66 uint64_t tid_ = 0; member in OHOS::NetStack::EventListener
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_thread_test.cpp | 136 EXPECT_FALSE(instance.tid_ == tid); in HWTEST_F() 138 instance.tid_ = tid; in HWTEST_F() 140 EXPECT_TRUE(instance.tid_ == tid); in HWTEST_F() 163 instance.tid_ = 0; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_uni_render_thread_ext_test.cpp | 136 EXPECT_FALSE(instance.tid_ == tid); in HWTEST_F() 138 instance.tid_ = tid; in HWTEST_F() 140 EXPECT_TRUE(instance.tid_ == tid); in HWTEST_F() 163 instance.tid_ = 0; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_thread.h | 150 return tid_; in GetTid() 219 pid_t tid_ = 0; member in OHOS::Rosen::RSUniRenderThread
|
H A D | rs_uni_render_thread.cpp | 192 tid_ = gettid(); in Start() 205 RSTaskDispatcher::GetInstance().RegisterTaskDispatchFunc(tid_, taskDispatchFunc); in Start() 235 if (tid == tid_) { in PostRTTask() 249 if (tid_ == gettid()) { in PostImageReleaseTask()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread.h | 158 int32_t tid_ = -1; member in OHOS::Rosen::final
|
H A D | rs_render_thread.cpp | 234 return tid_; in GetTid() 275 tid_ = gettid(); in RenderLoop()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image_base.h | 110 mutable pid_t tid_ = 0;
member in OHOS::Rosen::RSImageBase
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_base.cpp | 61 RSTaskDispatcher::GetInstance().PostTask(tid_, [nativeWindowBuffer = nativeWindowBuffer_,
in ~RSImageBase() 526 tid_ = gettid();
in MakeFromTextureForVK()
|