Home
last modified time | relevance | path

Searched refs:prevent (Results 1 – 25 of 251) sorted by relevance

1234567891011

/ohos5.0/build/config/mac/
H A Dmac_sdk_overrides.gni6 # asserts that those overrides are used, to prevent unused args warnings.
18 # Always assert that mac_sdk_min is used on non-macOS platforms to prevent
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-asynchronous-task.md5 … use **napi_create_async_work** to create an asynchronous work object to prevent the main thread f…
7 …ects in complex file operations or when a large file needs to be read to prevent the main thread f…
135 …// Convert the callback to napi_ref to extend its lifecycle to prevent it from being garbage-colle…
H A Duse-napi-life-cycle.md9 … the **napi_value** is automatically released when the scope ends. This helps prevent memory leaks.
18 …end the lifecycle of objects and prevent the use-after-free issues. In addition, reference managem…
49 Properly using these two APIs can minimize lifecycle and prevent memory leaks.
H A Duse-jsvm-life-cycle.md8 … the **JSVM_Value** is automatically released when the scope ends. This helps prevent memory leaks.
12 …nd **OH_JSVM_CloseHandleScope** can minimize the **JSVM_Value** lifecycle and prevent memory leaks.
21 …eting, and managing object references to extend the object lifecycle and prevent memory leaks when…
49 …eHandleScope** to close a handle scope. Properly managing JS handle scopes can prevent GC problems.
76 …the lifecycle of the local variable res ends at the end of each loop. To prevent memory leaks, sco…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.31/
H A Dchangelogs-ability.md11 The change is made to prevent malicious applications from restarting themselves when they do not ga…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Doh__window__event__filter_8h.md6 …t event passes through the window, the window can interrupt the event to prevent it from being fur…
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-childProcessManager.md46 …hat the source file of the child process is referenced by other files to prevent it from being opt…
89 …DemoProcess.toString(); // Call any API of the DemoProcess class to prevent the code from being di…
115 …hat the source file of the child process is referenced by other files to prevent it from being opt…
153 …DemoProcess.toString(); // Call any API of the DemoProcess class to prevent the code from being di…
182 …hat the source file of the child process is referenced by other files to prevent it from being opt…
235 …DemoProcess.toString(); // Call any API of the DemoProcess class to prevent the code from being di…
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dshared-arraybuffer-object.md3 …. However, the Atomics class must be used for access and modification to prevent data competition.…
H A Dxml-parsing.md48 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
110 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
155 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
H A Darkts-async-lock-introduction.md5 …e time sequence consistency of asynchronous tasks in a single thread, to prevent a synchronization…
/ohos5.0/docs/en/application-dev/security/AccessToken/
H A Daccess-token-overview.md5 To prevent improper or malicious use of data or functions, the system provides a variety of access …
9 …andbox directories, which isolate the data of different applications and prevent improper applicat…
H A Dsecurity-component-overview.md80prevent user privacy from being obtained by malicious applications. The security components must b…
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-startup.md36 ## How do I prevent application development from being interrupted by screen saving? (API 9)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-container-refresh.md27 …component contains a list, set **scrolleffect** of the list to **no** to prevent drop-down effect …
28 …content drop-down area. Pay attention to the **offset** attribute setting to prevent overlapping.)|
/ohos5.0/docs/en/application-dev/file-management/
H A Dapp-file-backup-overview.md3 …iguration and service data, is generated when an application is used. To prevent user data against…
/ohos5.0/docs/en/application-dev/task-management/
H A Defficiency-resource-request.md7 …rvice must send heartbeat messages to the server at a short interval. To prevent the application p…
11 …or its processes. An application or process can request CPU resources to prevent itself from being…
/ohos5.0/docs/en/application-dev/performance/
H A Defficient-concurrent-programming.md3 …period. To improve the response speed and frame rate of applications and prevent time-consuming ta…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.3.5/
H A Dchangelogs-arkui.md11 …/ts-container-scroll.md) component supports a single child component. To prevent multiple child co…
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md11 …te a numeric value that is outside of a specific integer range, so as to prevent integer overflows…
69 ## Do not use a null in any case where an object is required to prevent null pointer reference
438 …ore performing file read/write operations. This practice can effectively prevent risks like path t…
639 …ream, output stream, and error stream, which must be properly handled to prevent them from being b…
1263 …be escaped. Using escaped fields to concatenate commands can effectively prevent command injection.
1265 …t not the entire concatenated command. The escape method can effectively prevent command injection…
1476 …mple, external data is encoded before the XML string is concatenated, to prevent tampering with th…
1568 The compliant code example disables the parsing of DTDs, which can prevent both XXE and internal en…
1572 This compliant code example can prevent XXE attacks but not XML internal entity attacks.
1791 ## Try best to simplify the regular expression (regex) to prevent regular expression denial of serv…
[all …]
H A DOpenHarmony-security-design-guide.md7 1-1 To prevent unauthorized access to the system and resources, all system management interfaces un…
9 … (including those used for configuration, upgrade, and commissioning) to prevent unauthorized acce…
19 **Description**: It is a means to prevent unauthorized access.
202 …ta collection, processing, and storage as required by normal services to prevent personal data fro…
212 6-5 To prevent location tracking, do not identify precise locations of users for maintenance purpos…
/ohos5.0/docs/en/application-dev/basic-services/account/
H A Dcontrol-os-account-by-constraints.md27 …aviors. For example, the user can enable mobile guardian for children to prevent the kids to use W…
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-backgroundTaskManager-sys.md5 …an request a transient task to delay the suspension or a continuous task to prevent the suspension.
/ohos5.0/docs/en/application-dev/ui/
H A Dndk-embed-arkts-components.md125 …d object of the Refresh component and its child component slot object to prevent the component fro…
289 // Save the reference after creation to prevent it from being released.
304 // Save the reference after creation to prevent it from being released.
571 …// Save the ArkTS ComponentContent to prevent the object on the ArkTS side from being released and…
574 …// Save the ArkTS NodeContent to prevent the object on the ArkTS side from being released and for …
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-new-type.md6 \@Type is used to mark class properties. Used together with **PersistenceV2**, \@Type can prevent c…
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-dst-transition.md41 …r GMT) of time zone 0 for time data storage and transmission. This helps prevent data loss or erro…

1234567891011