HomeSort by relevance Sort by last modified time
    Searched full:filedescriptor (Results 1 - 25 of 1073) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ImageVideoWrapper.java 12 private final ParcelFileDescriptor fileDescriptor;
14 public ImageVideoWrapper(InputStream streamData, ParcelFileDescriptor fileDescriptor) {
16 this.fileDescriptor = fileDescriptor;
24 return fileDescriptor;
  /external/libchrome/dbus/
file_descriptor.cc 18 void CHROME_DBUS_EXPORT FileDescriptor::Deleter::operator()(
19 FileDescriptor* fd) {
21 FROM_HERE, base::Bind(&base::DeletePointer<FileDescriptor>, fd), false);
24 FileDescriptor::FileDescriptor(FileDescriptor&& other) : FileDescriptor() {
28 FileDescriptor::~FileDescriptor() {
33 FileDescriptor& FileDescriptor::operator=(FileDescriptor&& other)
    [all...]
file_descriptor.h 14 // FileDescriptor is a type used to encapsulate D-Bus file descriptors
22 // FileDescriptor fd;
27 // writer.AppendFileDescriptor(dbus::FileDescriptor(1));
35 class CHROME_DBUS_EXPORT FileDescriptor {
36 MOVE_ONLY_TYPE_FOR_CPP_03(FileDescriptor);
42 void CHROME_DBUS_EXPORT operator()(FileDescriptor* fd);
47 FileDescriptor() : value_(-1), owner_(false), valid_(false) {}
48 explicit FileDescriptor(int value) : value_(value), owner_(false),
51 FileDescriptor(FileDescriptor&& other)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Os.java 35 import java.io.FileDescriptor;
44 public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException;
47 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
48 public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
51 public void close(FileDescriptor fd) throws ErrnoException;
52 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
53 public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
54 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException
    [all...]
Posix.java 35 import java.io.FileDescriptor;
47 public native FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException;
50 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
51 public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
54 public native void close(FileDescriptor fd) throws ErrnoException;
55 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException;
56 public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;
57 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException
    [all...]
ForwardingOs.java 35 import java.io.FileDescriptor;
53 public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException { return os.accept(fd, peerAddress); }
56 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.bind(fd, address, port); }
57 public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException { os.bind(fd, address); }
60 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); }
61 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.connect(fd, address, port); }
62 public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException { os.connect(fd, address); }
63 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd);
    [all...]
