Searched defs:fd (Results 26 - 50 of 686) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java59 * @param fd The Parcel File Descriptor when the channel state is connected.
65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
68 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
64 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java59 * @param fd bound file descriptor
62 public LocalServerSocket(FileDescriptor fd) throws IOException argument
64 impl = new LocalSocketImpl(fd);
98 * @return fd or null
/frameworks/base/core/java/android/os/
H A DRevocableFileDescriptor.java70 public RevocableFileDescriptor(Context context, FileDescriptor fd) throws IOException { argument
71 init(context, fd);
75 public void init(Context context, FileDescriptor fd) throws IOException { argument
76 mInner = fd;
/frameworks/base/core/java/com/android/internal/os/
H A DAppFuseMount.java32 final public ParcelFileDescriptor fd; field in class:AppFuseMount
37 * @param fd File descriptor pointing /dev/fuse and tagged with the mount point.
39 public AppFuseMount(int mountPointId, ParcelFileDescriptor fd) { argument
40 Preconditions.checkNotNull(fd);
42 this.fd = fd;
53 dest.writeParcelable(fd, flags);
/frameworks/base/core/jni/android/graphics/
H A DUtils.h56 explicit AutoFDSeek(int fd) : fFD(fd) { argument
57 fCurr = ::lseek(fd, 0, SEEK_CUR);
/frameworks/base/native/android/
H A Dnet.c45 int android_setsocknetwork(net_handle_t network, int fd) { argument
52 int rval = setNetworkForSocket(netid, fd);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DBitmapSerializeUtils.java57 private static native void nativeReadBitmapPixels(Bitmap bitmap, int fd); argument
59 private static native void nativeWriteBitmapPixels(Bitmap bitmap, int fd); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUISecondaryUserService.java40 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
46 ui.dump(fd, pw, args);
55 ui.dump(fd, pw, args);
H A DSystemUIService.java47 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
52 ui.dump(fd, pw, args);
59 ui.dump(fd, pw, args);
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeService.java69 protected void dumpOnHandler(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
H A DPipUI.java79 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeComponent.java30 void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeBatteryController.java38 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/services/core/java/com/android/server/utils/
H A DPriorityDump.java34 public void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args) {
39 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) {
45 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
46 PriorityDump.dump(mPriorityDumper, fd, pw, args);
98 * <code>dumper.dumpHigh(fd, pw, {"arg1", "arg2", "arg3"}) </code>
104 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, argument
110 dumper.dumpCritical(fd, pw, getStrippedArgs(args));
114 dumper.dumpHigh(fd, pw, getStrippedArgs(args));
118 dumper.dumpNormal(fd, pw, getStrippedArgs(args));
123 dumper.dump(fd, p
147 dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args) argument
154 dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args) argument
161 dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) argument
173 dump(FileDescriptor fd, PrintWriter pw, String[] args) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DRemoteEventTrace.java37 RemoteEventTrace(WindowManagerService service, FileDescriptor fd) { argument
39 mOut = new DataOutputStream(new FileOutputStream(fd, false));
/frameworks/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp35 uint64_t get_block_device_size(int fd) argument
40 ret = ioctl(fd, BLKGETSIZE64, &size);
48 int wipe_block_device(int fd) argument
52 uint64_t len = get_block_device_size(fd);
60 ret = ioctl(fd, BLKSECDISCARD, &range);
65 ret = ioctl(fd, BLKDISCARD, &range);
82 int fd = open(path.c_str(), O_RDONLY); local
84 if (fd < 0)
87 const uint64_t size = get_block_device_size(fd);
89 close(fd);
96 int fd = open(path.c_str(), O_WRONLY); local
[all...]
H A Dcom_android_server_SerialService.cpp41 int fd = open(pathStr, O_RDWR | O_NOCTTY); local
42 if (fd < 0) {
49 jobject fileDescriptor = jniCreateFileDescriptor(env, fd);
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java37 public UsbAccessoryStreamTransport(Logger logger, ParcelFileDescriptor fd) { argument
39 mFd = fd;
40 mInputStream = new FileInputStream(fd.getFileDescriptor());
41 mOutputStream = new FileOutputStream(fd.getFileDescriptor());
/frameworks/minikin/tests/util/
H A DMinikinFontForTest.cpp43 int fd = open(font_path.c_str(), O_RDONLY); local
44 LOG_ALWAYS_FATAL_IF(fd == -1);
46 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) != 0);
48 mFontData = mmap(NULL, mFontSize, PROT_READ, MAP_SHARED, fd, 0);
50 close(fd);
/frameworks/native/cmds/dumpstate/
H A DDumpstateService.cpp78 status_t DumpstateService::dump(int fd, const Vector<String16>&) { argument
79 dprintf(fd, "id: %d\n", ds_.id_);
80 dprintf(fd, "pid: %d\n", ds_.pid_);
81 dprintf(fd, "update_progress: %s\n", ds_.update_progress_ ? "true" : "false");
82 dprintf(fd, "update_progress_threshold: %d\n", ds_.update_progress_threshold_);
83 dprintf(fd, "last_updated_progress: %d\n", ds_.last_updated_progress_);
84 dprintf(fd, "progress:\n");
85 ds_.progress_->Dump(fd, " ");
86 dprintf(fd, "args: %s\n", ds_.args_.c_str());
87 dprintf(fd, "extra_option
[all...]
/frameworks/native/cmds/installd/
H A Dotapreopt_chroot.cpp40 static void CloseDescriptor(int fd) { argument
41 if (fd >= 0) {
42 int result = close(fd);
49 int fd = -1; local
51 stream >> fd; local
53 CloseDescriptor(fd);
58 // [cmd] [status-fd] [target-slot] "dexopt" [dexopt-params]
59 // The file descriptor denoted by status-fd will be closed. The rest of the parameters will
139 // Incoming: cmd + status-fd + target-slot + cmd... + null | Incoming | = argc + 1
/frameworks/native/libs/binder/
H A DIShellCallback.cpp49 int fd = reply.readParcelFileDescriptor(); local
50 return fd >= 0 ? fcntl(fd, F_DUPFD_CLOEXEC, 0) : fd;
67 int fd = openOutputFile(path, seLinuxContext); local
70 if (fd >= 0) {
72 reply->writeParcelFileDescriptor(fd, true);
76 } else if (fd >= 0) {
77 close(fd);
/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.cpp16 ALOGE("Failed to create epoll fd: %s", strerror(errno));
28 // identify events from the event fd.
45 pdx::Status<void> EpollEventDispatcher::AddEventHandler(int fd, int event_mask, argument
51 event.data.ptr = &(handlers_[fd] = handler);
55 "EpollEventDispatcher::AddEventHandler: fd=%d event_mask=0x%x handler=%p",
56 fd, event_mask, event.data.ptr);
58 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, fd, &event) < 0) {
60 ALOGE("Failed to add fd to epoll set because: %s", strerror(error));
67 pdx::Status<void> EpollEventDispatcher::RemoveEventHandler(int fd) { argument
68 ALOGD_IF(TRACE, "EpollEventDispatcher::RemoveEventHandler: fd
[all...]
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.cpp48 status_t InputFlinger::dump(int fd, const Vector<String16>& args) { argument
60 write(fd, result.string(), result.size());
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp23 int receiver(int fd, int events, void* data) argument

Completed in 1035 milliseconds

1234567891011>>