Home
last modified time | relevance | path

Searched refs:mHandle (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/system/codecs/omx/common/
Dgoldfish_media_utils.cpp90 address_space_handle_t mHandle; member in GoldfishMediaTransportImpl
115 if(mHandle >= 0) { in ~GoldfishMediaTransportImpl()
116 goldfish_address_space_close(mHandle); in ~GoldfishMediaTransportImpl()
117 mHandle = -1; in ~GoldfishMediaTransportImpl()
127 mHandle = goldfish_address_space_open(); in GoldfishMediaTransportImpl()
128 if (mHandle < 0) { in GoldfishMediaTransportImpl()
133 bool success = goldfish_address_space_allocate(mHandle, mSize, &mPhysAddr, &mOffset); in GoldfishMediaTransportImpl()
136 mStartPtr = goldfish_address_space_map(mHandle, mOffset, mSize); in GoldfishMediaTransportImpl()
142 if (goldfish_address_space_ping(mHandle, &pingInfo) == false) { in GoldfishMediaTransportImpl()
208 if (goldfish_address_space_ping(mHandle, &pingInfo) == false) { in sendOperation()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
Dgoldfish_media_utils.cpp93 address_space_handle_t mHandle; member in GoldfishMediaTransportImpl
118 if (mHandle >= 0) { in ~GoldfishMediaTransportImpl()
119 goldfish_address_space_close(mHandle); in ~GoldfishMediaTransportImpl()
120 mHandle = -1; in ~GoldfishMediaTransportImpl()
130 mHandle = goldfish_address_space_open(); in GoldfishMediaTransportImpl()
131 if (mHandle < 0) { in GoldfishMediaTransportImpl()
137 goldfish_address_space_allocate(mHandle, mSize, &mPhysAddr, &mOffset); in GoldfishMediaTransportImpl()
141 mStartPtr = goldfish_address_space_map(mHandle, mOffset, mSize); in GoldfishMediaTransportImpl()
147 if (goldfish_address_space_ping(mHandle, &pingInfo) == false) { in GoldfishMediaTransportImpl()
217 if (goldfish_address_space_ping(mHandle, &pingInfo) == false) { in sendOperation()
/device/generic/car/emulator/usbpt/protocan/protocanbus/
DCloseHandleWrapper.cpp30 CloseHandleWrapper::CloseHandleWrapper(sp<ICloseHandle> handle) : mHandle(handle) { in CloseHandleWrapper()
42 mHandle = other.mHandle; in operator =()
43 other.mHandle = nullptr; in operator =()
55 mHandle->close(); in close()
56 mHandle = nullptr; in close()
DCloseHandleWrapper.h39 sp<ICloseHandle> mHandle;