Home
last modified time | relevance | path

Searched refs:nativeHandle (Results 1 – 12 of 12) 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.aidl59 boolean ignore(int nativeHandle, int debounceMs, ITagRemovedCallback callback); in ignore() argument
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java45 private final long nativeHandle; field in StrictJarFile
77 this.nativeHandle = nativeOpenJarFile(fileName); in StrictJarFile()
107 nativeClose(this.nativeHandle); in StrictJarFile()
120 return new EntryIterator(nativeHandle, ""); in iterator()
124 return nativeFindEntry(nativeHandle, name); in findEntry()
197 nativeClose(nativeHandle); in close()
220 EntryIterator(long nativeHandle, String prefix) throws IOException { in EntryIterator() argument
221 iterationHandle = nativeStartIteration(nativeHandle, prefix); in EntryIterator()
256 Iterator<ZipEntry> entryIterator = new EntryIterator(nativeHandle, "META-INF/"); in getMetaEntries()
448 private static native long nativeStartIteration(long nativeHandle, String prefix); in nativeStartIteration() argument
[all …]
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp90 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration() argument
100 error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration()
104 error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration()
135 static jobject StrictJarFile_nativeFindEntry(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeFindEntry() argument
143 const int32_t error = FindEntry(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeFindEntry()
152 static void StrictJarFile_nativeClose(JNIEnv*, jobject, jlong nativeHandle) { in StrictJarFile_nativeClose() argument
153 CloseArchive(reinterpret_cast<ZipArchiveHandle>(nativeHandle)); in StrictJarFile_nativeClose()
/frameworks/av/media/libmedia/
DICrypto.cpp313 native_handle_t *nativeHandle = NULL; in onTransact() local
316 nativeHandle = data.readNativeHandle(); in onTransact()
317 dstPtr = static_cast<void *>(nativeHandle); in onTransact()
378 if ((err = native_handle_close(nativeHandle)) < 0) { in onTransact()
381 if ((err = native_handle_delete(nativeHandle)) < 0) { in onTransact()
DIOMX.cpp320 const sp<NativeHandle> &nativeHandle, buffer_id buffer) { in updateNativeHandleInMeta() argument
325 data.writeInt32(nativeHandle != NULL); in updateNativeHandleInMeta()
326 if (nativeHandle != NULL) { in updateNativeHandleInMeta()
327 data.writeNativeHandle(nativeHandle->handle()); in updateNativeHandleInMeta()
/frameworks/av/media/libstagefright/
DOMXClient.cpp116 const sp<NativeHandle> &nativeHandle, buffer_id buffer);
402 const sp<NativeHandle> &nativeHandle, buffer_id buffer) { in updateNativeHandleInMeta() argument
404 node, port_index, nativeHandle, buffer); in updateNativeHandleInMeta()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp158 void setNativeHandle(const sp<NativeHandle> &nativeHandle) { in setNativeHandle()
159 mNativeHandle = nativeHandle; in setNativeHandle()
908 OMX_U32 portIndex, const sp<NativeHandle>& nativeHandle, OMX::buffer_id buffer) { in updateNativeHandleInMeta() argument
925 bufferMeta->setNativeHandle(nativeHandle); in updateNativeHandleInMeta()
931 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta()
940 nativeHandle == NULL ? NULL : nativeHandle->handle()); in updateNativeHandleInMeta()
DOMX.cpp493 const sp<NativeHandle> &nativeHandle, buffer_id buffer) { in updateNativeHandleInMeta() argument
501 port_index, nativeHandle, buffer); in updateNativeHandleInMeta()
/frameworks/av/media/libstagefright/include/
DOMX.h98 const sp<NativeHandle> &nativeHandle, buffer_id buffer);
DOMXNodeInstance.h83 OMX_U32 portIndex, const sp<NativeHandle> &nativeHandle,
/frameworks/av/include/media/
DIOMX.h124 const sp<NativeHandle> &nativeHandle, buffer_id buffer) = 0;