/ohos5.0/foundation/multimedia/media_foundation/engine/include/foundation/utils/ |
H A D | ring_buffer.h | 50 auto available = tail_ - head_; variable 51 while (waitTimes > 0 && available == 0) { 57 available = tail_ - head_; 60 available = (available > readSize) ? readSize : available; 62 if (index + available < bufferSize_) { 63 (void)memcpy_s(ptr, available, buffer_.get() + index, available); 67 available - (bufferSize_ - index)); 69 head_ += available; 70 mediaOffset_ += available; 71 …LOG_DD("ReadBuffer finish available is " PUBLIC_LOG_ZU ", mediaOffset_ " PUBLIC_LOG_U64, available, [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/ |
H A D | ring_buffer.h | 50 auto available = tail_ - head_; variable 51 while (waitTimes > 0 && available == 0) { 57 available = tail_ - head_; 60 available = (available > readSize) ? readSize : available; 62 if (index + available < bufferSize_) { 63 (void)memcpy_s(ptr, available, buffer_.get() + index, available); 67 available - (bufferSize_ - index)); 69 head_ += available; 70 mediaOffset_ += available; 71 …LOG_DD("ReadBuffer finish available is " PUBLIC_LOG_ZU ", mediaOffset_ " PUBLIC_LOG_U64, available, [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | _o_h___pixelmap___hdr_metadata_value.md | 6 …Value struct describes the HDR metadata values used by the PixelMap and available for the key [OH_… 20 …___native_module.md#oh_pixelmap_hdrmetadatatype) [type](#type) | Values available for the key **HD… 21 …ap___hdr_static_metadata.md) [staticMetadata](#staticmetadata) | Values available for the key **HD… 22 …__hdr_dynamic_metadata.md) [dynamicMetadata](#dynamicmetadata) | Values available for the key **HD… 23 …__hdr_gainmap_metadata.md) [gainmapMetadata](#gainmapmetadata) | Values available for the key **HD… 37 Values available for the key **HDR_DYNAMIC_METADATA**. 48 Values available for the key **HDR_GAINMAP_METADATA**. 59 Values available for the key **HDR_STATIC_METADATA**. 70 Values available for the key **HDR_METADATA_TYPE**.
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/ |
H A D | avbuffer_queue_producer.cpp | 42 Status AVBufferQueueProducerImpl::PushBuffer(uint64_t uniqueId, bool available) in PushBuffer() argument 44 return bufferQueue_->PushBuffer(uniqueId, available); in PushBuffer() 47 …atus AVBufferQueueProducerImpl::PushBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) in PushBuffer() argument 49 return bufferQueue_->PushBuffer(buffer, available); in PushBuffer() 52 Status AVBufferQueueProducerImpl::ReturnBuffer(uint64_t uniqueId, bool available) in ReturnBuffer() argument 54 return bufferQueue_->ReturnBuffer(uniqueId, available); in ReturnBuffer() 57 …us AVBufferQueueProducerImpl::ReturnBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) in ReturnBuffer() argument 59 return bufferQueue_->ReturnBuffer(buffer, available); in ReturnBuffer()
|
H A D | avbuffer_queue_producer_proxy.cpp | 55 Status PushBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) override; 56 Status ReturnBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) override; 116 …BufferQueueProducerProxyImpl::PushBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) in PushBuffer() argument 123 arguments.WriteBool(available); in PushBuffer() 130 …fferQueueProducerProxyImpl::ReturnBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) in ReturnBuffer() argument 137 arguments.WriteBool(available); in ReturnBuffer()
|
H A D | avbuffer_queue.cpp | 353 Status AVBufferQueueImpl::PushBuffer(uint64_t uniqueId, bool available) in PushBuffer() argument 368 if (available) { in PushBuffer() 379 if (available) { in PushBuffer() 387 return ReturnBuffer(uniqueId, available); in PushBuffer() 390 Status AVBufferQueueImpl::PushBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) in PushBuffer() argument 394 return PushBuffer(buffer->GetUniqueId(), available); in PushBuffer() 397 …ttribute__((no_sanitize("cfi"))) AVBufferQueueImpl::ReturnBuffer(uint64_t uniqueId, bool available) in ReturnBuffer() argument 413 if (!available) { in ReturnBuffer() 427 if (!available) { in ReturnBuffer() 442 Status AVBufferQueueImpl::ReturnBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) in ReturnBuffer() argument [all …]
|
H A D | avbuffer_queue_producer_stub.cpp | 96 auto available = arguments.ReadBool(); in OnPushBuffer() local 98 auto ret = PushBuffer(uniqueId, available); in OnPushBuffer() 108 auto available = arguments.ReadBool(); in OnReturnBuffer() local 110 auto ret = ReturnBuffer(uniqueId, available); in OnReturnBuffer()
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | hiappevent-watcher-resourceleak-events.md | 20 | memory | object | Memory information (only available for **pss_memory** and **js_heap**).… 21 | fd | object | File descriptor information (only available for **fd**). For details, s… 22 | thread | object | Thread information (only available for **thread**). For details, see **… 39 | rss | number | Size of the memory allocated for a process (only available for **pss_memory**), in… 40 | vss | number | Size of the virtual memory applied by a process from the system (only available fo… 41 | pss | number | Size of the physical memory actually used by a process (only available for **pss_m… 42 | sys_free_mem | number | Size of free memory (only available for **pss_memory**), in KB.| 43 | sys_avail_mem | number | Size of available memory (only available for **pss_memory**), in KB.| 44 | sys_total_mem | number | Total memory size (only available for **pss_memory**), in KB.| 45 | limit_size | number | Limit of memory size (only available for **js_heap**), in KB.| [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include/ |
H A D | avbuffer_queue_producer_impl.h | 36 Status PushBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) override = 0; 37 Status ReturnBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool available) override = 0; 46 virtual Status PushBuffer(uint64_t uniqueId, bool available) = 0; 47 virtual Status ReturnBuffer(uint64_t uniqueId, bool available) = 0; 82 Status PushBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) override; 83 Status ReturnBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available) override; 95 Status PushBuffer(uint64_t uniqueId, bool available) override; 96 Status ReturnBuffer(uint64_t uniqueId, bool available) override;
|
H A D | avbuffer_queue_impl.h | 73 virtual Status PushBuffer(uint64_t uniqueId, bool available); 74 virtual Status PushBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available); 75 virtual Status ReturnBuffer(uint64_t uniqueId, bool available); 76 virtual Status ReturnBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available);
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/can/ |
H A D | can_msg.c | 24 OsalAtomic available; member 39 if (OsalAtomicRead(&holder->available) < 1) { in CanMsgPoolAcquireHolder() 42 if (OsalAtomicDecReturn(&holder->available) != 0) { in CanMsgPoolAcquireHolder() 43 OsalAtomicInc(&holder->available); in CanMsgPoolAcquireHolder() 58 OsalAtomicInc(&holder->available); in CanMsgPoolRecycleHolder() 145 OsalAtomicSet(&pool->holders[i].available, 1); in CanMsgPoolCreate()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/include/ |
H A D | socperf_common.h | 47 std::unordered_set<int64_t> available; variable 77 str.append("available(").append(std::to_string((int32_t)available.size())).append("): "); in PrintString() 79 for (auto validValue : available) { in PrintString() 82 if (!available.empty()) { in PrintString() 109 str.append("available(").append(std::to_string((int32_t)available.size())).append("): "); in PrintString() 111 for (auto validValue : available) { in PrintString() 114 if (!available.empty()) { in PrintString()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_surface_node_command_test.cpp | 198 bool available = false; variable 199 SurfaceNodeCommandHelper::SetIsNotifyUIBufferAvailable(context, id, available); 405 bool available = false; variable 406 SurfaceNodeCommandHelper::MarkUIHidden(context, id, available); 409 SurfaceNodeCommandHelper::MarkUIHidden(context, id2, available); 436 bool available = false; variable 437 SurfaceNodeCommandHelper::SetForeground(context, id, available); 440 SurfaceNodeCommandHelper::SetForeground(context, id2, available); 452 bool available = false; variable 453 SurfaceNodeCommandHelper::SetSurfaceId(context, id, available); [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/ |
H A D | context_8h.md | 40 …etween operators. The setting is ineffective because the feature of this API is not yet available.| 50 …l is_fp16) | Sets whether to enable float16 inference. This function is available only for CPU and… 51 …e_info) | Checks whether float16 inference is enabled. This function is available only for CPU and… 52 …ce_info, int frequency) | Sets the NPU frequency type. This function is available only for NPU dev… 53 …handle) device_info) | Obtains the NPU frequency type. This function is available only for NPU dev… 62 …fo, size_t device_id) | Sets the ID of an NNRt device. This function is available only for NNRt de… 63 …ndle) device_info) | Obtains the ID of an NNRt device. This function is available only for NNRt de… 64 …) mode) | Sets the performance mode of an NNRt device. This function is available only for NNRt de… 65 …nfo) | Obtains the performance mode of an NNRt device. This function is available only for NNRt de… 66 …iority) priority) | Sets the priority of an NNRt task. This function is available only for NNRt de… [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.24/ |
H A D | changelogs-sdk.md | 7 An API available only for the FA model should not be used in an application developed in the stage … 15 When an FA model application uses an API available only in the stage model, a WARN alarm is generat… 19 When a stage model application uses an API available only in the FA model, a WARN alarm is generate… 25 When an FA model application uses an API available only in the stage model, an ERROR alarm is gener… 29 When a stage model application uses an API available only in the FA model, an ERROR alarm is genera… 82 Scenario 2: No substitute is available.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___on_frame_available_listener.md | 6 …iveImage_SetOnFrameAvailableListener**. The listener triggers a callback when a frame is available. 21 | [onFrameAvailable](#onframeavailable) | Callback function triggered when a frame is available.| 46 Callback function triggered when a frame is available.
|
/ohos5.0/base/update/updater/services/script/threadpool/ |
H A D | threadpool.cpp | 61 taskQueue_[t].available = true; in Init() 122 taskQueue_[index].available = true; in AddNewTask() 129 if (taskQueue_[i].available) { in AcquireWorkIndex() 130 taskQueue_[i].available = false; in AcquireWorkIndex()
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | oh__environment_8h.md | 24 …s the sandbox path of the **Download** root directory. This function is available only for 2-in-1 … 25 …ns the sandbox path of the **Desktop** root directory. This function is available only for 2-in-1 … 26 … the sandbox path of the **Documents** root directory. This function is available only for 2-in-1 …
|
/ohos5.0/docs/en/readme/ |
H A D | app-access-control.md | 15 APIs: APIs exposed externally by the application access control subsystem. Some APIs are available … 26 …nism of the system kernel. Therefore, it can be developed only when the MAC mechanism is available. 33 - APIs for adding, deleting, and querying persistence rules (available now). 34 - APIs for enabling and disabling persistent rules for system applications (to be available).
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-switch.md | 39 …| Text color displayed when the component is checked. This attribute is available only when **text… 40 …xt color displayed when the component is not checked. This attribute is available only when **text… 42 …ngth> | - | No | Font size. This attribute is available only when **text… 44 … | normal | No | Font style. This attribute is available only when **text… 45 | font-weight | number \| string | normal | No | Font weight. This attribute is available o… 46 …nts-common-customizing-font.md) is used for the text. This attribute is available only when **text…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-securityLabel.md | 74 | 13900037 | No data available | 117 | 13900037 | No data available | 161 | 13900037 | No data available | 203 | 13900037 | No data available | 245 | 13900037 | No data available | 294 | 13900037 | No data available |
|
/ohos5.0/docs/en/application-dev/security/AccessToken/ |
H A D | app-permissions.md | 9 …The permissions are available to all applications and granted by the system. After an application … 13 …The permissions are available to all applications and granted by the user. After an application re… 17 …The permissions are available only to normal enterprise applications, mobile device management (MD… 21 …The permissions are available only to [MDM](../../mdm/mdm-kit-intro.md) applications. When request… 26 …The permissions are available only to system applications and system services. The permissions can…
|
H A D | permissions-for-enterprise-apps.md | 3 The following permissions are available to <!--Del-->system applications and <!--DelEnd-->enterpris… 22 **Changelog**: For API versions 10 to 14, this permission is of the system_core level and available… 37 **Changelog**: For API versions 10 to 14, this permission is of the system_core level and available…
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | _o_h___a_v_screen_capture_callback.md | 27 …| Pointer to a callback function that is called when an audio buffer is available during the runni… 28 … | Pointer to a callback function that is called when a video buffer is available during the runni… 40 Pointer to a callback function that is called when an audio buffer is available during the running … 70 Pointer to a callback function that is called when a video buffer is available during the running o…
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | start-intent-panel.md | 3 …cifying an application type instead of a specific application. The following methods are available: 5 …, flight, and express. The panel displays all the vertical applications available on the device, a… 12 …n, finance, and email. The panel displays all the vertical applications available on the device, a… 14 The vertical domain panel provides secure and trusted applications available on the device, while r… 21 …he business category specified by the caller. The vertical applications available on the device ar…
|