/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 | 28 import android.hardware.common.NativeHandle; 89 byte enrollmentType, byte[] features, NativeHandle previewSurface) { in createSession() 203 NativeHandle previewSurface, OperationContext context) { in createSession()
|
/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; 66 NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/hardware/interfaces/cameraservice/device/aidl/android/frameworks/cameraservice/device/ |
D | OutputConfiguration.aidl | 19 import android.hardware.common.NativeHandle; 61 NativeHandle[] windowHandles;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TunnelModeEnabledReporterTest.cpp | 127 sp<NativeHandle> stream = in TEST_F() 128 NativeHandle::create(reinterpret_cast<native_handle_t*>(DEFAULT_SIDEBAND_STREAM), in TEST_F() 151 sp<NativeHandle> stream = in TEST_F() 152 NativeHandle::create(reinterpret_cast<native_handle_t*>(DEFAULT_SIDEBAND_STREAM), in TEST_F()
|
/frameworks/av/media/libmedia/include/media/ |
D | OMXBuffer.h | 50 class NativeHandle; variable 81 OMXBuffer(const sp<NativeHandle> &handle); 134 sp<NativeHandle> mNativeHandle;
|
/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/hardware/interfaces/automotive/display/aidl/vts/functional/ |
D | VtsHalCarDisplayTargetTest.cpp | 35 using ::aidl::android::hardware::common::NativeHandle; 37 android::sp<HGraphicBufferProducer> convertNativeHandleToHGBP(const NativeHandle& aidlHandle) { in convertNativeHandleToHGBP() 93 NativeHandle handle; in TEST_P()
|
/frameworks/native/libs/binder/tests/ |
D | binderSafeInterfaceTest.cpp | 258 virtual status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const = 0; 316 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment() 319 status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, sp<NativeHandle>*) const; in increment() 431 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment() 444 *aPlusOne = NativeHandle::create(rawHandle, true); in increment() 539 using Signature = status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, in onTransact() 540 sp<NativeHandle>*) const; in onTransact() 708 sp<NativeHandle> a = NativeHandle::create(handle, true); in TEST_F() 710 sp<NativeHandle> aPlusOne; in TEST_F()
|
/frameworks/av/services/tuner/ |
D | TunerFilter.h | 32 using ::aidl::android::hardware::common::NativeHandle; 90 ::ndk::ScopedAStatus getAvSharedHandle(NativeHandle* out_avMemory, 92 ::ndk::ScopedAStatus releaseAvHandle(const NativeHandle& in_handle,
|
/frameworks/av/services/camera/virtualcamera/util/ |
D | Util.cc | 37 using ::aidl::android::hardware::common::NativeHandle; 119 sp<Fence> importFence(const NativeHandle& aidlHandle) { in importFence()
|
/frameworks/native/libs/gui/include/gui/ |
D | IGraphicBufferConsumer.h | 37 class NativeHandle; variable 264 virtual status_t getSidebandStream(sp<NativeHandle>* outStream) const = 0;
|
/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/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/current/android/frameworks/automotive/display/ |
D | ICarDisplayProxy.aidl | 42 android.hardware.common.NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/2/android/frameworks/automotive/display/ |
D | ICarDisplayProxy.aidl | 42 android.hardware.common.NativeHandle getHGraphicBufferProducer(in long id); in getHGraphicBufferProducer()
|
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/1/android/frameworks/cameraservice/device/ |
D | OutputConfiguration.aidl | 37 android.hardware.common.NativeHandle[] windowHandles;
|
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/2/android/frameworks/cameraservice/device/ |
D | OutputConfiguration.aidl | 40 android.hardware.common.NativeHandle[] windowHandles;
|
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/current/android/frameworks/cameraservice/device/ |
D | OutputConfiguration.aidl | 40 android.hardware.common.NativeHandle[] windowHandles;
|