Home
last modified time | relevance | path

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

12

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPermissionsHostTest.java112 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testFail()
127 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testKill()
141 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatDefault22()
147 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatRevoked22()
163 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testNoRuntimePrompt22()
169 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testDefault23()
175 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testGranted23()
181 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testInteractiveGrant23()
187 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantSpecificity23()
193 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantExpansion23()
[all …]
DMajorVersionTest.java72 mBuildHelper.getTestFile(APK_000000000000ffff), false, false)); in testInstallMinorVersion()
80 mBuildHelper.getTestFile(APK_000000ff00000000), false, false)); in testInstallMajorVersion()
88 mBuildHelper.getTestFile(APK_000000000000ffff), false, false)); in testInstallUpdateAcrossMinorMajorVersion()
92 mBuildHelper.getTestFile(APK_00000000ffffffff), true, false)); in testInstallUpdateAcrossMinorMajorVersion()
96 mBuildHelper.getTestFile(APK_000000ff00000000), true, false)); in testInstallUpdateAcrossMinorMajorVersion()
100 mBuildHelper.getTestFile(APK_000000ffffffffff), true, false)); in testInstallUpdateAcrossMinorMajorVersion()
108 mBuildHelper.getTestFile(APK_000000ffffffffff), false, false)); in testInstallDowngradeAcrossMajorMinorVersion()
112 mBuildHelper.getTestFile(APK_00000000ffffffff), true, false)); in testInstallDowngradeAcrossMajorMinorVersion()
116 mBuildHelper.getTestFile(APK_000000ff00000000), true, false)); in testInstallDowngradeAcrossMajorMinorVersion()
120 mBuildHelper.getTestFile(APK_000000000000ffff), true, false)); in testInstallDowngradeAcrossMajorMinorVersion()
DPackageResolutionHostTest.java58 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedActivity()
67 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedService()
76 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedReceiver()
DUsesLibraryHostTest.java71 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testUsesLibrary()
76 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testMissingLibrary()
81 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testDuplicateLibrary()
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.java197 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
202 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp()
207 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installAppAsUser()
213 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()
DEphemeralTest.java488 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
493 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, in installApp()
499 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--ephemeral")); in installEphemeralApp()
504 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, in installEphemeralApp()
510 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), true, "--full")); in installFullApp()
DOverlayHostTest.java51 assertNotNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testInstallingOverlayHasNoEffect()
DDocumentsTest.java37 assertNull(getDevice().installPackage(buildHelper.getTestFile(PROVIDER_APK), false)); in setUp()
DDocumentsTestCase.java73 assertNull(getDevice().installPackage(buildHelper.getTestFile(CLIENT_APK), false)); in reinstallClientPackage()
DBaseAppSecurityTest.java69 buildHelper.getTestFile(apk), true, false, userId, "-t")); in installTestAppForUser()
DInstantCookieHostTest.java105 return getDevice().installPackage(mBuildHelper.getTestFile(apk), replace, in installPackage()
DCorruptApkTests.java110 new CompatibilityBuildHelper(mBuildInfo).getTestFile(filename), in assertInstallNoFatalError()
DBaseInstallMultiple.java66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
/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/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java86 assertTrue("CE file", getTestFile(mCe).createNewFile()); in testSetUp()
87 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp()
184 assertFalse("CE exists", getTestFile(mCe).exists()); in assertLocked()
185 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked()
226 assertTrue("CE exists", getTestFile(mCe).exists()); in assertUnlocked()
227 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked()
332 private File getTestFile(Context context) { in getTestFile() method in EncryptionAppTest
/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/hostsidetests/dumpsys/src/android/dumpsys/cts/
DStoragedDumpsysTest.java72 mDevice.installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true); in testStoragedOutput()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java85 File jarFile = ctsBuild.getTestFile(JAR_FILE); in installVmPrereqs()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java323 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in doTestCanReplaceLibraryIfVersionAndVersionCodeSame()
444 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in doTestLibraryAndPackageNameCanMatch()
647 return getDevice().installPackage(mBuildHelper.getTestFile(apk), false, false, in install()
DOsHostTests.java148 return buildHelper.getTestFile(fileName); in getTestAppFile()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java102 File app = buildHelper.getTestFile(APK); in testInstallTime()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java113 final File testFile = mBuildHelper.getTestFile(FILE_NAME); in testTransferTime()

12