Home
last modified time | relevance | path

Searched refs:ashmemMapType (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/drivers/external_device_manager/test/unittest/ddk_base_test/
H A Dddk_base_test.cpp79 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; variable
80 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
86 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; variable
87 auto ret = OH_DDK_MapAshmem(nullptr, ashmemMapType);
100 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
111 const uint8_t ashmemMapType = PORT_ILLEGAL; variable
112 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
124 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
138 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
153 ret = OH_DDK_MapAshmem(ashmem, ashmemMapType);
[all …]
/ohos5.0/drivers/external_device_manager/test/unittest/ndk_stage_js_test/entry/src/main/cpp/
H A Dbase_ddk_ndk_test.cpp73 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; in DdkMapAshmemOne() local
74 int32_t returnValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in DdkMapAshmemOne()
82 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; in DdkMapAshmemTwo() local
83 int32_t returnValue = OH_DDK_MapAshmem(nullptr, ashmemMapType); in DdkMapAshmemTwo()
96 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; in DdkMapAshmemThree() local
98 int32_t returnValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in DdkMapAshmemThree()
111 const uint8_t ashmemMapType = PORT_ILLEGAL; in DdkMapAshmemFour() local
112 int32_t returnValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in DdkMapAshmemFour()
125 const uint8_t ashmemMapType = PORT_READ | PORT_WRITE; in DdkUnmapAshmemOne() local
126 int32_t ddkMapAshmemValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in DdkUnmapAshmemOne()
[all …]
H A Dusb_ddk_ndk_test.cpp784 const uint8_t ashmemMapType = 0x03; in UsbSendPipeRequestWithAshmemOne() local
785 int32_t mapAshmemValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in UsbSendPipeRequestWithAshmemOne()
808 const uint8_t ashmemMapType = 0x03; in UsbSendPipeRequestWithAshmemTwo() local
809 int32_t mapAshmemValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in UsbSendPipeRequestWithAshmemTwo()
873 const uint8_t ashmemMapType = 0x03; in UsbSendPipeRequestWithAshmemFour() local
874 int32_t mapAshmemValue = OH_DDK_MapAshmem(ashmem, ashmemMapType); in UsbSendPipeRequestWithAshmemFour()
/ohos5.0/drivers/external_device_manager/frameworks/ddk/base/
H A Dddk_api.cpp88 DDK_RetCode OH_DDK_MapAshmem(DDK_Ashmem *ashmem, const uint8_t ashmemMapType) in OH_DDK_MapAshmem() argument
97 if (ashmemMapType > PORT_MAX) { in OH_DDK_MapAshmem()
99 __func__, ashmemMapType); in OH_DDK_MapAshmem()
103 if (!g_shareMemoryMap[ashmem->ashmemFd]->MapAshmem(ashmemMapType)) { in OH_DDK_MapAshmem()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/
H A D_base_ddk.md44 …h_ddk_mapashmem) ([DDK_Ashmem](_ddk_ashmem.md) \*ashmem, const uint8_t ashmemMapType) | 共享内存映射。 |
105 DDK_RetCode OH_DDK_MapAshmem(DDK_Ashmem *ashmem, const uint8_t ashmemMapType);
117 | ashmemMapType | 共享内存的保护权限值。 |
H A Dddk_api.md25 …_ddk_mapashmem) ([DDK_Ashmem](_ddk_ashmem.md) \*ashmem), const uint8_t ashmemMapType) | 共享内存映射。 |
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/
H A D_base_ddk.md44 …_ddk_mapashmem) ([DDK_Ashmem](_ddk_ashmem.md) \*ashmem, const uint8_t ashmemMapType) | Maps an **A…
105 DDK_RetCode OH_DDK_MapAshmem(DDK_Ashmem *ashmem, const uint8_t ashmemMapType);
117 | ashmemMapType | Mapping type for the **Ashmem** object.|
H A Dddk_api.md25 …ddk_mapashmem) ([DDK_Ashmem](_ddk_ashmem.md) \*ashmem), const uint8_t ashmemMapType) | Maps an **A…
/ohos5.0/drivers/external_device_manager/interfaces/ddk/base/
H A Dddk_api.h65 DDK_RetCode OH_DDK_MapAshmem(DDK_Ashmem *ashmem, const uint8_t ashmemMapType);