Searched refs:testAppFile (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetup.java | 319 File testAppFile = getLocalPathForFilename(buildInfo, name, device); in installer() local 320 if (testAppFile == null) { in installer() 330 if (!testAppFile.canRead()) { in installer() 333 String.format("Could not read file %s.", testAppFile.toString()), in installer() 336 CLog.d("Could not read file %s.", testAppFile.toString()); in installer() 340 appFiles.add(testAppFile); in installer() 341 String packageName = parsePackageName(testAppFile, device.getDeviceDescriptor()); in installer() 436 protected String parsePackageName(File testAppFile, DeviceDescriptor deviceDescriptor) in parsePackageName() argument 438 AaptParser parser = AaptParser.parse(testAppFile); in parsePackageName()
|
D | TestSystemAppInstallSetup.java | 80 File testAppFile = FileUtil.getFileForPath(testsDir, "DATA", "app", testAppName); in setUp() local 81 if (!testAppFile.exists()) { in setUp() 83 + "extracted tests.zip", testAppFile), device.getDeviceDescriptor()); in setUp() 85 device.pushFile(testAppFile, String.format("/system/app/%s", testAppName)); in setUp()
|
D | TestFilePushSetup.java | 131 File testAppFile = new File(dir, fileName); in getLocalPathForFilename() local 132 if (testAppFile.exists()) { in getLocalPathForFilename() 133 return testAppFile; in getLocalPathForFilename()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BuildTestsZipUtils.java | 107 File testAppFile = FileUtil.findFile(dir, apkFileName); in getApkFile() local 108 if (testAppFile != null && testAppFile.exists()) { in getApkFile() 109 return testAppFile; in getApkFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 77 File testAppFile, DeviceDescriptor deviceDescriptor) { in setUp() 128 File testAppFile, DeviceDescriptor deviceDescriptor) { in testSetupAndTeardown_install_package_only() 155 File testAppFile, DeviceDescriptor deviceDescriptor) { in testSetupAndTeardown_install_packages_only() 351 File testAppFile, DeviceDescriptor deviceDescriptor) { in testFindApk_override() 383 File testAppFile, DeviceDescriptor deviceDescriptor) { in testFindApk_override_onlyInBuild()
|
D | InstallApexModuleTargetPreparerTest.java | 132 File testAppFile, DeviceDescriptor deviceDescriptor) { in setUp() 133 if (testAppFile.getName().endsWith(".apex")) { in setUp() 136 if (testAppFile.getName().endsWith(".apk") && in setUp() 137 !testAppFile.getName().contains("Split")) { in setUp() 140 if (testAppFile.getName().endsWith(".apk") && in setUp() 141 testAppFile.getName().contains("Split")) { in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 336 File testAppFile, DeviceDescriptor deviceDescriptor) in createSuiteApkInstaller()
|