Searched defs:fd (Results 1 - 25 of 52) sorted by relevance

123

/packages/apps/Camera/src/com/android/camera/
H A DThumbnail.java25 public static Bitmap createVideoThumbnailBitmap(FileDescriptor fd, int targetWidth) { argument
26 return createVideoThumbnailBitmap(null, fd, targetWidth);
33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, argument
41 retriever.setDataSource(fd);
/packages/apps/Camera2/src/com/android/camera/
H A DThumbnail.java25 public static Bitmap createVideoThumbnailBitmap(FileDescriptor fd, int targetWidth) { argument
26 return createVideoThumbnailBitmap(null, fd, targetWidth);
33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, argument
41 retriever.setDataSource(fd);
/packages/services/Telephony/src/com/android/phone/
H A DTelephonyDebugService.java49 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
50 mDebugService.dump(fd, pw, args);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAbstractMailActivity.java94 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
95 super.dump(prefix, fd, writer, args);
98 getLoaderManager().dump(prefix, fd, writer, args);
99 getFragmentManager().dump(prefix, fd, writer, args);
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
H A DTestLoaderManager.java173 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
174 mDelegate.dump(prefix, fd, writer, args);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException { argument
41 FileInputStream fis = new FileInputStream(fd);
H A DDecodeUtils.java60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { argument
65 BitmapFactory.decodeFileDescriptor(fd, null, options));
68 public static void decodeBounds(JobContext jc, FileDescriptor fd, argument
73 BitmapFactory.decodeFileDescriptor(fd, null, options);
104 FileDescriptor fd = fis.getFD();
105 return decodeThumbnail(jc, fd, options, targetSize, type);
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
120 BitmapFactory.decodeFileDescriptor(fd, null, options);
148 Bitmap result = BitmapFactory.decodeFileDescriptor(fd, null, options);
227 JobContext jc, FileDescriptor fd, boolea
114 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument
226 createBitmapRegionDecoder( JobContext jc, FileDescriptor fd, boolean shareable) argument
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
H A DUtils.java92 public static void closeSilently(ParcelFileDescriptor fd) { argument
94 if (fd != null) fd.close();
/packages/apps/Nfc/src/com/android/nfc/
H A DNfceeAccessControl.java271 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMailLogService.java165 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
180 super.dump(fd, writer,args);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_dict_buffers.cpp113 const int fd = open(bodyFilePath, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); local
114 if (fd == -1) {
119 FILE *const file = fdopen(fd, "wb");
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Ddict_file_writing_utils.cpp104 const int fd = open(filePath, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); local
105 if (fd == -1) {
110 FILE *const file = fdopen(fd, "wb");
H A Dfile_utils.cpp32 const int fd = open(filePath, O_RDONLY); local
33 if (fd == -1) {
37 if (fstat(fd, &statBuf) != 0) {
38 close(fd);
41 close(fd);
/packages/apps/Gallery/src/com/android/camera/
H A DBitmapManager.java177 public Bitmap decodeFileDescriptor(FileDescriptor fd, argument
190 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DThumbnail.java256 public static Bitmap createVideoThumbnail(FileDescriptor fd, int targetWidth) { argument
257 return createVideoThumbnail(null, fd, targetWidth);
264 private static Bitmap createVideoThumbnail(String filePath, FileDescriptor fd, int targetWidth) { argument
271 retriever.setDataSource(fd);
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAidRoutingManager.java218 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DCardEmulationManager.java106 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
107 mServiceCache.dump(fd, pw, args);
108 mPreferredServices.dump(fd, pw, args);
109 mAidCache.dump(fd, pw, args);
110 mHostEmulationManager.dump(fd, pw, args);
H A DPreferredServices.java372 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DRegisteredAidCache.java623 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
631 mRoutingManager.dump(fd, pw, args);
H A DRegisteredServicesCache.java553 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
557 service.dump(fd, pw, args);
/packages/apps/UnifiedEmail/src/com/android/mail/content/
H A DObjectCursorLoader.java172 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
173 super.dump(prefix, fd, writer, args);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DStorageUtils.java90 public static void ensureAvailableSpace(Context context, FileDescriptor fd, long bytes) argument
93 long availBytes = getAvailableBytes(fd);
103 dev = Os.fstat(fd).st_dev;
134 availBytes = getAvailableBytes(fd);
180 private static long getAvailableBytes(FileDescriptor fd) throws IOException { argument
182 final StructStatVfs stat = Os.fstatvfs(fd);
H A DDownloadService.java490 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hdp.cpp63 int channel_id, bthl_channel_state_t state, int fd) {
75 // TODO(BT) check if fd is only valid for BTHH_CONN_STATE_CONNECTED state
77 fileDescriptor = jniCreateFileDescriptor(sCallbackEnv, fd);
79 ALOGE("Failed to convert file descriptor, fd: %d", fd);
62 channel_state_callback(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int channel_id, bthl_channel_state_t state, int fd) argument
/packages/experimental/procstatlog/
H A Dprocstatlog.c75 int fd = open(filename, O_RDONLY); local
76 if (fd < 0) {
81 int len = read(fd, buf, sizeof(buf));
84 close(fd);
89 close(fd);
107 int fd = open(filename, O_RDONLY); local
108 if (fd < 0) return 0;
110 int len = read(fd, buf, sizeof(buf) - 1);
113 close(fd);
117 close(fd);
162 int fd = open("/proc/yaffs", O_RDONLY); local
244 int fd = open(filename, O_RDONLY); local
[all...]

Completed in 1250 milliseconds

123