Home
last modified time | relevance | path

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

/frameworks/hardware/interfaces/sensorservice/aidl/vts/
DVtsHalSensorManagerTargetTest.cpp97 using map_region = std::unique_ptr<void, std::function<void(void*)>>; typedef
99 map_region map(const Ashmem& mem) { in map()
105 return map_region{buf, [size](void* localBuf) { munmap(localBuf, size); }}; in map()
229 map_region buf = map(mem); in TEST_P()
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp137 using map_region = std::unique_ptr<void, std::function<void(void*)>>; typedef
139 map_region map(const hidl_memory &mem) { in map()
145 return map_region{buf, [size](void *localBuf) { in map()
259 map_region buf = map(mem); in TEST_P()