Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DNativeHandle.h27 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&);
/system/core/libutils/
DNativeHandle.cpp22 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::NativeHandle
31 NativeHandle::~NativeHandle() { in ~NativeHandle()
DAndroid.bp145 "NativeHandle.cpp",
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java45 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 …]