e6c7b439创建于 2024年5月8日历史提交

DDK_Ashmem

Overview

Defines the data structure of Ashmem objects.

Since

12

Related module

BASE DDK

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.