/aosp12/system/apex/tests/src/com/android/tests/apex/ |
H A D | ApexdHostTest.java | 83 assertThat(getDevice().pushFile(mHostUtils.getTestFile("apex.apexd_test_v2.apex"), in testOrphanedApexIsNotActivated() 104 assertThat(getDevice().pushFile(mHostUtils.getTestFile(testApexFile), in testApexWithoutPbIsNotActivated() 129 final File newFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testRemountApex() 162 final File v1 = mHostUtils.getTestFile("apex.apexd_test.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion() 165 final File v2_no_pb = mHostUtils.getTestFile("apex.apexd_test_v2_no_pb.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion() 203 final File v3 = mHostUtils.getTestFile("apex.apexd_test_v3.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasNewerVersion() 206 final File v2_no_pb = mHostUtils.getTestFile("apex.apexd_test_v2_no_pb.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasNewerVersion() 267 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testApexSessionStateUnchangedBeforeReboot() 321 mHostUtils.getTestFile("com.android.apex.cts.shim.v2_additional_file.apex"); in testFailsToActivateApexOnDataFallbacksToPreInstalled()
|
H A D | ApexRollbackTests.java | 103 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testAutomaticBootLoopRecovery() 151 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testSessionNotRevertedWithCheckpointingDisabled() 189 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testCheckpointingRevertsSession() 227 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testRebootingOnceDoesNotRevertSession() 288 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testFailingUserspaceReboot_doesNotRevertUpdate() 317 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testUserspaceRebootFailedShutdownSequence_doesNotRevertUpdate() 350 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testUserspaceRebootFailedRemount_revertsUpdate() 381 assertThat(getDevice().pushFile(mHostUtils.getTestFile("apex.apexd_test_v2.apex"), in testBootCompletedCleanupHappensEvenWhenThereIsCrashingProcess() 416 final File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testReasonForRevertIsLoggedDuringBootloop()
|
H A D | ApexE2EBaseHostTest.java | 111 ApexInfo apex = mHostUtils.getApexInfo(mHostUtils.getTestFile(filename)); in uninstallAllApexes() 117 File testAppFile = mHostUtils.getTestFile(filename); in installApex()
|
/aosp12/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/ |
H A D | StagedInstallInternalTest.java | 137 final File apex = buildHelper.getTestFile(fileName); in pushTestApex() 189 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagdReadyTimeoutFlagWorks() 204 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagedInstallWaitsTillReadyByDefault() 219 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagedReadyWaitCanBeSkipped() 236 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbRollbackAppWaitsForStagedReady() 253 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbInstallMultiPackageCommandWorks() 254 final File apkFile = mHostUtils.getTestFile(APK_A); in testAdbInstallMultiPackageCommandWorks() 364 final File invalidApexFile = mHostUtils.getTestFile(APEX_WRONG_SHA); in testApexActivationFailureIsCapturedInSession()
|
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/ |
H A D | UidMapTests.java | 73 buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromInstallation() 94 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromReinstall() 97 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromReinstall() 117 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromUninstall()
|
/aosp12/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/ |
H A D | FastDeployTest.java | 50 mTestApk5Path = buildHelper.getTestFile(TEST_APK5_NAME).getAbsolutePath(); in setUp() 51 mTestApk7Path = buildHelper.getTestFile(TEST_APK7_NAME).getAbsolutePath(); in setUp()
|
/aosp12/packages/modules/SdkExtensions/tests/e2e/Extensions/test-src/com/android/tests/apex/sdkextensions/ |
H A D | SdkExtensionsHostTest.java | 79 File testAppFile = mInstallUtils.getTestFile(APP_FILENAME); in installTestApp() 129 File appFile = mInstallUtils.getTestFile(filename); in canInstallApp() 236 ApexInfo apex = mInstallUtils.getApexInfo(mInstallUtils.getTestFile(filename)); in uninstallApexes()
|
/aosp12/system/apex/tests/src/com/android/tests/apex/host/ |
H A D | ApexCompressionTests.java | 123 final File apex = mHostUtils.getTestFile(fileName); in pushTestApex() 161 final File originalApex = mHostUtils.getTestFile(ORIGINAL_APEX_FILE_NAME); in testCompressedApexIsDecompressedAndActivated() 339 mHostUtils.getTestFile("com.android.apex.compressed.v2_manifest_mismatch.apex"); in testFailsToActivateApexOnDataFallbacksToPreInstalled() 416 final File apex = mHostUtils.getTestFile( in testOrphanedDecompressedApexInActiveDirIsIgnored()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
H A D | MigrateSystemAppsSnapshotTaskTest.java | 166 FileUtils.copy(getTestFile(fileToBeCopied), new FileOutputStream(destination)); in copyTestFileTo() 174 private InputStream getTestFile(int resId) { in getTestFile() method in MigrateSystemAppsSnapshotTaskTest
|
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/validation/ |
H A D | ValidationTestUtil.java | 38 File configFile = getBuildHelper().getTestFile(fileName); in getConfig()
|
/aosp12/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/ |
H A D | DeflakeHostTestBase.kt | 102 val apkFile = InstallUtilsHost(this).getTestFile(testApkFilename)
|
/aosp12/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/ |
H A D | NetworkStackHostTests.kt | 45 private val mModuleApk = InstallUtilsHost(this).getTestFile(APP_APK)
|
/aosp12/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/ |
H A D | BaseInstallMultiple.java | 63 mFileToRemoteMap.put(buildHelper.getTestFile(filename), remoteName); in addFile()
|
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
H A D | BaseTestCase.java | 121 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
|
/aosp12/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
H A D | HostsideNetworkTestCase.java | 82 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), in installPackage()
|
/aosp12/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
H A D | TimeZoneUpdateHostTest.java | 416 return buildHelper.getTestFile(fileName); in getTimeZoneDataApkFile()
|
/aosp12/art/test/odsign/test-src/com/android/tests/odsign/ |
H A D | OnDeviceSigningHostTest.java | 79 ApexInfo apex = mInstallUtils.getApexInfo(mInstallUtils.getTestFile(APEX_FILENAME)); in cleanup()
|
/aosp12/packages/modules/Gki/test/src/com/android/gki/tests/ |
H A D | GkiInstallTest.java | 175 mApexFile = buildHelper.getTestFile(mFileName); in findTestApexFile()
|
/aosp12/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/ |
H A D | StagedRollbackTest.java | 611 final File apex = buildHelper.getTestFile(fileName); in pushTestApex()
|