HomeSort by relevance Sort by last modified time
    Searched refs:filePath (Results 26 - 50 of 201) sorted by null

12 3 4 5 6 7 8 9

  /frameworks/base/core/jni/
android_content_res_ObbScanner.cpp 42 const char* filePath = env->GetStringUTFChars(file, NULL);
45 if (!obb->readFrom(filePath)) {
46 env->ReleaseStringUTFChars(file, filePath);
51 env->ReleaseStringUTFChars(file, filePath);
com_android_internal_content_NativeLibraryHelper.cpp 99 isFileDifferent(const char* filePath, size_t fileSize, time_t modifiedTime,
102 if (lstat64(filePath, st) < 0) {
104 ALOGV("Couldn't stat %s, copying: %s\n", filePath, strerror(errno));
122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY));
124 ALOGV("Couldn't open file %s: %s", filePath, strerror(errno));
136 ALOGV("%s: crc = %lx, zipCrc = %lx\n", filePath, crc, zipCrc);
272 ScopedUtfChars filePath(env, javaFilePath);
278 if (zipFile.open(filePath.c_str()) != NO_ERROR) {
279 ALOGI("Couldn't open APK %s\n", filePath.c_str());
  /device/generic/goldfish/camera/
EmulatedCameraHotplugThread.cpp 185 String8 filePath = getFilePath(cameraId);
191 int newStatus = readFile(filePath);
228 String8 filePath = getFilePath(cameraId);
231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC,
235 __FUNCTION__, filePath.string(), strerror(errno), errno);
242 __FUNCTION__, filePath.string(), strerror(errno), errno);
250 int EmulatedCameraHotplugThread::getCameraId(String8 filePath) const {
257 if (camPath == filePath) {
338 int EmulatedCameraHotplugThread::readFile(String8 filePath) const {
341 open(filePath.string(), O_RDONLY, /*mode*/0))
    [all...]
  /frameworks/av/media/mtp/
MtpStorage.cpp 35 MtpStorage::MtpStorage(MtpStorageID id, const char* filePath,
39 mFilePath(filePath),
46 ALOGV("MtpStorage id: %d path: %s\n", id, filePath);
MtpStorage.h 40 MtpStorage(MtpStorageID id, const char* filePath,
  /packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DownloadProviderPermissionsTest.java 54 String filePath = "/cache/this-should-not-exist.txt";
55 FileOutputStream strm = new FileOutputStream(filePath);
59 fail("Was able to create and write to " + filePath);
  /dalvik/dx/src/com/android/dx/cf/direct/
DirectClassFile.java 80 private final String filePath;
169 * @param filePath {@code non-null;} the file path for the class,
176 public DirectClassFile(ByteArray bytes, String filePath,
182 if (filePath == null) {
183 throw new NullPointerException("filePath == null");
186 this.filePath = filePath;
196 * @param filePath {@code non-null;} the file path for the class,
203 public DirectClassFile(byte[] bytes, String filePath,
205 this(new ByteArray(bytes), filePath, strictParse)
    [all...]
  /frameworks/base/core/java/android/app/backup/
BackupAgent.java 324 String filePath;
348 filePath = file.getCanonicalPath();
354 if (filePath.startsWith(cacheDir) || filePath.startsWith(libDir)) {
361 if (filePath.startsWith(dbDir)) {
364 } else if (filePath.startsWith(spDir)) {
367 } else if (filePath.startsWith(filesDir)) {
370 } else if (filePath.startsWith(mainDir)) {
373 } else if ((efDir != null) && filePath.startsWith(efDir)) {
377 Log.w(TAG, "File " + filePath + " is in an unsupported location; skipping")
    [all...]
  /external/webkit/Tools/DumpRenderTree/android/
get_layout_tests_dir_contents.php 54 $filePath = $value;
56 $filePath = $relPath . DIRECTORY_SEPARATOR . $value;
59 if (is_dir(getAbsolutePath($filePath))) {
61 $result = array_merge($result, (array)$filePath);
64 $result = array_merge($result, getAllFilesUnderAsArray($filePath, $recurse, $mode));
67 $result = array_merge($result, (array)$filePath);
  /external/webkit/Source/WebCore/platform/audio/mac/
AudioFileReaderMac.h 44 AudioFileReader(const char* filePath);
  /external/webkit/Source/WebKit/chromium/public/
WebMimeRegistry.h 52 virtual WebString mimeTypeFromFile(const WebString& filePath) = 0;
WebBlobData.h 52 WebString filePath;
  /external/webkit/Source/WebKit/chromium/tests/
WebFrameTest.cpp 68 std::string filePath = webkit_support::GetWebKitRootDir().utf8();
69 filePath += "/Source/WebKit/chromium/tests/data/";
70 filePath += fileName;
72 webkit_support::RegisterMockedURL(WebURL(GURL(baseURL + fileName)), response, WebString::fromUTF8(filePath));
WebPageSerializerTest.cpp 81 std::string filePath = webkit_support::GetWebKitRootDir().utf8();
82 filePath.append("/Source/WebKit/chromium/tests/data/pageserialization/");
83 filePath.append(fileName.utf8());
84 webkit_support::RegisterMockedURL(url, response, WebString::fromUTF8(filePath));
  /sdk/dumpeventlog/src/com/android/dumpeventlog/
DumpEventLog.java 46 public LogWriter(String filePath) throws IOException {
47 mOutputStream = new FileOutputStream(filePath);
76 System.out.println("Usage: dumpeventlog <device s/n> <filepath>");
138 private static void grabLogFrom(IDevice device, String filePath) throws IOException,
140 LogWriter writer = new LogWriter(filePath);
  /dalvik/dx/src/com/android/dx/command/dump/
DotDumper.java 45 private final String filePath;
50 static void dump(byte[] bytes, String filePath, Args args) {
51 new DotDumper(bytes, filePath, args).run();
54 DotDumper(byte[] bytes, String filePath, Args args) {
56 this.filePath = filePath;
69 classFile = new DirectClassFile(ba, filePath, strictParse);
75 new DirectClassFile(ba, filePath, strictParse);
BaseDumper.java 53 private final String filePath;
79 * @param filePath the file path for the class, excluding any base
83 String filePath, Args args) {
88 this.filePath = filePath;
192 return filePath;
  /external/qemu/android/utils/
ini.h 33 IniFile* iniFile_newFromFile( const char* filePath);
38 int iniFile_saveToFile( IniFile* f, const char* filePath );
43 int iniFile_saveToFileClean( IniFile* f, const char* filepath );
  /external/webkit/Source/WebCore/platform/graphics/win/
DIBPixelData.cpp 52 void DIBPixelData::writeToFile(LPCWSTR filePath)
54 HANDLE hFile = ::CreateFile(filePath, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/
MediaPlayerPowerTest.java 49 public void audioPlayback(String filePath) {
52 mp.setDataSource(filePath);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
BinaryTempFileBody.java 48 * @param filePath The file containing the data to be stored on disk temporarily
50 public void setFile(String filePath) {
51 mFile = new File(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);
109 stream = new FileInputStream(filePath);
129 Log.e(TAG, "Unable to decode file " + filePath + ". OutOfMemoryError.", oom);
155 * @param filePath the path of video file
158 public static Bitmap createVideoThumbnail(String filePath, int kind) {
162 retriever.setDataSource(filePath);
478 private static void createThumbnailFromEXIF(String filePath, int targetSize
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSPosix.h 63 extern int ParseDNSServers(mDNS *m, const char *filePath);
  /external/webkit/Source/WebCore/platform/mac/
SharedBufferMac.mm 116 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
118 NSData *resourceData = [NSData dataWithContentsOfFile:filePath];
  /external/webkit/Tools/Scripts/
check-Xcode-source-file-types 131 my $filePath = $3;
132 my (undef, undef, $fileExtension) = map { lc($_) } fileparse(basename($filePath), qr{\.[^.]+$});
136 print STDERR "WARNING: Unknown file type '$fileType' for file '$filePath'.\n" if $printWarnings;
139 print STDERR "WARNING: Incorrect file type '$fileType' for file '$filePath'.\n" if $printWarnings;

Completed in 471 milliseconds

12 3 4 5 6 7 8 9