Home
last modified time | relevance | path

Searched refs:GetAshmemSize (Results 1 - 25 of 28) sorted by relevance

12

/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_ashmem.cpp48 HILOG_INFO("fd:%{public}d,size:%{public}d", ashmem_->GetAshmemFd(), ashmem_->GetAshmemSize()); in ReadFromParcel()
96 int32_t FormAshmem::GetAshmemSize() in GetAshmemSize() function in OHOS::AppExecFwk::FormAshmem
101 return ashmem_->GetAshmemSize(); in GetAshmemSize()
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_template.cpp107 uint8_t *data = (uint8_t *)node.ashmem->ReadFromAshmem(node.ashmem->GetAshmemSize(), 0); in GetData()
111 return std::vector<uint8_t>(data, data + node.ashmem->GetAshmemSize()); in GetData()
H A Dshared_block.cpp130 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true); in ReadMessageParcel()
/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/
H A Dfms_form_ashmem_test.cpp130 * @tc.name: GetAshmemSize
131 * @tc.desc: Verify function GetAshmemSize return value is ERROR_NUM
139 form_ashmem_->GetAshmemSize(); in HWTEST_F()
141 EXPECT_EQ(form_ashmem_->GetAshmemSize(), ERROR_NUM); in HWTEST_F()
192 * @tc.name: GetAshmemSize
193 * @tc.desc: Verify function GetAshmemSize return value is ERROR_OK
199 EXPECT_EQ(form_ashmem_->GetAshmemSize(), ERROR_OK); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_ashmem.h33 int32_t GetAshmemSize();
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dashmem.h146 int32_t GetAshmemSize();
/foundation/ability/form_fwk/test/fuzztest/formashmem_fuzzer/
H A Dformashmem_fuzzer.cpp44 formAshmem.GetAshmemSize(); in DoSomethingInterestingWithMyAPI()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dshared_buffer_parser.cpp50 buffer.bufferSize = ashptr->GetAshmemSize(); in Init()
H A Dprepared_model_service.cpp57 auto size = m_cacheBuffer->GetAshmemSize(); in ExportModelCache()
89 modelCache.emplace_back(SharedBuffer {cache->GetAshmemFd(), cache->GetAshmemSize(), 0, cache->GetAshmemSize()}); in ExportModelCache()
H A Dnnrt_device_service.cpp199 buffer.bufferSize = ashptr->GetAshmemSize(); in AllocateBuffer()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dshared_buffer_parser.cpp50 buffer.bufferSize = ashptr->GetAshmemSize(); in Init()
H A Dprepared_model_service.cpp59 auto size = m_cacheBuffer->GetAshmemSize(); in ExportModelCache()
91 modelCache.emplace_back(SharedBuffer {cache->GetAshmemFd(), cache->GetAshmemSize(), 0, cache->GetAshmemSize()}); in ExportModelCache()
H A Dnnrt_device_service.cpp233 buffer.bufferSize = ashptr->GetAshmemSize(); in AllocateBuffer()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/
H A Dshared_buffer.cpp46 return ashmem_->GetAshmemSize(); in GetSize()
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp121 uint32_t size = (uint32_t)(napiAshmem->GetAshmem()->GetAshmemSize()); in CreateAshmemFromExisting()
234 uint32_t size = (uint32_t)(napiAshmem->GetAshmem()->GetAshmemSize()); in GetAshmemFromExisting()
267 napi_value NAPIAshmem::GetAshmemSize(napi_env env, napi_callback_info info) in GetAshmemSize() function in OHOS::NAPIAshmem
274 uint32_t ashmemSize = (uint32_t)(napiAshmem->GetAshmem()->GetAshmemSize()); in GetAshmemSize()
414 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in ReadFromAshmem()
477 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in ReadAshmem()
629 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in WriteToAshmem()
685 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in WriteAshmem()
784 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in WriteDataToAshmem()
842 uint32_t ashmemSize = (uint32_t)napiAshmem->GetAshmem()->GetAshmemSize(); in ReadDataFromAshmem()
[all...]
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Ddata_operation_callback.cpp91 uint32_t size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in CreateArrayBufferFromAshmem()
H A Dengine_util.cpp182 size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in ProcDspModel()
/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_ashmem.h52 static napi_value GetAshmemSize(napi_env env, napi_callback_info info);
/foundation/ai/intelligent_voice_framework/frameworks/native/
H A Dintell_voice_manager.cpp197 uint32_t size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in GetFileDataFromAshmem()
/foundation/ability/form_fwk/services/src/
H A Dform_cache_mgr.cpp281 iter.first, iter.second.first->GetAshmem(), iter.second.first->GetAshmemSize(), value); in AddImgDataToDb()
H A Dform_data_proxy_record.cpp696 auto size = node.ashmem->GetAshmemSize(); in PrepareImageData()
/foundation/arkui/ace_engine/frameworks/core/components/form/
H A Dsub_container.cpp384 byteLenArray.push_back(imageData.second->GetAshmemSize()); in ProcessSharedImage()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/
H A Dbundle_resource_proxy.cpp378 int32_t ashMemSize = ashMem->GetAshmemSize(); in GetParcelInfoFromAshMem()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dmessage_parcel.cpp532 int32_t size = ashmem->GetAshmemSize(); in WriteAshmem()
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/
H A Dshared_block.cpp127 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true); in ReadMessageParcel()

Completed in 16 milliseconds

12