Home
last modified time | relevance | path

Searched refs:thread (Results 1 - 15 of 15) sorted by relevance

/applications/standard/app_samples/code/BasicFeature/Native/NdkQoS/entry/src/main/cpp/
H A Dmain.cpp17 #include <thread>
61 OH_LOG_Print(LOG_APP, LOG_INFO, LOG_PRINT_DOMAIN, "QoS", "the qos level of current thread : %{public}d", in SetQoS()
76 OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "QoS", "bind qos thread failed"); in SetQoS()
117 OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "QoS", "set load thread QoS level failed."); in AddLoads()
125 OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "QoS", "bind load thread failed"); in AddLoads()
144 std::vector<std::thread> loadThreads; in highQoSCalculate()
147 loadThreads.emplace_back(std::thread(AddLoads, TASKS)); in highQoSCalculate()
154 std::thread task(SetQoS, level); in highQoSCalculate()
168 std::vector<std::thread> loadThreads; in lowQoSCalculate()
171 loadThreads.emplace_back(std::thread(AddLoad in lowQoSCalculate()
[all...]
/applications/standard/app_samples/code/BasicFeature/Connectivity/VPN/entry/src/main/cpp/
H A Dvpn_client.cpp20 #include <thread>
26 #include <thread>
58 static std::thread g_threadt1;
59 static std::thread g_threadt2;
184 std::thread tt1(HandleReadTunfd, g_fdInfo); in StartVpn()
185 std::thread tt2(HandleTcpReceived, g_fdInfo); in StartVpn()
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/
H A Dplugin_render.h24 #include <thread>
56 std::thread renderThread_;
H A Dplugin_render.cpp151 renderThread_ = std::thread(std::bind(&PluginRender::RenderThread, this)); in OnSurfaceCreated()
/applications/sample/camera/media/
H A Daudio_capture_sample.cpp19 #include <thread>
35 std::thread processThread;
241 g_audioSourceProcessInput.processThread = std::thread(AudioInputSourceProcess, in TaskStart()
/applications/standard/app_samples/code/Performance/PerformanceLibrary/feature/nativeThreadsCallJS/src/main/cpp/
H A Dhello.cpp20 #include <thread>
139 OH_LOG_INFO(LOG_APP, "UvWorkTest thread begin index:[%{public}d], value:[%{public}d]", i, g_cValue); in UvWorkTest()
141 // using callback function on other thread in UvWorkTest()
142 std::thread testThread(CallbackUvWorkTest, asyncContext); in UvWorkTest()
144 OH_LOG_INFO(LOG_APP, "UvWorkTest thread end index:[%{public}d], value:[%{public}d]", i, g_cValue); in UvWorkTest()
217 std::thread t([asyncContext]() { in ThreadSafeTest()
/applications/standard/contacts_data/ability/common/utils/include/
H A Dasync_task.h28 #include <thread>
121 std::thread(std::bind(&AsyncTaskQueue::Run, this)).detach(); in Start()
/applications/standard/calendardata/calendarmanager/test/unittest/src/
H A Dget_self_permissions.cpp17 #include <thread>
/applications/standard/app_samples/code/BasicFeature/Media/Camera/entry/src/main/cpp/
H A Dcamera_manager.h21 #include <thread>
/applications/sample/camera/setting/setting/src/main/cpp/
H A Dsetting_wifi_ability_slice.cpp18 #include <thread>
/applications/standard/contacts_data/test/unittest/src/
H A Dvoicemailability_test.cpp1568 std::thread asyncThread(&VoicemailAsync::Insert, contactAsync); in HWTEST_F()
1627 std::thread asyncThread(&VoicemailAsync::Update, contactAsync); in HWTEST_F()
1677 std::thread asyncThread(&VoicemailAsync::Query, contactAsync); in HWTEST_F()
1727 std::thread asyncThread(&VoicemailAsync::Delete, contactAsync); in HWTEST_F()
H A Dcalllogability_test.cpp1208 std::thread asyncThread(&CallLogAsync::Insert, contactAsync); in HWTEST_F()
1267 std::thread asyncThread(&CallLogAsync::Update, contactAsync); in HWTEST_F()
1317 std::thread asyncThread(&CallLogAsync::Query, contactAsync); in HWTEST_F()
1367 std::thread asyncThread(&CallLogAsync::Delete, contactAsync); in HWTEST_F()
H A Dcontactability_test.cpp3408 std::thread asyncThread(&ContactAsync::Insert, contactAsync); in HWTEST_F()
3468 std::thread asyncThread(&ContactAsync::Update, contactAsync); in HWTEST_F()
3519 std::thread asyncThread(&ContactAsync::Query, contactAsync); in HWTEST_F()
3569 std::thread asyncThread(&ContactAsync::Delete, contactAsync); in HWTEST_F()
/applications/standard/app_samples/code/BasicFeature/Native/Audio/entry/src/main/cpp/
H A Daudio.cpp21 #include <thread>
/applications/standard/app_samples/code/DocsSample/Media/Audio/OHAudio/entry/src/main/cpp/
H A Daudio.cpp21 #include <thread>

Completed in 20 milliseconds