Searched defs:fd (Results 276 - 300 of 686) sorted by relevance

<<11121314151617181920>>

/frameworks/base/libs/androidfw/
H A DBackupData.cpp52 BackupDataWriter::BackupDataWriter(int fd) argument
53 :m_fd(fd),
57 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR);
58 if (kIsDebug) ALOGI("BackupDataWriter(%d) @ %ld", fd, (long)m_pos);
177 BackupDataReader::BackupDataReader(int fd) argument
178 :m_fd(fd),
184 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR);
185 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 explicit 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.cpp241 void FrameInfoVisualizer::dumpData(int fd) { argument
248 FILE *file = fdopen(fd, "a");
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp227 int RenderThread::displayEventReceiverCallback(int fd, int events, void* data) { argument
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp51 int fd = open(path.c_str(), O_RDONLY); local
52 if (fd == -1) {
62 ssize_t bytesRead = read(fd, &file_version, sHeaderSize);
66 close(fd);
70 io::FileInputStream input(fd);
73 ALOGW("Error reading from fd=%d, path='%s' err=%d (%s)",
74 fd, path.c_str(), input.GetErrno(), strerror(input.GetErrno()));
80 close(fd);
157 void dumpAsTextToFd(service::GraphicsStatsProto* proto, int fd) { argument
162 dprintf(fd, "\nPackag
231 int fd() { return mFd; } function in class:android::uirenderer::GraphicsStatsService::Dump
[all...]
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp116 int fd = open(buffer, O_WRONLY | O_CLOEXEC); local
117 if (fd == -1) {
127 if (write(fd, buffer, towrite) != towrite) {
131 close(fd);
/frameworks/base/media/java/android/media/
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.java279 private static native long nativeSetup(@NonNull FileDescriptor fd, int format) argument
324 FileDescriptor fd = file.getFD();
325 setUpMediaMuxer(fd, format);
339 * @param fd The FileDescriptor of the output media file.
342 * @throws IllegalArgumentException if fd is invalid or format is not supported.
345 public MediaMuxer(@NonNull FileDescriptor fd, @Format int format) throws IOException { argument
346 setUpMediaMuxer(fd, format);
349 private void setUpMediaMuxer(@NonNull FileDescriptor fd, @Format int format) throws IOException { argument
354 mNativeObject = nativeSetup(fd, format);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp141 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
142 ALOGV("native_setup: fd %d", fd);
150 int flags = fcntl(fd, F_GETFL);
158 // fd must be in read-write mode or write-only mode.
168 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java521 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
/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/SettingsProvider/src/com/android/providers/settings/
H A DSettingsService.java56 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
88 mProvider.dumpProto(fd);
90 mProvider.dumpInternal(fd, pw, args);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java343 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDivider.java172 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.java90 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLightBarController.java213 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
238 mStatusBarIconController.getTransitionsController().dump(fd, pw, args);
241 mNavigationBarController.dump(fd, pw, args);
H A DLightBarTransitionsController.java180 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBatteryControllerImpl.java77 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 DFlashlightControllerImpl.java245 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogComponent.java176 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/services/core/java/com/android/server/
H A DCommonTimeManagementService.java180 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DDropBoxManagerService.java144 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
145 DropBoxManagerService.this.dump(fd, pw, args);
353 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument

Completed in 2873 milliseconds

<<11121314151617181920>>