Searched refs:ownsHandle (Results 1 – 2 of 2) sorted by relevance
22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { in create() argument23 return handle ? new NativeHandle(handle, ownsHandle) : nullptr; in create()26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle() argument27 : mHandle(handle), mOwnsHandle(ownsHandle) { in NativeHandle()
33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);43 NativeHandle(native_handle_t* handle, bool ownsHandle);