Home
last modified time | relevance | path

Searched refs:tid_ (Results 1 - 25 of 36) sorted by relevance

12

/foundation/ai/intelligent_voice_framework/utils/
H A Dbase_thread.cpp25 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 Dtask_executor.cpp36 int ret = pthread_create(&tid_, nullptr, TaskExecutor::ExecuteInThread, this); in StartThread()
53 pthread_join(tid_, nullptr); in StopThread()
H A Dbase_thread.h41 pthread_t tid_; member in OHOS::IntellVoiceUtils::BaseThread
H A Dtask_executor.h58 pthread_t tid_ = 0; member in OHOS::IntellVoiceUtils::TaskExecutor
/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_listener.cpp37 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 Dtask_queue.cpp79 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 Daudio_schedule.cpp127 : 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 Dvsync_system_ability_listener.h26 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 Dvsync_system_ability_listener.cpp34 __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 Dworker_monitor.h47 int tid_; member
53 : tid_(workerId), gid_(taskId), workerTaskType_(workerTaskType), label_(workerTaskLabel) {} in WorkerInfo()
H A Dworker_monitor.cpp239 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 Dipc_thread_skeleton.cpp94 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 Daudio_schedule_guard.h42 uint32_t tid_; member in OHOS::AudioStandard::AudioScheduleGuard
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_canvas_node.cpp64 tid_ = gettid(); in RSCanvasNode()
215 if (tid_ != gettid()) { in CheckThread()
H A Drs_canvas_node.h74 pid_t tid_; member in OHOS::Rosen::RSCanvasNode
/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_thread_skeleton.h83 const pid_t tid_; member in OHOS::IPC_SINGLE::IPCThreadSkeleton
/foundation/communication/netstack/utils/napi_utils/include/
H A Devent_listener.h66 uint64_t tid_ = 0; member in OHOS::NetStack::EventListener
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_thread_test.cpp136 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 Drs_uni_render_thread_ext_test.cpp136 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 Drs_uni_render_thread.h150 return tid_; in GetTid()
219 pid_t tid_ = 0; member in OHOS::Rosen::RSUniRenderThread
H A Drs_uni_render_thread.cpp192 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 Drs_render_thread.h158 int32_t tid_ = -1; member in OHOS::Rosen::final
H A Drs_render_thread.cpp234 return tid_; in GetTid()
275 tid_ = gettid(); in RenderLoop()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image_base.h110 mutable pid_t tid_ = 0; member in OHOS::Rosen::RSImageBase
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image_base.cpp61 RSTaskDispatcher::GetInstance().PostTask(tid_, [nativeWindowBuffer = nativeWindowBuffer_, in ~RSImageBase()
526 tid_ = gettid(); in MakeFromTextureForVK()

Completed in 11 milliseconds

12