/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildInfo.java | 69 return getFile(BuildInfoFileKey.DEVICE_IMAGE); in getDeviceImageFile() 93 return getFile(BuildInfoFileKey.USERDATA_IMAGE); in getUserDataImageFile() 117 return getFile(BuildInfoFileKey.TESTDIR_IMAGE); in getTestsDir() 139 return getFile(BuildInfoFileKey.SHARED_RESOURCE_DIR); in getResourcesDir() 153 return getFile(BuildInfoFileKey.BASEBAND_IMAGE); in getBasebandImageFile() 177 return getFile(BuildInfoFileKey.BOOTLOADER_IMAGE); in getBootloaderImageFile() 201 return getFile(BuildInfoFileKey.OTA_IMAGE); in getOtaPackageFile() 225 return getFile(BuildInfoFileKey.MKBOOTIMG_IMAGE); in getMkbootimgFile() 249 return getFile(BuildInfoFileKey.RAMDISK_IMAGE); in getRamdiskFile()
|
D | BuildInfo.java | 231 File origFile = fileEntry.getValue().getFile(); in addAllFiles() 266 if (origFileConsidered.getFile().equals(build.getFile(name))) { in applyBuildProperties() 268 name, origFileConsidered.getFile(), origFileConsidered.getVersion()); in applyBuildProperties() 300 public File getFile(String name) { in getFile() method in BuildInfo 305 return fileRecords.get(0).getFile(); in getFile() 310 public File getFile(BuildInfoFileKey key) { in getFile() method in BuildInfo 311 return getFile(key.getFileKey()); in getFile() 399 FileUtil.recursiveDelete(fileRecord.getFile()); in cleanUp() 411 if (!doNotClean.contains(fileRecord.getFile())) { in cleanUp() 412 FileUtil.recursiveDelete(fileRecord.getFile()); in cleanUp() [all …]
|
D | OtatoolsBuildInfo.java | 49 return getFile(SECURITY_DIR_NAME); in getSecurityDir() 63 return getFile(BIN_DIR_NAME); in getBinDir() 77 return getFile(FRAMEWORK_DIR_NAME); in getFrameworkDir() 91 return getFile(RELEASETOOLS_DIR_NAME); in getReleasetoolsDir()
|
D | IBuildInfo.java | 162 public default File getFile(BuildInfoFileKey key) { in getFile() method 177 public File getFile(String name); in getFile() method
|
D | OtaDeviceBuildInfo.java | 182 public File getFile(String name) { in getFile() method in OtaDeviceBuildInfo 183 return mBaselineBuild.getFile(name); in getFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 75 assertTrue(!mFile.getAbsolutePath().equals(copy.getFile(FILE_KEY).getAbsolutePath())); in testClone() 76 assertTrue(FileUtil.compareFileContents(mFile, copy.getFile(FILE_KEY))); in testClone() 78 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone() 85 assertTrue(mBuildInfo.getFile(FILE_KEY).exists()); in testCleanUp() 87 assertNull(mBuildInfo.getFile(FILE_KEY)); in testCleanUp() 139 assertNotNull(mBuildInfo.getFile("name")); in testCleanUpWithExemption() 140 assertNotNull(mBuildInfo.getFile("name2")); in testCleanUpWithExemption() 143 assertNull(mBuildInfo.getFile("name")); in testCleanUpWithExemption() 145 assertNotNull(mBuildInfo.getFile("name2")); in testCleanUpWithExemption() 174 assertNotNull(mBuildInfo.getFile(BuildInfoFileKey.PACKAGE_FILES)); in testListFiles()
|
D | GCSTestResourceProviderTest.java | 77 File file1 = buildInfo.getFile("key1"); in testGetBuild() 78 File file2 = buildInfo.getFile("key2"); in testGetBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparerTest.java | 73 assertNotNull(mMockInfo1.getFile(EXAMPLE_KEY)); in testMergeFiles() 74 assertNull(mMockInfo2.getFile(EXAMPLE_KEY)); in testMergeFiles() 78 assertNotNull(mMockInfo2.getFile(EXAMPLE_KEY)); in testMergeFiles() 97 assertNotNull(mMockInfo1.getFile(EXAMPLE_KEY)); in testMergeFiles_collision() 98 assertNotNull(mMockInfo2.getFile(EXAMPLE_KEY)); in testMergeFiles_collision() 102 assertNotNull(mMockInfo2.getFile(EXAMPLE_KEY)); in testMergeFiles_collision() 103 assertEquals("/orig", mMockInfo2.getFile(EXAMPLE_KEY).getAbsolutePath()); in testMergeFiles_collision() 116 assertNull(mMockInfo2.getFile(EXAMPLE_KEY)); in testMergeFiles_keyNotFound()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 78 EasyMock.expect(mBuildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)).andReturn(null); in setUp() 161 EasyMock.expect(mockBuildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)) in testLoadTests_testMappingsZip() 164 EasyMock.expect(mockBuildInfo.getFile(TEST_MAPPINGS_ZIP)).andReturn(zipFile); in testLoadTests_testMappingsZip() 248 EasyMock.expect(mockBuildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)) in testLoadTests_testMappingsZipFoundTestsWithKeywords() 251 EasyMock.expect(mockBuildInfo.getFile(TEST_MAPPINGS_ZIP)).andReturn(zipFile); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 320 EasyMock.expect(mockBuildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)) in testLoadTests_testMappingsZipFailWithKeywords() 323 EasyMock.expect(mockBuildInfo.getFile(TEST_MAPPINGS_ZIP)).andReturn(zipFile); in testLoadTests_testMappingsZipFailWithKeywords() 369 EasyMock.expect(mockBuildInfo.getFile(BuildInfoFileKey.HOST_LINKED_DIR)) in testLoadTests_testMappingsZipHostTests() 372 EasyMock.expect(mockBuildInfo.getFile(TEST_MAPPINGS_ZIP)).andReturn(zipFile); in testLoadTests_testMappingsZipHostTests() 417 EasyMock.expect(mockBuildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)) in testLoadTests_shard() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparerTest.java | 59 assertTrue(buildInfo.getFile("PYTHONPATH") != null); in testInstallDeps_reqFile_success() 70 assertTrue(buildInfo.getFile("PYTHONPATH") != null); in testInstallDeps_depModule_success() 84 assertTrue(buildInfo.getFile("PYTHONPATH") == null); in testInstallDeps_reqFile_failure() 99 assertTrue(buildInfo.getFile("PYTHONPATH") == null); in testInstallDeps_depModule_failure() 106 assertTrue(buildInfo.getFile("PYTHONPATH") == null); in testInstallDeps_noDeps()
|
D | InstallAllTestZipAppsSetupTest.java | 104 EasyMock.expect(mMockBuildInfo.getFile(zip)).andReturn(file); in testGetZipFile() 115 EasyMock.expect(mMockBuildInfo.getFile(zip)).andReturn(null); in testGetZipFileDoesntExist() 138 mMockBuildInfo.getFile((String) EasyMock.anyObject()); in testSuccess() 160 mMockBuildInfo.getFile((String) EasyMock.anyObject()); in testSuccessNoTearDown() 227 mMockBuildInfo.getFile((String) EasyMock.anyObject()); in testUnzipFail() 252 mMockBuildInfo.getFile((String) EasyMock.anyObject()); in testAaptFail()
|
D | PreloadedClassesPreparerTest.java | 73 when(mMockBuildInfo.getFile(PRELOAD_TOOL_NAME)).thenReturn(tool); in testSetUp_RemoteSuccess() 90 when(mMockBuildInfo.getFile(PRELOAD_TOOL_NAME)).thenReturn(null); in testSetUp_RemoteNoTool()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | AppSetup.java | 108 AaptParser aaptParser = doAaptParse(apkFile.getFile()); in setUp() 112 apkFile.getFile().getName()), device.getDeviceDescriptor()); in setUp() 125 apkFile.getFile(), true, args.toArray(new String[args.size()])); in setUp() 132 apkFile.getFile().getName(), device.getSerialNumber(), result), in setUp() 136 addPackageNameToUninstall(apkFile.getFile(), device); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/ |
D | CoverageMeasurementForwarderTest.java | 113 .getFile(ARTIFACT_NAME1); in setUp() 116 .getFile(ARTIFACT_NAME2); in setUp() 119 .getFile(ARTIFACT_NAME3); in setUp() 122 .getFile(ARTIFACT_NAME4); in setUp()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | AppPkgInjector.java | 71 AaptParser aapt = AaptParser.parse(apkFile.getFile()); in setUp() 76 "aapt parse of %s failed", apkFile.getFile().getAbsolutePath()), in setUp() 85 apkFile.getFile().getAbsolutePath()), in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/host/gcs/ |
D | GCSHostResourceManagerTest.java | 92 File file1 = mHostResourceManager.getFile("key1"); in testSetUpHostResources() 93 File file2 = mHostResourceManager.getFile("key2"); in testSetUpHostResources()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceFromRAFTest.java | 43 File f = ((TmpFileCloseable) c.getCloseable()).getFile(); in testFileSizeChangesVisible() 97 File getFile() { in getFile() method in DataSourceFromRAFTest.TmpFileCloseable
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | VersionedTfLauncherTest.java | 153 EasyMock.expect(mMockBuildInfo.getFile("general-tests.zip")) in testRun_singleDevice() 217 EasyMock.expect(mMockBuildInfo.getFile("general-tests.zip")).andReturn(null); in testRun_nullDevice() 276 EasyMock.expect(mMockBuildInfo.getFile("general-tests.zip")) in testRun_DeviceNoPreSetup() 362 EasyMock.expect(mMockBuildInfo.getFile("general-tests.zip")).andReturn(null); in testGetTestShard()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstaller.java | 89 File sharedDir = buildInfo.getFile(BuildInfoFileKey.SHARED_RESOURCE_DIR); in getApkFromBuildSharedDir() 115 apkFile = buildInfo.getFile(apkFileName); in getLocalPathForFilename()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 91 public File getFile() { in getFile() method in CommandFileParser.CommandLine 104 Objects.equals(otherLine.getFile(), mFile) && in equals() 462 CommandLine expanded = new CommandLine(line.getFile(), in expandLongMacro()
|
/tools/tradefederation/contrib/src/com/android/app/tests/ |
D | AppLaunchTest.java | 88 File appApkFile = appBuild.getAppPackageFiles().get(0).getFile(); in run() 98 final File apkFile = apkVersionedFile.getFile(); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparer.java | 93 if (adb == null && buildInfo.getFile("adb") != null) { in setUp() 94 adb = buildInfo.getFile("adb"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | PythonUnitTestRunner.java | 143 if (getBuild().getFile(PYTHONPATH) != null) { in setPythonPath() 145 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectoryEntry.java | 289 public FatFile getFile() throws IOException { in getFile() method in FatLfnDirectoryEntry 290 return parent.getFile(realEntry); in getFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 254 Mockito.doReturn(tmpApk).when(mMockBuildInfo).getFile("foo.apk"); in testGetLocalPathForFileName_inBuildKey() 275 Mockito.doReturn(tmpDir).when(mMockBuildInfo).getFile(BuildInfoFileKey.SHARED_RESOURCE_DIR); in testGetLocalPathForFileName_inSharedDir()
|