Home
last modified time | relevance | path

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

1234567

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DRedactingFileDescriptorTest.java79 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() local
95 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() local
117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile() local
130 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite() local
187 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart() local
199 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset() local
211 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart() local
223 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd() local
235 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction() local
247 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeMultipleRedactions() local
/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/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.java252 public static void closeSocketQuietly(FileDescriptor fd) { in closeSocketQuietly()
406 public static native void attachDhcpFilter(FileDescriptor fd) throws SocketException; in attachDhcpFilter()
413 public static native void attachRaFilter(FileDescriptor fd, int packetType) in attachRaFilter()
424 public static native void attachControlPacketFilter(FileDescriptor fd, int packetType) in attachControlPacketFilter()
431 String ifname, FileDescriptor fd) throws IOException { in addArpEntry()
432 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry() local
436 FileDescriptor fd) throws IOException; in addArpEntry()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java118 private static int readInt(@NonNull FileDescriptor fd) in readInt()
128 private static @NonNull UUID readUuid(@NonNull FileDescriptor fd) in readUuid()
135 private static @Nullable Box parseNextBox(@NonNull FileDescriptor fd, long end, in parseNextBox()
224 private IsoInterface(@NonNull FileDescriptor fd) throws IOException { in IsoInterface()
269 public static @NonNull IsoInterface fromFileDescriptor(@NonNull FileDescriptor fd) in fromFileDescriptor()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp85 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_addArpEntry() local
123 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_attachDhcpFilter() local
156 int fd = jniGetFDFromFileDescriptor(env, javaFd); in network_stack_utils_attachRaFilter() local
231 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/providers/MediaProvider/src/com/android/providers/media/fuse/
DFuseDaemon.java46 @NonNull ExternalStorageServiceImpl service, @NonNull ParcelFileDescriptor fd, in FuseDaemon()
131 public boolean shouldOpenWithFuse(String path, boolean readLock, int fd) { in shouldOpenWithFuse()
161 int fd); in native_should_open_with_fuse()
/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/services/Mtp/perf_tests/src/com/android/mtp/
DAppFusePerfTest.java52 final ParcelFileDescriptor fd = storageManager.openProxyFileDescriptor( in testReadWriteFile() local
63 final ParcelFileDescriptor fd = storageManager.openProxyFileDescriptor( in testReadWriteFile() local
/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/modules/NetworkStack/common/moduleutils/src/android/net/util/
DPacketReader.java56 protected int readPacket(FileDescriptor fd, byte[] packetBuffer) throws Exception { in readPacket()
DFdEventsReader.java84 protected static void closeFd(FileDescriptor fd) { in closeFd()
158 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket()
/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()

1234567