Home
last modified time | relevance | path

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

123

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPermissionsHostTest.java81 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(REVIEW_HELPER_APK), true, in approveReviewPermissionDialog()
126 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testFail()
141 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testKill()
156 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatDefault22()
166 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatRevoked22()
186 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testNoRuntimePrompt22()
195 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testDefault23()
201 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testGranted23()
207 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testInteractiveGrant23()
213 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantSpecificity23()
[all …]
DPrivilegedUpdateTests.java83 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(TEST_APK), false)); in setUp()
99 mBuildHelper.getTestFile(SHIM_UPDATE_FAIL_APK), true)); in testPrivilegedAppUpgradeRestricted()
120 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testPrivilegedAppUpgradePriorities()
144 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testDisableUpdatedSystemApp()
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()
DAccessSerialNumberTest.java61 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testSerialAccessPolicy()
68 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in testSerialAccessPolicy()
DDocumentsTest.java37 assertNull(getDevice().installPackage(buildHelper.getTestFile(PROVIDER_APK), false)); in setUp()
38 assertNull(getDevice().installPackage(buildHelper.getTestFile(STUBIME_APK), false)); in setUp()
DDeviceIdentifierTest.java50 getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_IDENTIFIER_APK), false, in setUp()
DDocumentsTestCase.java74 assertNull(getDevice().installPackage(buildHelper.getTestFile(CLIENT_APK), false)); in reinstallClientPackage()
DInstantCookieHostTest.java117 return buildHelper.getTestFile(fileName); in getTestAppFile()
DCorruptApkTests.java130 new CompatibilityBuildHelper(mBuildInfo).getTestFile(apk), in assertInstallDoesNotCrashSystem()
DListeningPortsTest.java76 File apk = buildHelper.getTestFile(DEVICE_TEST_APK); in installDeviceTestPkg()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java96 assertTrue("CE file", getTestFile(mCe).createNewFile()); in testSetUp()
97 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp()
194 assertFalse("CE exists", getTestFile(mCe).exists()); in assertLocked()
195 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked()
240 final File ceFile = getTestFile(mCe); in assertLocked()
252 assertTrue("CE exists", getTestFile(mCe).exists()); in assertUnlocked()
253 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked()
298 final File ceFile = getTestFile(mCe); in assertUnlocked()
372 private File getTestFile(Context context) { in getTestFile() method in EncryptionAppTest
/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/
DUidMapTests.java79 buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromInstallation()
103 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromReinstall()
106 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromReinstall()
129 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromUninstall()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTestUtil.java38 File configFile = getBuildHelper().getTestFile(fileName); in getConfig()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java53 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_TEST_APK), false, in setUp()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java76 File app = buildHelper.getTestFile(APK_NAME); in setUp()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java47 File app = buildHelper.getTestFile(APKS[i]); in setUp()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java85 File jarFile = ctsBuild.getTestFile(JAR_FILE); in installVmPrereqs()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DStoragedDumpsysTest.java72 mDevice.installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true); in testStoragedOutput()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java102 File app = buildHelper.getTestFile(APK); in testInstallTime()
DTaskSwitchingTest.java90 File app = buildHelper.getTestFile(APKS[i]); in installPackages()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java158 return buildHelper.getTestFile(fileName); in getTestAppFile()
DProcfsHostTests.java155 File app = buildHelper.getTestFile(APK_NAME); in startTestApp()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java113 final File testFile = mBuildHelper.getTestFile(FILE_NAME); in testTransferTime()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java54 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), true)); in installPackage()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java66 mApks.add(buildHelper.getTestFile(apk)); in addApk()

123