/external/chromium_org/chrome/browser/ |
shell_integration_linux.cc | 91 const base::FilePath& shortcut_filename) { 100 base::FilePath temp_file_path = temp_dir.path().Append( 144 bool CreateShortcutOnDesktop(const base::FilePath& shortcut_filename, 149 base::FilePath desktop_path; 185 void DeleteShortcutOnDesktop(const base::FilePath& shortcut_filename) { 186 base::FilePath desktop_path; 195 bool CreateShortcutInApplicationsMenu(const base::FilePath& shortcut_filename, 197 const base::FilePath& directory_filename, 203 base::FilePath temp_directory_path; 215 base::FilePath temp_file_path = temp_dir.path().Append(shortcut_filename) [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_shortcut_manager_unittest_win.cc | 68 const base::FilePath profile_path = 76 const base::FilePath icon_path = 82 base::FilePath CreateProfileDirectory(const base::string16& profile_name) { 83 const base::FilePath profile_path = 117 base::FilePath GetDefaultShortcutPathForProfile( 133 const base::FilePath& shortcut_path, 134 const base::FilePath& profile_path) { 138 const base::FilePath icon_path = 158 const base::FilePath& profile_path) { 165 const base::FilePath& shortcut_path) [all...] |
/external/chromium_org/net/disk_cache/ |
cache_util.cc | 23 base::FilePath GetPrefixedName(const base::FilePath& path, 32 void CleanupCallback(const base::FilePath& path, const std::string& name) { 34 base::FilePath to_delete = GetPrefixedName(path, name, i); 41 base::FilePath GetTempCacheName(const base::FilePath& path, 45 base::FilePath to_delete = GetPrefixedName(path, name, i); 49 return base::FilePath(); 83 void DeleteCache(const base::FilePath& path, bool remove_folder) { 94 for (base::FilePath file = iter.Next(); !file.value().empty() [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_file.h | 80 const base::FilePath& cache_directory); 98 typedef base::Callback<void (const base::FilePath&)> EntryFileCallback; 107 const base::FilePath& cache_directory, 108 const base::FilePath& index_file_path, 112 static void SyncLoadFromDisk(const base::FilePath& index_filename, 142 const base::FilePath& cache_path, 147 const base::FilePath& cache_directory, 148 const base::FilePath& index_filename, 149 const base::FilePath& temp_index_filename, 156 static void SyncRestoreFromDisk(const base::FilePath& cache_directory [all...] |
/external/chromium_org/base/ |
file_util_unittest.cc | 55 // To test that file_util::Normalize FilePath() deals with NTFS reparse points 86 bool SetReparsePoint(HANDLE source, const FilePath& target_path) { 133 ReparsePoint(const FilePath& source, const FilePath& target) { 164 void ChangePosixFilePermissions(const FilePath& path, 200 FilePath cur_file; 202 FilePath::StringType path = cur_file.value(); 213 bool HasFile(const FilePath& file) const { 222 std::set<FilePath::StringType> files_; 226 void CreateTextFile(const FilePath& filename [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util.cc | 51 std::string ReadStringFromGDocFile(const base::FilePath& file_path, 94 const base::FilePath& GetDriveGrandRootPath() { 95 CR_DEFINE_STATIC_LOCAL(base::FilePath, grand_root_path, 100 const base::FilePath& GetDriveMyDriveRootPath() { 101 CR_DEFINE_STATIC_LOCAL(base::FilePath, drive_root_path, 106 base::FilePath GetDriveMountPointPathForUserIdHash( 108 static const base::FilePath::CharType kSpecialMountPointRoot[] = 111 return base::FilePath(kSpecialMountPointRoot).AppendASCII( 116 base::FilePath GetDriveMountPointPath(Profile* profile) { 170 GURL FilePathToDriveURL(const base::FilePath& path) [all...] |
download_handler.cc | 34 explicit DriveUserData(const base::FilePath& path) : file_path_(path), 38 const base::FilePath& file_path() const { return file_path_; } 39 const base::FilePath& cache_file_path() const { return cache_file_path_; } 40 void set_cache_file_path(const base::FilePath& path) { 47 const base::FilePath file_path_; 48 base::FilePath cache_file_path_; 65 base::FilePath GetDriveTempDownloadPath( 66 const base::FilePath& drive_tmp_download_dir) { 70 base::FilePath drive_tmp_download_path; 78 void MoveDownloadedFile(const base::FilePath& downloaded_file [all...] |
/external/chromium_org/content/browser/download/ |
save_package.h | 77 static const base::FilePath::CharType kDefaultHtmlExtension[]; 89 const base::FilePath& file_full_path, 90 const base::FilePath& directory_full_path); 136 const base::FilePath& file_full_path, 137 const base::FilePath& directory_full_path); 165 static uint32 GetMaxPathLengthForDirectory(const base::FilePath& base_dir); 168 const base::FilePath& dir_path, 169 const base::FilePath::StringType& file_name_ext, 171 base::FilePath::StringType* pure_file_name); 177 base::FilePath::StringType* generated_name) [all...] |
/external/chromium_org/content/browser/fileapi/ |
sandbox_origin_database_unittest.cc | 28 const base::FilePath::CharType kFileSystemDirName[] = 30 const base::FilePath::CharType kOriginDatabaseName[] = 37 const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); 48 base::FilePath path0; 49 base::FilePath path1; 67 const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); 78 base::FilePath path0; 79 base::FilePath path1; 95 const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); 104 base::FilePath path0 [all...] |
file_system_context_unittest.cc | 85 const base::FilePath& expect_path, 86 const base::FilePath& expect_virtual_path, 118 base::FilePath(DRIVE FPL("/test/isolated/root")), 125 base::FilePath(DRIVE FPL("/test/sys/")))); 135 base::FilePath( 137 base::FilePath::FromUTF8Unsafe(isolated_id).Append(FPL("root/file")). 149 base::FilePath( 151 base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), 169 base::FilePath(DRIVE FPL("/test/sys/")))); 187 base::FilePath( [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
fileapi_worker_unittest.cc | 36 TestFileSystemForOpenFile(const base::FilePath& local_file_path, 43 virtual void OpenFile(const base::FilePath& file_path, 62 const base::FilePath local_file_path_; 71 const base::FilePath& expected_written_path, 162 const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); 165 base::FilePath temp_path; 181 const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); 185 base::FilePath temp_path [all...] |
/external/chromium_org/chrome/browser/component_updater/ |
swiftshader_component_installer.cc | 42 const base::FilePath::CharType kSwiftShaderEglName[] = 44 const base::FilePath::CharType kSwiftShaderGlesName[] = 49 const base::FilePath::CharType kSwiftShaderBaseDirectory[] = 57 base::FilePath GetSwiftShaderBaseDirectory() { 58 base::FilePath result; 67 bool GetLatestSwiftShaderDirectory(base::FilePath* result, 69 std::vector<base::FilePath>* older_dirs) { 70 base::FilePath base_dir = GetSwiftShaderBaseDirectory(); 74 for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); 95 void RegisterSwiftShaderWithChrome(const base::FilePath& path) [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
CodecTest.java | 80 public static int getDuration(String filePath) { 81 Log.v(TAG, "getDuration - " + filePath); 84 mp.setDataSource(filePath); 96 public static boolean getCurrentPosition(String filePath) { 97 Log.v(TAG, "GetCurrentPosition - " + filePath); 103 mp.setDataSource(filePath); 126 public static boolean seekTo(String filePath) { 127 Log.v(TAG, "seekTo " + filePath); 131 mp.setDataSource(filePath); 150 public static boolean setLooping(String filePath) { [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_browsertest.cc | 97 virtual void OnFileChanged(const FilePath& path, bool error) = 0; 116 virtual void OnFileChanged(const FilePath& path, bool error) OVERRIDE { 129 void SetupWatchCallback(const FilePath& target, 165 FilePath test_file() { 169 FilePath test_link() { 174 bool WriteFile(const FilePath& file, const std::string& content) { 179 bool SetupWatch(const FilePath& target, 200 bool FilePathWatcherTest::SetupWatch(const FilePath& target, 241 FilePath source_file(temp_dir_.path().AppendASCII("source")); 277 virtual void OnFileChanged(const FilePath&, bool) OVERRIDE [all...] |
/external/chromium_org/chrome/browser/web_applications/ |
web_app_mac.mm | 76 bool WriteDataToFile(const base::FilePath& path) { 153 base::FilePath GetWritableApplicationsDirectory() { 154 base::FilePath path; 158 return base::FilePath(); 164 return base::PathIsWritable(path) ? path : base::FilePath(); 166 return base::FilePath(); 170 base::FilePath GetResourcesPath(const base::FilePath& app_path) { 174 bool HasExistingExtensionShim(const base::FilePath& destination_directory, 176 const base::FilePath& own_basename) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
zip_file_creator_browsertest.cc | 36 base::FilePath zip_archive_path() const { 40 base::FilePath zip_base_dir() const { 54 std::vector<base::FilePath> paths; 55 paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist"))); 69 const base::FilePath kDir1(FILE_PATH_LITERAL("foo")); 70 const base::FilePath kFile1(kDir1.AppendASCII("bar")); 71 const base::FilePath kFile2(FILE_PATH_LITERAL("random")); 82 std::vector<base::FilePath> paths; 113 const base::FilePath out = dir_.path().AppendASCII("archived_content");
|
/external/chromium_org/chrome/browser/chromeos/system_logs/ |
command_line_log_source.cc | 27 CommandLine command(base::FilePath("/usr/bin/amixer")); 32 command = CommandLine((base::FilePath("/usr/bin/cras_test_client"))); 37 command = CommandLine((base::FilePath("/usr/bin/audio_diagnostics"))); 40 command = CommandLine((base::FilePath("/usr/bin/cras_test_client"))); 50 command = CommandLine((base::FilePath("/usr/bin/printenv"))); 53 command = CommandLine(base::FilePath("/usr/bin/setxkbmap")); 58 command = CommandLine(base::FilePath("/usr/bin/xinput")); 63 command = CommandLine(base::FilePath("/usr/bin/xrandr")); 69 command = CommandLine(base::FilePath("/bin/sh"));
|
/external/chromium_org/chrome/browser/download/ |
download_file_picker.cc | 35 void RecordFilePickerResult(const base::FilePath& suggested_path, 36 const base::FilePath& actual_path) { 56 const base::FilePath& suggested_path, 73 base::FilePath::StringType extension = suggested_path_.FinalExtension(); 89 base::FilePath::StringType(), 97 void DownloadFilePicker::OnFileSelected(const base::FilePath& path) { 104 void DownloadFilePicker::FileSelected(const base::FilePath& path, 112 OnFileSelected(base::FilePath()); 118 const base::FilePath& suggested_path,
|
/external/chromium_org/chrome/browser/extensions/ |
extension_service_test_base.h | 44 base::FilePath profile_path; 45 base::FilePath pref_file; 46 base::FilePath extensions_install_dir; 76 const base::FilePath& prefs_file, 77 const base::FilePath& source_install_dir); 96 const base::FilePath& extensions_install_dir() const { 99 const base::FilePath& data_dir() const { return data_dir_; } 126 base::FilePath extensions_install_dir_; 129 base::FilePath data_dir_;
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
local_file_sync_status.cc | 24 base::FilePath NormalizePath(const base::FilePath& path) { 27 return base::FilePath(path.StripTrailingSeparators().value() + 33 static const base::FilePath& GetKey(Iterator itr) { 40 static const base::FilePath& GetKey(Iterator itr) { 47 const base::FilePath& path, 49 base::FilePath normalized_path = NormalizePath(path); 88 base::FilePath normalized_path = NormalizePath(url.path()); 109 base::FilePath normalized_path = NormalizePath(url.path());
|
/external/chromium_org/chrome/common/ |
auto_start_linux.cc | 16 const base::FilePath::CharType kAutostart[] = "autostart"; 18 base::FilePath GetAutostartDirectory(base::Environment* environment) { 19 base::FilePath result = base::nix::GetXDGDirectory( 34 base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); 40 base::FilePath autostart_file = 61 base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); 62 base::FilePath autostart_file = 70 base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); 71 base::FilePath autostart_file =
|
/external/chromium_org/chrome/installer/util/ |
copy_tree_work_item.h | 42 CopyTreeWorkItem(const base::FilePath& source_path, 43 const base::FilePath& dest_path, 44 const base::FilePath& temp_dir, 46 const base::FilePath& alternative_path); 49 bool IsFileInUse(const base::FilePath& path); 52 base::FilePath source_path_; 55 base::FilePath dest_path_; 58 base::FilePath temp_dir_; 66 base::FilePath alternative_path_;
|
delete_after_reboot_helper.h | 17 class FilePath; 27 bool ScheduleFileSystemEntityForDeletion(const base::FilePath& path); 30 bool ScheduleDirectoryForDeletion(const base::FilePath& dir_name); 34 bool RemoveFromMovesPendingReboot(const base::FilePath& directory); 46 bool MatchPendingDeletePath(const base::FilePath& short_form_needle, 47 const base::FilePath& reg_path); 70 // returns a FilePath. Note that if |path| is not present on the file system 73 base::FilePath GetShortPathName(const base::FilePath& path);
|
/external/chromium_org/cloud_print/service/win/ |
installer.cc | 26 base::FilePath GetShortcutPath(int dir_key, bool with_subdir) { 27 base::FilePath path; 29 return base::FilePath(); 38 base::FilePath path = GetShortcutPath(dir_key, with_subdir); 44 base::FilePath exe_path; 47 exe_path = exe_path.DirName().Append(base::FilePath(kConfigBinaryName)); 63 base::FilePath path = GetShortcutPath(dir_key, with_subdir); 83 base::FilePath old_location = 120 base::FilePath delete_path = command_line.GetSwitchValuePath(kDeleteSwitch);
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_context_impl.h | 27 class FilePath; 44 IndexedDBContextImpl(const base::FilePath& data_path, 52 static const base::FilePath::CharType kIndexedDBDirectory[]; 62 virtual base::FilePath GetFilePathForTesting( 93 base::FilePath GetFilePath(const GURL& origin_url) const; 94 base::FilePath data_path() const { return data_path_; } 102 void set_data_path_for_testing(const base::FilePath& data_path) { 119 base::FilePath GetIndexedDBFilePath(const std::string& origin_id) const; 142 base::FilePath data_path_;
|