Home
last modified time | relevance | path

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

/system/core/libutils/
DNativeHandle.cpp22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { in create() argument
23 return handle ? new NativeHandle(handle, ownsHandle) : nullptr; in create()
26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle() argument
27 : mHandle(handle), mOwnsHandle(ownsHandle) { in NativeHandle()
/system/core/libutils/include/utils/
DNativeHandle.h33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);
43 NativeHandle(native_handle_t* handle, bool ownsHandle);