/packages/services/Car/cpp/evs/apps/default/src/ |
D | Utils.cpp | 30 NativeHandle dup; in dupNativeHandle() local 32 dup.fds = std::vector<::ndk::ScopedFileDescriptor>(handle.fds.size()); in dupNativeHandle() 35 dup.fds[i] = std::move(handle.fds[i].dup()); in dupNativeHandle() 37 dup.ints = handle.ints; in dupNativeHandle() 39 return std::move(dup); in dupNativeHandle() 43 HardwareBuffer dup = { in dupHardwareBuffer() local 48 return std::move(dup); in dupHardwareBuffer() 54 BufferDesc dup = { in dupBufferDesc() local 63 return std::move(dup); in dupBufferDesc()
|
/packages/services/Car/service/jni/evs/ |
D | StreamHandler.cpp | 40 NativeHandle dup; in dupNativeHandle() local 42 dup.fds = std::vector<::ndk::ScopedFileDescriptor>(handle.fds.size()); in dupNativeHandle() 45 dup.fds.at(i).set(handle.fds[i].get()); in dupNativeHandle() 49 dup.fds[i] = std::move(handle.fds[i].dup()); in dupNativeHandle() 52 dup.ints = handle.ints; in dupNativeHandle() 54 return std::move(dup); in dupNativeHandle() 58 HardwareBuffer dup = { in dupHardwareBuffer() local 63 return std::move(dup); in dupHardwareBuffer() 67 BufferDesc dup = { in dupBufferDesc() local 76 return std::move(dup); in dupBufferDesc()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 248 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local 249 dup.limit(dup.position() + len); in bytesToBingoCard() 250 return bytesToBingoCard(dup); in bytesToBingoCard() 254 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local 256 while (dup.hasRemaining()) { in bytesToBingoCard() 257 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard() 259 dup = data.duplicate(); in bytesToBingoCard() 261 while (dup.hasRemaining()) { in bytesToBingoCard() 262 sbx.append(String.format("%c", toAscii(dup.get() & BYTE_MASK))); in bytesToBingoCard()
|
/packages/services/Car/cpp/evs/manager/aidl/utils/src/ |
D | Utils.cpp | 521 NativeHandle dup; in dupNativeHandle() local 523 dup.fds = std::vector<::ndk::ScopedFileDescriptor>(handle.fds.size()); in dupNativeHandle() 526 dup.fds.at(i).set(handle.fds[i].get()); in dupNativeHandle() 530 dup.fds[i] = std::move(handle.fds[i].dup()); in dupNativeHandle() 533 dup.ints = handle.ints; in dupNativeHandle() 535 return std::move(dup); in dupNativeHandle() 539 HardwareBuffer dup = { in dupHardwareBuffer() local 544 return std::move(dup); in dupHardwareBuffer() 548 BufferDesc dup = { in dupBufferDesc() local 557 return std::move(dup); in dupBufferDesc()
|
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/ |
D | PluginCode.java | 113 public static CloseableList<PluginCode> dup(Iterable<PluginCode> source) throws IOException { in dup() method in PluginCode 118 .setNativeFd(pluginCode.nativeFd().dup()) in dup() 119 .setNonNativeFd(pluginCode.nonNativeFd().dup()) in dup()
|
/packages/services/Car/car-lib/src/android/car/telemetry/ |
D | CarTelemetryManager.java | 476 ParcelFileDescriptor dup = null; in onResult() local 478 dup = reportFileDescriptor.dup(); in onResult() 485 final ParcelFileDescriptor readFd = dup; in onResult()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Event.h | 69 mSyncFenceFd = dup(sync_fence_fd); in SyncFenceEvent() 110 return dup(mSyncFenceFd); in getSyncFenceFd()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | RemoteSocketFactoryClient.java | 88 final FileDescriptor fd = Os.dup(pfd.getFileDescriptor()); in openSocketFd() 98 final FileDescriptor fd = Os.dup(pfd.getFileDescriptor()); in openDatagramSocketFd()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommand.java | 183 try (ParcelFileDescriptor pfdIn = ParcelFileDescriptor.dup(getInFileDescriptor()); in runAdServicesShellCommand() 184 ParcelFileDescriptor pfdOut = ParcelFileDescriptor.dup(getOutFileDescriptor()); in runAdServicesShellCommand() 185 ParcelFileDescriptor pfdErr = ParcelFileDescriptor.dup(getErrFileDescriptor())) { in runAdServicesShellCommand()
|
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/ |
D | MockEvsHal.cpp | 72 NativeHandle dup; in copyNativeHandle() local 74 dup.fds = std::vector<ndk::ScopedFileDescriptor>(handle.fds.size()); in copyNativeHandle() 77 dup.fds.at(i).set(handle.fds[i].get()); in copyNativeHandle() 81 dup.fds[i] = std::move(handle.fds[i].dup()); in copyNativeHandle() 84 dup.ints = handle.ints; in copyNativeHandle() 86 return std::move(dup); in copyNativeHandle()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 2590 ParcelFileDescriptor dup; in createSocketKeepalive() local 2594 dup = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in createSocketKeepalive() 2598 dup = createInvalidFd(); in createSocketKeepalive() 2600 return new NattSocketKeepalive(mService, network, dup, socket.getResourceId(), source, in createSocketKeepalive() 2633 ParcelFileDescriptor dup; in createNattKeepalive() local 2636 dup = pfd.dup(); in createNattKeepalive() 2640 dup = createInvalidFd(); in createNattKeepalive() 2642 return new NattSocketKeepalive(mService, network, dup, in createNattKeepalive() 2670 ParcelFileDescriptor dup; in createSocketKeepalive() local 2672 dup = ParcelFileDescriptor.fromSocket(socket); in createSocketKeepalive() [all …]
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | ProxyDataSourceCallback.java | 38 mPFD = pfd.dup(); in ProxyDataSourceCallback()
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/ |
D | SharedMemory.h | 74 unique_fd fd(dup(getFd())); in getDupFd()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecUdpEncapResponse.java | 77 fileDescriptor = (status == IpSecManager.Status.OK) ? ParcelFileDescriptor.dup(inFd) : null; in IpSecUdpEncapResponse()
|
D | IpSecManager.java | 493 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.dup(socket)) { in applyTransportModeTransform() 553 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.dup(socket)) { in removeTransportModeTransforms()
|
/packages/modules/Bluetooth/floss/pandora/server/ |
D | l2cap.py | 157 fd_dup = os.dup(fd) 229 fd_dup = os.dup(fd)
|
D | rfcomm.py | 100 fd_dup = os.dup(fd) 272 fd_dup = os.dup(fd)
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/ |
D | DataBrokerTest.java | 753 ParcelFileDescriptor dup = null; in invokeScriptForLargeInput() local 755 dup = publishedDataFileDescriptor.dup(); in invokeScriptForLargeInput() 757 final ParcelFileDescriptor fd = Objects.requireNonNull(dup); in invokeScriptForLargeInput()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/wallpaperconnection/ |
D | WallpaperConnectionUtils.kt | 189 val dup = MotionEvent.obtainNoHistory(event).also { it.setLocation(event.x, event.y) } in <lambda>() constant 192 engine.dispatchPointer(dup) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LivePreviewFragment.java | 274 MotionEvent dup = MotionEvent.obtainNoHistory(ev); 275 dup.setLocation(ev.getX(), ev.getY()); 277 mWallpaperConnection.getEngine().dispatchPointer(dup);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarTestServiceUnitTest.java | 97 fdHolder[0] = fd.dup(); in testDumpVhal_VhalNotClosingFd()
|
/packages/modules/Virtualization/libs/android_display_backend/ |
D | crosvm_android_display_client.cpp | 76 mCursorStream = ndk::ScopedFileDescriptor(dup(in_stream.get())); in setCursorStream()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | LargeParcelable.java | 283 SharedMemory memory = SharedMemory.fromFileDescriptor(sharedMemoryFd.dup()); in reconstructStableAIDLParcelable()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | CarTelemetryServiceTest.java | 339 ParcelFileDescriptor readFd = fds[0].dup(); in testGetFinishedReport_whenMultiple_shouldReceiveCorrectStatusCode() 395 ParcelFileDescriptor readFd = fds[0].dup(); in testGetAllFinishedReports_shouldSendEverything()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredT3tIdentifiersCache.java | 247 pFd = ParcelFileDescriptor.dup(fd); in dump()
|