Searched refs:testAppFile (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetup.java | 462 File testAppFile = null; in resolveApkFiles() local 464 testAppFile = apkFile; in resolveApkFiles() 466 if (testAppFile == null) { in resolveApkFiles() 467 testAppFile = getLocalPathForFilename(testInfo, apkFile.getName()); in resolveApkFiles() 469 if (testAppFile == null) { in resolveApkFiles() 480 if (!testAppFile.canRead()) { in resolveApkFiles() 483 String.format("Could not read file %s.", testAppFile.toString()), in resolveApkFiles() 486 CLog.d("Could not read file %s.", testAppFile.toString()); in resolveApkFiles() 491 appFiles.put(testAppFile, parsePackageName(testAppFile, device.getDeviceDescriptor())); in resolveApkFiles() 589 protected String parsePackageName(File testAppFile, DeviceDescriptor deviceDescriptor) in parsePackageName() argument [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 157 File testAppFile, DeviceDescriptor deviceDescriptor) { in setUp() 158 if (testAppFile.getName().endsWith(".apex")) { in setUp() 161 if (testAppFile.getName().endsWith(".apk") in setUp() 162 && !testAppFile.getName().contains("Split")) { in setUp() 163 if (testAppFile.getName().contains("Second")) { in setUp() 165 } else if (testAppFile.getName().contains("Persistent")) { in setUp() 171 if (testAppFile.getName().endsWith(".apk") in setUp() 172 && testAppFile.getName().contains("Split")) { in setUp() 175 if (testAppFile.getName().endsWith(".apks") in setUp() 176 && testAppFile.getName().contains("fakeApk")) { in setUp()
|
D | TestAppInstallSetupTest.java | 101 File testAppFile, DeviceDescriptor deviceDescriptor) { in setUp() 164 File testAppFile, DeviceDescriptor deviceDescriptor) { in testSetupAndTeardown_install_package_only() 392 File testAppFile, DeviceDescriptor deviceDescriptor) { in testFindApk_override() 424 File testAppFile, DeviceDescriptor deviceDescriptor) { in testFindApk_override_onlyInBuild() 586 File testAppFile, DeviceDescriptor deviceDescriptor) { in createPreparer() 587 return fileToPackage.apply(testAppFile); in createPreparer()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 81 File testAppFile = FileUtil.getFileForPath(testsDir, "DATA", "app", testAppName); in setUp() local 82 if (!testAppFile.exists()) { in setUp() 84 + "extracted tests.zip", testAppFile), device.getDeviceDescriptor()); in setUp() 86 device.pushFile(testAppFile, String.format("/system/app/%s", testAppName)); in setUp()
|
D | TestFilePushSetup.java | 102 File testAppFile = new File(dir, fileName); in getLocalPathForFilename() local 103 if (testAppFile.exists()) { in getLocalPathForFilename() 104 return testAppFile; in getLocalPathForFilename()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BuildTestsZipUtils.java | 115 File testAppFile = FileUtil.findFile(dir, apkFileName); in getApkFile() local 116 if (testAppFile != null && testAppFile.exists()) { in getApkFile() 117 return testAppFile; in getApkFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 383 File testAppFile, DeviceDescriptor deviceDescriptor) in createSuiteApkInstaller()
|