/frameworks/base/core/jni/ |
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 | 668 * @param fd The file descriptor containing the bitmap data to decode 677 public static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) { argument 682 if (nativeIsSeekable(fd)) { 683 bm = nativeDecodeFileDescriptor(fd, outPadding, opts); 685 FileInputStream fis = new FileInputStream(fd); 711 * @param fd The file descriptor containing the bitmap data to decode 714 public static Bitmap decodeFileDescriptor(FileDescriptor fd) { argument 715 return decodeFileDescriptor(fd, null, null); 720 private static native Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument 725 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 | 428 private static native long nativeCreate(int fd, long size); argument
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 53 BackupDataWriter::BackupDataWriter(int fd) argument 54 :m_fd(fd), 58 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 59 if (kIsDebug) ALOGI("BackupDataWriter(%d) @ %ld", fd, (long)m_pos); 178 BackupDataReader::BackupDataReader(int fd) argument 179 :m_fd(fd), 185 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 186 if (kIsDebug) 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 | 286 write(fd, buffer, res); \ 290 status_t CommonTimeServer::dumpClockInterface(int fd, argument 302 write(fd, buffer, strlen(buffer)); 358 mClient_PacketRTTLog.dumpLog(fd, mCommonClock); 359 mStateChangeLog.dumpLog(fd); 360 mElectionLog.dumpLog(fd); 361 mBadPktLog.dumpLog(fd); 367 status_t CommonTimeServer::dumpConfigInterface(int fd, argument 378 write(fd, buffer, strlen(buffer)); 408 void CommonTimeServer::PacketRTTLog::dumpLog(int fd, cons argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FrameInfoVisualizer.cpp | 244 void FrameInfoVisualizer::dumpData(int fd) { argument 251 FILE *file = fdopen(fd, "a");
|
H A D | JankTracker.cpp | 156 ALOGW("Failed to move profile data to ashmem fd %d, error = %d", 249 void JankTracker::dumpBuffer(const void* buffer, size_t bufsize, int fd) { argument 254 dumpData(data, fd); 257 void JankTracker::dumpData(const ProfileData* data, int fd) { argument 259 dprintf(fd, "\nNote: Data has been filtered!"); 261 dprintf(fd, "\nStats since: %" PRIu64 "ns", data->statStartTime); 262 dprintf(fd, "\nTotal frames rendered: %u", data->totalFrameCount); 263 dprintf(fd, "\nJanky frames: %u (%.2f%%)", data->jankFrameCount, 265 dprintf(fd, "\n50th percentile: %ums", findPercentile(data, 50)); 266 dprintf(fd, "\n90t [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 196 int RenderThread::displayEventReceiverCallback(int fd, int events, void* data) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 105 AssetFileDescriptor fd = null; 108 fd = resolver.openAssetFileDescriptor(uri, "r"); 109 if (fd == null) { 115 if (fd.getDeclaredLength() < 0) { 116 setDataSource(fd.getFileDescriptor()); 119 fd.getFileDescriptor(), 120 fd.getStartOffset(), 121 fd.getDeclaredLength()); 127 if (fd != null) { 128 fd 219 setDataSource(@onNull FileDescriptor fd) argument 232 setDataSource( @onNull FileDescriptor fd, long offset, long length) argument [all...] |
H A D | MediaMetadataRetriever.java | 68 FileDescriptor fd = is.getFD(); 69 setDataSource(fd, 0, 0x7ffffffffffffffL); 114 * @param fd the FileDescriptor for the file you want to play 121 public native void setDataSource(FileDescriptor fd, long offset, long length) argument 130 * @param fd the FileDescriptor for the file you want to play 133 public void setDataSource(FileDescriptor fd) argument 136 setDataSource(fd, 0, 0x7ffffffffffffffL); 161 AssetFileDescriptor fd = null; 165 fd = resolver.openAssetFileDescriptor(uri, "r"); 169 if (fd [all...] |
H A D | MediaMuxer.java | 98 private static native long nativeSetup(@NonNull FileDescriptor fd, int format); argument 146 FileDescriptor fd = file.getFD(); 147 mNativeObject = nativeSetup(fd, format);
|
/frameworks/base/media/jni/ |
H A D | android_media_ExifInterface.cpp | 363 int fd = jniGetFDFromFileDescriptor(env, jfileDescriptor); local 364 if (fd < 0) { 370 AutoFDSeek autoRestore(fd); 372 int dupFd = dup(fd);
|
H A D | android_media_MediaMuxer.cpp | 138 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 139 ALOGV("native_setup: fd %d", fd); 143 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat);
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 285 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerUI.java | 212 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | Divider.java | 142 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | GestureRecorder.java | 249 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarBatteryController.java | 86 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothControllerImpl.java | 71 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | CastControllerImpl.java | 71 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | SecurityControllerImpl.java | 86 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogComponent.java | 159 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 160 mController.dump(fd, pw, args);
|
H A D | VolumeUI.java | 97 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 101 getVolumeComponent().dump(fd, pw, args);
|