Home
last modified time | relevance | path

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

12

/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()
/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/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/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/communication/wifi/wifi/base/cRPC/include/
H A Devloop.h34 int stop; member
/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/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()
/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/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
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp84 for (auto& stop : gradient.GetColors()) { in GradientShader()
86 colorStop.color = stop.GetColor().GetValue(); in GradientShader()
87 colorStop.hasValue = stop.GetHasValue(); in GradientShader()
89 colorStop.isLength = stop.GetDimension().Unit() != DimensionUnit::PERCENT; in GradientShader()
91 colorStop.offset = static_cast<float>(stop.GetDimension().Value()); in GradientShader()
93 colorStop.offset = static_cast<float>(stop.GetDimension().Value() / 100.0); in GradientShader()
143 // deal with not specified color stop in AdjustNoValueColorStop()
195 for (auto& stop : colorStops_) { in AdjustColorStops()
196 const auto relativeOffset = std::min(stop.offset - firstOffset, std::numeric_limits<float>::max()); in AdjustColorStops()
198 stop in AdjustColorStops()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.cpp55 for (auto& stop : gradient.GetColors()) { in GradientShader()
57 colorStop.color = stop.GetColor().GetValue(); in GradientShader()
58 colorStop.hasValue = stop.GetHasValue(); in GradientShader()
60 colorStop.isLength = stop.GetDimension().Unit() != DimensionUnit::PERCENT; in GradientShader()
62 colorStop.offset = static_cast<float>(stop.GetDimension().Value()); in GradientShader()
64 colorStop.offset = static_cast<float>(stop.GetDimension().Value() / 100.0); in GradientShader()
114 // deal with not specified color stop in AdjustNoValueColorStop()
167 for (auto& stop : colorStops_) { in AdjustColorStops()
168 const auto relativeOffset = std::min(stop.offset - firstOffset, std::numeric_limits<float>::max()); in AdjustColorStops()
170 stop in AdjustColorStops()
[all...]
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/
H A Dfile_access_service.h148 stop(); in start()
158 void stop() in stop() function in OHOS::FileAccessFwk::OnDemandTimer
/foundation/multimedia/media_lite/test/
H A Dtest_play_file_h265.cpp279 static void DisplayThrd(PlayManager *playMng, CODEC_HANDLETYPE decoderHdl, bool *stop, uint32_t timeStep) in DisplayThrd() argument
281 while (!(*stop)) { in DisplayThrd()
/foundation/communication/wifi/wifi/base/cRPC/src/
H A Devloop.c102 loop->stop = 1; in StopEventLoop()

Completed in 17 milliseconds

12