/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 69 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/ |
D | DeviceBuildInfo.java | 85 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()
|
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 | AppDeviceBuildInfo.java | 316 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()
|
D | IBuildInfo.java | 149 public default File getFile(BuildInfoFileKey key) { in getFile() method 159 public File getFile(String name); in getFile() method
|
D | AppBuildInfo.java | 75 appPackageFile.getFile().delete(); in cleanUp() 90 File origFile = origVerFile.getFile(); in clone()
|
D | VersionedFile.java | 32 public File getFile() { in getFile() method in VersionedFile
|
D | KernelBuildInfo.java | 59 return getFile(KERNEL_FILE); in getKernelFile()
|
/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/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 | PushFilePreparerTest.java | 124 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()
|
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/prod-tests/src/com/android/monkey/ |
D | AppPkgInjector.java | 73 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/ |
D | AppSetup.java | 109 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()
|
D | PushFilePreparer.java | 102 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/ |
D | DataSourceFromRAFTest.java | 43 File f = ((TmpFileCloseable) c.getCloseable()).getFile(); in testFileSizeChangesVisible() 97 File getFile() { in getFile() method in DataSourceFromRAFTest.TmpFileCloseable
|
D | DataSinkFromRAFTest.java | 52 RandomAccessFile f = dataSink.getFile(); in getContents()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
D | FsDirectoryEntry.java | 123 public FsFile getFile() in getFile() method
|
/tools/tradefederation/contrib/src/com/android/tradefed/build/ |
D | TestzipBuildInfo.java | 52 return getFile(TESTDIR_IMAGE_NAME); in getTestzipDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/ |
D | CoverageMeasurementForwarderTest.java | 91 .getFile(ARTIFACT_NAME1); in setUp() 94 .getFile(ARTIFACT_NAME2); in setUp()
|
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/ |
D | AppLaunchTest.java | 94 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/ |
D | RandomAccessFileDataSink.java | 61 public RandomAccessFile getFile() { in getFile() method in RandomAccessFileDataSink
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/ |
D | CachedFileContents.java | 173 public File getFile() { in getFile() method in CachedFileContents
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | PythonUnitTestRunner.java | 139 if (getBuild().getFile(PYTHONPATH) != null) { in setPythonPath() 141 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath()
|