Home
last modified time | relevance | path

Searched refs:ensure (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/ohos5.0/base/useriam/user_auth_framework/services/base/src/
H A Dthread_handler_singleton_impl.cpp41 std::promise<void> ensure; in EnsureTask() local
42 auto callback = [&ensure]() { in EnsureTask()
43 ensure.set_value(); in EnsureTask()
48 ensure.get_future().get(); in EnsureTask()
H A Dthread_handler_impl.cpp55 std::promise<void> ensure; in EnsureTask() local
56 auto callback = [&ensure]() { in EnsureTask()
57 ensure.set_value(); in EnsureTask()
62 ensure.get_future().get(); in EnsureTask()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Drelative_timer_test.cpp48 std::promise<void> ensure; variable
52 (void)timer.Register([&ensure]() { ensure.set_value(); }, 565); in __anond03b9b700102()
53 ensure.get_future().get();
H A Dschedule_node_test.cpp317 std::promise<void> ensure; variable
322 …[&ensure](int32_t resultCode, const std::shared_ptr<Attributes> &finalResult) { ensure.set_value()… in __anon772159460602()
353 ensure.get_future().get();
367 std::promise<void> ensure; variable
407 ensure.get_future().get();
421 std::promise<void> ensure; variable
460 ensure.get_future().get();
474 std::promise<void> ensure; variable
513 ensure.get_future().get();
527 std::promise<void> ensure; variable
[all …]
/ohos5.0/base/useriam/face_auth/services_ex/src/
H A Dthread_handler_impl.cpp63 std::promise<void> ensure; in EnsureTask() local
64 auto callback = [&ensure]() { in EnsureTask()
65 ensure.set_value(); in EnsureTask()
70 ensure.get_future().get(); in EnsureTask()
/ohos5.0/docs/en/readme/
H A Dfile-management.md7 - A sandbox to ensure the least privilege as well as application data security
8 - Unified management of user files and streamlined user data access and storage to ensure user data…
22 | User files | 1. Provides a sandbox to ensure user data security and purity.<br>2. Allows acce…
23 | Application files | 1. Provides a sandbox to ensure the least privilege as well as application…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.25/
H A Dchangelogs-window.md50 …in before the change, pass in **LANDSCAPE_INVERTED** after the change to ensure the same experienc…
52 …s passed in before the change, pass in **LANDSCAPE** after the change to ensure the same experienc…
54 …change, pass in **USER_ROTATION_LANDSCAPE_INVERTED** after the change to ensure the same experienc…
56 …fore the change, pass in **USER_ROTATION_LANDSCAPE** after the change to ensure the same experienc…
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-ui-design.md3 … for UI design can not only establish the tonality of products, but also ensure consistent user ex…
7 …ording to languages. Translation may increase the length of UI texts. To ensure that UI strings ar…
22 …e read from right-to-left (RTL). To ensure that the displayed content complies with the local lang…
/ohos5.0/docs/en/contribute/
H A Ddocs-release-process.md26 … for developing a new feature, you should cooperate with the Docs SIG to ensure that feature docum…
36 To ensure the accuracy of technical description, ask technical experts in the service SIGs to revie…
53 …nd provide the link to the corresponding issue in the PR description. To ensure the accuracy of ev…
64 When submitting a translation requirement, ensure that:
72 …ng documents and translating Chinese documents into English. They should ensure that the output me…
105 - If a PR involves the addition of a Markdown page, ensure that:
110 - When a Markdown page is deleted or a Markdown page name is changed, ensure that:
/ohos5.0/docs/en/application-dev/device/sensor/
H A Dsensorservice-kit-intro.md15 - To use sensor functions, ensure that the device where your application runs has the required sens…
24 - To use vibrator functions, ensure that the device where your application runs has the required mi…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.26/
H A Dchangelogs-global.md11 Many applications have not adapted to the dark color mode. To ensure user experience in dark color …
33 …ark or light color mode with the system, modify your code as shown below to ensure user experience.
/ohos5.0/docs/en/design/ux-design/
H A Dhuman-machine-interaction-basis.md13 …e way. Therefore, when designing and developing an application, you must ensure that the applicati…
20 …ances. Therefore, when designing and developing an application, you must ensure that the size of U…
H A Dapp-ux-design.md26 …ony UX design that targets all-scenario experience should preferentially ensure that users have si…
43 …rait mode and split-screen mode, the UI size and aspect ratio change. To ensure the optimal displa…
62 …ces, touchpads, and keyboards) in multiple interaction tasks. You should ensure that the applicati…
87 For example, on a UI manipulated by using a keyboard and mouse, provide additional design to ensure
H A Dvisual-app-icons.md64 …es are provided, the system uses an adaptive mask to process the icon to ensure that all icons are…
72 To ensure that your icon can maintain the optimal display effect in different use scenarios, test t…
H A Dvisual-icons.md3 …ers easily identify the key information and semantics they represent. To ensure consistent visual …
11 …tyle to make it look more fashionable. Sharp right angles are avoided to ensure that the style loo…
20 … outlined icon and filled icon. The two styles use the same structure to ensure consistent visual …
/ohos5.0/foundation/resourceschedule/memmgr/
H A DREADME.md15 In order to ensure the memory supply, it will reclaim the memory of some processes or even kill the…
45 …o, etc.) and coordinate different reclaim mechanisms to work together to ensure the performance of…
53 7. *Disk Life Manager* (under planning): limit the amount of data written to the disk to ensure the…
72 …Reclaim Priority*. At the same time, they should be called reasonably to ensure the function and p…
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Darkts-async-lock-introduction.md5 …used in ArkTS. In addition, the asynchronous lock may be further used to ensure time sequence cons…
11 …be marked as **async**, and the caller must use **await** in the call to ensure the correct call s…
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-key-agreement-overview.md42 …u can specify the ECDH key type without the key length and curve name to ensure compatibility with…
82 …ing table, you can specify the DH key type without the named DH group to ensure compatibility with…
/ohos5.0/docs/en/application-dev/database/
H A Dnative-relational-store-guidelines.md22 - To ensure data accuracy, only one write operation is allowed at a time.
26 - Before using the device-cloud sync APIs added in API version 11, ensure that the cloud service is…
317 … the table (created by using **OH_Rdb_Execute**). Before using this API, ensure that the cloud ser…
328 …nc** to perform device-cloud sync for the tables. Before using this API, ensure that the cloud ser…
340 …*OH_Rdb_Subscribe** to subscribe to data changes. Before using this API, ensure that the cloud ser…
391 …b_Unsubscribe** to unsubscribe from data changes. Before using this API, ensure that the cloud ser…
418 …rogress** to subscribe to the auto sync progress. Before using this API, ensure that the cloud ser…
430 …ess** to unsubscribe from the auto sync progress. Before using this API, ensure that the cloud ser…
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-basic-atomic.md8 Although you can enable or disable interrupts to ensure expected results of multiple tasks, the sys…
10 …tion of the shared memory. The atomic operations implemented thereby can ensure that the "read-mod…
75 …n, and swap operations on the same memory data, use atomic operations to ensure predictability of …
/ohos5.0/docs/en/application-dev/reference/common/
H A D_j_s_v_m___type_tag.md6 … tag can be used as a UUID, so that JavaScript objects can be tagged, to ensure that their types r…
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-preparation.md7 …elow) to ensure that the application has the permission to access the camera hardware and other se…
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-signing-signature-verification-overview.md4 To ensure data integrity and non-repudiation, you can use the generated or imported key to perform …
11 …ptional specifications, refer to the documents provided by the vendor to ensure that the specifica…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.22/
H A Dchangelogs-multimedia.md11 …causing effect-related issues. Parameter verification should be added to ensure that the parameter…
48 … Parameter type verification logic should be added to the **Set** API to ensure correct parameter …
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Derrorcode-utils.md261 Before canceling a task, ensure that the task has been placed in the task pool by calling [taskpool…
279 Before canceling a task, ensure that the task has been placed in the task pool by calling [taskpool…
297 Before deleting an element, ensure that the element exists in this container.
315 Before canceling a task group, ensure that the task group placed in the task pool by calling [taskp…
621 Adjust the sequence in which the APIs are called to ensure that no write operation is performed aft…
693 Before calling the API, ensure that the task is not executed. If you are not sure, capture exceptio…
711 Before calling these APIs, ensure that the task is not a periodic task. If you are not sure, captur…
729 Before calling these APIs, ensure that the task is not a periodic task. If you are not sure, captur…

12345678910>>...20