/frameworks/base/core/java/android/nfc/ |
D | INfcTag.aidl | 28 int connect(int nativeHandle, int technology); in connect() argument 29 int reconnect(int nativeHandle); in reconnect() argument 30 int[] getTechList(int nativeHandle); in getTechList() argument 31 boolean isNdef(int nativeHandle); in isNdef() argument 32 boolean isPresent(int nativeHandle); in isPresent() argument 33 TransceiveResult transceive(int nativeHandle, in byte[] data, boolean raw); in transceive() argument 35 NdefMessage ndefRead(int nativeHandle); in ndefRead() argument 36 int ndefWrite(int nativeHandle, in NdefMessage msg); in ndefWrite() argument 37 int ndefMakeReadOnly(int nativeHandle); in ndefMakeReadOnly() argument 38 boolean ndefIsWritable(int nativeHandle); in ndefIsWritable() argument [all …]
|
D | INfcAdapter.aidl | 60 boolean ignore(int nativeHandle, int debounceMs, ITagRemovedCallback callback); in ignore() argument
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 50 private final long nativeHandle; field in StrictJarFile 105 this.nativeHandle = nativeOpenJarFile(name, fd.getInt$()); in StrictJarFile() 135 nativeClose(this.nativeHandle); in StrictJarFile() 149 return new EntryIterator(nativeHandle, ""); in iterator() 153 return nativeFindEntry(nativeHandle, name); in findEntry() 228 nativeClose(nativeHandle); in close() 263 EntryIterator(long nativeHandle, String prefix) throws IOException { in EntryIterator() argument 264 iterationHandle = nativeStartIteration(nativeHandle, prefix); in EntryIterator() 299 Iterator<ZipEntry> entryIterator = new EntryIterator(nativeHandle, "META-INF/"); in getMetaEntries() 497 private static native long nativeStartIteration(long nativeHandle, String prefix); in nativeStartIteration() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_util_jar_StrictJarFile.cpp | 95 jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration() argument 103 int32_t error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration() 129 jobject StrictJarFile_nativeFindEntry(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeFindEntry() argument 137 const int32_t error = FindEntry(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeFindEntry() 146 void StrictJarFile_nativeClose(JNIEnv*, jobject, jlong nativeHandle) { in StrictJarFile_nativeClose() argument 147 CloseArchive(reinterpret_cast<ZipArchiveHandle>(nativeHandle)); in StrictJarFile_nativeClose()
|
D | android_hardware_SensorManager.cpp | 237 const native_handle_t *nativeHandle = nullptr; in nativeCreateDirectChannel() local 243 nativeHandle = handle; in nativeCreateDirectChannel() 248 nativeHandle = AHardwareBuffer_getNativeHandle(hardwareBuffer); in nativeCreateDirectChannel() 252 if (nativeHandle == nullptr) { in nativeCreateDirectChannel() 257 return mgr->createDirectChannel(size, channelType, nativeHandle); in nativeCreateDirectChannel()
|
D | android_os_HwBlob.cpp | 491 std::unique_ptr<native_handle_t, int(*)(native_handle_t*)> nativeHandle( in JHwBlob_native_putNativeHandle() local 496 if (nativeHandle != nullptr) { in JHwBlob_native_putNativeHandle() 497 size = sizeof(native_handle_t) + nativeHandle->numFds * sizeof(int) in JHwBlob_native_putNativeHandle() 498 + nativeHandle->numInts * sizeof(int); in JHwBlob_native_putNativeHandle() 504 subBlob->write(0 /* offset */, nativeHandle.get(), size); in JHwBlob_native_putNativeHandle()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 613 t->nativeHandle = hidl_handle(l.handle); in wrapAs() 629 if (t.nativeHandle != nullptr) { in convertTo() 630 handle = native_handle_clone(t.nativeHandle); in convertTo() 633 t.nativeHandle->numFds, in convertTo() 634 (t.nativeHandle->numFds > 0) ? t.nativeHandle->data[0] : -1, in convertTo() 635 (t.nativeHandle->numFds > 1) ? t.nativeHandle->data[1] : -1); in convertTo() 687 t->nativeHandle = hidl_handle(); in wrapAs() 726 t->nativeHandle = l.mGraphicBuffer->handle; in wrapAs() 731 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs() 763 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo() [all …]
|
/frameworks/base/core/java/android/os/ |
D | SystemProperties.java | 342 long nativeHandle = native_find(name); in find() local 343 if (nativeHandle == 0) { in find() 346 return new Handle(nativeHandle); in find() 386 private Handle(long nativeHandle) { in Handle() argument 387 mNativeHandle = nativeHandle; in Handle()
|
/frameworks/hardware/interfaces/bufferhub/1.0/ |
D | IBufferHub.hal | 42 * @param nativeHandle Handle received from allocateBuffer. 46 * the nativeHandle passed in. 49 importBuffer(handle nativeHandle)
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 412 t->nativeHandle = hidl_handle(); in wrapAs() 430 t->nativeHandle = graphicBuffer->handle; in wrapAs() 444 t->nativeHandle = hidl_handle(); in wrapAs() 471 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs() 503 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo() 508 anwBuffer.nativeHandle = t.nativeHandle; in convertTo() 520 native_handle_clone(t.nativeHandle), true)); in convertTo()
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.cpp | 300 void **bufferData, sp<NativeHandle> *nativeHandle) { in allocateSecureBuffer() argument 303 (void)nativeHandle; in allocateSecureBuffer() 360 native_handle_t *nativeHandle = reinterpret_cast<native_handle_t*>(handle); in emptyBuffer() local 361 fd0.reset(nativeHandle->numFds > 0 ? nativeHandle->data[0] : -1); in emptyBuffer() 362 fd1.reset(nativeHandle->numFds > 1 ? nativeHandle->data[1] : -1); in emptyBuffer()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 276 int nativeHandle = mDirectConnectionHandle++; in createDirectChannel() local 277 mDirectConnection.emplace(nativeHandle, conn); in createDirectChannel() 278 return nativeHandle; in createDirectChannel()
|
/frameworks/ml/nn/runtime/ |
D | Memory.cpp | 558 native_handle_t* nativeHandle = native_handle_create(1, 3); in create() local 559 if (nativeHandle == nullptr) { in create() 565 nativeHandle->data[0] = dupfd; in create() 566 nativeHandle->data[1] = prot; in create() 568 nativeHandle->data[2] = (int32_t)(uint32_t)(bits & 0xffffffff); in create() 569 nativeHandle->data[3] = (int32_t)(uint32_t)(bits >> 32); in create() 574 hidlHandle.setTo(nativeHandle, /*shouldOwn=*/true); in create()
|
D | Manager.cpp | 488 native_handle_t* nativeHandle = native_handle_create(1, 0); in executeFenced() local 489 if (nativeHandle == nullptr) { in executeFenced() 498 nativeHandle->data[0] = dupFd; in executeFenced() 500 hidlHandle.setTo(nativeHandle, /*shouldOwn=*/true); in executeFenced()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 347 sp<NativeHandle> nativeHandle; in allocateSecureBuffer() local 353 &nativeHandle)); in allocateSecureBuffer() 354 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer() 355 nullptr : nativeHandle->handle()); in allocateSecureBuffer()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 350 sp<NativeHandle> nativeHandle; in allocateSecureBuffer() local 356 &nativeHandle)); in allocateSecureBuffer() 357 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer() 358 nullptr : nativeHandle->handle()); in allocateSecureBuffer()
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | types.cpp | 266 to->nativeHandle.setTo( in b2h() 284 native_handle_t const* handle = from.nativeHandle; in h2b()
|
/frameworks/av/media/codec2/vndk/ |
D | types.cpp | 273 to->nativeHandle.setTo( in b2h() 291 native_handle_t const* handle = from.nativeHandle; in h2b()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 226 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, 276 OMX_U32 portIndex, const sp<NativeHandle> &nativeHandle,
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 177 void setNativeHandle(const sp<NativeHandle> &nativeHandle) { in setNativeHandle() 178 mNativeHandle = nativeHandle; in setNativeHandle() 1570 OMX_U32 portIndex, const sp<NativeHandle>& nativeHandle, in updateNativeHandleInMeta_l() argument 1584 bufferMeta->setNativeHandle(nativeHandle); in updateNativeHandleInMeta_l() 1590 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l() 1599 nativeHandle == NULL ? NULL : nativeHandle->handle()); in updateNativeHandleInMeta_l() 2084 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, in emptyNativeHandleBuffer_l() argument 2093 kPortIndexInput, nativeHandle, buffer, header); in emptyNativeHandleBuffer_l() 2101 header->nFilledLen = (nativeHandle == NULL) ? 0 : sizeof(VideoNativeMetadata); in emptyNativeHandleBuffer_l()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 190 t->nativeHandle = hidl_handle(l.handle); in wrapAs() 204 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo() 205 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
|
D | H2BGraphicBufferProducer.cpp | 138 t->nativeHandle = hidl_handle(l.handle); in wrapAs() 152 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo() 153 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 535 sp<NativeHandle> nativeHandle = NativeHandle::create(sidebandStream, true); in TEST_P() local 560 ASSERT_EQ(producer->setSidebandStream(nativeHandle), NO_ERROR); in TEST_P()
|