Searched refs:NativeHandle (Results 1 – 4 of 4) sorted by relevance
27 class NativeHandle : public LightRefBase<NativeHandle> {33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);41 friend class LightRefBase<NativeHandle>;43 NativeHandle(native_handle_t* handle, bool ownsHandle);44 ~NativeHandle();50 NativeHandle(const NativeHandle&);51 NativeHandle& operator=(const NativeHandle&);
22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { in create()23 return handle ? new NativeHandle(handle, ownsHandle) : nullptr; in create()26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle() function in android::NativeHandle31 NativeHandle::~NativeHandle() { in ~NativeHandle()
145 "NativeHandle.cpp",
45 import android.os.NativeHandle;371 ArrayList<NativeHandle> testHandlesVector = new ArrayList<>(); in runClientSafeUnionTests()373 testHandlesVector.add(new NativeHandle()); in runClientSafeUnionTests()412 NativeHandle[] testHandlesArray = new NativeHandle[5]; in runClientSafeUnionTests()414 testHandlesArray[i] = new NativeHandle(); in runClientSafeUnionTests()417 ArrayList<NativeHandle> testHandlesList = new ArrayList<NativeHandle>( in runClientSafeUnionTests()421 safeUnion = safeunionInterface.setHandleA(safeUnion, new NativeHandle()); in runClientSafeUnionTests()456 ArrayList<NativeHandle> testHandlesList = new ArrayList<NativeHandle>(); in runClientSafeUnionTests()459 testHandlesList.add(new NativeHandle(fos.getFD(), false /*own*/)); in runClientSafeUnionTests()469 NativeHandle handle = safeUnion.c().get(i); in runClientSafeUnionTests()[all …]