Searched defs:data_dir (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chromeos/
H A Dchromeos_test_utils.cc16 base::FilePath* data_dir) {
25 DCHECK(data_dir);
27 *data_dir = path.Append(filename);
14 GetTestDataPath(const std::string& component, const std::string& filename, base::FilePath* data_dir) argument
/external/chromium_org/chromecast/common/
H A Dcast_paths.cc40 base::FilePath data_dir; local
42 CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &data_dir));
43 *result = data_dir.Append("cast_shell.conf");
45 CHECK(PathService::Get(DIR_CAST_HOME, &data_dir));
46 *result = data_dir.Append(".eureka.conf");
/external/chromium_org/media/filters/
H A Dfile_data_source_unittest.cc37 base::FilePath data_dir; local
38 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir));
39 data_dir = data_dir.Append(FILE_PATH_LITERAL("media"))
43 return data_dir;
/external/chromium_org/content/test/
H A Dimage_decoder_test.h77 const base::FilePath& data_dir() const { return data_dir_; } function in class:ImageDecoderTest
H A Dimage_decoder_test.cc108 base::FilePath data_dir; local
109 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir));
110 data_dir_ = data_dir.AppendASCII("webkit").AppendASCII("data").AppendASCII(
/external/chromium_org/chrome/browser/extensions/
H A Dextension_service_test_base.h99 const base::FilePath& data_dir() const { return data_dir_; } function in class:extensions::ExtensionServiceTestBase
H A Dextension_gcm_app_handler_unittest.cc306 base::FilePath data_dir; local
307 if (!PathService::Get(chrome::DIR_TEST_DATA, &data_dir)) {
311 data_dir = data_dir.AppendASCII("extensions");
312 data_dir = data_dir.AppendASCII(update_crx);
315 path = path.Append(data_dir.BaseName());
316 ASSERT_TRUE(base::CopyFile(data_dir, path));
/external/chromium_org/tools/relocation_packer/src/
H A Delf_file_unittest.cc24 std::string data_dir; local
28 data_dir = std::string(bindir);
36 data_dir = std::string(path);
37 size_t pos = data_dir.rfind('/');
40 data_dir.erase(pos + 1);
41 data_dir += std::string(XSTR(INTERMEDIATE_DIR));
44 *path = data_dir + "/" + name;
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_actions_container_browsertest.cc88 base::FilePath data_dir = local
92 LoadExtension(data_dir.AppendASCII("basics"));
95 LoadExtension(data_dir.AppendASCII("add_popup"));
98 LoadExtension(data_dir.AppendASCII("remove_popup"));
136 base::FilePath data_dir = local
140 LoadExtension(data_dir.AppendASCII("basics"));
143 LoadExtension(data_dir.AppendASCII("add_popup"));
146 LoadExtension(data_dir.AppendASCII("remove_popup"));
/external/chromium_org/content/browser/quota/
H A Dquota_database_unittest.cc484 base::ScopedTempDir data_dir; local
485 ASSERT_TRUE(data_dir.CreateUniqueTempDir());
486 const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName);
492 base::ScopedTempDir data_dir; local
493 ASSERT_TRUE(data_dir.CreateUniqueTempDir());
494 const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName);
499 base::ScopedTempDir data_dir; local
500 ASSERT_TRUE(data_dir.CreateUniqueTempDir());
501 const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName);
507 base::ScopedTempDir data_dir; local
515 base::ScopedTempDir data_dir; local
523 base::ScopedTempDir data_dir; local
531 base::ScopedTempDir data_dir; local
545 base::ScopedTempDir data_dir; local
553 base::ScopedTempDir data_dir; local
561 base::ScopedTempDir data_dir; local
[all...]
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_manager_browsertest.cc246 base::FilePath data_dir = test_dir.AppendASCII("chromeos/app_mode/"); local
251 base::CopyFile(data_dir.AppendASCII(icon_file_name), icon_path);
/external/chromium_org/chrome/browser/diagnostics/
H A Drecon_diagnostics.cc111 base::FilePath data_dir; variable
112 if (!PathService::Get(chrome::DIR_USER_DATA, &data_dir))
114 int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir);
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_private_api.cc68 base::FilePath data_dir; local
69 CHECK(PathService::Get(key, &data_dir));
70 if (!base::DirectoryExists(data_dir) &&
71 !base::CreateDirectory(data_dir)) {
74 base::FilePath file_path = data_dir.Append(file_name);
85 base::FilePath data_dir = path.DirName(); local
86 if (!base::DirectoryExists(data_dir) &&
87 !base::CreateDirectory(data_dir))
/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_bar_host_browsertest.cc304 base::FilePath data_dir = local
306 ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(data_dir));
317 base::string16 query(data_dir.LossyDisplayName());
/external/chromium_org/base/files/
H A Dfile_util_unittest.cc1499 FilePath data_dir; local
1500 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &data_dir));
1501 data_dir = data_dir.AppendASCII("file_util");
1502 ASSERT_TRUE(PathExists(data_dir));
1505 data_dir.Append(FILE_PATH_LITERAL("original.txt"));
1507 data_dir.Append(FILE_PATH_LITERAL("same.txt"));
1509 data_dir.Append(FILE_PATH_LITERAL("same_length.txt"));
1511 data_dir.Append(FILE_PATH_LITERAL("different.txt"));
1513 data_dir
1545 FilePath data_dir; local
1963 FilePath data_dir = local
2092 FilePath data_dir = local
2513 FilePath data_dir; local
[all...]
/external/qemu/
H A Dvl-android.c247 static const char *data_dir; variable
1591 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name) argument
1593 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2;
1596 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name);
1625 buf = qemu_find_file_with_subdir(data_dir, subdir, name);
1629 * SDK installation. NOTE: data_dir is really $bindir. */
1631 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name);
1634 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name);
1637 buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name);
2511 data_dir
[all...]

Completed in 449 milliseconds