Home
last modified time | relevance | path

Searched refs:WriteToAshmem (Results 1 - 25 of 36) sorted by relevance

12

/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/
H A Dfms_form_ashmem_test.cpp113 * @tc.name: WriteToAshmem
114 * @tc.desc: Verify function WriteToAshmem return value is false
123 form_ashmem_->WriteToAshmem(name, data, size); in HWTEST_F()
124 EXPECT_FALSE(form_ashmem_->WriteToAshmem(name, data, size)); in HWTEST_F()
218 * @tc.name: WriteToAshmem
219 * @tc.desc: Verify function WriteToAshmem return value is false
230 form_ashmem_->WriteToAshmem(name, data, size); in HWTEST_F()
232 EXPECT_FALSE(form_ashmem_->WriteToAshmem(name, data, size)); in HWTEST_F()
238 * @tc.name: WriteToAshmem
239 * @tc.desc: Verify function WriteToAshmem retur
[all...]
H A Dmock_ashmem.cpp39 bool Ashmem::WriteToAshmem(const void *data, int32_t size, int32_t offset) in WriteToAshmem() function in OHOS::Ashmem
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_ashmem.cpp62 bool FormAshmem::WriteToAshmem(std::string name, char *data, int32_t size) in WriteToAshmem() function in OHOS::AppExecFwk::FormAshmem
80 ret = ashmem_->WriteToAshmem(data, size, 0); in WriteToAshmem()
H A Dform_provider_data.cpp398 if (!formAshmem.WriteToAshmem(picName, data.get(), size)) { in WriteImageDataToParcel()
420 if (!formAshmem->WriteToAshmem(entry.first, entry.second.first.get(), entry.second.second)) { in ConvertRawImageData()
/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_new_leg_test/
H A Dmock_form_ashmem.cpp20 bool FormAshmem::WriteToAshmem(std::string name, char *data, int32_t size) in WriteToAshmem() function in OHOS::AppExecFwk::FormAshmem
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_ashmem.h32 bool WriteToAshmem(std::string name, char *data, int32_t size);
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dashmem.h161 bool WriteToAshmem(const void *data, int32_t size, int32_t offset);
/foundation/ability/form_fwk/test/fuzztest/formashmem_fuzzer/
H A Dformashmem_fuzzer.cpp43 formAshmem.WriteToAshmem(name, nullptr, sizes); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_ashmem_helper.h30 bool WriteToAshmem(const void *data, size_t size);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_ashmem_helper.cpp44 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_ashmem_helper.cpp44 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_ashmem_test.cpp135 ASSERT_FALSE(ashmemAllocator->WriteToAshmem(nullptr, arrBytes)); in HWTEST_F()
136 ASSERT_FALSE(ashmemAllocator->WriteToAshmem(arr, arrBytes + 5)); in HWTEST_F()
137 ashmemAllocator->WriteToAshmem(arr, arrBytes); in HWTEST_F()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/
H A Dshared_buffer.cpp59 auto ret = ashmem_->WriteToAshmem(address, bytes, 0); in CopyFrom()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Ddata_operation_callback.cpp141 if (!ashmem->WriteToAshmem(buffer->GetData(), buffer->GetSize() * sizeof(uint8_t), 0)) { in CreateAshmemFromArrayBuffer()
/foundation/multimedia/media_foundation/src/common/
H A Dshare_memory.cpp68 if (!sharedMem_->WriteToAshmem(in, (int32_t)writeSize, (int32_t)start)) { in Write()
69 MEDIA_LOG_E("sharedMem_ WriteToAshmem failed"); in Write()
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dshare_memory.cpp62 if (!sharedMem_->WriteToAshmem(in, (int32_t)writeSize, (int32_t)start)) { in Write()
63 MEDIA_LOG_E("sharedMem_ WriteToAshmem failed"); in Write()
/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_ashmem.h65 static napi_value WriteToAshmem(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_template.cpp89 if (!mem->WriteToAshmem(vecValue.data(), size, 0)) { in Set()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_ashmem_helper_test.cpp152 ashmemAllocator.WriteToAshmem(nullptr, size); in HWTEST_F()
153 ASSERT_FALSE(ashmemAllocator.WriteToAshmem(nullptr, size)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_ashmem_helper.cpp102 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator
109 ROSEN_LOGE("AshmemAllocator::WriteToAshmem memcpy_s failed, err:%{public}d", err); in WriteToAshmem()
233 if (!ashmemAllocator->WriteToAshmem(reinterpret_cast<void*>(dataParcel->GetData()), dataSize)) { in CreateAshmemParcel()
234 ROSEN_LOGE("CreateAshmemParcel: WriteToAshmem failed"); in CreateAshmemParcel()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/
H A Dbundle_resource_host.cpp222 if (!ashmem->WriteToAshmem(reinterpret_cast<uint8_t *>(tempParcel.GetData()), dataSize, offset)) { in WriteParcelableIntoAshmem()
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp585 napi_value NAPIAshmem::WriteToAshmem(napi_env env, napi_callback_info info) in WriteToAshmem() function in OHOS::NAPIAshmem
636 result = napiAshmem->GetAshmem()->WriteToAshmem(array.data(), size * BYTE_SIZE_32, offset * BYTE_SIZE_32); in WriteToAshmem()
692 napiAshmem->GetAshmem()->WriteToAshmem(array.data(), size * BYTE_SIZE_32, offset * BYTE_SIZE_32); in WriteAshmem()
792 if (!napiAshmem->GetAshmem()->WriteToAshmem(data, size, offset)) { in WriteDataToAshmem()
793 ZLOGE(LOG_LABEL, "WriteToAshmem fail"); in WriteDataToAshmem()
900 DECLARE_NAPI_FUNCTION("writeToAshmem", NAPIAshmem::WriteToAshmem), in AshmemExport()
/foundation/communication/ipc/ipc/test/moduletest/native/common/
H A Dipc_core_module_test.cpp554 ret = ashmem->WriteToAshmem(ashmemString.c_str(), strlen(ashmemString.c_str()), 0); in HWTEST_F()
674 ret = ashmem->WriteToAshmem(ashmemString.c_str(), strlen(ashmemString.c_str()), 0); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_cache_mgr.cpp165 if (!formAshmem->WriteToAshmem(key, reinterpret_cast<char *>(blob.data()), in InnerGetImageData()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp81 ret = cache->WriteToAshmem(buffer, size, 0); in ExportModelCache()

Completed in 12 milliseconds

12