BlockGuardOs.java 27 import java.io.FileDescriptor;
45 private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException {
54 private void untagSocket(FileDescriptor fd) throws ErrnoException {
62 @Override public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException {
82 @Override public void close(FileDescriptor fd) throws ErrnoException {
99 // already-closed socket. Also, the passed-in FileDescriptor isn't necessarily
105 private static boolean isLingerSocket(FileDescriptor fd) throws ErrnoException {
110 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException
    [all...]
  /frameworks/base/core/jni/
android_os_MemoryFile.cpp 46 static jlong android_os_MemoryFile_mmap(JNIEnv* env, jobject clazz, jobject fileDescriptor,
49 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
64 static void android_os_MemoryFile_close(JNIEnv* env, jobject clazz, jobject fileDescriptor)
66 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
68 jniSetFileDescriptorOfFD(env, fileDescriptor, -1);
74 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset,
77 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
93 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset,
96 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
111 static void android_os_MemoryFile_pin(JNIEnv* env, jobject clazz, jobject fileDescriptor, jboolean pin
    [all...]
android_server_NetworkManagementSocketTagger.cpp 34 jobject fileDescriptor,
36 int userFd = jniGetFDFromFileDescriptor(env, fileDescriptor);
39 ALOGE("Can't get FileDescriptor num");
51 jobject fileDescriptor) {
52 int userFd = jniGetFDFromFileDescriptor(env, fileDescriptor);
55 ALOGE("Can't get FileDescriptor num");
87 { "native_tagSocketFd", "(Ljava/io/FileDescriptor;II)I", (void*)QTagUid_tagSocketFd},
88 { "native_untagSocketFd", "(Ljava/io/FileDescriptor;)I", (void*)QTagUid_untagSocketFd},
android_net_LocalSocketImpl.cpp 51 /* private native void connectLocal(FileDescriptor fd,
56 jobject fileDescriptor, jstring name, jint namespaceId)
61 fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
83 /* private native void bindLocal(FileDescriptor fd, String name, namespace)
88 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor,
99 fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
320 static jint socket_read (JNIEnv *env, jobject object, jobject fileDescriptor)
325 if (fileDescriptor == NULL) {
330 fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
354 jbyteArray buffer, jint off, jint len, jobject fileDescriptor)
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
FileDispatcherImpl.java 44 int read(FileDescriptor fd, long address, int len) throws IOException {
49 int pread(FileDescriptor fd, long address, int len, long position)
56 long readv(FileDescriptor fd, long address, int len) throws IOException {
61 int write(FileDescriptor fd, long address, int len) throws IOException {
66 int pwrite(FileDescriptor fd, long address, int len, long position)
73 long writev(FileDescriptor fd, long address, int len)
80 int force(FileDescriptor fd, boolean metaData) throws IOException {
85 int truncate(FileDescriptor fd, long size) throws IOException {
90 long size(FileDescriptor fd) throws IOException {
95 int lock(FileDescriptor fd, boolean blocking, long pos, long size
    [all...]
DatagramDispatcher.java 40 int read(FileDescriptor fd, long address, int len) throws IOException {
45 long readv(FileDescriptor fd, long address, int len) throws IOException {
50 int write(FileDescriptor fd, long address, int len) throws IOException {
55 long writev(FileDescriptor fd, long address, int len) throws IOException {
60 void close(FileDescriptor fd) throws IOException {
64 void preClose(FileDescriptor fd) throws IOException {
68 static native int read0(FileDescriptor fd, long address, int len)
71 static native long readv0(FileDescriptor fd, long address, int len)
74 static native int write0(FileDescriptor fd, long address, int len)
77 static native long writev0(FileDescriptor fd, long address, int len
    [all...]
FileDispatcher.java 37 abstract int force(FileDescriptor fd, boolean metaData) throws IOException;
39 abstract int truncate(FileDescriptor fd, long size) throws IOException;
41 abstract long size(FileDescriptor fd) throws IOException;
43 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size,
46 abstract void release(FileDescriptor fd, long pos, long size)
52 * FileDescriptor (meaning a newly allocated FileDescriptor)
54 abstract FileDescriptor duplicateForMapping(FileDescriptor fd)
NativeDispatcher.java 38 abstract int read(FileDescriptor fd, long address, int len)
49 int pread(FileDescriptor fd, long address, int len, long position)
55 abstract long readv(FileDescriptor fd, long address, int len)
58 abstract int write(FileDescriptor fd, long address, int len)
61 int pwrite(FileDescriptor fd, long address, int len, long position)
67 abstract long writev(FileDescriptor fd, long address, int len)
70 abstract void close(FileDescriptor fd) throws IOException;
76 void preClose(FileDescriptor fd) throws IOException {
Net.java 331 static void setSocketOption(FileDescriptor fd, ProtocolFamily family,
386 static Object getSocketOption(FileDescriptor fd, ProtocolFamily family,
425 static FileDescriptor socket(boolean stream) throws IOException {
429 static FileDescriptor socket(ProtocolFamily family, boolean stream)
436 static FileDescriptor serverSocket(boolean stream) {
443 static void bind(FileDescriptor fd, InetAddress addr, int port)
449 static void bind(ProtocolFamily family, FileDescriptor fd,
457 private static native void bind0(FileDescriptor fd, boolean preferIPv6,
462 static native void listen(FileDescriptor fd, int backlog) throws IOException;
464 static int connect(FileDescriptor fd, InetAddress remote, int remotePort
    [all...]
  /packages/services/Telephony/src/com/android/phone/
DumpsysHandler.java 8 import java.io.FileDescriptor;
16 public static void dump(Context context, FileDescriptor fd, PrintWriter writer,
  /libcore/ojluni/src/main/native/
sun_nio_ch_FileDispatcherImpl.h 48 * Signature: (Ljava/io/FileDescriptor;JI)I
56 * Signature: (Ljava/io/FileDescriptor;JIJ)I
64 * Signature: (Ljava/io/FileDescriptor;JI)J
72 * Signature: (Ljava/io/FileDescriptor;JI)I
80 * Signature: (Ljava/io/FileDescriptor;JIJ)I
88 * Signature: (Ljava/io/FileDescriptor;JI)J
96 * Signature: (Ljava/io/FileDescriptor;Z)I
104 * Signature: (Ljava/io/FileDescriptor;J)I
112 * Signature: (Ljava/io/FileDescriptor;)J
120 * Signature: (Ljava/io/FileDescriptor;ZJJZ)
    [all...]
socket_tagger_util.cpp 33 "tag", "(Ljava/io/FileDescriptor;)V");
35 jobject fileDescriptor = jniCreateFileDescriptor(env, fd);
36 env->CallVoidMethod(socketTagger, tag, fileDescriptor);
47 "untag", "(Ljava/io/FileDescriptor;)V");
49 jobject fileDescriptor = jniCreateFileDescriptor(env, fd);
50 env->CallVoidMethod(socketTagger, untag, fileDescriptor);
sun_nio_ch_Net.h 86 * Signature: (Ljava/io/FileDescriptor;ZZLjava/net/InetAddress;I)V
94 * Signature: (Ljava/io/FileDescriptor;I)V
102 * Signature: (ZLjava/io/FileDescriptor;Ljava/net/InetAddress;I)I
110 * Signature: (Ljava/io/FileDescriptor;I)V
118 * Signature: (Ljava/io/FileDescriptor;)I
126 * Signature: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
134 * Signature: (Ljava/io/FileDescriptor;)I
142 * Signature: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
150 * Signature: (Ljava/io/FileDescriptor;ZII)I
158 * Signature: (Ljava/io/FileDescriptor;ZIII)
    [all...]
  /external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/
BuildConfig.java 31 public final FileDescriptor buildDir;
33 public final FileDescriptor libsDir;
35 public final FileDescriptor jniDir;
44 this.buildDir = new FileDescriptor("target");
45 this.libsDir = new FileDescriptor("libs");
46 this.jniDir = new FileDescriptor("jni");
56 this.buildDir = new FileDescriptor(temporaryDir);
57 this.libsDir = new FileDescriptor(libsDir);
58 this.jniDir = new FileDescriptor(jniDir);
  /external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
InProcessInterpreter.java 19 import java.io.FileDescriptor;
22 public FileDescriptor getStdOut();
24 public FileDescriptor getStdIn();
  /external/sl4a/ScriptingLayerForAndroid/jni/
com_googlecode_android_scripting_Exec.h 13 * Signature: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[I)Ljava/io/FileDescriptor;
21 * Signature: (Ljava/io/FileDescriptor;IIII)V
  /external/libchrome/base/
file_descriptor_posix.h 18 // over IPC. Even if |auto_close| is true, base::FileDescriptor does NOT close()
19 // |fd| when going out of scope. Instead, a consumer of a base::FileDescriptor
23 // a message that contains a base::FileDescriptor if auto_close == true. On the
28 struct FileDescriptor {
29 FileDescriptor() : fd(-1), auto_close(false) {}
31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) {
34 FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {}
35 explicit FileDescriptor(ScopedFD fd) : fd(fd.release()), auto_close(true) {}
37 bool operator==(const FileDescriptor& other) const {
41 bool operator!=(const FileDescriptor& other) const
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 23 import java.io.FileDescriptor;
38 FileDescriptor fd = pfd.getFileDescriptor();
39 assertNotNull("Got null FileDescriptor", fd);
40 assertTrue("Got invalid FileDescriptor", fd.valid());
  /libcore/ojluni/src/main/java/java/io/
FileDescriptor.java 49 public final class FileDescriptor {
54 * Constructs an (invalid) FileDescriptor
57 public FileDescriptor() {
61 private FileDescriptor(int descriptor) {
72 public static final FileDescriptor in = dupFd(0);
80 public static final FileDescriptor out = dupFd(1);
89 public static final FileDescriptor err = dupFd(2);
105 * attributes of this FileDescriptor have been written to the
106 * relevant device(s). In particular, if this FileDescriptor
109 * of buffers associated with this FileDescriptor have bee
    [all...]

Completed in 445 milliseconds

1 2 3 4 5 6 7 8 91011>>