/art/test/ |
D | run_test_build.py | 40 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 …]
|
D | run-test | 24 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/ |
D | generate_java.py | 24 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])
|
D | generate_smali.py | 23 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/ |
D | generate_java.py | 24 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])
|
D | generate_smali.py | 23 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/ |
D | generate_java.py | 24 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])
|
D | generate_smali.py | 23 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/ |
D | check_cfi.py | 27 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 …]
|
D | test_presubmit.py | 59 path = pathlib.Path(f)
|
/art/tools/fuzzer/ |
D | create_corpus.py | 24 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/ |
D | generate_java.py | 23 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/ |
D | utils.py | 24 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/ |
D | ConstantTransformer.java | 28 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/ |
D | TestGenerator.java | 43 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/ |
D | ArtifactsSignedTest.java | 30 import java.nio.file.Path; 84 .map(Path::toFile) in getArtifacts()
|
/art/test/979-const-method-handle/util-src/transformer/ |
D | ConstantTransformer.java | 30 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/ |
D | generate_java.py | 23 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/ |
D | generate_java.py | 23 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/ |
D | IndyTransformer.java | 29 import java.nio.file.Path; 166 private static void transform(Path inputClassPath, Path outputClassPath) throws Throwable {
|
/art/test/utils/python/ |
D | generate_java_main.py | 23 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/ |
D | DexUseManagerLocal.java | 63 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()
|
D | Utils.java | 58 import java.nio.file.Path; 348 public static void deleteIfExistsSafe(@NonNull Path path) { in deleteIfExistsSafe()
|
/art/test/2239-varhandle-perf/util-src/ |
D | generate_java.py | 24 from pathlib import Path 488 final_java_dir = Path(argv[1])
|
/art/build/ |
D | art.go | 289 tests = append(tests, ctx.Path().String()) 316 path := strings.Split(ctx.Path().String(), "/")
|