Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 129) sorted by relevance

123456

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkSocket.java61 final FileDescriptor fd = forProto(nlProto); in sendOneShotKernelMessage() local
107 final FileDescriptor fd = Os.socket(AF_NETLINK, SOCK_DGRAM, nlProto); in forProto() local
112 public static void connectToKernel(FileDescriptor fd) throws ErrnoException, SocketException { in connectToKernel()
128 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage()
152 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
DInetDiagMessage.java117 FileDescriptor fd) in lookupUidByFamily()
137 InetSocketAddress remote, FileDescriptor fd) in lookupUid()
193 FileDescriptor fd = null; in getConnectionOwnerUid() local
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java116 private static int readInt(@NonNull FileDescriptor fd) in readInt()
126 private static @NonNull UUID readUuid(@NonNull FileDescriptor fd) in readUuid()
133 private static @Nullable Box parseNextBox(@NonNull FileDescriptor fd, long end, in parseNextBox()
191 private IsoInterface(@NonNull FileDescriptor fd) throws IOException { in IsoInterface()
229 public static @NonNull IsoInterface fromFileDescriptor(@NonNull FileDescriptor fd) in fromFileDescriptor()
/packages/apps/Camera2/src/com/android/camera/
DThumbnail.java25 public static Bitmap createVideoThumbnailBitmap(FileDescriptor fd, int targetWidth) { in createVideoThumbnailBitmap()
33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, in createVideoThumbnailBitmap()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java254 public static void closeSocketQuietly(FileDescriptor fd) { in closeSocketQuietly()
408 public static native void attachDhcpFilter(FileDescriptor fd) throws SocketException; in attachDhcpFilter()
415 public static native void attachRaFilter(FileDescriptor fd, int packetType) in attachRaFilter()
426 public static native void attachControlPacketFilter(FileDescriptor fd, int packetType) in attachControlPacketFilter()
433 String ifname, FileDescriptor fd) throws IOException { in addArpEntry()
434 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry() local
438 FileDescriptor fd) throws IOException; in addArpEntry()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp87 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_addArpEntry() local
125 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_attachDhcpFilter() local
158 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_attachRaFilter() local
233 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_attachControlPacketFilter() local
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmLog.java39 public static void dump(FileDescriptor fd, PrintWriter printwriter, String[] args) { in dump()
143 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
150 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
165 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
169 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
/packages/services/Telephony/src/com/android/phone/
DDumpsysHandler.java16 public static void dump(Context context, FileDescriptor fd, PrintWriter writer, in dump()
DTelephonyDebugService.java51 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java82 FileDescriptor fd = null; in createFd() local
131 private void closeSocketQuietly(FileDescriptor fd) { in closeSocketQuietly()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java109 protected boolean isFdOpen(FileDescriptor fd) { in isFdOpen()
118 protected void verifyCloseFd(FileDescriptor fd) { in verifyCloseFd()
163 FileDescriptor fd, byte[] data, InetAddress destAddress, int port) throws Exception { in sendToIkeSocket()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { in decode()
68 public static void decodeBounds(JobContext jc, FileDescriptor fd, in decodeBounds()
104 FileDescriptor fd = fis.getFD(); in decodeThumbnail() local
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) { in decodeThumbnail()
227 JobContext jc, FileDescriptor fd, boolean shareable) { in createBitmapRegionDecoder()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DVvmDumpHandler.java29 public static void dump(Context context, FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmDumpHandler.java15 public static void dump(Context context, FileDescriptor fd, PrintWriter writer, in dump()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dplatformtest.cpp116 int fd = _open(filename_, _O_BINARY | _O_RDONLY); in TEST_F() local
126 int fd = open(filename_, O_RDONLY); in TEST_F() local
155 int fd = open(filename_, O_RDONLY); in TEST_F() local
/packages/services/Car/tools/keventreader/server/
Deventgatherer.cpp49 for (auto& fd : mFds) { in read() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DPacketReader.java63 protected int readPacket(FileDescriptor fd, byte[] packetBuffer) throws Exception { in readPacket()
DFdEventsReader.java88 protected static void closeFd(FileDescriptor fd) { in closeFd()
162 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkSocketTest.java51 final FileDescriptor fd = NetlinkSocket.forProto(NETLINK_ROUTE); in testBasicWorkingGetNeighborsQuery() local
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/
DSettingsIntelligenceDumpService.java51 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DSystemCodeRoutingManager.java107 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
/packages/modules/DnsResolver/tests/
Dpbtxt2pb_converter_host.cpp30 int fd = open(pbtxtFile.c_str(), O_RDONLY); in ConvertPbtxtToPb() local
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp59 int waitForReading(int fd, int timeoutMs = -1) { in waitForReading()
64 int waitForWriting(int fd, int timeoutMs = -1) { in waitForWriting()
190 bssl::UniquePtr<SSL> DnsTlsSocket::sslConnect(int fd) { in sslConnect()
/packages/apps/Messaging/src/com/android/messaging/util/
DMediaMetadataRetrieverWrapper.java40 AssetFileDescriptor fd = resolver.openAssetFileDescriptor(uri, "r"); in setDataSource() local
/packages/apps/TV/jni/
DDvbManager.cpp312 int fd = (int) env->CallIntMethod(thiz, mOpenDvbFrontEndMethodID); in openDvbFeFromSystemApi() local
318 int fd = (int) env->CallIntMethod(thiz, mOpenDvbDemuxMethodID); in openDvbDemuxFromSystemApi() local
324 int fd = (int) env->CallIntMethod(thiz, mOpenDvbDvrMethodID); in openDvbDvrFromSystemApi() local

123456