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

12

/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/Contacts/src/com/android/contacts/interactions/
H A DTestLoaderManager.java222 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
223 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.java61 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { argument
66 BitmapFactory.decodeFileDescriptor(fd, null, options));
69 public static void decodeBounds(JobContext jc, FileDescriptor fd, argument
74 BitmapFactory.decodeFileDescriptor(fd, null, options);
105 FileDescriptor fd = fis.getFD();
106 return decodeThumbnail(jc, fd, options, targetSize, type);
116 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
121 BitmapFactory.decodeFileDescriptor(fd, null, options);
149 Bitmap result = BitmapFactory.decodeFileDescriptor(fd, null, options);
228 JobContext jc, FileDescriptor fd, boolea
115 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument
227 createBitmapRegionDecoder( JobContext jc, FileDescriptor fd, boolean shareable) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DNfceeAccessControl.java271 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DNfcDispatcher.java526 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/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 DRegisteredServicesCache.java253 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DRegisteredAidCache.java620 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
621 mServiceCache.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/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/apps/UnifiedEmail/src/com/android/bitmap/
H A DDecodeTask.java97 AssetFileDescriptor fd = null;
113 Trace.beginSection("create fd and stream");
114 fd = mKey.createFd();
116 if (fd == null) {
125 if (fd != null) {
126 byteSize = fd.getLength();
133 if (fd != null) {
135 Trace.beginSection("create fd and stream");
141 if (fd != null) {
165 if (fd
333 decodeCropped(final AssetFileDescriptor fd, final InputStream in, final int orientation, final Rect outSrcRect) argument
399 decode(AssetFileDescriptor fd, InputStream in) argument
[all...]
/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...]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DPinyinDecoderService.java42 native static boolean nativeImOpenDecoderFd(FileDescriptor fd, argument
137 + ", length=" + afd.getLength() + ", fd="
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadService.java431 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
H A DDownloadProvider.java1236 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
/packages/apps/Camera2/src/com/android/camera/crop/
H A DUtils.java202 public static void closeSilently(ParcelFileDescriptor fd) { argument
204 if (fd != null) fd.close();
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DUtils.java202 public static void closeSilently(ParcelFileDescriptor fd) { argument
204 if (fd != null) fd.close();
/packages/apps/Launcher3/src/com/android/gallery3d/common/
H A DUtils.java202 public static void closeSilently(ParcelFileDescriptor fd) { argument
204 if (fd != null) fd.close();
/packages/inputmethods/PinyinIME/jni/android/
H A Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp70 jint fd = env->GetIntField(fd_sys_dict, gFileDescriptorOffsets.mDescriptor); local
75 int newfd = dup(fd);
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java276 /*set the channel fd to null if channel state isnot equal to connected*/
589 BluetoothDevice device, int state, int prevState, ParcelFileDescriptor fd, int id) {
596 if (fd != null) {
598 dupedFd = fd.dup();
588 callHealthChannelCallback(BluetoothHealthAppConfiguration config, BluetoothDevice device, int state, int prevState, ParcelFileDescriptor fd, int id) argument

Completed in 635 milliseconds

12