/external/chromium_org/chrome/browser/component_updater/ |
component_patcher_operation.h | 15 class FilePath; 34 const base::FilePath& input_dir, 35 const base::FilePath& unpack_dir, 42 base::FilePath output_abs_path_; 52 const base::FilePath& input_dir, 75 const base::FilePath& input_dir, 81 base::FilePath input_abs_path_; 98 const base::FilePath& input_dir, 104 base::FilePath patch_abs_path_; 120 const base::FilePath& input_dir [all...] |
/external/chromium_org/extensions/common/ |
extension_resource.h | 15 // JavaScript file. This is more complicated than just a simple FilePath 30 const base::FilePath& extension_root, 31 const base::FilePath& relative_path); 43 const base::FilePath& GetFilePath() const; 53 static base::FilePath GetFilePath(const base::FilePath& extension_root, 54 const base::FilePath& relative_path, 59 const base::FilePath& extension_root() const { return extension_root_; } 60 const base::FilePath& relative_path() const { return relative_path_; } 65 base::FilePath::StringType NormalizeSeperators [all...] |
/external/chromium_org/base/ |
base_paths_win.cc | 17 using base::FilePath; 21 bool GetQuickLaunchPath(bool default_user, FilePath* result) { 32 *result = FilePath(system_buffer); 53 bool PathProviderWin(int key, FilePath* result) { 62 FilePath cur; 66 cur = FilePath(system_buffer); 73 cur = FilePath(system_buffer); 78 cur = FilePath(system_buffer); 82 cur = FilePath(system_buffer); 90 cur = FilePath(system_buffer) [all...] |
file_util_unittest.cc | 47 // To test that file_util::Normalize FilePath() deals with NTFS reparse points 78 bool SetReparsePoint(HANDLE source, const FilePath& target_path) { 125 ReparsePoint(const FilePath& source, const FilePath& target) { 156 void ChangePosixFilePermissions(const FilePath& path, 192 FilePath cur_file; 194 FilePath::StringType path = cur_file.value(); 205 bool HasFile(const FilePath& file) const { 214 std::set<FilePath::StringType> files_; 218 void CreateTextFile(const FilePath& filename [all...] |
/external/chromium_org/third_party/zlib/google/ |
zip_unittest.cc | 30 base::FilePath zip_path(test_dir_); 42 zip_file_list_.push_back(base::FilePath(FILE_PATH_LITERAL("foo.txt"))); 44 base::FilePath(FILE_PATH_LITERAL("foo/bar/quux.txt"))); 46 base::FilePath(FILE_PATH_LITERAL("foo/bar/.hidden"))); 53 bool GetTestDataDirectory(base::FilePath* path) { 66 void TestUnzipFile(const base::FilePath::StringType& filename, 68 base::FilePath test_dir; 73 void TestUnzipFile(const base::FilePath& path, bool expect_hidden_files) { 79 base::FilePath next_path = files.Next(); 83 base::FilePath::StringType::npos) [all...] |
/external/chromium/chrome/common/ |
auto_start_linux.cc | 16 const FilePath::CharType kAutostart[] = "autostart"; 17 const FilePath::CharType kConfig[] = ".config"; 20 FilePath GetAutostartDirectory(base::Environment* environment) { 21 FilePath result = 34 FilePath autostart_directory = GetAutostartDirectory(environment.get()); 40 FilePath autostart_file = autostart_directory.Append(autostart_filename); 60 FilePath autostart_directory = GetAutostartDirectory(environment.get()); 61 FilePath autostart_file = autostart_directory.Append(autostart_filename); 68 FilePath autostart_directory = GetAutostartDirectory(environment.get()); 69 FilePath autostart_file = autostart_directory.Append(autostart_filename) [all...] |
chrome_paths_linux.cc | 28 bool GetDefaultUserDataDirectory(FilePath* result) { 30 FilePath config_dir(base::nix::GetXDGDirectory(env.get(), 41 void GetUserCacheDirectory(const FilePath& profile_dir, FilePath* result) { 55 FilePath cache_dir; 58 FilePath config_dir(base::nix::GetXDGDirectory(env.get(), 68 bool GetChromeFrameUserDataDirectory(FilePath* result) { 70 FilePath config_dir(base::nix::GetXDGDirectory(env.get(), 81 bool GetUserDocumentsDirectory(FilePath* result) { 89 bool GetUserDownloadsDirectory(FilePath* result) [all...] |
/external/chromium_org/chrome/installer/setup/ |
archive_patch_helper.cc | 15 ArchivePatchHelper::ArchivePatchHelper(const base::FilePath& working_directory, 16 const base::FilePath& compressed_archive, 17 const base::FilePath& patch_source, 18 const base::FilePath& target) 28 const base::FilePath& working_directory, 29 const base::FilePath& compressed_archive, 30 const base::FilePath& patch_source, 31 const base::FilePath& target) { 38 bool ArchivePatchHelper::Uncompress(base::FilePath* last_uncompressed_file) { 50 last_uncompressed_file_ = base::FilePath(output_file) [all...] |
archive_patch_helper_unittest.cc | 38 static base::FilePath data_dir_; 44 base::FilePath ArchivePatchHelperTest::data_dir_; 50 base::FilePath src = data_dir_.AppendASCII("archive1.7z"); 51 base::FilePath patch = data_dir_.AppendASCII("archive.diff"); 52 base::FilePath dest = test_dir_.path().AppendASCII("archive2.7z"); 54 base::FilePath(), 59 base::FilePath base = data_dir_.AppendASCII("archive2.7z");
|
/external/chromium_org/content/public/test/ |
sandbox_file_system_test_helper.h | 21 class FilePath; 44 void SetUp(const base::FilePath& base_dir); 50 void SetUp(const base::FilePath& base_dir, 54 base::FilePath GetOriginRootPath(); 55 base::FilePath GetLocalPath(const base::FilePath& path); 56 base::FilePath GetLocalPathFromASCII(const std::string& path); 59 base::FilePath GetUsageCachePath() const; 61 FileSystemURL CreateURL(const base::FilePath& path) const; 63 return CreateURL(base::FilePath::FromUTF8Unsafe(utf8)) [all...] |
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { 37 file = fopen(filePath.string(), "r"); 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { 59 file = fopen(filePath.string(), "r"); 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { 80 file = fopen(filePath.string(), "w+"); 88 ALOGE("Failed to write the data to: %s", filePath.string()); 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { 97 file = fopen(filePath.string(), "a+"); 104 ALOGE("Failed to write the data to: %s", filePath.string()) [all...] |
/external/chromium_org/chrome/browser/autofill/ |
form_structure_browsertest.cc | 25 const base::FilePath::CharType kTestName[] = FILE_PATH_LITERAL("heuristics"); 32 const base::FilePath& GetTestDataDir() { 33 CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ()); 112 const base::FilePath::CharType kFileNamePattern[] = 120 const base::FilePath::CharType kFileNamePattern[] = 129 const base::FilePath::CharType kFileNamePattern[] = 138 const base::FilePath::CharType kFileNamePattern[] = 147 const base::FilePath::CharType kFileNamePattern[] = 156 const base::FilePath::CharType kFileNamePattern[] = 165 const base::FilePath::CharType kFileNamePattern[] [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
virtual_keyboard_browsertest.cc | 23 const base::FilePath kWebuiTestDir = 24 base::FilePath(FILE_PATH_LITERAL("webui")); 26 const base::FilePath kVirtualKeyboardTestDir = 27 base::FilePath(FILE_PATH_LITERAL("chromeos/virtual_keyboard")); 29 const base::FilePath kMockController = 30 base::FilePath(FILE_PATH_LITERAL("mock_controller.js")); 32 const base::FilePath kMockTimer = 33 base::FilePath(FILE_PATH_LITERAL("mock_timer.js")); 35 const base::FilePath kBaseKeyboardTestFramework = 36 base::FilePath(FILE_PATH_LITERAL("virtual_keyboard_test_base.js")) [all...] |
/external/chromium/chrome/browser/download/ |
download_prefs.h | 24 FilePath download_path() const { return *download_path_; } 40 const FilePath::StringType& extension) const; 44 bool EnableAutoOpenBasedOnExtension(const FilePath& file_name); 47 void DisableAutoOpenBasedOnExtension(const FilePath& file_name); 63 bool operator()(const FilePath::StringType& a, 64 const FilePath::StringType& b) const; 66 typedef std::set<FilePath::StringType, AutoOpenCompareFunctor> AutoOpenSet;
|
/external/chromium/chrome/browser/extensions/ |
file_manager_util.h | 23 const FilePath& full_file_path, const GURL& origin_url, GURL* url); 28 const FilePath& default_path, 31 const FilePath::StringType& default_extension); 36 const FilePath& default_path); 38 static void ViewItem(const FilePath& full_path, bool enqueue); 48 const FilePath& default_path, 51 const FilePath::StringType& default_extension);
|
/external/chromium/chrome/browser/ui/views/ |
user_data_dir_dialog.h | 17 class FilePath; 32 static FilePath RunUserDataDirDialog(const FilePath& user_data_dir); 35 FilePath user_data_dir() const { return user_data_dir_; } 54 virtual void FileSelected(const FilePath& path, int index, void* params); 58 explicit UserDataDirDialog(const FilePath& user_data_dir); 61 FilePath user_data_dir_;
|
/external/chromium/net/disk_cache/ |
cache_util_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { 31 for (FilePath name = iter.Next(); !name.value().empty(); name = iter.Next()) { 32 FilePath destination = to_path.Append(name.BaseName()); 44 void DeleteCache(const FilePath& path, bool remove_folder) { 48 for (FilePath file = iter.Next(); !file.value().empty(); file = iter.Next()) { 63 bool DeleteCacheFile(const FilePath& name) {
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator_filter.cc | 19 const base::FilePath& file_path) { 20 const base::FilePath& base_name = file_path.BaseName(); 27 const base::FilePath::StringType names_to_exclude[] = { 35 std::set<base::FilePath::StringType> names_to_exclude_set(names_to_exclude, 37 std::vector<base::FilePath::StringType> components; 44 base::FilePath::CharType first_character = base_name.value()[0]; 45 base::FilePath::CharType last_character =
|
test_extension_dir.cc | 31 void TestExtensionDir::WriteFile(const base::FilePath::StringType& filename, 41 base::FilePath TestExtensionDir::Pack() { 43 base::FilePath crx_path = 45 base::FilePath pem_path = 47 base::FilePath pem_in_path, pem_out_path; 59 return base::FilePath(); 63 return base::FilePath();
|
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator.h | 13 class FilePath; 30 bool GenerateAlternateVersion(const base::FilePath& original_installer_path, 31 const base::FilePath& target_path, 40 bool GenerateAlternatePEFileVersion(const base::FilePath& original_file, 41 const base::FilePath& target_file, 48 bool GenerateSpecificPEFileVersion(const base::FilePath& original_file, 49 const base::FilePath& target_file,
|
/external/chromium/base/ |
file_util.h | 52 BASE_API bool EndsWithSeparator(const FilePath& path); 56 BASE_API bool EnsureEndsWithSeparator(FilePath* path); 60 BASE_API bool AbsolutePath(FilePath* path); 64 BASE_API bool ContainsPath(const FilePath& parent, const FilePath& child); 77 BASE_API int CountFilesCreatedAfter(const FilePath& path, 85 BASE_API int64 ComputeDirectorySize(const FilePath& root_path); 93 BASE_API int64 ComputeFilesSize(const FilePath& directory, 94 const FilePath::StringType& pattern); 104 BASE_API bool Delete(const FilePath& path, bool recursive) [all...] |
/external/chromium_org/chrome/browser/extensions/api/file_system/ |
file_system_api.h | 13 class FilePath; 26 base::FilePath GetLastChooseEntryDirectory(const ExtensionPrefs* prefs, 31 const base::FilePath& path); 55 void CheckWritableFiles(const std::vector<base::FilePath>& path); 61 const std::vector<base::FilePath>& path); 67 void AddEntryToResponse(const base::FilePath& path, 71 void HandleWritableFileError(const base::FilePath& error_path); 97 base::FilePath path_; 113 static void SkipPickerAndAlwaysSelectPathForTest(base::FilePath* path); 115 std::vector<base::FilePath>* paths) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 67 String filePath = mFile.getAbsolutePath(); 68 mountObb(filePath); 69 verifyObb1Contents(filePath); 70 unmountObb(filePath, DONT_FORCE); 119 String filePath = mFile.getAbsolutePath(); 120 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); 121 verifyObb3Contents(filePath); 122 unmountObb(filePath, DONT_FORCE); 131 String filePath = mFile.getAbsolutePath(); 132 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT) [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils.h | 16 class FilePath; 29 FilePath GetFirefoxInstallPathFromRegistry(); 37 FilePath GetFirefoxDylibPath(); 41 FilePath GetFirefoxProfilePath(); 45 bool GetFirefoxVersionAndPathFromProfile(const FilePath& profile_path, 47 FilePath* app_path); 51 FilePath GetProfilesINI(); 65 void ParseProfileINI(const FilePath& file, DictionaryValue* root); 73 void ParseSearchEnginesFromXMLFiles(const std::vector<FilePath>& xml_files, 80 const FilePath& profile_path) [all...] |
/external/chromium/chrome/browser/net/ |
url_request_mock_http_job.cc | 18 static const FilePath::CharType kMockHeaderFileSuffix[] = 21 FilePath URLRequestMockHTTPJob::base_path_; 31 void URLRequestMockHTTPJob::AddUrlHandler(const FilePath& base_path) { 41 GURL URLRequestMockHTTPJob::GetMockUrl(const FilePath& path) { 52 GURL URLRequestMockHTTPJob::GetMockViewSourceUrl(const FilePath& path) { 60 FilePath URLRequestMockHTTPJob::GetOnDiskPath(const FilePath& base_path, 65 // So first we convert base FilePath to a URL, then append the URL 66 // path to that, and convert the final URL back to a FilePath. 69 FilePath file_path [all...] |