/aosp14/frameworks/base/core/java/android/nfc/ |
H A 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 …]
|
H A D | INfcAdapter.aidl | 56 boolean ignore(int nativeHandle, int debounceMs, ITagRemovedCallback callback); in ignore() argument
|
/aosp14/frameworks/base/core/java/android/util/jar/ |
H A 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 …]
|
/aosp14/frameworks/base/core/jni/ |
H A 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()
|
H A D | android_hardware_SensorManager.cpp | 271 const native_handle_t *nativeHandle = nullptr; in nativeCreateDirectChannel() local 277 nativeHandle = handle; in nativeCreateDirectChannel() 282 nativeHandle = AHardwareBuffer_getNativeHandle(hardwareBuffer); in nativeCreateDirectChannel() 286 if (nativeHandle == nullptr) { in nativeCreateDirectChannel() 291 return mgr->createDirectChannel(deviceId, size, channelType, nativeHandle); in nativeCreateDirectChannel()
|
H A D | android_os_HwBlob.cpp | 501 std::unique_ptr<native_handle_t, int(*)(native_handle_t*)> nativeHandle( in JHwBlob_native_putNativeHandle() local 506 if (nativeHandle != nullptr) { in JHwBlob_native_putNativeHandle() 507 size = sizeof(native_handle_t) + nativeHandle->numFds * sizeof(int) in JHwBlob_native_putNativeHandle() 508 + nativeHandle->numInts * sizeof(int); in JHwBlob_native_putNativeHandle() 514 subBlob->write(0 /* offset */, nativeHandle.get(), size); in JHwBlob_native_putNativeHandle()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | SystemProperties.java | 337 long nativeHandle = native_find(name); in find() local 338 if (nativeHandle == 0) { in find() 341 return new Handle(nativeHandle); in find() 381 private Handle(long nativeHandle) { in Handle() argument 382 mNativeHandle = nativeHandle; in Handle()
|
/aosp14/system/core/healthd/ |
H A D | charger_test.cpp | 112 native_handle_t* nativeHandle = native_handle_create(1, 0); in createHidlHandle() local 113 nativeHandle->data[0] = fd; in createHidlHandle() 115 handle.setTo(nativeHandle, true /* shouldOwn */); in createHidlHandle()
|