Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 25 of 104) sorted by relevance

12345

/aosp_15_r20/external/ltp/testcases/kernel/controllers/memcg/regression/
H A Dmemcg_regression_test.sh106 local test_path
107 test_path="$test_dir/0"
109 create_testpath "$test_path"
110 ROD echo 0 \> "$test_path/$memory_limit"
112 ./memcg_test_1 "$test_path/$task_list"
114 cleanup_testpath "$test_path"
131 local test_path
141 test_path="$test_dir/0"
147 create_testpath "$test_path"
148 ROD echo $pid1 \> "$test_path"/tasks
[all …]
H A Dmemcg_test_4.sh8 test_path="$3"
18 echo $$ > "$test_path/$task_list"
29 echo 40M > "$test_path/$memory_limit"
40 rmdir "$test_path"
/aosp_15_r20/external/libchrome/base/files/
H A Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
18 &test_path); in TEST()
21 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
24 EXPECT_TRUE(dir.Set(test_path)); in TEST()
27 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
31 EXPECT_TRUE(dir.Set(test_path)); in TEST()
33 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
36 EXPECT_EQ(path.value(), test_path.value()); in TEST()
39 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
44 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
/aosp_15_r20/external/cronet/base/files/
H A Dscoped_temp_dir_unittest.cc21 FilePath test_path; in TEST() local
22 CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_temp_dir"), &test_path); in TEST()
25 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
28 EXPECT_TRUE(dir.Set(test_path)); in TEST()
31 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
35 EXPECT_TRUE(dir.Set(test_path)); in TEST()
37 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
40 EXPECT_EQ(path.value(), test_path.value()); in TEST()
43 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
48 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
/aosp_15_r20/external/crosvm/ext2/src/
H A Dxattr.rs333 let test_path = td.path().join("test.txt"); in test_get_xattr_empty() localVariable
336 File::create(&test_path).unwrap(); in test_get_xattr_empty()
338 let kvs = dump_xattrs(&test_path).unwrap(); in test_get_xattr_empty()
345 let test_path = td.path().join("test.txt"); in test_inline_xattr_from_path() localVariable
346 File::create(&test_path).unwrap(); in test_inline_xattr_from_path()
352 set_xattr(&test_path, xattr_key, value).unwrap(); in test_inline_xattr_from_path()
354 let xattrs = InlineXattrs::from_path(&test_path).unwrap(); in test_inline_xattr_from_path()
384 let test_path = td.path().join("test.txt"); in test_too_many_values_for_inline_xattr() localVariable
385 File::create(&test_path).unwrap(); in test_too_many_values_for_inline_xattr()
394 set_xattr(&test_path, key, value).unwrap(); in test_too_many_values_for_inline_xattr()
[all …]
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/
H A Dmd5sum_test.py41 test_path = '/test/host/file.dat'
46 out = md5sum.CalculateHostMd5Sums(test_path)
76 test_path = '/storage/emulated/legacy/test/file.dat'
83 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
91 test_path = [
103 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
114 test_path = ('/storage/emulated/legacy/test/file%d.dat' % n
125 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
137 test_path = '/storage/emulated/legacy/test/file.dat'
149 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
[all …]
/aosp_15_r20/development/tools/otagui/
H A Dtest_target_lib.py12 self.test_path = self.file.name
20 'file_name': self.test_path.split('/')[-1],
21 'path': self.test_path,
97 self.test_path = 'test/test_target_lib.db'
99 self.target_build = TargetLib(path=self.test_path)
102 if os.path.isfile(self.test_path):
103 os.remove(self.test_path)
107 self.assertTrue(os.path.isfile(self.test_path))
117 connect = sqlite3.connect(self.test_path)
134 path=test_build.test_path
[all …]
/aosp_15_r20/external/harfbuzz_ng/test/api/
H A Dhb-test.h217 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
220 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
227 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
231 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
238 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
242 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
249 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
254 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
262 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
269 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
[all …]
/aosp_15_r20/external/cronet/build/android/pylib/utils/
H A Ddevice_dependencies_test.py16 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'foo', 'bar', 'baz.txt')
21 test_path, output_directory))
24 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
30 test_path, output_directory))
33 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
39 test_path, output_directory))
42 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
48 test_path, output_directory))
/aosp_15_r20/external/angle/build/android/pylib/utils/
H A Ddevice_dependencies_test.py16 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'foo', 'bar', 'baz.txt')
21 test_path, output_directory))
24 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
30 test_path, output_directory))
33 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
39 test_path, output_directory))
42 test_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out-foo', 'Release',
48 test_path, output_directory))
/aosp_15_r20/tools/asuite/atest/test_finders/
H A Dtest_finder_utils.py162 def has_cc_class(test_path): argument
171 with open_cc(test_path) as class_file:
200 def get_java_parent_paths(test_path): argument
209 all_parent_test_paths = set([test_path])
210 parent = get_parent_cls_name(test_path)
215 package = test_filter_utils.get_package_name(test_path)
236 def has_method_in_file(test_path, methods): argument
248 if not os.path.isfile(test_path):
251 if constants.JAVA_EXT_RE.match(test_path):
255 if _methods.issubset(get_java_methods(test_path)):
[all …]
H A Dtest_finder_utils_unittest.py142 test_path = os.path.join(
147 test_path, frozenset(['PrintHelloWorld'])
152 test_path, frozenset(['PrintHelloWorld1'])
155 test_path = os.path.join(
160 test_path, frozenset(['testMethod1'])
163 test_path = os.path.join(
168 test_path, frozenset(['testMethod', 'testMethod2'])
171 test_path = os.path.join(
176 test_path, frozenset(['testMethod'])
183 test_path = os.path.join(
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/
Dtest_mount.rs38 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx() localVariable
45 .open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
51 File::open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
59 Command::new(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
109 let test_path = tempdir.path().join("test"); in test_mount_noexec_disallows_exec() localVariable
115 .open(&test_path) in test_mount_noexec_disallows_exec()
121 fs::metadata(&test_path) in test_mount_noexec_disallows_exec()
129 &test_path in test_mount_noexec_disallows_exec()
135 Command::new(&test_path) in test_mount_noexec_disallows_exec()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
H A Dfile_type_obs.pass.cpp71 auto test_path = [=](const path &p) { in test_without_ec() local
88 test_path(f); in test_without_ec()
89 test_path(d); in test_without_ec()
90 test_path(hl); in test_without_ec()
93 test_path(fifo); in test_without_ec()
107 auto test_path = [=](const path &p) { in test_with_ec() local
152 test_path(f); in test_with_ec()
153 test_path(d); in test_with_ec()
154 test_path(hl); in test_with_ec()
157 test_path(fifo); in test_with_ec()
/aosp_15_r20/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
H A Dgenerated_examples_zip_test.cc64 string test_path = GetParam(); in TEST_P() local
65 string tflite_test_case = test_path + "_tests.txt"; in TEST_P()
66 string tflite_dir = test_path.substr(0, test_path.find_last_of("/")); in TEST_P()
67 string test_name = test_path.substr(test_path.find_last_of('/')); in TEST_P()
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fchmodat/
H A Dfchmodat02.c35 static char *test_path; variable
45 {&file_fd, &test_path, 0, ENOTDIR, "fd pointing to file"},
46 {&bad_fd, &test_path, 0, EBADF, "invalid fd"},
50 {&fd_atcwd, &test_path, -1, EINVAL, "invalid flag"},
82 {&test_path, .str = TESTFILE},
/aosp_15_r20/external/fonttools/Snippets/
H A Dchecksum.py101 test_path = line_list[1]
109 if not os.path.exists(test_path):
110 print(test_path + ": Filepath is not valid, ignored")
112 file_contents = _read_binary(test_path)
115 print(test_path + ": OK")
118 print(test_path + ": === FAIL ===")
/aosp_15_r20/external/ltp/testcases/kernel/controllers/memcg/stress/
H A Dmemcg_stress_test.sh26 test_path=$(cgroup_get_test_path "memory")
29 ROD echo "+memory" \> "$test_path/cgroup.subtree_control"
72 ROD mkdir "$test_path/$i"
74 ROD echo $! \> "$test_path/$i/$task_list"
90 ROD rmdir "$test_path/$i"
/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dsource_locator_unittest.py443 test_path = 'a/b/c'
445 test_path)
560 test_path = 'a/b/c'
561 source_locator.EclipseModuleData(mod_name, mod_info, test_path)
575 test_path = 'a/b/c'
577 test_path)
596 test_path = 'a/b/c'
598 test_path)
614 test_path = 'a/b/c'
616 test_path)
[all …]
H A Dide_util_unittest.py324 test_path = None
325 self.assertEqual(None, ide_obj._get_application_path(test_path))
327 test_path = 'a/b/c/d-e/f-gh/foo'
328 self.assertEqual(None, ide_obj._get_application_path(test_path))
330 test_path = 'a/b/c/d/intellij/foo'
331 self.assertEqual(None, ide_obj._get_application_path(test_path))
333 test_path = 'a/b/c/d/intellij-efg/foo'
334 self.assertEqual(None, ide_obj._get_application_path(test_path))
336 test_path = 'a/b/c/d/intellij-efg-hi/foo'
337 self.assertEqual(None, ide_obj._get_application_path(test_path))
[all …]
H A Dide_common_util_unittest.py48 test_path = unittest_constants.TEST_DATA_PATH
49 IdeUtilCommonUnittests._TEST_PRJ_PATH3 = test_path
140 test_path = 'a/b/c/d.e'
142 ide_common_util.get_scripts_from_dir_path(test_path, 'd.e')
146 test_path, 'd.e'), None)
/aosp_15_r20/external/harfbuzz_ng/test/subset/
H A Dsubset_test_suite.py78 def __init__(self, test_path, definition): argument
79 self.test_path = test_path
89 test_name = os.path.splitext(os.path.basename(self.test_path))[0]
90 data_dir = os.path.join(os.path.dirname(self.test_path), "..")
117 return os.path.dirname(os.path.dirname(self.test_path))
H A Drepack_test.py10 def __init__(self, test_path, definition): argument
11 self.test_path = test_path
24 os.path.dirname(self.test_path),
/aosp_15_r20/external/autotest/server/cros/dynamic_suite/
H A Dcontrol_file_getter.py44 def get_control_file_contents(self, test_path): argument
243 def get_control_file_contents(self, test_path): argument
251 return utils.read_file(test_path)
254 msg = "Can't retrieve {0}: {1} ({2})".format(test_path,
308 def get_control_file_contents(self, test_path): argument
319 return self._dev_server.get_control_file(self._build, test_path)
/aosp_15_r20/external/antlr/runtime/Ruby/lib/antlr3/test/
H A Dfunctional.rb18 File.basename( test_path, '.rb' )
22 File.dirname( test_path )
159 klass.test_path = call_stack[ 0 ].file
166 def test_path method in ANTLR3.Test.Functional
167 self.class.test_path

12345