/external/webkit/WebCore/platform/mac/ |
SharedBufferMac.mm | 115 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 117 NSData *resourceData = [NSData dataWithContentsOfFile:filePath];
|
/packages/apps/Camera/src/com/android/camera/ |
ThumbnailController.java | 87 public boolean storeData(String filePath) { 96 f = new FileOutputStream(filePath); 114 public boolean loadData(String filePath) { 119 f = new FileInputStream(filePath);
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 84 * @param filePath the path of image file 90 public static Bitmap createImageThumbnail(String filePath, int kind) { 100 MediaFileType fileType = MediaFile.getFileType(filePath); 102 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); 108 FileDescriptor fd = new FileInputStream(filePath).getFD(); 142 * @param filePath the path of video file 145 public static Bitmap createVideoThumbnail(String filePath, int kind) { 150 retriever.setDataSource(filePath); 451 private static void createThumbnailFromEXIF(String filePath, int targetSize, 453 if (filePath == null) return [all...] |
/external/quake/quake/src/WinQuake/ |
sys_android.cpp | 424 char filePath[1024]; 425 if ((int) (sizeof(filePath)-1) < snprintf(filePath, sizeof(filePath), "%s/%s", path, name)) { 428 if(direxists(filePath)) { 429 rmDir(filePath); 432 unlink(filePath);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventLogPanel.java | 243 * @param filePath 246 public void saveLog(String filePath) throws IOException { 248 File destFile = new File(filePath); 264 filePath = filePath + TAG_FILE_EXT; 265 mCurrentEventLogParser.saveTags(filePath); 272 * @param filePath Event log path (and base of potential tag file) 274 public void loadLog(String filePath) { 275 if ((new File(filePath + TAG_FILE_EXT)).exists()) { 276 startEventLogFromFiles(filePath); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 114 String filePath; 116 filePath = c.getString(c.getColumnIndexOrThrow(Part.FILENAME)); 117 if (TextUtils.isEmpty(filePath)) { 118 filePath = c.getString( 124 filePath = c.getString( 129 mPath = filePath;
|
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 72 String filePath = (null == file ? null : file.getPath()); 73 security.checkRead(filePath);
|
/dalvik/dx/src/com/android/dx/command/dump/ |
SsaDumper.java | 57 * @param filePath the file path for the class, excluding any base 62 String filePath, Args args) { 63 SsaDumper sd = new SsaDumper(bytes, out, filePath, args); 72 * @param filePath the file path for the class, excluding any base 76 private SsaDumper(byte[] bytes, PrintStream out, String filePath, 78 super(bytes, out, filePath, true, args);
|
BlockDumper.java | 77 * @param filePath the file path for the class, excluding any base 83 String filePath, boolean rop, Args args) { 85 new BlockDumper(bytes, out, filePath, 95 String filePath, 97 super(bytes, out, filePath, args);
|
/external/webkit/WebKit/chromium/public/ |
WebHTTPBody.h | 53 WebString filePath;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractDownloadManagerFunctionalTest.java | 196 String filePath = cursor.getString(0); 197 if (filePath == null) continue; 198 Log.d(LOG_TAG, "Deleting " + filePath); 199 new File(filePath).delete();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 217 args.putString("filepath", path); 237 String filePath = arguments.getString("filepath"); 240 if (filePath != null) { 244 Uri uri = scanFile(filePath, arguments.getString("mimetype")); 246 listener.scanCompleted(filePath, uri);
|
/cts/tools/host/src/com/android/cts/ |
TestHost.java | 359 String filePath = getConfigFilePath(cfgPath); 361 if (loadConfig(filePath) == false) { 390 * @param filePath The file path. 393 static private String getConfigFilePath(final String filePath) { 394 if (filePath != null) { 395 if (!HostUtils.isFileExist(filePath)) { 396 Log.e("Configuration file \"" + filePath + "\" doesn't exist.", null); 404 return filePath;
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 558 * @param filePath The full normalized path to the OBB file 561 protected String doWaitForPath(String filePath) { 565 assertTrue("OBB " + filePath + " is not currently mounted!", mSm.isObbMounted(filePath)); 571 fail("Timed out waiting to get path of OBB file " + filePath); 576 path = mSm.getMountedObbPath(filePath); 587 * @param filePath The normalized path to the already-mounted OBB file 589 protected void verifyObb1Contents(String filePath) { 591 path = doWaitForPath(filePath); 604 * @param filePath The normalized path to the already-mounted OBB fil [all...] |
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechTest.java | 166 private boolean isMusicFile(String filePath) { 171 mp.setDataSource(filePath);
|
/cts/tools/host/test/com/android/cts/ |
CtsTestBase.java | 120 * @param filePath The file to be created. 122 protected void createFile(String content, String filePath) 124 BufferedWriter out = new BufferedWriter(new FileWriter(filePath));
|
/external/webkit/WebCore/platform/ |
SharedBuffer.h | 58 static PassRefPtr<SharedBuffer> createWithContentsOfFile(const String& filePath);
|
/external/webkit/WebCore/platform/graphics/mac/ |
SimpleFontDataMac.mm | 183 NSString *filePath = pathFromFont(initialFont.get()); 184 if (!filePath) 185 filePath = @"not known"; 194 LOG_ERROR("unable to initialize with font %@ at %@", initialFont.get(), filePath); 199 LOG_ERROR("unable to initialize with font %@ at %@", initialFont.get(), filePath); 206 [m_platformData.font() familyName], [initialFont.get() familyName], filePath);
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 76 * @param filePath {@code non-null;} the file path for the class, 82 public static ClassDefItem translate(String filePath, byte[] bytes, 85 return translate0(filePath, bytes, args); 87 String msg = "...while processing " + filePath; 97 * @param filePath {@code non-null;} the file path for the class, 103 private static ClassDefItem translate0(String filePath, byte[] bytes, 106 new DirectClassFile(bytes, filePath, args.strictNameCheck);
|
/external/chromium/third_party/icu/source/test/perf/collationperf/ |
CollPerf.pl | 42 my $filePath = $CollationDataPath . "/"; 77 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 78 my @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -qsort`; 89 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 90 @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -keygen`;
|
/external/icu4c/test/perf/collationperf/ |
CollPerf.pl | 42 my $filePath = $CollationDataPath . "/"; 77 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 78 my @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -qsort`; 89 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 90 @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -keygen`;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringInputPage.java | 233 String filePath = sLastResFilePath.get(projPath); 235 mResFileCombo.setText(filePath != null ? filePath : DEFAULT_RES_FILE_PATH); 467 for (String filePath : filePaths) { 468 mResFileCombo.add(filePath);
|
/external/webkit/WebKit/mac/Misc/ |
WebIconDatabase.mm | 489 NSString *filePath = [[NSString alloc] initWithFormat:@"%@/%s", databasePath, uniqueKey]; 490 NSData *data = [[NSData alloc] initWithContentsOfFile:filePath]; 516 [filePath release]; 677 NSString *filePath = [databaseDirectory stringByAppendingPathComponent:file]; 678 if (![fileManager removeItemAtPath:filePath error:NULL]) 679 LOG_ERROR("Failed to delete %@ from old icon directory", filePath);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageManager.java | 144 String filePath = directory + "/" + filename; 155 degree[0] = getExifOrientation(filePath); 182 values.put(Images.Media.DATA, filePath); 193 public static int getExifOrientation(String filepath) { 197 exif = new ExifInterface(filepath);
|
/external/webkit/WebCore/platform/qt/ |
FileSystemQt.cpp | 84 return QDir::toNativeSeparators(QDir(path).filePath(component));
|