Home
last modified time | relevance | path

Searched refs:nativeHandle (Results 1 – 14 of 14) 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.h609 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
623 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
624 nullptr : native_handle_clone(t.nativeHandle); in convertTo()
673 t->nativeHandle = hidl_handle(); in wrapAs()
712 t->nativeHandle = l.mGraphicBuffer->handle; in wrapAs()
717 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()
749 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo()
754 anwBuffer.nativeHandle = t.nativeHandle; in convertTo()
765 native_handle_clone(t.nativeHandle), true)); in convertTo()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h471 t->nativeHandle = hidl_handle(); in wrapAs()
489 t->nativeHandle = graphicBuffer->handle; in wrapAs()
503 t->nativeHandle = hidl_handle(); in wrapAs()
530 t->nativeHandle = l.mNativeHandle->handle(); in wrapAs()
562 if (t.nativeHandle.getNativeHandle() == nullptr) { in convertTo()
567 anwBuffer.nativeHandle = t.nativeHandle; in convertTo()
578 native_handle_clone(t.nativeHandle), true)); in convertTo()
/frameworks/native/libs/sensor/
DSensorManager.cpp276 int nativeHandle = mDirectConnectionHandle++; in createDirectChannel() local
277 mDirectConnection.emplace(nativeHandle, conn); in createDirectChannel()
278 return nativeHandle; in createDirectChannel()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp347 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/
DWOmxNode.cpp350 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/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXNodeInstance.h226 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle,
276 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()
1443 OMX_U32 portIndex, const sp<NativeHandle>& nativeHandle, in updateNativeHandleInMeta_l() argument
1457 bufferMeta->setNativeHandle(nativeHandle); in updateNativeHandleInMeta_l()
1463 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l()
1472 nativeHandle == NULL ? NULL : nativeHandle->handle()); in updateNativeHandleInMeta_l()
1938 IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, in emptyNativeHandleBuffer_l() argument
1947 kPortIndexInput, nativeHandle, buffer, header); in emptyNativeHandleBuffer_l()
1955 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/bqhelper/
DConversion.cpp204 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
218 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
219 nullptr : native_handle_clone(t.nativeHandle); in convertTo()