Home
last modified time | relevance | path

Searched refs:ashmemfd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DProfileDataContainer.cpp52 void ProfileDataContainer::switchStorageToAshmem(int ashmemfd) { in switchStorageToAshmem() argument
53 int regionSize = ashmem_get_size_region(ashmemfd); in switchStorageToAshmem()
56 ALOGW("Failed to get ashmem region size from fd %d, err %d %s", ashmemfd, err, in switchStorageToAshmem()
66 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
69 ALOGW("Failed to move profile data to ashmem fd %d, error = %d", ashmemfd, err); in switchStorageToAshmem()
DProfileDataContainer.h34 void switchStorageToAshmem(int ashmemfd);