/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 211 std::vector<TransformOperation> operations; variable 220 TransformOperations::ParseOperationsToMatrix(operations); 225 EXPECT_EQ(operations[1].scaleOperation_, ScaleOperation()); 227 EXPECT_EQ(operations[2].type_, TransformOperationType::SKEW); 228 EXPECT_EQ(operations[2].skewOperation_, SkewOperation()); 231 EXPECT_EQ(operations[3].rotateOperation_, RotateOperation()); 237 EXPECT_EQ(operations[5].matrix4_, Matrix4::CreateIdentity()); 239 EXPECT_EQ(operations[6].matrix4_, Matrix4::CreateIdentity()); 241 TransformOperations to(operations); 242 TransformOperations from(operations); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_prefetcher/src/prefetcher/ |
H A D | DataSourceObserver.ts | 17 batchUpdate(operations: BatchOperation[]): void; 127 const operations: BatchOperation[] = []; 133 operations.push({ 141 operations.push({ 147 operations.push({ 153 operations.push({ 160 operations.push({ 170 this.simpleChangeListener.batchUpdate(operations);
|
H A D | FetchingDriver.ts | 66 batchUpdate(operations: BatchOperation[]): void { 67 this.logger.info('batchUpdate called with ' + JSON.stringify(operations)); 69 this.batchUpdateInternal(operations); 76 private batchUpdateInternal(operations: BatchOperation[]): void { 77 operations.forEach((operation) => {
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | reduce-redundant-operations-when-render-first-frame.md | 157  in add() 177 execute!(operations::remove, calling_info, query) in remove() 181 execute!(operations::update, calling_info, query, attributes_to_update) in update() 185 execute!(operations::pre_query, calling_info, query) in pre_query() 189 execute!(operations::query, calling_info, query) in query() 193 execute!(operations::post_query, calling_info, query) in post_query()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jerryScript/ |
H A D | jerryScript.pro | 40 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations \ 170 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-array-object.c \ 173 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-comparison.c \ 175 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-conversion.c \ 177 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-eval.c \ 178 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-exceptions.c \ 182 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-jobqueue.c \ 183 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-lex-env.c \ 188 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-objects.c \ 190 $${ROOT_PATH}/third_party/jerryscript/jerry-core/ecma/operations/ecma-proxy-object.c \ [all …]
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-utils-guide.md | 14 - Enhanced APIs for operations related to files, paths, and strings 21 - JS APIs for URI, URL, and XML operations 23 - JS APIs for process-related operations 28 - Hardware Abstraction Layer (HAL) APIs for file operations
|
/ohos5.0/docs/en/readme/ |
H A D | utils.md | 16 - Enhanced APIs for operations related to files, paths, and strings 23 - JS APIs for URI, URL, and XML operations 25 - JS APIs for process-related operations 30 - Hardware Abstraction Layer (HAL) APIs for file operations
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | improve-application-cold-start-speed.md | 111 …e, avoid performing time-consuming operations in these callbacks. You are advised to perform time-… 113 In these lifecycle callbacks, perform only necessary operations. For details, see [AbilityStage Com… 148 …ce before optimization (with synchronous operations) with that after optimization (with asynchrono… 157 As the comparison shows, avoiding time-consuming operations in AbilityStage lifecycle callbacks is … 165 …e, avoid performing time-consuming operations in these callbacks. You are advised to perform time-… 167 In these lifecycle callbacks, perform only necessary operations. The following uses the UIAbility a… 231 …ce before optimization (with synchronous operations) with that after optimization (with asynchrono… 240 As the comparison shows, avoiding time-consuming operations in ability lifecycle callbacks is effec… 246 ### Avoid time-consuming operations in the custom component lifecycle callbacks. 299 …ce before optimization (with synchronous operations) with that after optimization (with asynchrono… [all …]
|
H A D | thread_memory_shared.md | 3 During application development, some time-consuming operations are executed in subthreads to preven… 5 If the data volume is large and multiple threads are required for simultaneous operations, you are … 7 …operations are simultaneously performed by subthreads to modify data stored in a **SharedArrayBuff… 12 // Non-atomic operation, which performs auto-increment operations for 10,000 times. 19 // Atomic operation, which performs auto-increment operations for 10,000 times. 50 // Determine whether to use atomic operations based on the passed-in value of isAtomics. 54 …y used. Therefore, SharedArrayBuffer is converted to the Int32Array type for subsequent operations. 79 …ks are created, each of which is used to perform 10,000 auto-increment operations on the **SharedA… 101 …operations that cannot be interrupted. It ensures the operation of thread A is not interrupted by … 302 …ion. When SharedArrayBuffer is used to implement shared memory, atomic operations and locks can be…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/ |
H A D | component_query.cpp | 49 …const IComponentManager& baseComponentSet, const array_view<const Operation> operations, bool enab… in SetupQuery() argument 51 const size_t componentCount = operations.size() + 1; in SetupQuery() 67 for (auto& operation : operations) { in SetupQuery() 150 …const IComponentManager& baseComponentSet, const array_view<const Operation> operations, bool enab… in Execute() argument 152 SetupQuery(baseComponentSet, operations, enableEntityLookup); in Execute()
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-Log-guide.md | 18 …ittle impact on users and can be rectified by the programs themselves or through simple operations. 101 - **[Recommendation] Log database operations and related information.** 103 **Note:** Common database operations include 115 - **[Recommendation] Log operations on files and related information.** 119 - **[Recommendation] Print only one log for batch file operations.** 127 - **[Recommendation] Log the operations, results, and status changes of key objects.** 129 …operations include creating, loading, unloading, and releasing objects. For key object operations,… 133 - **[Recommendation] Log thread operations and related information.** 149 - **[Recommendation] Log operations on concurrency control objects and related information.** 157 - **[Recommendation] Log operations on the shared memory and related information.** [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | io-intensive-task-development.md | 4 I/O intensive tasks are tasks that require frequent I/O operations such as disk read/write and netw… 7 …operations, since such a task usually requires frequent operations such as disk read/write and net… 51 2. Use **TaskPool** to execute the concurrency function that contains the intensive I/O operations.… 68 … // Use TaskPool to execute the concurrency function that contains the intensive I/O operations.
|
H A D | async-concurrency-overview.md | 6 Promise and async/await allow an application to perform other operations without waiting for the co… 10 …operations. It converts asynchronous operations into a style similar to synchronous operations for… 47 Async/Await is a Promise syntax sugar used to process asynchronous operations, making it easier to … 88 …ion to **await**, you can use the try/catch block to capture exceptions in asynchronous operations.
|
H A D | concurrency-overview.md | 3 … switches tasks when a task is in the sleep state or is performing I/O operations, and schedules a… 9 …t a time. When the main thread responds to user operations and updates the UI, time-consuming oper… 14 …s. For details, see [Multithreaded Development Practice Cases](batch-database-operations-guide.md).
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-custom-asynchronous-operations.md | 5 Node-API provides APIs for customizing asynchronous (async for short) operations to handle time-con… 9 Async operations are used to complete I/O-intensive or compute-intensive tasks, which usually need … 11 …nt async operations using a promise or a callback. Promise is a programming model based on future … 17 …operations. You can use these APIs to implement ArkTS callbacks and manage the resource lifecycle … 20 …ou can use these APIs to handle time-consuming tasks, such as file I/O operations and network requ… 26 …ing demonstrates only the C++ and ArkTS code involved in the APIs for customizing async operations.
|
H A D | use-napi-about-promise.md | 5 …operations for time-consuming tasks, such as downloading data from network or reading a large file… 9 **Promise** is an object used to handle asynchronous operations in ArkTS. It has three states: **pe… 12 …aiting for the end of the previous task. In ArkTS, common asynchronous operations apply for timers… 13 - **Promise**: an ArkTS object used to handle asynchronous operations. Generally, it is exposed ext… 18 …eal with asynchronous operations. The APIs provided by the Node-API module help you flexibly proce… 22 The following table lists the APIs for implementing asynchronous operations using ArkTS promises.
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_ability_impl.cpp | 376 const std::vector<std::shared_ptr<DataAbilityOperation>> &operations) in ExecuteBatch() argument 386 if (!CheckExecuteBatchPermission(operations)) { in ExecuteBatch() 391 results = ability_->ExecuteBatch(operations); in ExecuteBatch() 397 const std::vector<std::shared_ptr<DataAbilityOperation>> &operations) const in CheckExecuteBatchPermission() 402 size_t size = operations.size(); in CheckExecuteBatchPermission() 404 std::shared_ptr<DataAbilityOperation> operation = operations[i]; in CheckExecuteBatchPermission()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-blendMode.md | 34 …operations, which are used to the component background and subnode content, respectively. After th… 38 … uses the new API, you can call BlendApplyType.OFFSCREEN twice to trigger two offscreen operations. 59 // In the .ets file that uses the original API, two offscreen operations are triggered by default.
|
/ohos5.0/drivers/interface/power/v1_0/ |
H A D | IPowerInterface.idl | 20 …* @brief Provides APIs for performing hibernation/wakeup operations, subscribing to the hibernatio… 24 …* hibernation/wakeup operations, subscribe to the hibernation/wakeup status, and manage running lo… 33 …* @brief Provides APIs for performing hibernation/wakeup operations, subscribing to the hibernatio… 48 …* @brief Represents APIs for performing hibernation/wakeup operations, subscribing to the hibernat…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/power_v1_0/foo/power/v1_0/ |
H A D | IPowerInterface.idl | 20 …* @brief Provides APIs for performing hibernation/wakeup operations, subscribing to the hibernatio… 24 …* hibernation/wakeup operations, subscribe to the hibernation/wakeup status, and manage running lo… 33 …* @brief Provides APIs for performing hibernation/wakeup operations, subscribing to the hibernatio… 48 …* @brief Represents APIs for performing hibernation/wakeup operations, subscribing to the hibernat…
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_itypes_utils.cpp | 24 const auto &operations = predicates.GetOperationList(); in Marshalling() local 26 …return ITypesUtil::Marshal(parcel, operations, predicates.GetWhereClause(), predicates.GetWhereArg… in Marshalling() 33 std::vector<Operation> operations{}; in Unmarshalling() local 38 if (!ITypesUtil::Unmarshal(parcel, operations, whereClause, whereArgs, order, mode)) { in Unmarshalling() 41 DataShare::DataSharePredicates tmpPredicates(operations); in Unmarshalling()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_types_util.cpp | 25 std::vector<Operation> operations {}; in Unmarshalling() local 30 if (!ITypesUtil::Unmarshal(parcel, operations, whereClause, whereArgs, order, mode)) { in Unmarshalling() 34 DataShare::DataSharePredicates tmpPredicates(operations); in Unmarshalling()
|
/ohos5.0/base/security/certificate_framework/ |
H A D | README-en.md | 14 …* Certificate operations include obtaining the version number, serial number (SN), issuer, subject… 15 …* Certificate extension operations include obtaining the object identifier (OID) list of the certi… 16 …* CRL operations include obtaining revoked certificates, SNs, issuers, and revocation time of the … 17 …* Certificate chain operations include verifying the validity of a certificate chain based on the …
|