/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 609 * @param fd The file descriptor containing the bitmap data to decode 618 public static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) { argument 619 if (nativeIsSeekable(fd)) { 620 Bitmap bm = nativeDecodeFileDescriptor(fd, outPadding, opts); 626 FileInputStream fis = new FileInputStream(fd); 642 * @param fd The file descriptor containing the bitmap data to decode 645 public static Bitmap decodeFileDescriptor(FileDescriptor fd) { argument 646 return decodeFileDescriptor(fd, null, null); 653 private static native Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument 661 private static native boolean nativeIsSeekable(FileDescriptor fd); argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 59 BackupDataWriter::BackupDataWriter(int fd) argument 60 :m_fd(fd), 183 BackupDataReader::BackupDataReader(int fd) argument 184 :m_fd(fd),
|
/frameworks/base/services/common_time/ |
H A D | common_time_server_api.cpp | 284 write(fd, buffer, res); \ 288 status_t CommonTimeServer::dumpClockInterface(int fd, argument 300 write(fd, buffer, strlen(buffer)); 356 mClient_PacketRTTLog.dumpLog(fd, mCommonClock); 357 mStateChangeLog.dumpLog(fd); 358 mElectionLog.dumpLog(fd); 359 mBadPktLog.dumpLog(fd); 365 status_t CommonTimeServer::dumpConfigInterface(int fd, argument 376 write(fd, buffer, strlen(buffer)); 406 void CommonTimeServer::PacketRTTLog::dumpLog(int fd, cons argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 312 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 322 service.dump(fd, ipw, args);
|
H A D | CommonTimeManagementService.java | 185 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | DropBoxManagerService.java | 305 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProviderMap.java | 287 protected boolean dumpProvider(FileDescriptor fd, PrintWriter pw, String name, String[] args, argument 341 dumpProvider("", fd, pw, providers.get(i), args, dumpAll); 350 private void dumpProvider(String prefix, FileDescriptor fd, PrintWriter pw, argument 374 tp.go(fd, 2000);
|
/frameworks/base/services/java/com/android/server/dreams/ |
H A D | DreamManagerService.java | 85 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationFudger.java | 340 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | LocationProviderProxy.java | 220 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 235 service.asBinder().dump(fd, args);
|
H A D | MockProvider.java | 140 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDebuggingManager.java | 307 public void dump(FileDescriptor fd, PrintWriter pw) { argument
|
H A D | UsbService.java | 257 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument 263 mDeviceManager.dump(fd, pw); 266 mHostManager.dump(fd, pw); 275 settings.dump(fd, pw);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_UsbHostManager.cpp | 154 int fd = usb_device_get_fd(device); local 155 if (fd < 0) 157 int newFD = dup(fd);
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 142 int fd; member in class:TouchEvents::EventThread 148 read(fd, &event, sizeof(event)); 170 fd = open("/dev/input/event1", O_RDONLY); 224 int fd = open("/dev/graphics/fb0", O_RDWR); local 225 ioctl(fd, FBIOGET_VSCREENINFO, &vi); 226 ioctl(fd, FBIOGET_FSCREENINFO, &fi); 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 260 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); 292 close(fd);
|
/frameworks/native/include/utils/ |
H A D | Looper.h | 102 virtual int handleEvent(int fd, int events, void* data) = 0; 115 virtual int handleEvent(int fd, int events, void* data); 169 * events and data associated with the fd, otherwise they will be set to NULL. 201 * "fd" is the file descriptor to be added. 228 int addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data); 229 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data); 251 int removeFd(int fd); 324 int fd; member in struct:android::Looper::Request
|
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 132 status_t BBinder::dump(int fd, const Vector<String16>& args) argument 195 int fd = data.readFileDescriptor(); local 201 return dump(fd, args);
|
H A D | BpBinder.cpp | 145 status_t BpBinder::dump(int fd, const Vector<String16>& args) argument 149 send.writeFileDescriptor(fd);
|
H A D | ProcessState.cpp | 309 int fd = open("/dev/binder", O_RDWR); local 310 if (fd >= 0) { 311 fcntl(fd, F_SETFD, FD_CLOEXEC); 313 status_t result = ioctl(fd, BINDER_VERSION, &vers); 316 close(fd); 317 fd = -1; 321 close(fd); 322 fd = -1; 325 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); 332 return fd; [all...] |
/frameworks/native/libs/utils/tests/ |
H A D | Looper_test.cpp | 56 void setCallback(const sp<Looper>& looper, int fd, int events) { argument 57 looper->addFd(fd, 0, events, staticHandler, this); 63 virtual int handler(int fd, int events) = 0; 66 static int staticHandler(int fd, int events, void* data) { argument 67 return static_cast<CallbackHandler*>(data)->handler(fd, events); 76 int fd; member in class:android::StubCallbackHandler 80 callbackCount(0), fd(-1), events(-1) { 84 virtual int handler(int fd, int events) { argument 86 this->fd = fd; 345 int fd; local [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 227 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); local 228 if (fd == -1) { 238 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 240 if (fd == -1) { 253 close(fd); 264 close(fd); 274 if (write(fd, buf, fileSize) == -1) { 278 close(fd); 284 fchmod(fd, S_IRUSR); 285 close(fd); 293 int fd = open(mFilename.string(), O_RDONLY, 0); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ApnContext.java | 243 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | CallTracker.java | 176 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 309 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 311 super.dump(fd, pw, args);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | CursorLoader.java | 203 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 204 super.dump(prefix, fd, writer, args);
|