Home
last modified time | relevance | path

Searched refs:getFile (Results 1 – 25 of 47) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java69 assertTrue(!mFile.getAbsolutePath().equals(copy.getFile(FILE_KEY).getAbsolutePath())); in testClone()
70 assertTrue(FileUtil.compareFileContents(mFile, copy.getFile(FILE_KEY))); in testClone()
72 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone()
79 assertTrue(mBuildInfo.getFile(FILE_KEY).exists()); in testCleanUp()
81 assertNull(mBuildInfo.getFile(FILE_KEY)); in testCleanUp()
133 assertNotNull(mBuildInfo.getFile("name")); in testCleanUpWithExemption()
134 assertNotNull(mBuildInfo.getFile("name2")); in testCleanUpWithExemption()
135 assertNotNull(mBuildInfo.getFile("name")); in testCleanUpWithExemption()
136 assertNotNull(mBuildInfo.getFile("name2")); in testCleanUpWithExemption()
139 assertNull(mBuildInfo.getFile("name")); in testCleanUpWithExemption()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceBuildInfo.java85 return getFile(BuildInfoFileKey.DEVICE_IMAGE); in getDeviceImageFile()
109 return getFile(BuildInfoFileKey.USERDATA_IMAGE); in getUserDataImageFile()
133 return getFile(BuildInfoFileKey.TESTDIR_IMAGE); in getTestsDir()
157 return getFile(BuildInfoFileKey.BASEBAND_IMAGE); in getBasebandImageFile()
181 return getFile(BuildInfoFileKey.BOOTLOADER_IMAGE); in getBootloaderImageFile()
205 return getFile(BuildInfoFileKey.OTA_IMAGE); in getOtaPackageFile()
229 return getFile(BuildInfoFileKey.MKBOOTIMG_IMAGE); in getMkbootimgFile()
253 return getFile(BuildInfoFileKey.RAMDISK_IMAGE); in getRamdiskFile()
280 if (origFileConsidered.getFile().equals(build.getFile(name))) { in applyBuildProperties()
282 name, origFileConsidered.getFile(), origFileConsidered.getVersion()); in applyBuildProperties()
DOtatoolsBuildInfo.java49 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()
DAppDeviceBuildInfo.java316 public File getFile(String name) { in getFile() method in AppDeviceBuildInfo
317 File localRecord = super.getFile(name); in getFile()
318 File deviceFileRecord = mDeviceBuild.getFile(name); in getFile()
319 File appFileRecord = mAppBuildInfo.getFile(name); in getFile()
DIBuildInfo.java149 public default File getFile(BuildInfoFileKey key) { in getFile() method
159 public File getFile(String name); in getFile() method
DAppBuildInfo.java75 appPackageFile.getFile().delete(); in cleanUp()
90 File origFile = origVerFile.getFile(); in clone()
DVersionedFile.java32 public File getFile() { in getFile() method in VersionedFile
DKernelBuildInfo.java59 return getFile(KERNEL_FILE); in getKernelFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java73 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/targetprep/
DPythonVirtualenvPreparerTest.java59 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()
DInstallAllTestZipAppsSetupTest.java104 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()
DPushFilePreparerTest.java124 EasyMock.expect(buildInfo.getFile(fileName)).andReturn(null); in testResolveRelativeFilePath_noDeviceBuildInfo()
148 EasyMock.expect(buildInfo.getFile(fileName)).andReturn(null); in testResolveRelativeFilePath_withDeviceBuildInfo()
149 EasyMock.expect(buildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)).andReturn(null); in testResolveRelativeFilePath_withDeviceBuildInfo()
DPreloadedClassesPreparerTest.java73 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/prod-tests/src/com/android/monkey/
DAppPkgInjector.java73 AaptParser aapt = AaptParser.parse(apkFile.getFile()); in setUp()
77 apkFile.getFile().getAbsolutePath()), device.getDeviceDescriptor()); in setUp()
83 apkFile.getFile().getAbsolutePath()), device.getDeviceDescriptor()); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DAppSetup.java109 AaptParser aaptParser = doAaptParse(apkFile.getFile()); in setUp()
113 apkFile.getFile().getName()), device.getDeviceDescriptor()); in setUp()
123 String result = device.installPackage(apkFile.getFile(), true, in setUp()
131 apkFile.getFile().getName(), device.getSerialNumber(), result), in setUp()
135 addPackageNameToUninstall(apkFile.getFile(), device); in setUp()
DPushFilePreparer.java102 src = buildInfo.getFile(fileName); in resolveRelativeFilePath()
111 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFTest.java43 File f = ((TmpFileCloseable) c.getCloseable()).getFile(); in testFileSizeChangesVisible()
97 File getFile() { in getFile() method in DataSourceFromRAFTest.TmpFileCloseable
DDataSinkFromRAFTest.java52 RandomAccessFile f = dataSink.getFile(); in getContents()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java123 public FsFile getFile() in getFile() method
/tools/tradefederation/contrib/src/com/android/tradefed/build/
DTestzipBuildInfo.java52 return getFile(TESTDIR_IMAGE_NAME); in getTestzipDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java91 .getFile(ARTIFACT_NAME1); in setUp()
94 .getFile(ARTIFACT_NAME2); in setUp()
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/
DAppLaunchTest.java94 File appApkFile = appBuild.getAppPackageFiles().get(0).getFile(); in run()
102 final File apkFile = apkVersionedFile.getFile(); in run()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DRandomAccessFileDataSink.java61 public RandomAccessFile getFile() { in getFile() method in RandomAccessFileDataSink
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DCachedFileContents.java173 public File getFile() { in getFile() method in CachedFileContents
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java139 if (getBuild().getFile(PYTHONPATH) != null) { in setPythonPath()
141 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath()

12