/ohos5.0/base/notification/eventhandler/interfaces/inner_api/ |
H A D | event_runner.h | 31 enum class Mode: uint32_t { enum 61 static std::shared_ptr<EventRunner> Create(bool inNewThread = true, Mode mode = Mode::DEFAULT); 79 …static std::shared_ptr<EventRunner> Create(const std::string &threadName, Mode mode = Mode::DEFAUL… 93 return Create(threadName, Mode::DEFAULT, threadMode); in Create() 104 …static inline std::shared_ptr<EventRunner> Create(const char *threadName, Mode mode = Mode::DEFAUL… 119 …return Create((threadName != nullptr) ? std::string(threadName) : std::string(), Mode::DEFAULT, th… in Create() 305 explicit EventRunner(bool deposit, Mode runningMode = Mode::DEFAULT); 309 …static std::shared_ptr<EventRunner> Create(const std::string &threadName, Mode mode, ThreadMode th… 319 return (deposit_ && runningMode_ == Mode::DEFAULT) || (running_.load()); in IsRunning() 336 Mode runningMode_ = Mode::DEFAULT;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_file.cpp | 52 std::ios_base::openmode OpenFileAccessMode(IFile::Mode mode) in OpenFileAccessMode() 55 case IFile::Mode::INVALID: in OpenFileAccessMode() 58 case IFile::Mode::READ_ONLY: in OpenFileAccessMode() 60 case IFile::Mode::READ_WRITE: in OpenFileAccessMode() 67 std::ios_base::openmode CreateFileAccessMode(IFile::Mode mode) in CreateFileAccessMode() 70 case IFile::Mode::INVALID: in CreateFileAccessMode() 71 case IFile::Mode::READ_ONLY: in CreateFileAccessMode() 74 case IFile::Mode::READ_WRITE: in CreateFileAccessMode() 96 IFile::Mode StdFile::GetMode() const in GetMode() 107 IFile::Ptr StdFile::Open(const string_view path, Mode mode) in Open() [all …]
|
H A D | std_file.h | 31 StdFile(Mode mode, std::fstream&& stream); in CORE_BEGIN_NAMESPACE() 34 Mode GetMode() const override; in CORE_BEGIN_NAMESPACE() 37 static IFile::Ptr Open(BASE_NS::string_view path, Mode mode); in CORE_BEGIN_NAMESPACE() 40 static IFile::Ptr Create(BASE_NS::string_view path, Mode mode); in CORE_BEGIN_NAMESPACE() 64 Mode mode_ { Mode::INVALID }; in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/base/request/request/services/tests/ |
H A D | search.rs | 16 use download_server::config::{Action, ConfigBuilder, Mode}; 33 .mode(Mode::FrontEnd) in sdv_search_user() 37 let v = agent.search(current, current - 3000, State::Any, Action::Any, Mode::Any); in sdv_search_user() 39 let v = agent.search(current + 3000, current, State::Any, Action::Any, Mode::Any); in sdv_search_user() 46 Mode::FrontEnd, in sdv_search_user() 54 Mode::FrontEnd, in sdv_search_user() 62 Mode::FrontEnd, in sdv_search_user() 71 Mode::BackGround, in sdv_search_user()
|
/ohos5.0/base/request/request/services/src/task/ |
H A D | config.rs | 18 pub use ffi::{Action, Mode}; 46 pub enum Mode { enum 82 pub(crate) mode: Mode, 159 impl PartialOrd for Mode { implementation 165 impl Ord for Mode { implementation 168 Mode::FrontEnd => 0, in cmp() 169 Mode::Any => 1, in cmp() 174 Mode::FrontEnd => 0, in cmp() 175 Mode::Any => 1, in cmp() 183 impl From<u8> for Mode { implementation [all …]
|
H A D | download.rs | 327 .mode(Mode::BackGround) in ut_download_basic() 351 .mode(Mode::BackGround) in ut_download_resume() 373 .mode(Mode::BackGround) in ut_download_not_support_range() 397 .mode(Mode::BackGround) in ut_download_resume_not_support_range() 432 .mode(Mode::BackGround) in ut_download_not_support_range_resume() 454 .mode(Mode::BackGround) in ut_download_range_0() 477 .mode(Mode::BackGround) in ut_download_range_1() 500 .mode(Mode::BackGround) in ut_download_range_resume_0() 522 .mode(Mode::BackGround) in ut_download_range_resume_1() 551 .mode(Mode::BackGround) in ut_download_invalid_task() [all …]
|
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/ |
H A D | Readme-EN.md | 31 …- [Encryption and Decryption with an AES Symmetric Key (GCM Mode) (ArkTS)](crypto-aes-sym-encrypt-… 33 …- [Encryption and Decryption with an AES Symmetric Key (CCM Mode) (ArkTS)](crypto-aes-sym-encrypt-… 35 …- [Encryption and Decryption with an AES Symmetric Key (CBC Mode) (ArkTS)](crypto-aes-sym-encrypt-… 37 …- [Encryption and Decryption with an AES Symmetric Key (ECB Mode) (ArkTS)](crypto-aes-sym-encrypt-… 41 …- [Encryption and Decryption with a 3DES Symmetric Key (ECB Mode) (ArkTS)](crypto-3des-sym-encrypt… 43 …- [Encryption and Decryption with an SM4 Symmetric Key (ECB Mode) (ArkTS)](crypto-sm4-sym-encrypt-… 45 …- [Encryption and Decryption with an SM4 Symmetric Key (CBC Mode) (ArkTS)](crypto-sm4-sym-encrypt-… 47 …- [Encryption and Decryption with an SM4 Symmetric Key (GCM Mode) (ArkTS)](crypto-sm4-sym-encrypt-… 60 …- [Signature Verification with an RSA Key Pair (PKCS1 Mode) (C/C++)](crypto-rsa-sign-sig-verify-pk… 65 …- [Signing and Signature Verification with an RSA Key Pair (PSS Mode) (ArkTS)](crypto-rsa-sign-sig… [all …]
|
/ohos5.0/base/request/request/services/src/manage/scheduler/qos/ |
H A D | apps.rs | 19 use crate::task::config::{Action, Mode}; 49 mode: Mode::from(task.mode), in insert_task() 134 mode: Mode, 206 mode: Mode::from(info.mode), in reload_tasks_of_app_from_database() 232 use crate::task::config::Mode; 254 app.insert(Task::new(1, Mode::FrontEnd, 0)); in ut_app_insert() 256 assert_eq!(app.tasks[0].mode, Mode::FrontEnd); in ut_app_insert() 259 app.insert(Task::new(2, Mode::FrontEnd, 100)); in ut_app_insert() 263 app.insert(Task::new(3, Mode::FrontEnd, 50)); in ut_app_insert() 323 let task1 = Task::new(1, Mode::FrontEnd, 0); in ut_task_partial_ord() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.24/ |
H A D | changelogs-sdk.md | 17 "This API is used only in Stage Mode, but the current Mode is FA." 21 "This API is used only in FA Mode, but the current Mode is Stage." 27 "This API is used only in Stage Mode, but the current Mode is FA." 31 "This API is used only in FA Mode, but the current Mode is Stage."
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-cmd-swtmr.md | 45 SwTmrID State Mode Interval Count Arg handlerAddr 48 SwTmrID State Mode Interval Count Arg handlerAddr 51 SwTmrID State Mode Interval Count Arg handlerAddr 54 SwTmrID State Mode Interval Count Arg handlerAddr 57 SwTmrID State Mode Interval Count Arg handlerAddr 66 SwTmrID State Mode Interval Count Arg handlerAddr 77 | Mode | 软件定时器模式。<br/>模式可能为:"Once", "Period", "NSD(单次定时器,定时结束后不会自动删除)"。 |
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-cmd-swtmr.md | 45 SwTmrID State Mode Interval Count Arg handlerAddr 48 SwTmrID State Mode Interval Count Arg handlerAddr 51 SwTmrID State Mode Interval Count Arg handlerAddr 54 SwTmrID State Mode Interval Count Arg handlerAddr 57 SwTmrID State Mode Interval Count Arg handlerAddr 66 SwTmrID State Mode Interval Count Arg handlerAddr 77 | Mode | Mode of the software timer.<br>The value can be **Once**, **Period**, or **NSD** (one-shot…
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | query.rs | 18 use crate::config::{Action, Mode}; 208 Mode::BackGround.repr in ut_search_user() 216 mode: Mode::Any.repr, in ut_search_user() 226 mode: Mode::Any.repr, in ut_search_user() 236 mode: Mode::FrontEnd.repr, in ut_search_user() 246 mode: Mode::BackGround.repr, in ut_search_user() 256 mode: Mode::Any.repr, in ut_search_user() 266 mode: Mode::BackGround.repr, in ut_search_user() 286 Mode::BackGround.repr in ut_search_system() 294 mode: Mode::Any.repr, in ut_search_system() [all …]
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-power-mode-customization.md | 158 Set Mode: 600 159 Set Mode Success! 191 Set Mode: 601 192 Set Mode Success! 224 Set Mode: 602 225 Set Mode Success! 257 Set Mode: 603 258 Set Mode Success!
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.24/ |
H A D | changelogs-sdk.md | 17 "This API is used only in Stage Mode, but the current Mode is FA." 21 "This API is used only in FA Mode, but the current Mode is Stage." 27 "This API is used only in Stage Mode, but the current Mode is FA." 31 "This API is used only in FA Mode, but the current Mode is Stage."
|
/ohos5.0/base/request/request/services/src/manage/events/ |
H A D | mod.rs | 19 use crate::config::{Action, Mode}; 145 Completed(u32, u64, Mode), 146 Failed(u32, u64, Reason, Mode), 147 Offline(u32, u64, Mode), 148 Running(u32, u64, Mode), 232 use crate::config::{Action, ConfigBuilder, Mode}; 261 .mode(Mode::BackGround) in ut_task_manager_construct() 280 .mode(Mode::BackGround) in ut_task_manager_start() 305 .mode(Mode::BackGround) in ut_task_manager_pause_resume() 332 .mode(Mode::BackGround) in ut_task_manager_stop_resume()
|
/ohos5.0/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/ |
H A D | RequestOperateTask.test.ets | 73 mode: request.agent.Mode.FOREGROUND 97 mode: request.agent.Mode.FOREGROUND 124 mode: request.agent.Mode.BACKGROUND 148 mode: request.agent.Mode.BACKGROUND 175 mode: request.agent.Mode.BACKGROUND 203 mode: request.agent.Mode.BACKGROUND 230 mode: request.agent.Mode.FOREGROUND 323 mode: request.agent.Mode.BACKGROUND 386 mode: request.agent.Mode.FOREGROUND 411 mode: request.agent.Mode.BACKGROUND [all …]
|
/ohos5.0/base/request/request/frameworks/js/napi/include/ |
H A D | js_common.h | 34 enum class Mode : uint32_t { enum 125 Mode mode = Mode::BACKGROUND; 205 Mode mode; 236 Mode mode; 259 Mode mode = Mode::ANY;
|
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_runner.cpp | 352 if (runningMode_ == Mode::NO_WAIT) { in Run() 449 inline void SetRunningMode(const Mode runningMode) in SetRunningMode() 541 std::shared_ptr<EventRunner> EventRunner::Create(bool inNewThread, Mode mode) in Create() 569 return Create(std::string(), Mode::DEFAULT, threadMode); in Create() 573 std::shared_ptr<EventRunner> sp(new (std::nothrow) EventRunner(false, Mode::DEFAULT)); in Create() 579 innerRunner->SetRunningMode(Mode::DEFAULT); in Create() 598 if (threadMode == ThreadMode::FFRT && mode == Mode::DEFAULT) { in Create() 607 if (threadMode == ThreadMode::FFRT || mode == Mode::NO_WAIT) { in Create() 614 if (mode == Mode::NO_WAIT) { in Create() 692 if (deposit_ && runningMode_ == Mode::DEFAULT) { in Run() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/ |
H A D | qrcode_patch2.patch | 9 -const QrSegment::Mode QrSegment::Mode::NUMERIC (0x1, 10, 12, 14); 10 -const QrSegment::Mode QrSegment::Mode::ALPHANUMERIC(0x2, 9, 11, 13); 11 -const QrSegment::Mode QrSegment::Mode::BYTE (0x4, 8, 16, 16); 12 -const QrSegment::Mode QrSegment::Mode::KANJI (0x8, 8, 10, 12); 13 -const QrSegment::Mode QrSegment::Mode::ECI (0x7, 0, 0, 0); 69 + Mode md(0x4, 8, 16, 16); 694 public: class Mode final { 702 - public: static const Mode ECI; 716 + public: Mode() {} 775 - private: const Mode *mode; [all …]
|
/ohos5.0/docs/en/application-dev/basic-services/common-event/ |
H A D | Readme-EN.md | 9 - [Subscribing to Common Events in Dynamic Mode](common-event-subscription.md) 11 …- [Subscribing to Common Events in Static Mode (for System Applications Only)](common-event-static… 13 - [Unsubscribing from Common Events in Dynamic Mode](common-event-unsubscription.md)
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-render-mode.md | 5 **Asynchronous Rendering Mode (Default)** 11 **Synchronous Rendering Mode** 23 **Asynchronous Rendering Mode** 28 **Synchronous Rendering Mode**
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_base.cpp | 49 static Mode g_mode; 156 if ((g_mode != Mode::READ && g_mode != Mode::READ_EMUL) || !IsParcelMock(parcel)) { in PatchPlainNodeId() 169 if ((g_mode != Mode::READ && g_mode != Mode::READ_EMUL) || !IsParcelMock(parcel)) { in PatchPlainPid() 176 void RSProfiler::SetMode(Mode mode) in SetMode() 179 if (g_mode == Mode::NONE) { in SetMode() 185 Mode RSProfiler::GetMode() in GetMode() 217 if (g_mode != Mode::READ && g_mode != Mode::READ_EMUL) { in PatchTime() 235 if (g_mode == Mode::WRITE) { in PatchTransactionTime() 244 if (g_mode != Mode::READ) { in PatchTransactionTime() 874 if (g_mode == Mode::WRITE) { in PatchCommand() [all …]
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | unified-interaction-events.md | 14 | **Input Device/Mode**| **Interaction Behavior** | 28 | **Input Device/Mode**| **Interaction Behavior** | 45 | **Input Device/Mode**| **Interaction Behavior** | 59 | **Input Device/Mode**| **Interaction Behavior** | 73 | **Input Device/Mode**| **Interaction Behavior**| 92 | **Input Device/Mode**| **Interaction Behavior**| 106 | **Input Device/Mode**| **Interaction Behavior** | 122 | **Input Device/Mode**| **Interaction Behavior** | 138 | **Input Device/Mode**| **Interaction Behavior** | 150 | **Input Device/Mode**| **Interaction Behavior** |
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_file_selector_params_impl.cpp | 27 int ArkWebFileSelectorParamsImpl::Mode() in Mode() function in OHOS::ArkWeb::ArkWebFileSelectorParamsImpl 29 return static_cast<int>(nweb_file_selector_params_->Mode()); in Mode()
|
/ohos5.0/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_app_state_callback.cpp | 25 using OHOS::Request::Mode; 33 if (task->second->config_.mode == Mode::FOREGROUND) { in OnAbilityForeground()
|