/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_ashmem.cpp | 48 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 D | datashare_template.cpp | 107 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 D | shared_block.cpp | 130 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true);
in ReadMessageParcel()
|
/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/ |
H A D | fms_form_ashmem_test.cpp | 130 * @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 D | form_ashmem.h | 33 int32_t GetAshmemSize();
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 146 int32_t GetAshmemSize();
|
/foundation/ability/form_fwk/test/fuzztest/formashmem_fuzzer/ |
H A D | formashmem_fuzzer.cpp | 44 formAshmem.GetAshmemSize(); in DoSomethingInterestingWithMyAPI()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | shared_buffer_parser.cpp | 50 buffer.bufferSize = ashptr->GetAshmemSize(); in Init()
|
H A D | prepared_model_service.cpp | 57 auto size = m_cacheBuffer->GetAshmemSize(); in ExportModelCache() 89 modelCache.emplace_back(SharedBuffer {cache->GetAshmemFd(), cache->GetAshmemSize(), 0, cache->GetAshmemSize()}); in ExportModelCache()
|
H A D | nnrt_device_service.cpp | 199 buffer.bufferSize = ashptr->GetAshmemSize(); in AllocateBuffer()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | shared_buffer_parser.cpp | 50 buffer.bufferSize = ashptr->GetAshmemSize(); in Init()
|
H A D | prepared_model_service.cpp | 59 auto size = m_cacheBuffer->GetAshmemSize(); in ExportModelCache() 91 modelCache.emplace_back(SharedBuffer {cache->GetAshmemFd(), cache->GetAshmemSize(), 0, cache->GetAshmemSize()}); in ExportModelCache()
|
H A D | nnrt_device_service.cpp | 233 buffer.bufferSize = ashptr->GetAshmemSize(); in AllocateBuffer()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/ |
H A D | shared_buffer.cpp | 46 return ashmem_->GetAshmemSize(); in GetSize()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 121 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 D | data_operation_callback.cpp | 91 uint32_t size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in CreateArrayBufferFromAshmem()
|
H A D | engine_util.cpp | 182 size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in ProcDspModel()
|
/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_ashmem.h | 52 static napi_value GetAshmemSize(napi_env env, napi_callback_info info);
|
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | intell_voice_manager.cpp | 197 uint32_t size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in GetFileDataFromAshmem()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_cache_mgr.cpp | 281 iter.first, iter.second.first->GetAshmem(), iter.second.first->GetAshmemSize(), value); in AddImgDataToDb()
|
H A D | form_data_proxy_record.cpp | 696 auto size = node.ashmem->GetAshmemSize(); in PrepareImageData()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/ |
H A D | sub_container.cpp | 384 byteLenArray.push_back(imageData.second->GetAshmemSize()); in ProcessSharedImage()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/ |
H A D | bundle_resource_proxy.cpp | 378 int32_t ashMemSize = ashMem->GetAshmemSize(); in GetParcelInfoFromAshMem()
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | message_parcel.cpp | 532 int32_t size = ashmem->GetAshmemSize(); in WriteAshmem()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | shared_block.cpp | 127 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true);
in ReadMessageParcel()
|