/tools/treble/build/treble_build/cmd/ |
D | paths.go | 34 rsp.Paths = report.RunPaths(ctx, rtx, p.build_target, p.single, rsp.Inputs) 41 for _, path := range rsp.Paths { 43 if len(path.Paths) > buildPathIndex { 44 build_targets[path.Paths[len(path.Paths)-buildPathIndex]] = true 55 if len(rsp.Paths) > 0 { 57 for _, p := range rsp.Paths { 61 fmt.Fprintf(w, " %s..(%d)..%-s\n", p.Target, len(p.Paths)-2, p.Dependency)
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | GCSBucketUtilFuncTest.java | 31 import java.nio.file.Paths; 72 Path path = Paths.get(mRemoteRoot, FILE_NAME); in testStringUploadThenDownLoad() 81 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testDownloadMultiple() 85 mBucket.pull(Paths.get(mRemoteRoot), mLocalRoot); in testDownloadMultiple() 106 mBucket.push(tempSrc, Paths.get(mRemoteRoot, FILE_NAME)); in testUploadDownload() 107 mBucket.pull(Paths.get(mRemoteRoot, FILE_NAME), tempDst); in testUploadDownload() 115 mBucket.pullContents(Paths.get(mRemoteRoot, "non_exist_file")); in testDownloadFile_notExist() 125 mBucket.remove(Paths.get(mRemoteRoot, "non_exist_file")); in testRemoveFile_notExist() 134 mBucket.remove(Paths.get(mRemoteRoot, "non_exist_file"), true); in testRemoveFile_notExist_force() 153 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testLs_folder() [all …]
|
D | ZipUtilTest.java | 40 import java.nio.file.Paths; 253 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 274 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 305 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 324 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 343 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 362 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 384 Path targetFilePath = Paths.get(tmpDir.toString(), zipEntry.getFileName()); in testPartipUnzip() 416 targetFilePath = Paths.get(tmpDir.toString(), zipEntry.getFileName()); in testPartipUnzip() 479 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartialUnzipWithUseZip64() [all …]
|
D | RemoteZipTest.java | 36 import java.nio.file.Paths; 152 File targetFile = Paths.get(destDir.getPath(), "large_text", "file.txt").toFile(); in testDownloadFilesFromZip() 154 targetFile = Paths.get(destDir.getPath(), "executable", "executable_file").toFile(); in testDownloadFilesFromZip() 157 targetFile = Paths.get(destDir.getPath(), "empty/empty_file").toFile(); in testDownloadFilesFromZip()
|
D | PythonVirtualenvHelperTest.java | 32 import java.nio.file.Paths; 108 + Paths.get(mVenvDir.getAbsolutePath(), "lib/python3.8/site-packages")); in testActivate_success()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 44 import java.nio.file.Paths; 87 Paths.get(tempDir.getAbsolutePath()), in testparseTestMapping() 105 Paths.get(tempDir.getAbsolutePath()), in testparseTestMapping() 123 Paths.get(tempDir.getAbsolutePath()), in testparseTestMapping() 149 Paths.get(tempDir.getAbsolutePath()), in testparseTestMapping() 180 File testMappingFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPING).toFile(); in testparseTestMapping_BadJson() 185 Paths.get(tempDir.getAbsolutePath()), in testparseTestMapping_BadJson() 219 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() 275 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() 315 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_withIgnoreKeywords() [all …]
|
/tools/carrier_settings/java/ |
D | GenCarrierList.java | 33 import java.nio.file.Paths; 86 try (BufferedReader br = Files.newBufferedReader(Paths.get(textpbFileName), UTF_8)) { in generate() 115 Files.newBufferedWriter(Paths.get(outFileMainName + TEXT_PB_SUFFIX), UTF_8)) { in generate() 122 try (OutputStream os = Files.newOutputStream(Paths.get(outFileMainName + BINARY_PB_SUFFIX))) { in generate()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | HostGTestTest.java | 49 import java.nio.file.Paths; 97 final Path outputPath = Paths.get(folderName, fileName + ".called"); in createTestScript() 103 final Path scriptPath = Paths.get(folderName, fileName); in createTestScript() 165 Path path = Paths.get(mTestsDir.getAbsolutePath(), moduleName + GTestBase.FILTER_EXTENSION); in testLoadFilter() 311 Path errorScriptPath = Paths.get(testDir, "bad_cmd"); in testBeforeCmdError() 337 Path errorScriptPath = Paths.get(hostLinkedFolder.getAbsolutePath(), moduleName); in testTestFailureHandledCorrectly() 379 Path outputPath = Paths.get(hostLinkedFolder.getAbsolutePath(), moduleName + ".called"); in testRunTest_hardlink() 385 Path tmpScriptPath = Paths.get(hostLinkedFolder.getAbsolutePath(), moduleName + ".tmp"); in testRunTest_hardlink() 388 Path scriptPath = Paths.get(hostLinkedFolder.getAbsolutePath(), moduleName); in testRunTest_hardlink()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 24 import java.nio.file.Paths; 256 path = Paths.get("/").resolve(path); in getUriForGcsPath() 280 command.add(getUriForGcsPath(Paths.get("/"))); in makeBucket() 353 List<String> files = ls(Paths.get(path)); in isFile() 358 return files.get(0).equals(getUriForGcsPath(Paths.get(path))); in isFile() 530 return push(localFile, Paths.get("/")); in push() 570 String path = getUriForGcsPath(Paths.get(pattern)); in remove() 644 getUriForGcsPath(Paths.get("/")) in removeBucket()
|
D | GCSFileDownloader.java | 44 import java.nio.file.Paths; 277 String subFilename = Paths.get(subRemoteFile.getName()).getFileName().toString(); in recursiveCheckFolderFreshness() 284 String subFolderName = Paths.get(subRemoteFolder).getFileName().toString(); in recursiveCheckFolderFreshness() 454 String subFilename = Paths.get(subRemoteFile.getName()).getFileName().toString(); in recursiveDownloadFolder() 460 String subFolderName = Paths.get(subRemoteFolder).getFileName().toString(); in recursiveDownloadFolder()
|
/tools/treble/build/treble_build/local/ |
D | ninja.go | 45 Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, error) methodSpec 112 out := &app.BuildPath{Target: target, Dependency: dependency, Paths: []string{}} 114 linesToArray(s, &out.Paths) 124 out = append(out, &app.BuildPath{Target: target, Dependency: dependency, Paths: path}) 220 func (n *ninjaCmd) Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, err… func 282 func (cli *ninjaCli) Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath… func 283 raw, err := cli.n.Paths(ctx, target, dependency)
|
D | ninja_test.go | 48 func (n *ninjaTest) Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, er… func 114 Paths: []string{"test", "mid1", "mid2", "mid3", "dependency"}}, 119 …&app.BuildPath{Target: "test", Dependency: "dependency", Paths: []string{"test", "mid1", "mid2", "… 120 …&app.BuildPath{Target: "test", Dependency: "dependency", Paths: []string{"test", "mid4", "dependen… 189 if res, err := n.Paths(nil, test.target, test.dependency); err != nil {
|
/tools/asuite/atest/coverage/com/android/jacocolcov/ |
D | JacocoToLcovConverter.java | 43 import java.nio.file.Paths; 107 converter.indexSourcePath(Paths.get(sourcePath)); in main() 113 converter.loadExecFile(Paths.get(execFile)); in main() 119 converter.loadClassFile(Paths.get(classFile)); in main() 123 converter.write(Paths.get(outputFile)); in main() 318 String key = Paths.get(filename).getFileName().toString(); in findSourceFileMatching()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | ModulePusherTest.java | 53 import java.nio.file.Paths; 194 Paths.get("/system/apex/com.android.appsearch.apex"), in testGetApexPathUnderSystem() 197 Paths.get("/system/apex/com.google.android.media_compressed.apex"), in testGetApexPathUnderSystem() 200 Paths.get("/system/apex/com.google.android.adbd_trimmed_compressed.apex"), in testGetApexPathUnderSystem() 210 Paths.get(SPLIT_APK_PACKAGE_ON_DEVICE), in testGetPreLoadPathsOnSplitApk() 211 Paths.get(SPLIT_APK_PATH_ON_DEVICE), in testGetPreLoadPathsOnSplitApk() 212 Paths.get(HDPI_PATH_ON_DEVICE) in testGetPreLoadPathsOnSplitApk() 224 Path[] actual = new Path[] {Paths.get(APEX_PATH_ON_DEVICE)}; in testGetPreLoadPathsOnApex() 235 Path[] actual = new Path[] {Paths.get(APEX_PATH_ON_DEVICE)}; in testGetPreLoadPathsOnQReturnDefault() 260 Path[] actual = new Path[] {Paths.get(APK_PATH_ON_DEVICE)}; in testGetPreLoadPathsOnApk() [all …]
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/ |
D | AtestUtils.java | 22 import java.nio.file.Paths; 35 return Files.exists(Paths.get(path, Constants.TEST_MAPPING_FILE_NAME)); in hasTestMapping()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | BaseEmulatorPreparer.java | 23 import java.nio.file.Paths; 63 args.add(Paths.get(mSdkRoot.getAbsolutePath(), "emulator", "emulator").toString()); in buildEmulatorLaunchArgs()
|
D | CreateAvdPreparer.java | 40 import java.nio.file.Paths; 87 Paths.get( in setUp()
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | LogPathUpdatingListener.java | 27 import java.nio.file.Paths; 71 new File(findNewArtifactPath(Paths.get(logFile.getPath()))))); in logAssociation()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 69 import java.nio.file.Paths; 238 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWhenRemoteTestTimeoutIsSet() 332 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() 397 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 464 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() 510 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() 553 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() 593 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shardNoTest() 628 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() 686 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithModule() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 44 import java.nio.file.Paths; 249 Paths.get(testMappingDir).relativize(Paths.get(matchedPatternPath)); in isMatchedFilePatterns() 259 Path matchedPatternFilePath = Paths.get(matchedPatternPathInSource); in isMatchedFilePatterns() 334 Path importPath = Paths.get(testObject.getString(KEY_IMPORT_PATH)); in listTestMappingFiles() 336 Paths.get(testMappingsRootDir.toString(), importPath.toString()); in listTestMappingFiles() 505 Path testMappingsRootPath = Paths.get(testMappingsDir.getAbsolutePath()); in getTests() 584 Path testMappingsRootPath = Paths.get(testMappingsDir.getAbsolutePath()); in getAllTests()
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactory.java | 31 import java.nio.file.Paths; 142 Path parentPath = Paths.get(parent).getParent(); in getPath()
|
/tools/treble/build/treble_build/app/ |
D | build.go | 39 Paths []string `json:paths"` member
|
/tools/tradefederation/contrib/ |
D | PREUPLOAD.cfg | 4 [Tool Paths]
|
/tools/loganalysis/ |
D | PREUPLOAD.cfg | 4 [Tool Paths]
|
/tools/asuite/ |
D | PREUPLOAD.cfg | 4 [Tool Paths]
|