/system/libziparchive/ |
D | run-ziptool-tests-on-android.sh | 4 test_dir=/data/local/tests/unrestricted/ziptool-tests 7 adb push cli-tests/ "$test_dir" 15 exec adb shell "$dash_t" "${test_dir}"/cli-test "${test_dir}"/cli-tests/*.test
|
/system/core/init/ |
D | util_test.cpp | 100 TemporaryDir test_dir; in TEST() local 101 std::string path = android::base::StringPrintf("%s/does-not-exist", test_dir.path); in TEST() 143 TemporaryDir test_dir; in TEST() local 144 EXPECT_TRUE(is_dir(test_dir.path)); in TEST() 150 TemporaryDir test_dir; in TEST() local 151 std::string path = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); in TEST() 153 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path); in TEST() 155 std::string path2 = android::base::StringPrintf("%s/three/directories", test_dir.path); in TEST() 157 std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); in TEST() 162 TemporaryDir test_dir; in TEST() local [all …]
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 222 base::FilePath test_dir; in TEST() local 223 ASSERT_TRUE(base::CreateTemporaryDirInDir(tmp_dir, "list-file-tests.", &test_dir)); in TEST() 226 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() 228 base::FilePath file_path_2 = test_dir.Append("2.txt"); in TEST() 230 base::FilePath file_path_3 = test_dir.Append("3.txt"); in TEST() 234 auto result = ListFiles(test_dir.value()); in TEST() 244 ASSERT_TRUE(base::DeleteFile(test_dir, true /* resursive */)); in TEST() 253 base::FilePath test_dir; in TEST() local 254 ASSERT_TRUE(base::CreateTemporaryDirInDir(tmp_dir, "list-file-tests.", &test_dir)); in TEST() 257 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() [all …]
|
/system/extras/simpleperf/scripts/test/ |
D | java_app_test.py | 146 test_dir = 'inferno_testdir' 147 os.mkdir(test_dir) 148 os.chdir(test_dir) 164 os.chdir(self.test_dir.parent) 166 os.chdir(self.test_dir)
|
D | test_utils.py | 41 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str], 50 cls.test_base_dir = Path(test_dir).resolve() 119 self.test_dir = TestHelper.get_test_dir( 121 self.test_dir.mkdir() 122 os.chdir(self.test_dir) 146 remove(self.test_dir)
|
D | do_test.py | 180 TestHelper.init(args.test_dir, args.testdata_dir, 224 test_options += ['--test-dir', str(self.test_dir)] 241 def test_dir(self) -> Path: member in TestProcess 472 (failed_test_count, total_test_count, args.test_dir)) 485 test_dir = Path(args.test_dir).resolve() 486 remove(test_dir) 487 test_dir.mkdir(parents=True) 489 os.chdir(test_dir)
|
D | app_test.py | 69 os.chdir(self.test_dir) 74 shutil.copy(path, self.test_dir) 76 shutil.copytree(path, os.path.join(self.test_dir, name))
|
D | binary_cache_builder_test.py | 33 symfs_dir = os.path.join(self.test_dir, 'symfs_dir')
|
/system/apex/apexd/ |
D | apexd_utils_test.cpp | 265 std::string test_dir = android::base::GetExecutableDirectory(); in TEST() local 266 ASSERT_TRUE(android::base::StartsWith(test_dir, "/data")); in TEST() 267 TemporaryFile tf(test_dir); in TEST()
|
D | apexservice_test.cpp | 340 const std::string& test_dir = std::string(kTestDir), in PrepareTestApexForInstall() 344 test_dir_input = test_dir; in PrepareTestApexForInstall()
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 537 let test_dir = TempDir::new("entrydb_test_").expect("Failed to create temp dir."); in test_entry_db() localVariable 538 let mut db = DB::new(&test_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME)) in test_entry_db() 580 let test_dir = TempDir::new("test_delete_uid_").expect("Failed to create temp dir."); in test_delete_uid() localVariable 581 let mut db = DB::new(&test_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME)) in test_delete_uid() 598 let test_dir = TempDir::new("test_delete_user_").expect("Failed to create temp dir."); in test_delete_user() localVariable 599 let mut db = DB::new(&test_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME)) in test_delete_user()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 204 TemporaryDir test_dir; in TEST_F() local 205 ASSERT_FALSE(isIncFsPath(test_dir.path)); in TEST_F()
|