/frameworks/base/core/java/android/app/ |
H A D | DialogFragment.java | 545 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 546 super.dump(prefix, fd, writer, args);
|
H A D | Service.java | 684 * @param fd The raw file descriptor that the dump is being sent to. 689 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 358 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 359 super.dump(prefix, fd, writer, args);
|
H A D | Loader.java | 535 * @param fd The raw file descriptor that the dump is being sent to. 539 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 51 * @param fd The underlying file descriptor. 57 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, argument 59 this(fd, startOffset, length, null); 65 * @param fd The underlying file descriptor. 73 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, argument 75 if (fd == null) { 76 throw new IllegalArgumentException("fd must not be null"); 82 mFd = fd; 204 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException { argument 205 super(fd 291 AutoCloseOutputStream(AssetFileDescriptor fd) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodWrapper.java | 216 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { argument 232 fd, fout, args, latch));
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocket.java | 71 public LocalSocket(FileDescriptor fd) throws IOException { argument 72 this(new LocalSocketImpl(fd), SOCKET_UNKNOWN); 319 * @return fd or null
|
H A D | Network.java | 332 private void bindSocketFd(FileDescriptor fd) throws IOException { argument 333 int err = NetworkUtils.bindSocketToNetwork(fd.getInt$(), netId);
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | ApduServiceInfo.java | 452 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 281 ParcelFileDescriptor fd = data.readFileDescriptor(); 283 if (fd != null) { 285 dump(fd.getFileDescriptor(), args); 288 fd.close(); 309 public void dump(FileDescriptor fd, String[] args) { argument 310 FileOutputStream fout = new FileOutputStream(fd); 319 dump(fd, pw, args); 344 public void dumpAsync(final FileDescriptor fd, final String[] args) { argument 345 final FileOutputStream fout = new FileOutputStream(fd); 350 dump(fd, p 367 dump(FileDescriptor fd, PrintWriter fout, String[] args) argument 506 dump(FileDescriptor fd, String[] args) argument 520 dumpAsync(FileDescriptor fd, String[] args) argument [all...] |
H A D | FileUtils.java | 114 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { argument 116 Os.fchmod(fd, mode); 124 Os.fchown(fd, uid, gid);
|
H A D | MemoryFile.java | 46 private static native long native_mmap(FileDescriptor fd, int length, int mode) argument 49 private static native void native_close(FileDescriptor fd); argument 50 private static native int native_read(FileDescriptor fd, long address, byte[] buffer, argument 52 private static native void native_write(FileDescriptor fd, long address, byte[] buffer, argument 54 private static native void native_pin(FileDescriptor fd, boolean pin) throws IOException; argument 55 private static native int native_get_size(FileDescriptor fd) throws IOException; argument 253 * @throws IOException If <code>fd</code> is not a valid file descriptor. 257 public static int getSize(FileDescriptor fd) throws IOException { argument 258 return native_get_size(fd);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 45 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 47 fd = dup(fd); 48 if (fd < 0) 52 struct usb_device* device = usb_device_new(deviceNameStr, fd); 57 close(fd); 90 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz); local 91 if (fd < 0) return NULL; 92 lseek(fd, 0, SEEK_SET); 93 int length = read(fd, buffe [all...] |
H A D | android_os_SELinux.cpp | 99 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 106 int ret = getpeercon(fd, &tmp); 114 ALOGV("getPeerCon(%d) => %s", fd, context.get());
|
H A D | android_view_InputEventReceiver.cpp | 148 int fd = mInputConsumer.getChannel()->getFd(); local 150 mMessageQueue->getLooper()->addFd(fd, 0, events, this, NULL); 152 mMessageQueue->getLooper()->removeFd(fd);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 657 * @param fd The file descriptor containing the bitmap data to decode 666 public static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) { argument 671 if (nativeIsSeekable(fd)) { 672 bm = nativeDecodeFileDescriptor(fd, outPadding, opts); 674 FileInputStream fis = new FileInputStream(fd); 700 * @param fd The file descriptor containing the bitmap data to decode 703 public static Bitmap decodeFileDescriptor(FileDescriptor fd) { argument 704 return decodeFileDescriptor(fd, null, null); 709 private static native Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument 714 private static native boolean nativeIsSeekable(FileDescriptor fd); argument [all...] |
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 304 private static native long nativeOpen(int fd, long size); argument 308 private static native void nativeWrite(long documentPtr, int fd); argument
|
H A D | PdfRenderer.java | 424 private static native long nativeCreate(int fd, long size); argument
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 59 BackupDataWriter::BackupDataWriter(int fd) argument 60 :m_fd(fd), 64 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 65 if (DEBUG) ALOGI("BackupDataWriter(%d) @ %ld", fd, (long)m_pos); 184 BackupDataReader::BackupDataReader(int fd) argument 185 :m_fd(fd), 191 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 192 if (DEBUG) ALOGI("BackupDataReader(%d) @ %ld", fd, (long)m_pos);
|
H A D | ZipUtils.cpp | 48 * of an fd. We could pass fileno(fd) to the above, but we can run into 49 * trouble when "fp" has a different notion of what fd's file position is.) 173 FdReader(int fd) : argument 174 mFd(fd), mReadBuf(new unsigned char[kReadBufSize]) 224 /*static*/ bool ZipUtils::inflateToBuffer(int fd, void* buf, argument 227 FdReader reader(fd);
|
/frameworks/base/libs/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/libs/hwui/ |
H A D | DrawProfiler.cpp | 253 void DrawProfiler::dumpData(int fd) { argument 262 FILE *file = fdopen(fd, "a");
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 174 int RenderThread::displayEventReceiverCallback(int fd, int events, void* data) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 90 AssetFileDescriptor fd = null; 93 fd = resolver.openAssetFileDescriptor(uri, "r"); 94 if (fd == null) { 100 if (fd.getDeclaredLength() < 0) { 101 setDataSource(fd.getFileDescriptor()); 104 fd.getFileDescriptor(), 105 fd.getStartOffset(), 106 fd.getDeclaredLength()); 112 if (fd != null) { 113 fd 182 setDataSource(FileDescriptor fd) argument 195 setDataSource( FileDescriptor fd, long offset, long length) argument [all...] |
H A D | MediaMetadataRetriever.java | 70 FileDescriptor fd = is.getFD(); 71 setDataSource(fd, 0, 0x7ffffffffffffffL); 122 * @param fd the FileDescriptor for the file you want to play 129 public native void setDataSource(FileDescriptor fd, long offset, long length) argument 138 * @param fd the FileDescriptor for the file you want to play 141 public void setDataSource(FileDescriptor fd) argument 144 setDataSource(fd, 0, 0x7ffffffffffffffL); 169 AssetFileDescriptor fd = null; 173 fd = resolver.openAssetFileDescriptor(uri, "r"); 177 if (fd [all...] |