Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 33) sorted by relevance

12

/art/test/
Drun_test_build.py40 from pathlib import Path
74 self.java_home = Path(os.environ.get("JAVA_HOME")).absolute()
126 def run(self, executable: pathlib.Path, args: List[Union[pathlib.Path, str]]): argument
127 assert isinstance(executable, pathlib.Path), executable
128 cmd: List[Union[pathlib.Path, str]] = []
139 if isinstance(arg, pathlib.Path):
166 def rbe_wrap(self, args, inputs: Set[pathlib.Path]=None): argument
172 if isinstance(arg, pathlib.Path):
186 def rbe_javac(self, javac_path:Path, args): argument
187 output = relpath(Path(args[args.index("-d") + 1]), self.rbe_exec_root)
[all …]
Drun-test24 from pathlib import Path
50 def __init__(self, tmp_dir: Path, target: bool, chroot, dex_location, test_name) -> None: argument
84 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)
128 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)
913 zip.extractall(Path(tmp_dir) / ".unzipped", members=zip_entries)
914 for entry in (Path(tmp_dir) / ".unzipped" / zip_entry).iterdir():
915 entry.rename(Path(tmp_dir) / entry.name)
935 ctx = RunTestContext(Path(tmp_dir), target_mode == "yes", chroot, DEX_LOCATION, TEST_NAME)
944 def create_runner_script() -> Path:
956 script = Path(tmp_dir) / "run.py"
[all …]
/art/test/970-iface-super-resolution-gen/util-src/
Dgenerate_java.py24 from pathlib import Path
32 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
54 final_java_dir = Path(argv[1])
58 initial_java_dir = Path(argv[2])
62 expected_txt = Path(argv[3])
Dgenerate_smali.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
602 smali_dir = Path(argv[1])
606 expected_txt = Path(argv[2])
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_java.py24 from pathlib import Path
32 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
109 javac_exec = Path(argv[1])
113 temp_dir = Path(argv[2])
117 classes_dir = Path(argv[3])
121 expected_txt = Path(argv[4])
Dgenerate_smali.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
595 smali_dir = Path(argv[1])
599 expected_txt = Path(argv[2])
/art/test/971-iface-super/util-src/
Dgenerate_java.py24 from pathlib import Path
32 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
113 javac_exec = Path(argv[1])
117 temp_dir = Path(argv[2])
121 classes_dir = Path(argv[3])
125 expected_txt = Path(argv[4])
Dgenerate_smali.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
677 smali_dir = Path(argv[1])
681 expected_txt = Path(argv[2])
/art/tools/
Dcheck_cfi.py27 from pathlib import Path
88 def get_arch(lib: pathlib.Path) -> str: argument
103 def get_src(lib: pathlib.Path) -> List[Source]: argument
127 def get_fde(lib: pathlib.Path) -> List[Fde]: argument
149 def get_asm(lib: pathlib.Path) -> List[Asm]: argument
250 def check_lib(lib: pathlib.Path) -> int: argument
300 apex = Path(os.environ["OUT"]) / "symbols/apex/"
304 fail = check_lib(pathlib.Path(lib))
313 parser.add_argument("--out", type=Path, help="Output (will just generate empty file)")
314 parser.add_argument("--dwarfdump", type=Path, default="llvm-dwarfdump")
[all …]
Dtest_presubmit.py59 path = pathlib.Path(f)
/art/tools/fuzzer/
Dcreate_corpus.py24 dst = pathlib.Path(sys.argv[1])
26 srcs = [pathlib.Path(f) for f in sys.argv[2:]]
/art/test/648-many-direct-methods/util-src/
Dgenerate_java.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
129 java_dir = Path(argv[1])
/art/test/utils/python/testgen/
Dutils.py24 from pathlib import Path
58 with (Path(BUILD_TOP)/"development"/"docs"/"copyright-templates"/fname).open() as template:
/art/test/2265-const-method-type-cached/src-util/transformer/
DConstantTransformer.java28 import java.nio.file.Path;
123 private static void transform(Path inputClassPath, Path outputClassPath) throws Throwable {
124 Path classLoadPath = inputClassPath.toAbsolutePath().getParent();
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/
DTestGenerator.java43 Path base = Paths.get(args[0]); in main()
46 Path initTestInvoke = base.resolve(TestGenerator.class.getPackage().getName().replace('.', '/')) in main()
57 Path initTest1948 = base.resolve("art").resolve(art.Test1948.class.getSimpleName() + ".class"); in main()
102 Path tempDir = Files.createTempDirectory("FinalTestInvoker_Gen"); in getFinalDexBytes()
/art/test/odsign/src/com/android/tests/odsign/
DArtifactsSignedTest.java30 import java.nio.file.Path;
84 .map(Path::toFile) in getArtifacts()
/art/test/979-const-method-handle/util-src/transformer/
DConstantTransformer.java30 import java.nio.file.Path;
187 private static void transform(Path inputClassPath, Path outputClassPath) throws Throwable {
188 Path classLoadPath = inputClassPath.toAbsolutePath().getParent();
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
366 java_dir = Path(argv[1])
370 expected_txt = Path(argv[2])
/art/test/964-default-iface-init-gen/util-src/
Dgenerate_java.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
407 java_dir = Path(argv[1])
411 expected_txt = Path(argv[2])
/art/test/952-invoke-custom/util-src/transformer/
DIndyTransformer.java29 import java.nio.file.Path;
166 private static void transform(Path inputClassPath, Path outputClassPath) throws Throwable {
/art/test/utils/python/
Dgenerate_java_main.py23 from pathlib import Path
31 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python"))
305 java_dir = Path(argv[1])
/art/libartservice/service/java/com/android/server/art/
DDexUseManagerLocal.java63 import java.nio.file.Path;
416 Path path = Paths.get(dexPath); in notifyDexContainersLoaded()
472 @NonNull PackageState pkgState, @NonNull Path dexPath) { in isOwningPackageForSecondaryDexLocked()
474 List<Path> locations = mSecondaryDexLocationManager.getLocations(pkgState, userHandle); in isOwningPackageForSecondaryDexLocked()
1112 public @NonNull List<Path> getLocations( in getLocations()
1132 List<Path> locations = List.of(ceDir.toPath(), deDir.toPath()); in getLocations()
1153 static CacheValue create(@NonNull List<Path> locations, @NonNull UUID storageUuid) { in create()
1158 abstract @NonNull List<Path> locations(); in locations()
DUtils.java58 import java.nio.file.Path;
348 public static void deleteIfExistsSafe(@NonNull Path path) { in deleteIfExistsSafe()
/art/test/2239-varhandle-perf/util-src/
Dgenerate_java.py24 from pathlib import Path
488 final_java_dir = Path(argv[1])
/art/build/
Dart.go289 tests = append(tests, ctx.Path().String())
316 path := strings.Split(ctx.Path().String(), "/")

12