/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 52 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 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 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 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 | 241 void FrameInfoVisualizer::dumpData(int fd) { argument 248 FILE *file = fdopen(fd, "a");
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 227 int RenderThread::displayEventReceiverCallback(int fd, int events, void* data) { argument
|
/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 51 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 D | main.cpp | 116 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 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 | 279 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 D | android_media_MediaMuxer.cpp | 141 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 D | ExternalStorageProvider.java | 521 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/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/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsService.java | 56 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 D | PowerUI.java | 343 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | Divider.java | 172 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 | 90 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LightBarController.java | 213 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 D | LightBarTransitionsController.java | 180 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BatteryControllerImpl.java | 77 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 | FlashlightControllerImpl.java | 245 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogComponent.java | 176 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | CommonTimeManagementService.java | 180 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | DropBoxManagerService.java | 144 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
|