Home
last modified time | relevance | path

Searched refs:stop (Results 1 - 25 of 82) sorted by relevance

1234

/test/testfwk/developer_test/examples/sleep/src/
H A Dsleep_ex.cpp73 struct timeval stop; in ElapsedTime() local
85 gettimeofday(&stop, 0); in ElapsedTime()
86 selfSpent = TimeDiff(&start, &stop); in ElapsedTime()
90 gettimeofday(&stop, 0); in ElapsedTime()
91 diff = TimeDiff(&start, &stop); in ElapsedTime()
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/
H A Denhancement_thread_manager.cpp31 stop = false; in EnhancementThreadManager()
42 stop = true; in ~EnhancementThreadManager()
75 return !taskQueue_.empty() || stop; in DealWithTasks()
77 if (stop && taskQueue_.empty()) { in DealWithTasks()
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/members/
H A Dwatcher.test.js102 resWatcher.forEach(element => { element.watcher.stop(); });
137 resWatcher.watcher.stop();
170 resWatcher.watcher.stop();
203 resWatcher.watcher.stop();
235 resWatcher.watcher.stop();
266 resWatcher.watcher.stop();
309 watcher.stop();
339 resWatcher.watcher.stop();
370 resWatcher.watcher.stop();
401 resWatcher.watcher.stop();
[all...]
/test/xts/hats/hdf/wlan/wlanBenchmarkTest/
H A Dhdf_wifi_benchmark_test.cpp103 * @tc.desc: Wifi hal start and stop
112 g_wifi->stop(g_wifi); in BENCHMARK_F()
144 g_wifi->stop(g_wifi); in BENCHMARK_F()
233 g_wifi->stop(g_wifi); in BENCHMARK_F()
256 g_wifi->stop(g_wifi); in BENCHMARK_F()
289 g_wifi->stop(g_wifi); in BENCHMARK_F()
310 g_wifi->stop(g_wifi); in BENCHMARK_F()
331 g_wifi->stop(g_wifi); in BENCHMARK_F()
361 g_wifi->stop(g_wifi); in BENCHMARK_F()
389 g_wifi->stop(g_wif in BENCHMARK_F()
[all...]
/test/xts/hats/hdf/wlan/wifi/hal/
H A Dwifi_hal_startandstop.cpp59 * @tc.desc: Wifi hal start and stop g_wifi test
69 ret2 = g_wifi->stop(nullptr); in HWTEST_F()
71 ret2 = g_wifi->stop(g_wifi); in HWTEST_F()
89 * @tc.desc: Wifi hal stop g_wifi test
95 ret = g_wifi->stop(nullptr); in HWTEST_F()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/
H A Doh_audio_capturer_test.cpp82 void SleepWaitRecoder(bool* stop) in SleepWaitRecoder() argument
85 *stop = true; in SleepWaitRecoder()
119 bool stop = false; in RecorderTest() local
120 std::thread stopthread(SleepWaitRecoder, &stop); in RecorderTest()
126 while (!stop) { in RecorderTest()
134 // 5. stop and release client in RecorderTest()
136 printf("stop ret: %d \n", ret); in RecorderTest()
/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_thread.h65 bool stop = in RunLoop()
67 if (stop) { // is stopped in RunLoop()
90 bool stop = in RunLoopFlexible()
92 if (stop) { // is stopped in RunLoopFlexible()
112 LOGD("wait thread to stop"); in Stop()
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnet_vpn_impl.cpp355 int32_t stop = INVALID_UID; in GenerateUidRangesByAcceptedApps() local
359 } else if (uid != stop + 1) { in GenerateUidRangesByAcceptedApps()
361 endUids.push_back(stop); in GenerateUidRangesByAcceptedApps()
364 stop = uid; in GenerateUidRangesByAcceptedApps()
368 endUids.push_back(stop); in GenerateUidRangesByAcceptedApps()
376 int32_t stop = userId * AppExecFwk::Constants::BASE_USER_RANGE + AppExecFwk::Constants::MAX_APP_UID; in GenerateUidRangesByRefusedApps() local
386 if (start <= stop) { in GenerateUidRangesByRefusedApps()
388 endUids.push_back(stop); in GenerateUidRangesByRefusedApps()
440 int32_t stop = userId * AppExecFwk::Constants::BASE_USER_RANGE + AppExecFwk::Constants::MAX_APP_UID; in GenerateUidRanges() local
442 endUids.push_back(stop); in GenerateUidRanges()
[all...]
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_video_player_fast_2.h94 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, stop, pause, release) in FIXTURE()
188 PTEST((std::string url, int32_t fileSize), Test fdsource create, stop, release) in FIXTURE()
198 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, stop, release) in FIXTURE()
210 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, stop, release) in FIXTURE()
224 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, pause, stop, release) in FIXTURE()
239 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, reset, stop, relese) in FIXTURE()
254 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, seek, stop, release) in FIXTURE()
274 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, setvolume, stop, release) in FIXTURE()
290 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, speed, stop, release) in FIXTURE()
304 PTEST((std::string url, int32_t fileSize), Test fdsource create, setsource, stop, releas in FIXTURE()
[all...]
H A Dtest_lite_stream_player.h32 PTEST((std::string url), Test play stream source automatically stop) in FIXTURE() argument
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/
H A Dapi_cache_manager_test.cpp907 void Task001(bool& stop) in Task001() argument
918 while (!stop) { in Task001()
924 void Task002(bool& stop) in Task002() argument
935 while (!stop) { in Task002()
941 void Task003(bool& stop) in Task003() argument
956 while (!stop) { in Task003()
964 void Task004(bool& stop) in Task004() argument
966 while (!stop) { in Task004()
977 void Task005(bool& stop) in Task005() argument
979 while (!stop) { in Task005()
987 Task006(bool& stop) Task006() argument
1008 bool stop = false; HWTEST_F() local
[all...]
/foundation/filemanagement/dfs_service/utils/ffrt/src/
H A Dffrt_timer.cpp47 bool stop = in Start()
49 if (stop) { // is stopped in Start()
68 LOGD("stop timer, timerName:%{public}s", name_.c_str()); in Stop()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/
H A Dwifi_wpa_hal.c820 LOGE("P2p stop failed."); in StopWpaSuppilicant()
823 LOGE("Sta stop failed."); in StopWpaSuppilicant()
827 LOGE("Sta stop failed."); in StopWpaSuppilicant()
842 LOGE("Ap instance %{public}d stop failed.", stopCount); in StopWpaSoftAp()
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_core.cpp252 std::atomic_bool stop = false; in HWTEST_F() local
255 while (!stop); in HWTEST_F()
259 stop = true; in HWTEST_F()
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dimg_util.py159 TS.stop("before find_arr")
225 TS.stop("find_arr")
237 TS.stop("find_arr")
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/
H A DdisableProfiler.js24 Comments out stateMgmtProfiler.[start, stop] calls.
27 Disable all stateMgmtProfiler.[start, stop] from a file.
/foundation/communication/wifi/wifi/base/cRPC/include/
H A Devloop.h34 int stop; member
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/utils/
H A Denhancement_thread_manager.h47 std::atomic<bool> stop; member in OHOS::Media::EnhancementThreadManager
/foundation/graphic/graphic_utils_lite/frameworks/diagram/common/
H A Dpaint.cpp213 void Paint::addColorStop(float stop, ColorType color) in addColorStop() argument
216 stopAndColor.stop = stop; in addColorStop()
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c44 volatile unsigned char stop; // destroys looper, stop =1, and running =0 member
114 if (context->stop == 1) { in LoopTask()
115 COMM_LOGI(COMM_UTILS, "LoopTask stop is 1. name=%{public}s", context->name); in LoopTask()
310 if (context->stop == 1) { in PostMessageAtTime()
314 COMM_LOGE(COMM_UTILS, "PostMessageAtTime stop is 1. name=%{public}s, running=%{public}d", in PostMessageAtTime()
386 if (context->running == 0 || context->stop == 1) { in LoopRemoveMessageCustom()
532 COMM_LOGI(COMM_UTILS, "set stop 1. name=%{public}s", context->name); in DestroyLooper()
533 context->stop = 1; in DestroyLooper()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dpaint.h160 float stop; member
463 void addColorStop(float stop, ColorType color);
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/
H A Daudio_capturer_test.cpp151 auto stop = high_resolution_clock::now(); in StartCapture() local
152 auto duration = duration_cast<microseconds>(stop - start); in StartCapture()
183 AUDIO_INFO_LOG("AudioPerf Capturer Read after stop and start"); in StartCapture()
/foundation/communication/wifi/wifi/test/wifi_standard/ipc_framework/cRPC/unittest/
H A Dserver_test.cpp173 loop.stop = 0; in HWTEST_F()
185 loop.stop = 0; in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/
H A Dserver_test.cpp173 loop.stop = 0; in HWTEST_F()
185 loop.stop = 0; in HWTEST_F()
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/tests/
H A Dbasic.rs72 fn stop() {} in stop() functions

Completed in 15 milliseconds

1234