/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | BpfMap.java | 138 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), BPF_ANY); in updateEntry() 149 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertEntry() 166 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in replaceEntry() 185 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertOrReplaceEntry() 192 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertOrReplaceEntry() 210 return nativeDeleteMapEntry(mMapFd.getFd(), key.writeToBytes()); in deleteEntry() 216 if (!nativeGetNextMapKey(mMapFd.getFd(), in getNextKeyInternal() 249 return nativeFindMapEntry(mMapFd.getFd(), key.writeToBytes(), rawValue); in containsKey() 258 if (!nativeFindMapEntry(mMapFd.getFd(), key.writeToBytes(), rawValue)) return null; in getValue()
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/ |
D | SharedMemory.h | 66 inline int getFd() const { in getFd() function 74 unique_fd fd(dup(getFd())); in getDupFd() 81 return std::unique_ptr<MappedFile>(new MappedFile(getFd(), mSize, writable)); in mapReadWrite() 86 return std::unique_ptr<MappedFile>(new MappedFile(getFd(), mSize, writable)); in mapReadOnly()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSocket.java | 167 network.bindSocket(getFd()); in bindToNetwork() 171 FileInputStream in = new FileInputStream(getFd()); in receiveFromFd() 193 InetSocketAddress localAddr = (InetSocketAddress) Os.getsockname(getFd()); in getLocalPort() 197 protected abstract FileDescriptor getFd(); in getFd() method in IkeSocket 200 return getFd(); in createFd()
|
D | IkeUdpEncapSocket.java | 64 mUdpEncapPortPacketHandler = new IkeUdpEncapPortPacketHandler(getFd()); in IkeUdpEncapSocket() 112 protected FileDescriptor getFd() { in getFd() method in IkeUdpEncapSocket
|
D | IkeUdp6WithEncapPortSocket.java | 59 mUdpEncapPortPacketHandler = new IkeUdpEncapPortPacketHandler(getFd()); in IkeUdp6WithEncapPortSocket()
|
D | IkeUdpSocket.java | 52 protected FileDescriptor getFd() { in getFd() method in IkeUdpSocket
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSocketTestBase.java | 253 assertTrue(isFdOpen(ikeSocketOne.getFd())); in verifyGetAndCloseIkeSocketSameConfig() 257 verifyCloseFd(ikeSocketTwo.getFd()); in verifyGetAndCloseIkeSocketSameConfig() 288 FileDescriptor fdOne = ikeSocketOne.getFd(); in verifyGetAndCloseIkeSocketDifferentConfig() 289 FileDescriptor fdTwo = ikeSocketTwo.getFd(); in verifyGetAndCloseIkeSocketDifferentConfig() 296 verifyCloseFd(ikeSocketOne.getFd()); in verifyGetAndCloseIkeSocketDifferentConfig() 300 verifyCloseFd(ikeSocketTwo.getFd()); in verifyGetAndCloseIkeSocketDifferentConfig()
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualizationService.java | 70 IBinder binder = nativeConnect(mClientFd.getFd()); in VirtualizationService() 88 return nativeIsOk(mClientFd.getFd()); in isOk()
|
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/ |
D | IImsMediaImpl.java | 82 final int socketFdRtp = (localEndPoint.rtpFd != null) ? localEndPoint.rtpFd.getFd() : -1; in openSession() 83 final int socketFdRtcp = (localEndPoint.rtcpFd != null) ? localEndPoint.rtcpFd.getFd() : -1; in openSession()
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/ |
D | SharedMemory.cpp | 88 int result = ashmem_set_prot_region(getFd(), PROT_READ); in lock()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/ |
D | FileUtils.java | 98 LogUtil.e(TAG, e, "Failed to read the content of binary file %d", fd.getFd()); in readFileDescriptorAsByteArray()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | VpnServiceTest.java | 131 assertFalse(mVpnService.protect(descriptor.getFd())); in testProtect_int()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHalAidlImplTest.java | 102 assertEquals(fdCaptor1.getValue().getFd(), fd1.getInt$()); in initAndValidateOffloadHal() 103 assertEquals(fdCaptor2.getValue().getFd(), fd2.getInt$()); in initAndValidateOffloadHal()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 679 if (!fence.hasFd() || fence.getFd() < 0) { in executeFenced() 684 LOG(ERROR) << "syncWait failed, fd: " << fence.getFd() << ", state: " << r; in executeFenced() 700 syncFenceFd = dup(syncFence.getFd()); in executeFenced() 823 if (!fence.hasFd() || fence.getFd() < 0) { in computeFenced() 828 LOG(ERROR) << "syncWait failed, fd: " << fence.getFd() << ", state: " << r; in computeFenced() 842 syncFenceFd = dup(syncFence.getFd()); in computeFenced()
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/ |
D | MappedFileSharedMemoryTest.cpp | 157 int fd = sm.getFd(); in TEST()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | FileUtil.java | 145 int fd = pfd.getFd(); in isContentUriInPrivateDir()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | Types.cpp | 189 int SyncFence::getFd() const { in getFd() function in android::nn::SyncFence
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | MyVpnService.java | 194 Log.i(TAG, "Established, fd=" + (mFd == null ? "null" : mFd.getFd())); in start()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | FuseDaemon.java | 205 return native_check_fd_access(mPtr, fileDescriptor.getFd(), uid); in checkFdAccess()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/ |
D | IsolatedTrainingServiceImpl.java | 243 return "fd:///" + parcelFileDescriptor.getFd(); in getFileDescriptorForTensorflow()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarBugreportManagerTest.java | 188 int fd = pfd.getFd(); in assertFdIsClosed()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 406 nativeSetTunTapCarrierEnabled(iface.getInterfaceName(), iface.getFileDescriptor().getFd(), in setCarrierEnabled()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Types.h | 973 int getFd() const;
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapperTest.java | 298 return "fd:///" + parcelFileDescriptor.getFd(); in getFileDescriptorForTensorflow()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaTranscodingManager.java | 729 if (fileDescriptor == null || fileDescriptor.getFd() < 0) { in setSourceFileDescriptor() 752 if (fileDescriptor == null || fileDescriptor.getFd() < 0) { in setDestinationFileDescriptor()
|