/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);
|
/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...] |
/external/clang/include/clang/ARCMigrate/ |
FileRemapper.h | 47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag, 55 void remap(StringRef filePath, llvm::MemoryBuffer *memBuf); 67 const FileEntry *getOriginalFile(StringRef filePath);
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
WorkerGlobalScopeFileSystem.cpp | 99 String filePath; 100 if (!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { 105 WorkerLocalFileSystem::from(worker)->readFileSystem(worker, type, ResolveURICallbacks::create(successCallback, errorCallback, worker, type, filePath)); 118 String filePath; 119 if (!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { 130 RefPtr<EntrySync> entry = fileSystem->root()->getDirectory(filePath, Dictionary(), es); 133 return fileSystem->root()->getFile(filePath, Dictionary(), es);
|
DOMWindowFileSystem.cpp | 92 String filePath; 93 if (!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { 98 LocalFileSystem::from(document)->readFileSystem(document, type, ResolveURICallbacks::create(successCallback, errorCallback, document, type, filePath));
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
DirectClassFile.java | 81 private final String filePath; 170 * @param filePath {@code non-null;} the file path for the class, 177 public DirectClassFile(ByteArray bytes, String filePath, 183 if (filePath == null) { 184 throw new NullPointerException("filePath == null"); 187 this.filePath = filePath; 197 * @param filePath {@code non-null;} the file path for the class, 204 public DirectClassFile(byte[] bytes, String filePath, 206 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/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebHTTPBody.cpp | 78 result.filePath.reset(); 92 result.filePath = element.m_filename; 125 void WebHTTPBody::appendFile(const WebString& filePath) 128 m_private->appendFile(filePath); 131 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modificationTime) 134 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime);
|
/external/lzma/CPP/7zip/UI/Common/ |
OpenArchive.h | 70 const UString &filePath,
78 const UString &filePath,
83 const UString &filePath,
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwWebContentsDelegate.java | 38 int mode_flags, String[] 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 | 51 private final String filePath; 77 * @param filePath the file path for the class, excluding any base 81 String filePath, Args args) { 86 this.filePath = filePath; 190 return filePath;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FileSystemMapping.js | 168 * @param {string} filePath 171 _mappingEntryForPath: function(fileSystemPath, filePath) 183 if (filePath.startsWith(pathPrefix.substr(1))) 224 * @return {?{fileSystemPath: string, filePath: string}} 233 file.filePath = entry.pathPrefix.substr(1) + url.substr(entry.urlPrefix.length); 239 * @param {string} filePath 242 urlForPath: function(fileSystemPath, filePath) 244 var entry = this._mappingEntryForPath(fileSystemPath, filePath); 247 return entry.urlPrefix + filePath.substring(entry.pathPrefix.length - 1); 265 * @param {string} filePath [all...] |
/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 );
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/ |
MediaPlayerPowerTest.java | 49 public void audioPlayback(String filePath) { 52 mp.setDataSource(filePath);
|
/packages/apps/UnifiedEmail/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);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.h | 80 void flush(const char *const filePath); 82 void flushWithGC(const char *const filePath);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_policy.h | 91 void flush(const char *const filePath); 93 void flushWithGC(const char *const filePath);
|
patricia_trie_policy.h | 100 void flush(const char *const filePath) { 105 void flushWithGC(const char *const filePath) {
|
/external/chromium_org/chrome/browser/resources/extensions/ |
pack_extension_overlay.js | 56 * select dialog, and fire |callback| with the |filePath| that resulted. 63 handleFilePathSelected = function(filePath) { 64 callback(filePath); 77 this.showFileDialog_('folder', 'load', function(filePath) { 78 $('extensionRootDir').value = filePath; 88 this.showFileDialog_('file', 'pem', function(filePath) { 89 $('extensionPrivateKey').value = filePath;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
RotationTask.java | 93 String filePath = imageData.getPath(); 107 exifInterface.forceRewriteExif(filePath); 108 long fileSize = new File(filePath).length(); 113 Log.w(TAG, "Cannot find file to set exif: " + filePath); 115 Log.w(TAG, "Cannot set exif data: " + filePath);
|