/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/ |
D | napi_callback_context.h | 27 using CALLBACK_FUNC = std::function<void(const napi_env, const napi_ref, pid_t threadId)>; 28 using RELEASE_FUNC = std::function<void(pid_t threadId)>; 34 pid_t threadId; member
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_querier.cpp | 43 if (callbackContext->threadId == syscall(SYS_gettid)) { in ~NapiHiSysEventQuerier() 53 [this, sysEvents, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnQuery() argument 54 if (threadId != syscall(SYS_gettid)) { in OnQuery() 76 [this, reason, total, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnComplete() argument 77 if (threadId != syscall(SYS_gettid)) { in OnComplete() 96 }, [this] (pid_t threadId) { in OnComplete() argument 97 if (threadId != syscall(SYS_gettid)) { in OnComplete()
|
D | napi_hisysevent_listener.cpp | 42 if (callbackContext->threadId == syscall(SYS_gettid)) { in ~NapiHiSysEventListener() 52 …main, eventName, eventType, eventDetail] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnEvent() argument 53 if (threadId != syscall(SYS_gettid)) { in OnEvent() 76 [this] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnServiceDied() argument 77 if (threadId != syscall(SYS_gettid)) { in OnServiceDied()
|
D | js_callback_manager.cpp | 77 context->callback(context->env, context->ref, context->threadId); in RunCallback() 82 context->release(context->threadId); in RunCallback() 96 jsCallbacks.emplace(std::make_tuple(context, callback, [this, release] (pid_t threadId) { in Add() argument 102 release(threadId); in Add()
|
D | napi_hisysevent_js.cpp | 124 callbackContext->threadId = syscall(SYS_gettid); in AddWatcher() 133 listeners[callbackContext->ref] = std::make_pair(callbackContext->threadId, listener); in AddWatcher() 196 callbackContext->threadId = syscall(SYS_gettid); in Query() 212 queriers[callbackContext->ref] = std::make_pair(callbackContext->threadId, querier); in Query()
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/ |
D | js_callback_object.cpp | 20 JSCallbackObject::JSCallbackObject(napi_env env, napi_value callback, std::thread::id threadId) in JSCallbackObject() argument 21 : env_(env), threadId_(threadId) in JSCallbackObject()
|
D | js_callback_object.h | 27 JSCallbackObject(napi_env env, napi_value callback, std::thread::id threadId);
|
D | js_input_method_engine_setting.h | 55 static bool Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId);
|
D | js_keyboard_delegate_setting.h | 95 static bool Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId);
|
D | js_keyboard_delegate_setting.cpp | 319 …ardDelegateSetting::Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId) in Equals() argument 325 if (threadId != std::this_thread::get_id()) { in Equals()
|
D | js_input_method_engine_setting.cpp | 370 …ethodEngineSetting::Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId) in Equals() argument 376 if (threadId != std::this_thread::get_id()) { in Equals()
|
/base/startup/init/ueventd/standard/ |
D | ueventd_parameter.c | 36 pthread_t threadId; member 47 .threadId = 0 111 if (parameterCtrl->threadId == 0) { in AddParameter() 112 (void)pthread_create(&(parameterCtrl->threadId), NULL, ThreadRun, (void *)parameterCtrl); in AddParameter()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_runner.cpp | 68 auto threadId = std::this_thread::get_id(); in ReclaimCurrentThread() local 69 HILOGD("Reclaim: Thread id: %{public}zu", CalculateHashCode(threadId)); in ReclaimCurrentThread() 79 reclaims_.emplace_back(threadId); in ReclaimCurrentThread() 102 auto threadId = thread->get_id(); in Deposit() local 103 HILOGD("Deposit: New thread id: %{public}zu", CalculateHashCode(threadId)); in Deposit() 111 depositMap_.emplace(threadId, in Deposit() 167 auto threadId = it->first; in DoReclaimLocked() local 174 size_t hashThreadId = CalculateHashCode(threadId); in DoReclaimLocked() 196 auto threadId = reclaims_.back(); in Run() local 198 DoReclaimLocked(lock, depositMap_.find(threadId), false); in Run()
|
D | event_handler.cpp | 252 int64_t threadId = gettid(); in DeliveryTimeAction() local 253 std::string threadIdCharacter = std::to_string(threadId); in DeliveryTimeAction() 280 int64_t threadId = gettid(); in DistributeTimeAction() local 281 std::string threadIdCharacter = std::to_string(threadId); in DistributeTimeAction()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | cmd_executor.cpp | 107 for (auto threadId : m_finishedClients) { in CleanFinishedClients() local 109 [&threadId](const std::unique_ptr<ClientThread>& ct) { in CleanFinishedClients() 110 return ct->m_clientThread.get_id() == threadId; in CleanFinishedClients()
|
/base/startup/init/services/modules/bootchart/ |
D | bootchart.h | 27 pthread_t threadId; member
|
D | bootchart.c | 239 …ret = pthread_create(&(g_bootchartCtrl->threadId), NULL, BootchartThreadMain, (void *)g_bootchartC… in DoBootchartStart() 260 pthread_join(g_bootchartCtrl->threadId, NULL); in DoBootchartStop()
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | process_dump_test.cpp | 618 pid_t threadId = thread->GetThreadId(); variable 619 GTEST_LOG_(INFO) << "ProcessDumpTest034: result = " << threadId; 620 EXPECT_EQ(true, tid == threadId) << "ProcessDumpTest034 failed"; 634 pid_t threadId = thread->GetThreadId(); variable 635 EXPECT_EQ(true, threadId == tid) << "ProcessDumpTest035 failed";
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/ |
D | js_get_input_method_setting.h | 120 static bool Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId);
|
D | js_get_input_method_setting.cpp | 420 …InputMethodSetting::Equals(napi_env env, napi_value value, napi_ref copy, std::thread::id threadId) in Equals() argument 426 if (threadId != std::this_thread::get_id()) { in Equals()
|