harmony 鸿蒙DDK_Ashmem

  • 2025-06-12
  • 浏览 (5)

DDK_Ashmem

Overview

Defines the data structure of Ashmem objects.

Since

12

Related module

Base DDK

Header file: ddk_types.h

Summary

Member Variables

Name Description
ashmemFd File descriptor of the Ashmem object.
address Mapping address of the Ashmem object.
size Length of the data array.
offset Data offset.
bufferLength Length of the data array that is actually used.
transferredLength Length of the data to transfer.

Member Variable Description

ashmemFd

int32_t ashmemFd

Description

File descriptor of the Ashmem object.

address

const uint8_t * address

Description

Mapping address of the Ashmem object.

size

const uint32_t size

Description

Length of the data array.

offset

uint32_t offset

Description

Data offset.

bufferLength

uint32_t bufferLength

Description

Length of the data array that is actually used.

transferredLength

uint32_t transferredLength

Description

Length of the data to transfer.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Driver Development Kit

harmony 鸿蒙Base DDK

harmony 鸿蒙Hid_AbsAxesArray

harmony 鸿蒙Hid_Device

harmony 鸿蒙Hid_EmitItem

harmony 鸿蒙Hid_EventProperties

harmony 鸿蒙Hid_EventTypeArray

harmony 鸿蒙Hid_KeyCodeArray

harmony 鸿蒙Hid_MscEventArray

harmony 鸿蒙Hid_RawDevInfo

0  赞