/frameworks/base/core/java/android/os/ |
D | NativeHandle.java | 35 public final class NativeHandle implements Closeable { class 45 public NativeHandle() { in NativeHandle() method in NativeHandle 53 public NativeHandle(@NonNull FileDescriptor descriptor, boolean own) { in NativeHandle() method in NativeHandle 78 private NativeHandle(@NonNull int[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() method in NativeHandle 87 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() method in NativeHandle 111 public @NonNull NativeHandle dup() throws java.io.IOException { in dup() 123 return new NativeHandle(fds, mInts, true /*own*/); in dup()
|
D | HidlMemory.java | 46 private @Nullable NativeHandle mHandle; 59 @Nullable NativeHandle handle) { in HidlMemory() 92 public NativeHandle releaseHandle() { in releaseHandle() 93 NativeHandle handle = mHandle; in releaseHandle() 124 public NativeHandle getHandle() { in getHandle()
|
D | HwParcel.java | 141 public native final void writeNativeHandle(@Nullable NativeHandle val); in writeNativeHandle() 202 private native final void writeNativeHandleVector(NativeHandle[] val); in writeNativeHandleVector() 314 public final void writeNativeHandleVector(@NonNull ArrayList<NativeHandle> val) { in writeNativeHandleVector() 315 writeNativeHandleVector(val.toArray(new NativeHandle[val.size()])); in writeNativeHandleVector() 408 public native final @Nullable NativeHandle readNativeHandle(); in readNativeHandle() 422 public native final @Nullable NativeHandle readEmbeddedNativeHandle( in readEmbeddedNativeHandle() 487 private native final NativeHandle[] readNativeHandleAsArray(); in readNativeHandleAsArray() 580 public final @NonNull ArrayList<NativeHandle> readNativeHandleVector() { in readNativeHandleVector() 581 return new ArrayList<NativeHandle>(Arrays.asList(readNativeHandleAsArray())); in readNativeHandleVector()
|
D | HidlMemoryUtil.java | 216 NativeHandle handle = new NativeHandle(Os.dup(fd), true); in fileDescriptorToHidlMemory() 231 NativeHandle handle = mem.getHandle(); in getBuffer()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | AidlNativeHandleUtils.java | 42 public static @Nullable android.hardware.common.NativeHandle dup( in dup() 43 @Nullable android.os.NativeHandle handle) throws IOException { in dup() 47 android.hardware.common.NativeHandle res = new android.hardware.common.NativeHandle(); in dup() 67 public static void close(@Nullable android.hardware.common.NativeHandle handle) in close()
|
D | TestHal.java | 27 import android.hardware.common.NativeHandle; 88 byte enrollmentType, byte[] features, NativeHandle previewSurface) { in createSession() 202 NativeHandle previewSurface, OperationContext context) { in createSession()
|
D | FaceEnrollClient.java | 27 import android.hardware.common.NativeHandle; 68 @Nullable private android.os.NativeHandle mOsPreviewHandle; 69 @Nullable private NativeHandle mHwPreviewHandle;
|
/frameworks/av/media/libstagefright/include/ |
D | SecureBuffer.h | 26 class NativeHandle; variable 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size); 49 const sp<NativeHandle> mHandle;
|
/frameworks/av/services/camera/libcameraservice/device3/aidl/ |
D | AidlCamera3OutputUtils.h | 47 inline aidl::android::hardware::common::NativeHandle dupToAidlIfNotNull( in dupToAidlIfNotNull() 50 return aidl::android::hardware::common::NativeHandle(); in dupToAidlIfNotNull() 55 inline aidl::android::hardware::common::NativeHandle makeToAidlIfNotNull( in makeToAidlIfNotNull() 58 return aidl::android::hardware::common::NativeHandle(); in makeToAidlIfNotNull()
|
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/ |
D | ITunerFilter.aidl | 21 import android.hardware.common.NativeHandle; 72 long getAvSharedHandle(out NativeHandle avMemory); in getAvSharedHandle() 77 void releaseAvHandle(in NativeHandle handle, in long avDataId); in releaseAvHandle()
|
/frameworks/hardware/interfaces/automotive/display/aidl/android/frameworks/automotive/display/ |
D | ICarDisplayProxy.aidl | 20 import android.hardware.common.NativeHandle; 59 NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/av/media/libmedia/include/media/ |
D | OMXBuffer.h | 50 class NativeHandle; variable 81 OMXBuffer(const sp<NativeHandle> &handle); 134 sp<NativeHandle> mNativeHandle;
|
D | IOMX.h | 52 class NativeHandle; variable 143 void **buffer_data, sp<NativeHandle> *native_handle) = 0;
|
/frameworks/av/media/libmedia/ |
D | OMXBuffer.cpp | 59 OMXBuffer::OMXBuffer(const sp<NativeHandle> &handle) in OMXBuffer() 160 sp<NativeHandle> handle = NativeHandle::create( in readFromParcel()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TunnelModeEnabledReporterTest.cpp | 159 sp<NativeHandle> stream = in TEST_F() 160 NativeHandle::create(reinterpret_cast<native_handle_t*>(DEFAULT_SIDEBAND_STREAM), in TEST_F() 183 sp<NativeHandle> stream = in TEST_F() 184 NativeHandle::create(reinterpret_cast<native_handle_t*>(DEFAULT_SIDEBAND_STREAM), in TEST_F()
|
/frameworks/av/services/tuner/ |
D | TunerFilter.h | 32 using ::aidl::android::hardware::common::NativeHandle; 88 ::ndk::ScopedAStatus getAvSharedHandle(NativeHandle* out_avMemory, 90 ::ndk::ScopedAStatus releaseAvHandle(const NativeHandle& in_handle,
|
/frameworks/native/libs/binder/tests/ |
D | binderSafeInterfaceTest.cpp | 255 virtual status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const = 0; 313 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment() 316 status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, sp<NativeHandle>*) const; in increment() 428 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment() 441 *aPlusOne = NativeHandle::create(rawHandle, true); in increment() 536 using Signature = status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, in onTransact() 537 sp<NativeHandle>*) const; in onTransact() 700 sp<NativeHandle> a = NativeHandle::create(handle, true); in TEST_F() 702 sp<NativeHandle> aPlusOne; in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | IGraphicBufferConsumer.h | 37 class NativeHandle; variable 264 virtual status_t getSidebandStream(sp<NativeHandle>* outStream) const = 0;
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.h | 25 class NativeHandle; variable 57 virtual status_t setSidebandStream(const sp<NativeHandle>& stream);
|
/frameworks/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/current/android/frameworks/automotive/display/ |
D | ICarDisplayProxy.aidl | 39 android.hardware.common.NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/1/android/frameworks/automotive/display/ |
D | ICarDisplayProxy.aidl | 39 android.hardware.common.NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 78 void **buffer_data, sp<NativeHandle> *native_handle); 226 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, 276 OMX_U32 portIndex, const sp<NativeHandle> &nativeHandle,
|
/frameworks/av/media/libstagefright/ |
D | BufferImpl.cpp | 56 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) in SecureBuffer()
|
/frameworks/native/libs/gui/include/gui/mock/ |
D | GraphicBufferConsumer.h | 49 MOCK_CONST_METHOD1(getSidebandStream, status_t(sp<NativeHandle>*));
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputUtilsTemplated.h | 107 inline bool isHandleNull(const aidl::android::hardware::common::NativeHandle &handle) { in isHandleNull() 115 inline size_t numFdsInHandle(const aidl::android::hardware::common::NativeHandle &handle) { in numFdsInHandle() 126 inline int32_t getHandleFirstFd(const aidl::android::hardware::common::NativeHandle &handle) { in getHandleFirstFd()
|