Searched defs:fd (Results 201 - 225 of 552) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp148 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 DBitmapFactory.java668 * @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 DPdfEditor.java304 private static native long nativeOpen(int fd, long size); argument
308 private static native void nativeWrite(long documentPtr, int fd); argument
H A DPdfRenderer.java428 private static native long nativeCreate(int fd, long size); argument
/frameworks/base/libs/androidfw/
H A DBackupData.cpp53 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 DZipUtils.cpp48 * 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 Dcommon_time_server_api.cpp286 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 DFrameInfoVisualizer.cpp244 void FrameInfoVisualizer::dumpData(int fd) { argument
251 FILE *file = fdopen(fd, "a");
H A DJankTracker.cpp156 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 DRenderThread.cpp196 int RenderThread::displayEventReceiverCallback(int fd, int events, void* data) { argument
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java105 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 DMediaMetadataRetriever.java68 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 DMediaMuxer.java98 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 Dandroid_media_ExifInterface.cpp363 int fd = jniGetFDFromFileDescriptor(env, jfileDescriptor); local
364 if (fd < 0) {
370 AutoFDSeek autoRestore(fd);
372 int dupFd = dup(fd);
H A Dandroid_media_MediaMuxer.cpp138 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 DFusionEngine.java285 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java212 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDivider.java142 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java249 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarBatteryController.java86 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java71 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DCastControllerImpl.java71 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DSecurityControllerImpl.java86 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogComponent.java159 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
160 mController.dump(fd, pw, args);
H A DVolumeUI.java97 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
101 getVolumeComponent().dump(fd, pw, args);

Completed in 627 milliseconds

1234567891011>>