/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/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DecodeUtils.java | 59 public static Bitmap requestDecode(JobContext jc, FileDescriptor fd, Options options) { argument 63 BitmapFactory.decodeFileDescriptor(fd, null, options)); 84 FileDescriptor fd = fis.getFD(); 85 return requestDecode(jc, fd, options, targetSize); 94 public static Bitmap requestDecode(JobContext jc, FileDescriptor fd, argument 100 BitmapFactory.decodeFileDescriptor(fd, null, options); 107 Bitmap result = BitmapFactory.decodeFileDescriptor(fd, null, options); 186 JobContext jc, FileDescriptor fd, boolean shareable) { 188 return BitmapRegionDecoder.newInstance(fd, shareable); 185 requestCreateBitmapRegionDecoder( JobContext jc, FileDescriptor fd, boolean shareable) argument
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 42 void releaseDictBuf(void* dictBuf, const size_t length, int fd); 55 int fd = 0; local 60 fd = open(sourceDirChars, O_RDONLY); 61 if (fd < 0) { 69 dictBuf = mmap(NULL, sizeof(char) * adjDictSize, PROT_READ, MAP_PRIVATE, fd, adjDictOffset); 114 releaseDictBuf(((char*)dictBuf) - adjust, adjDictSize, fd); 119 dictionary = new Dictionary(dictBuf, dictSize, fd, adjust, typedLetterMultiplier, 204 void releaseDictBuf(void* dictBuf, const size_t length, int fd) { argument 210 ret = close(fd);
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | TempFileProvider.java | 98 ParcelFileDescriptor fd = null; 107 fd = getTempStoreFd(); 111 return fd;
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | WidgetProvider.java | 105 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument 106 WidgetManager.getInstance().dump(fd, writer, args);
|
/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/Contacts/src/com/android/contacts/interactions/ |
H A D | TestLoaderManager.java | 222 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 223 mDelegate.dump(prefix, fd, writer, args);
|
/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/Camera/src/com/android/camera/ |
H A D | Thumbnail.java | 248 public static Bitmap createVideoThumbnail(FileDescriptor fd, int targetWidth) { argument 249 return createVideoThumbnail(null, fd, targetWidth); 256 private static Bitmap createVideoThumbnail(String filePath, FileDescriptor fd, int targetWidth) { argument 263 retriever.setDataSource(fd);
|
H A D | EffectsRecorder.java | 185 public void setOutputFile(FileDescriptor fd) { argument 196 mFd = fd;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 224 public static void closeSilently(ParcelFileDescriptor fd) { argument 226 if (fd != null) fd.close();
|
/packages/apps/Email/src/com/android/email/widget/ |
H A D | WidgetManager.java | 110 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 935 ParcelFileDescriptor fd = null; 937 fd = res.openFileDescriptor(uri, "r"); 945 fd.getFileDescriptor(), null, sBitmapOptionsCache); 957 fd.getFileDescriptor(), null, sBitmapOptionsCache); 973 if (fd != null) 974 fd.close(); 1062 FileDescriptor fd = pfd.getFileDescriptor(); 1063 bm = BitmapFactory.decodeFileDescriptor(fd); 1069 FileDescriptor fd = pfd.getFileDescriptor(); 1070 bm = BitmapFactory.decodeFileDescriptor(fd); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | VoicemailProviderTest.java | 267 ParcelFileDescriptor fd = mResolver.openFileDescriptor(uri, "r"); 268 assertNotNull(fd); 269 fd.close();
|
/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/apps/Nfc/src/com/android/nfc/ |
H A D | NfceeAccessControl.java | 271 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | NfcService.java | 773 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 774 NfcService.this.dump(fd, pw, args); 1875 void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 1893 mP2pLinkManager.dump(fd, pw, args); 1894 mNfceeAccessControl.dump(fd, pw, args);
|
H A D | P2pLinkManager.java | 566 void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/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 | 724 ParcelFileDescriptor fd; 733 fd = openFileHelper(uri, mode); 736 return fd;
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactLoader.java | 767 AssetFileDescriptor fd = getContext().getContentResolver() 770 FileInputStream fis = fd.createInputStream(); 780 fd.close();
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadService.java | 563 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | QuickContactActivity.java | 416 AssetFileDescriptor fd = getContentResolver() 418 return BitmapFactory.decodeStream(fd.createInputStream());
|