Home
last modified time | relevance | path

Searched refs:getTestFile (Results 1 – 25 of 65) sorted by relevance

123

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPermissionEscalationTest.java59 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testNoPermissionEscalation()
61 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testNoPermissionEscalation()
70 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testNoPermissionEscalationAfterReboot()
72 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testNoPermissionEscalationAfterReboot()
DPrivilegedUpdateTests.java84 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(TEST_APK), false)); in setUp()
100 mBuildHelper.getTestFile(SHIM_UPDATE_FAIL_APK), true)); in testPrivilegedAppUpgradeRestricted()
121 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testPrivilegedAppUpgradePrioritiesPreservedOnReboot()
149 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testDisableUpdatedSystemApp()
169 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testUpdatedSystemAppPreservedOnReboot()
DAccessSerialNumberTest.java61 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testSerialAccessPolicy()
68 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testSerialAccessPolicy()
DBaseInstallMultiple.java103 mFilesToAdd.add(DeviceFile.addToSession(buildHelper.getTestFile(file, mAbi))); in addFile()
109 mFilesToAdd.add(DeviceFile.renameAndAddToSession(buildHelper.getTestFile(localFile, mAbi), in renameAndAddFile()
110 buildHelper.getTestFile(remoteFile, mAbi))); in renameAndAddFile()
116 mFilesToAdd.add(DeviceFile.pushOnly(buildHelper.getTestFile(file, mAbi))); in pushFile()
122 mFilesToAdd.add(DeviceFile.renameAndPushOnly(buildHelper.getTestFile(localFile, mAbi), in renameAndPushFile()
123 buildHelper.getTestFile(remoteFile, mAbi))); in renameAndPushFile()
DInstantAppUserTest.java248 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
253 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp()
258 assertNull(getDevice().installPackageForUser(buildHelper.getTestFile(apk), false, userId)); in installAppAsUser()
264 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()
DDocumentsTest.java46 assertNull(getDevice().installPackage(buildHelper.getTestFile(PROVIDER_APK), false)); in setUp()
47 assertNull(getDevice().installPackage(buildHelper.getTestFile(STUBIME_APK), false)); in setUp()
DDocumentsTestCase.java66 assertNull(getDevice().installPackage(buildHelper.getTestFile(CLIENT_APK), false)); in reinstallClientPackage()
DDeviceIdentifierTest.java51 getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_IDENTIFIER_APK), false, in setUp()
DRoleSecurityTest.java71 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(fileName), false)); in installApp()
DInstantCookieHostTest.java117 return buildHelper.getTestFile(fileName); in getTestAppFile()
/cts/hostsidetests/packagemanager/installedloadingprogess/hostside/src/com/android/tests/loadingprogress/host/
DIncrementalLoadingProgressTest.java77 final File base_apk = buildHelper.getTestFile(TEST_APK); in setUp()
79 final File base_v4Signature = buildHelper.getTestFile( in setUp()
82 final File split_apk = buildHelper.getTestFile(TEST_SPLIT_APK); in setUp()
84 final File split_v4Signature = buildHelper.getTestFile( in setUp()
DNonIncrementalLoadingProgressTest.java51 final File apk = buildHelper.getTestFile(TEST_APK); in setUp()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java106 assertTrue("CE file", getTestFile(mCe).createNewFile()); in testSetUp()
107 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp()
252 assertFalse("CE exists", getTestFile(mCe).exists()); in assertLocked()
253 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked()
299 final File ceFile = getTestFile(mCe); in assertLocked()
311 assertTrue("CE exists", getTestFile(mCe).exists()); in assertUnlocked()
312 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked()
357 final File ceFile = getTestFile(mCe); in assertUnlocked()
431 private File getTestFile(Context context) { in getTestFile() method in EncryptionAppTest
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalFeatureTest.java67 final File apk = buildHelper.getTestFile(TEST_APP_BASE_APK_NAME); in testFeatureWorkingWithInstallation()
69 final File idsig = buildHelper.getTestFile(TEST_APP_BASE_APK_IDSIG_NAME); in testFeatureWorkingWithInstallation()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DPreserveLegacyStorageHostTest.java46 buildHelper.getTestFile(appFileName), true, true, userId, "-t"); in installApp()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java45 final File apk = buildHelper.getTestFile(apkName); in pushApkToRemote()
46 final File signature = buildHelper.getTestFile(apkName + SIGNATURE_FILE_SUFFIX); in pushApkToRemote()
DPackageManagerStatsTestsBase.java93 final File file = buildHelper.getTestFile(fileName); in getTestFileSize()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java52 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_TEST_APK), false, in setUp()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java47 File app = buildHelper.getTestFile(APKS[i]); in setUp()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java76 File app = buildHelper.getTestFile(APK_NAME); in setUp()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java150 args[i + 1] = getTestFile(filenames[i]).getAbsolutePath(); in installApexes()
178 public File getTestFile(String testFileName) throws IOException { in getTestFile() method in InstallUtilsHost
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestBase.java231 final File apk = buildHelper.getTestFile(apkName); in installPackageIncremental()
233 final File v4Signature = buildHelper.getTestFile(apkName + IDSIG_SUFFIX); in installPackageIncremental()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java85 File jarFile = ctsBuild.getTestFile(JAR_FILE); in installVmPrereqs()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DPocPusher.java137 File localFile = buildHelper.getTestFile(testFile); in pushFile()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DGfxInfoDumpsysTest.java48 File testAppFile = buildHelper.getTestFile(TEST_APK); in testGfxinfoFramestats()

123