/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 75 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/jni/share/ |
H A D | userdict.cpp | 1241 int fd = open(dict_file_, O_WRONLY); 1242 if (fd == -1) 1246 write_back_all(fd); 1249 write_back_lemma(fd); 1252 write_back_offset(fd); 1255 write_back_score(fd); 1259 write_back_sync(fd); 1267 off_t cur = lseek(fd, 0, SEEK_CUR); 1268 ftruncate(fd, cur); 1269 close(fd); [all...] |
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | userdict.h | 381 void write_back_sync(int fd); 383 void write_back_score(int fd); 384 void write_back_offset(int fd); 385 void write_back_lemma(int fd); 386 void write_back_all(int fd);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | BitmapManager.java | 177 public Bitmap decodeFileDescriptor(FileDescriptor fd, argument 190 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
H A D | Util.java | 311 FileDescriptor fd = pfd.getFileDescriptor(); 313 BitmapManager.instance().decodeFileDescriptor(fd, options); 324 return BitmapManager.instance().decodeFileDescriptor(fd, options);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | BitmapManager.java | 172 public Bitmap decodeFileDescriptor(FileDescriptor fd, BitmapFactory.Options options) { argument 184 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 917 ParcelFileDescriptor fd = null; 919 fd = res.openFileDescriptor(uri, "r"); 927 fd.getFileDescriptor(), null, sBitmapOptionsCache); 939 fd.getFileDescriptor(), null, sBitmapOptionsCache); 955 if (fd != null) 956 fd.close(); 1044 FileDescriptor fd = pfd.getFileDescriptor(); 1045 bm = BitmapFactory.decodeFileDescriptor(fd); 1051 FileDescriptor fd = pfd.getFileDescriptor(); 1052 bm = BitmapFactory.decodeFileDescriptor(fd); [all...] |
H A D | MediaPlaybackService.java | 1949 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/packages/inputmethods/PinyinIME/jni/android/ |
H A D | com_android_inputmethod_pinyin_PinyinDecoderService.cpp | 70 jint fd = env->GetIntField(fd_sys_dict, gFileDescriptorOffsets.mDescriptor); local 75 int newfd = dup(fd);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | PinyinDecoderService.java | 42 native static boolean nativeImOpenDecoderFd(FileDescriptor fd, argument 137 + ", length=" + afd.getLength() + ", fd="
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 742 ParcelFileDescriptor fd; 751 fd = getTempStoreFd(); 755 fd = openFileHelper(uri, mode); 758 return fd;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | LatinIME.java | 1996 @Override protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { argument 1997 super.dump(fd, fout, args);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 1969 AssetFileDescriptor fd = mResolver.openAssetFileDescriptor(photoUri, "r"); 1970 assertEquals(loadTestPhoto().length, fd.getLength()); 1975 fd = mResolver.openAssetFileDescriptor(contactPhotoUri, "r"); 1976 assertEquals(loadTestPhoto().length, fd.getLength());
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsProvider2.java | 5538 AssetFileDescriptor fd = null; 5549 fd = AssetFileDescriptor.fromMemoryFile(memoryFile); 5553 return fd;
|