Searched refs:data_dir (Results 1 - 25 of 31) sorted by relevance

12

/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
H A Dchromeos_test_utils.h20 base::FilePath* data_dir);
/external/chromium_org/net/base/
H A Dtest_data_directory.cc32 base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket"));
33 return data_dir;
/external/chromium_org/chrome/installer/util/
H A Dhelper.cc53 base::FilePath data_dir(GetChromeInstallBasePath(false, dist,
55 if (data_dir.empty()) {
59 (*paths)[0] = data_dir;
61 (*paths)[1] = data_dir.DirName().Append(
/external/chromium_org/media/filters/
H A Dfile_data_source_unittest.cc38 base::FilePath data_dir; local
39 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir));
40 data_dir = data_dir.Append(FILE_PATH_LITERAL("media"))
44 return data_dir;
/external/chromium_org/build/android/
H A Dupdate_verification.py18 def _SaveAppData(adb, package_name, from_apk=None, data_dir=None):
19 def _BackupAppData(data_dir=None):
23 if data_dir:
24 if not os.path.isdir(data_dir):
25 os.makedirs(data_dir)
26 shutil.move(backup_file, data_dir)
27 backup_file = os.path.join(data_dir, 'backup.ab')
38 _BackupAppData(data_dir)
123 data_dir=options.app_data)
/external/chromium_org/webkit/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("quota_manager.db");
492 base::ScopedTempDir data_dir; local
493 ASSERT_TRUE(data_dir.CreateUniqueTempDir());
494 const base::FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db");
499 base::ScopedTempDir data_dir; local
500 ASSERT_TRUE(data_dir.CreateUniqueTempDir());
501 const base::FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db");
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/v8/tools/
H A Dtest-server.py67 data_dir = os.path.join(ROOT, "data")
68 if not os.path.exists(data_dir):
69 os.makedirs(data_dir)
108 datafile = os.path.join(data_dir, "mypubkey")
/external/chromium/chrome/browser/safe_browsing/
H A Dfilter_false_positive_perftest.cc214 const FilePath& data_dir,
221 FilePath url_file = data_dir.Append(FILE_PATH_LITERAL("urls"));
294 FilePath data_dir = GetFullDataPath(); local
295 ASSERT_TRUE(ReadDatabase(data_dir, &prefix_list));
314 CalculateBloomFilterFalsePositives(multiplier, data_dir, prefix_list);
322 FilePath data_dir = GetFullDataPath(); local
323 ASSERT_TRUE(ReadDatabase(data_dir, &prefix_list));
212 CalculateBloomFilterFalsePositives( int size_multiplier, const FilePath& data_dir, const std::vector<SBPrefix>& prefix_list) argument
/external/chromium_org/base/
H A Dfile_util_unittest.cc1425 FilePath data_dir; local
1426 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &data_dir));
1427 data_dir = data_dir.AppendASCII("file_util");
1428 ASSERT_TRUE(PathExists(data_dir));
1431 data_dir.Append(FILE_PATH_LITERAL("original.txt"));
1433 data_dir.Append(FILE_PATH_LITERAL("same.txt"));
1435 data_dir.Append(FILE_PATH_LITERAL("same_length.txt"));
1437 data_dir.Append(FILE_PATH_LITERAL("different.txt"));
1439 data_dir
1471 FilePath data_dir; local
1861 FilePath data_dir = local
1889 FilePath data_dir = local
2310 FilePath data_dir; local
[all...]
/external/chromium/base/
H A Dfile_util_unittest.cc1245 FilePath data_dir; local
1246 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir));
1247 data_dir = data_dir.Append(FILE_PATH_LITERAL("base"))
1250 ASSERT_TRUE(file_util::PathExists(data_dir));
1253 data_dir.Append(FILE_PATH_LITERAL("original.txt"));
1255 data_dir.Append(FILE_PATH_LITERAL("same.txt"));
1257 data_dir.Append(FILE_PATH_LITERAL("same_length.txt"));
1259 data_dir.Append(FILE_PATH_LITERAL("different.txt"));
1261 data_dir
1294 FilePath data_dir; local
1722 FilePath data_dir = local
1766 FilePath data_dir = local
[all...]
/external/chromium_org/content/test/
H A Dimage_decoder_test.cc107 base::FilePath data_dir; local
108 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir));
109 data_dir_ = data_dir.AppendASCII("webkit").
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Ddata.py184 data_dir, local = os.path.split(self.filename)
186 for f in os.listdir(data_dir or '.'):
188 full_path = os.path.join(data_dir, f)
/external/chromium_org/build/android/pylib/
H A Dchrome_test_server_spawner.py190 data_dir = self.arguments['data-dir'] or 'chrome/test/data'
191 if not os.path.isabs(data_dir):
192 data_dir = os.path.join(constants.DIR_SOURCE_ROOT, data_dir)
193 self.command_line.append('--data-dir=%s' % data_dir)
/external/chromium_org/chrome/test/perf/
H A Dstartup_test.cc99 base::FilePath data_dir; local
100 PathService::Get(chrome::DIR_TEST_DATA, &data_dir);
101 data_dir = data_dir.AppendASCII("extensions").AppendASCII("profiles").
103 set_template_user_data(data_dir);
/external/chromium/chrome/browser/diagnostics/
H A Drecon_diagnostics.cc292 FilePath data_dir; local
293 if (!PathService::Get(chrome::DIR_USER_DATA, &data_dir))
295 int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir);
/external/chromium_org/chrome/browser/diagnostics/
H A Drecon_diagnostics.cc110 base::FilePath data_dir; variable
111 if (!PathService::Get(chrome::DIR_USER_DATA, &data_dir))
113 int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir);
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_private_api.cc66 base::FilePath data_dir; local
67 CHECK(PathService::Get(key, &data_dir));
68 if (!base::DirectoryExists(data_dir) &&
69 !base::CreateDirectory(data_dir)) {
72 base::FilePath file_path = data_dir.Append(file_name);
84 base::FilePath data_dir = path.DirName(); local
85 if (!base::DirectoryExists(data_dir) &&
86 !base::CreateDirectory(data_dir))
/external/chromium_org/chrome/browser/policy/test/
H A Dpolicy_testserver.py678 def __init__(self, server_address, data_dir, policy_path, client_state_file,
690 self.data_dir = data_dir
848 return os.path.join(self.data_dir or '',
855 <data_dir>/policy_<sanitized_policy_selector>.bin. If that exists, returns
857 <data_dir>/policy_<sanitized_policy_selector>.txt and decodes that as a
926 data_dir = self.options.data_dir or ''
928 os.path.join(data_dir, 'device_management'))
930 data_dir, config_fil
[all...]
/external/chromium/chrome/browser/
H A Dshell_integration_linux.cc312 FilePath data_dir(tokenizer.token());
313 search_paths.push_back(data_dir);
314 search_paths.push_back(data_dir.Append("applications"));
/external/chromium/net/tools/testserver/
H A Dtestserver.py764 file_path = os.path.join(self.server.data_dir, *entries)
906 gif_path = os.path.join(self.server.data_dir, *test_image_path)
1216 policy_path = os.path.join(self.server.data_dir, 'device_management')
1287 if options.data_dir:
1288 if not os.path.isdir(options.data_dir):
1289 print 'specified data dir not found: ' + options.data_dir + ' exiting...'
1291 my_data_dir = options.data_dir
1354 server.data_dir = MakeDataDir()
1436 option_parser.add_option('', '--data-dir', dest='data_dir',
/external/chromium_org/net/tools/testserver/
H A Dtestserver.py69 def __init__(self, host, port, data_dir):
73 self.websock_handlers = data_dir
820 file_path = os.path.join(self.server.data_dir, *entries)
904 file_path = os.path.join(self.server.data_dir, *entries)
1133 gif_path = os.path.join(self.server.data_dir, *test_image_path)
1886 if self.options.data_dir:
1887 if not os.path.isdir(self.options.data_dir):
1889 self.options.data_dir + ' exiting...')
1890 my_data_dir = self.options.data_dir
1971 server.data_dir
[all...]
/external/qemu/
H A Dvl-android.c253 static const char *data_dir; variable
2230 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name) argument
2232 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2;
2235 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name);
2264 buf = qemu_find_file_with_subdir(data_dir, subdir, name);
2268 * SDK installation. NOTE: data_dir is really $bindir. */
2270 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name);
2273 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name);
2276 buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name);
2951 data_dir
[all...]
/external/chromium_org/build/android/buildbot/
H A Dbb_device_steps.py455 data_dir = os.path.join(DIR_BUILD_ROOT, 'content_gpu_data', 'telemetry')
458 '--generated-dir=%s' % os.path.join(data_dir, 'generated'),
459 '--reference-dir=%s' % os.path.join(data_dir, 'reference'),
/external/chromium/chrome/browser/web_applications/
H A Dweb_app.cc479 const FilePath& data_dir,
483 new CreateShortcutTask(data_dir, shortcut_info, callback));
478 CreateShortcut( const FilePath& data_dir, const ShellIntegration::ShortcutInfo& shortcut_info, CreateShortcutCallback* callback) argument

Completed in 2665 milliseconds

12