/packages/services/Mtp/src/com/android/mtp/ |
D | MtpFileWriter.java | 60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET); in write() 61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size); in write() 80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END); in flush() 85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET); in flush()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/ |
D | BinderHelper.java | 113 errFd = out.getFileDescriptor(); in onTransactForCmd() 115 errFd = err.getFileDescriptor(); in onTransactForCmd() 124 inFd = in.getFileDescriptor(); in onTransactForCmd() 127 int r = cmdListener.onShellCommand(inFd, out.getFileDescriptor(), errFd, args); in onTransactForCmd()
|
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/ |
D | DeviceConfigServiceImpl.java | 77 this, in.getFileDescriptor(), out.getFileDescriptor(), err.getFileDescriptor(), in handleShellCommand()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ClatCoordinatorTest.java | 274 if (Objects.equals(RAW_SOCK_PFD.getFileDescriptor(), sock) in addAnycastSetsockopt() 286 if (Objects.equals(PACKET_SOCK_PFD.getFileDescriptor(), sock) in configurePacketSocket() 299 if (Objects.equals(TUN_PFD.getFileDescriptor(), tunfd) in startClatd() 300 && Objects.equals(PACKET_SOCK_PFD.getFileDescriptor(), readsock6) in startClatd() 301 && Objects.equals(RAW_SOCK_PFD.getFileDescriptor(), writesock6) in startClatd() 429 argThat(fd -> Objects.equals(RAW_SOCK_PFD.getFileDescriptor(), fd)), in testStartStopClatd() 432 argThat(fd -> Objects.equals(RAW_SOCK_PFD.getFileDescriptor(), fd))); in testStartStopClatd() 435 argThat(fd -> Objects.equals(PACKET_SOCK_PFD.getFileDescriptor(), fd)), in testStartStopClatd() 455 argThat(fd -> Objects.equals(TUN_PFD.getFileDescriptor(), fd)), in testStartStopClatd() 456 argThat(fd -> Objects.equals(PACKET_SOCK_PFD.getFileDescriptor(), fd)), in testStartStopClatd() [all …]
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkService.java | 101 in.getFileDescriptor(), in handleShellCommand() 102 out.getFileDescriptor(), in handleShellCommand() 103 err.getFileDescriptor(), in handleShellCommand()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | LocalServerSocketTest.java | 57 assertNotNull(localServerSocket.getFileDescriptor()); in testLocalServerSocket() 59 assertNull(localServerSocket.getFileDescriptor()); in testLocalServerSocket()
|
D | RateLimitTest.java | 194 if (mTunInterface != null) mTunInterface.getFileDescriptor().close(); in tearDown() 221 Os.write(iface.getFileDescriptor().getFileDescriptor(), buffer.array(), 0, in sendPacketsToTunInterfaceForDuration()
|
D | TunUtils.java | 91 FileInputStream in = new FileInputStream(mTunFd.getFileDescriptor()); in receiveFromTun() 251 FileOutputStream out = new FileOutputStream(mTunFd.getFileDescriptor()); in injectPacket()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecManagerTest.java | 195 assertNotNull(encapSocket.getFileDescriptor()); in testOpenEncapsulationSocket() 215 assertNotNull(socket.getFileDescriptor$()); in testApplyTransportModeTransformEnsuresSocketCreation() 227 assertNotNull(socket.getFileDescriptor$()); in testRemoveTransportModeTransformsForcesSocketCreation() 245 assertNotNull(encapSocket.getFileDescriptor()); in testOpenEncapsulationSocketOnRandomPort()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecManager.java | 410 applyTransportModeTransform(socket.getFileDescriptor$(), direction, transform); in applyTransportModeTransform() 444 applyTransportModeTransform(socket.getFileDescriptor$(), direction, transform); in applyTransportModeTransform() 519 removeTransportModeTransforms(socket.getFileDescriptor$()); in removeTransportModeTransforms() 536 removeTransportModeTransforms(socket.getFileDescriptor$()); in removeTransportModeTransforms() 624 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in IpSecManager.UdpEncapsulationSocket 628 return mPfd.getFileDescriptor(); in getFileDescriptor()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHalAidlImpl.java | 75 handle1.getFileDescriptor().getInt$(), handle2.getFileDescriptor().getInt$(), in initOffload() 81 ParcelFileDescriptor.adoptFd(handle1.getFileDescriptor().getInt$()), in initOffload() 82 ParcelFileDescriptor.adoptFd(handle2.getFileDescriptor().getInt$()), in initOffload()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 101 assertTrue(mLocalClient.getFileDescriptor().valid()); in testBindSocketOfLocalSocketThrows() 104 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows() 113 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarTestService.java | 124 mICarImpl.dumpVhal(pipe.getFileDescriptor(), options); in dumpVhal() 202 Looper.myQueue().addOnFileDescriptorEventListener(mReader.getFileDescriptor(), in NativePipe() 217 public ParcelFileDescriptor getFileDescriptor() { in getFileDescriptor() method in CarTestService.NativePipe
|
/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/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeUdpEncapSocket.java | 87 FileDescriptor fd = udpEncapSocket.getFileDescriptor(); in getIkeUdpEncapSocket() 113 return mUdpEncapSocket.getFileDescriptor(); // Returns cached FD in getFd()
|
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/ |
D | PluginCode.java | 130 Lists.transform(fds, fd -> new FileInputStream(fd.nativeFd().getFileDescriptor())); in createFileInputStreamListFromNativeFds() 139 fds, fd -> new FileInputStream(fd.nonNativeFd().getFileDescriptor())); in createFileInputStreamListFromNonNativeFds()
|
/packages/modules/Connectivity/framework-t/api/ |
D | lint-baseline.txt | 54 MissingNullability: android.net.IpSecManager.UdpEncapsulationSocket#getFileDescriptor(): 55 Missing nullability on method `getFileDescriptor` return 80 UseParcelFileDescriptor: android.net.IpSecManager.UdpEncapsulationSocket#getFileDescriptor(): 81 …ead of FileDescriptor in method android.net.IpSecManager.UdpEncapsulationSocket.getFileDescriptor()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/ |
D | KitchenSinkBackupTransport.java | 229 StructStat ss = Os.fstat(data.getFileDescriptor()); in performBackupInternal() 326 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor()); in parseBackupStream() 489 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in performFullBackup() 490 mSocketInputStream = new FileInputStream(mSocket.getFileDescriptor()); in performFullBackup() 710 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData() 810 FileOutputStream stream = new FileOutputStream(socket.getFileDescriptor()); in getNextFullRestoreDataChunk()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothServiceBinder.java | 320 in.getFileDescriptor(), in handleShellCommand() 321 out.getFileDescriptor(), in handleShellCommand() 322 err.getFileDescriptor(), in handleShellCommand()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHalHidlImplTest.java | 109 assertEquals(nativeHandleCaptor1.getValue().getFileDescriptor().getInt$(), in createAndInitOffloadHal() 110 handle1.getFileDescriptor().getInt$()); in createAndInitOffloadHal() 111 assertEquals(nativeHandleCaptor2.getValue().getFileDescriptor().getInt$(), in createAndInitOffloadHal() 112 handle2.getFileDescriptor().getInt$()); in createAndInitOffloadHal()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | QosSocketFilter.java | 125 final FileDescriptor fd = parcelFileDescriptor.getFileDescriptor(); in getLocalAddressFromFileDescriptor() 150 final FileDescriptor fd = parcelFileDescriptor.getFileDescriptor(); in getRemoteAddressFromFileDescriptor()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ClatCoordinator.java | 628 mDeps.addAnycastSetsockopt(writeSock6.getFileDescriptor(), v6Str, ifIndex); in clatStart() 630 cookie = mDeps.getSocketCookie(writeSock6.getFileDescriptor()); in clatStart() 634 mDeps.configurePacketSocket(readSock6.getFileDescriptor(), v6Str, ifIndex); in clatStart() 662 final int pid = mDeps.startClatd(tunFd.getFileDescriptor(), in clatStart() 663 readSock6.getFileDescriptor(), writeSock6.getFileDescriptor(), iface, pfx96Str, in clatStart()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 209 FileDescriptor fd = downstreamIface.getFileDescriptor().getFileDescriptor(); in testVirtualEthernetAlreadyExists() 242 FileDescriptor fd = downstreamIface.getFileDescriptor().getFileDescriptor(); in testVirtualEthernet() 290 FileDescriptor fd = downstreamIface.getFileDescriptor().getFileDescriptor(); in testStaticIpv4()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TunUtils.java | 97 FileInputStream in = new FileInputStream(mTunFd.getFileDescriptor()); in receiveFromTun() 268 FileOutputStream out = new FileOutputStream(mTunFd.getFileDescriptor()); in injectPacket()
|
/packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/ |
D | AoapPhoneCompanionActivity.java | 163 mInputStream = new FileInputStream(fd.getFileDescriptor()); in ProcessorThread() 164 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in ProcessorThread()
|