Home
last modified time | relevance | path

Searched refs:nativeHandle (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/nfc/
DINfcTag.aidl28 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 …]
DINfcAdapter.aidl60 boolean ignore(int nativeHandle, int debounceMs, ITagRemovedCallback callback); in ignore() argument
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp93 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration() argument
103 error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration()
107 error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration()
138 static jobject StrictJarFile_nativeFindEntry(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeFindEntry() argument
146 const int32_t error = FindEntry(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeFindEntry()
155 static void StrictJarFile_nativeClose(JNIEnv*, jobject, jlong nativeHandle) { in StrictJarFile_nativeClose() argument
156 CloseArchive(reinterpret_cast<ZipArchiveHandle>(nativeHandle)); in StrictJarFile_nativeClose()
Dandroid_hardware_SensorManager.cpp237 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()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java50 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()
490 private static native long nativeStartIteration(long nativeHandle, String prefix); in nativeStartIteration() argument
[all …]
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h567 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
581 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
582 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
631 t->nativeHandle = hidl_handle(); in wrapAs()
670 t->nativeHandle = l.mGraphicBuffer->handle; in wrapAs()
675 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()
707 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo()
712 anwBuffer.nativeHandle = t.nativeHandle; in convertTo()
723 native_handle_clone(t.nativeHandle), true)); in convertTo()
/frameworks/native/libs/sensor/
DSensorManager.cpp275 int nativeHandle = mDirectConnectionHandle++; in createDirectChannel() local
276 mDirectConnection.emplace(nativeHandle, conn); in createDirectChannel()
277 return nativeHandle; in createDirectChannel()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp149 native_handle_t* nativeHandle = native_handle_create(1, 0); in ensureBufferCapacity() local
150 if (!nativeHandle) { in ensureBufferCapacity()
154 nativeHandle->data[0] = heap->getHeapID(); in ensureBufferCapacity()
156 hidl_handle(nativeHandle), heap->getSize()); in ensureBufferCapacity()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp234 native_handle_t* nativeHandle = native_handle_create(1, 0); in setHeapBase() local
235 if (!nativeHandle) { in setHeapBase()
245 nativeHandle->data[0] = fd; in setHeapBase()
246 auto hidlHandle = hidl_handle(nativeHandle); in setHeapBase()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp349 sp<NativeHandle> nativeHandle; in allocateSecureBuffer() local
355 &nativeHandle)); in allocateSecureBuffer()
356 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer()
357 nullptr : nativeHandle->handle()); in allocateSecureBuffer()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp346 sp<NativeHandle> nativeHandle; in allocateSecureBuffer() local
352 &nativeHandle)); in allocateSecureBuffer()
353 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer()
354 nullptr : nativeHandle->handle()); in allocateSecureBuffer()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp311 native_handle_t* nativeHandle = native_handle_create(1, 0); in makeMemoryDealer() local
312 if (nativeHandle != nullptr) { in makeMemoryDealer()
314 nativeHandle->data[0] = fd; in makeMemoryDealer()
315 mHidlMemory = hidl_memory("ashmem", hidl_handle(nativeHandle), heap->getSize()); in makeMemoryDealer()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h560 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
574 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
575 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
623 t->nativeHandle = hidl_handle(); in wrapAs()
641 t->nativeHandle = graphicBuffer->handle; in wrapAs()
655 t->nativeHandle = hidl_handle(); in wrapAs()
682 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()
714 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo()
719 anwBuffer.nativeHandle = t.nativeHandle; in convertTo()
730 native_handle_clone(t.nativeHandle), true)); in convertTo()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXNodeInstance.h225 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle,
275 OMX_U32 portIndex, const sp<NativeHandle> &nativeHandle,
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp173 void setNativeHandle(const sp<NativeHandle> &nativeHandle) { in setNativeHandle()
174 mNativeHandle = nativeHandle; in setNativeHandle()
1444 OMX_U32 portIndex, const sp<NativeHandle>& nativeHandle, in updateNativeHandleInMeta_l() argument
1458 bufferMeta->setNativeHandle(nativeHandle); in updateNativeHandleInMeta_l()
1464 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l()
1473 nativeHandle == NULL ? NULL : nativeHandle->handle()); in updateNativeHandleInMeta_l()
1923 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, in emptyNativeHandleBuffer_l() argument
1932 kPortIndexInput, nativeHandle, buffer, header); in emptyNativeHandleBuffer_l()
1940 header->nFilledLen = (nativeHandle == NULL) ? 0 : sizeof(VideoNativeMetadata); in emptyNativeHandleBuffer_l()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp133 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
147 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
148 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp852 native_handle_t* nativeHandle = native_handle_create(1, 0); in ensureBufferCapacity() local
853 if (!nativeHandle) { in ensureBufferCapacity()
857 nativeHandle->data[0] = heap->getHeapID(); in ensureBufferCapacity()
859 hidl_handle(nativeHandle), heap->getSize()); in ensureBufferCapacity()