Home
last modified time | relevance | path

Searched refs:SystemPreparer (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DOverlayPathsUninstallSystemUpdatesTest.kt19 import com.android.internal.util.test.SystemPreparer
41 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
45 private val preparer: SystemPreparer = SystemPreparer(tempFolder,
46 SystemPreparer.RebootStrategy.FULL, deviceRebootRule, true) { this.device } in <lambda>()
DFactoryPackageTest.kt3 import com.android.internal.util.test.SystemPreparer
27 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
31 private val preparer: SystemPreparer = SystemPreparer(tempFolder,
32 SystemPreparer.RebootStrategy.FULL, deviceRebootRule) { this.device } in <lambda>()
DInvalidNewSystemAppTest.kt19 import com.android.internal.util.test.SystemPreparer
43 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
47 private val preparer: SystemPreparer = SystemPreparer(tempFolder,
48 SystemPreparer.RebootStrategy.FULL, deviceRebootRule) { this.device } in <lambda>()
DOverlayActorVisibilityTest.kt19 import com.android.internal.util.test.SystemPreparer
45 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
51 private val preparer: SystemPreparer = SystemPreparer(
53 SystemPreparer.RebootStrategy.FULL,
DOriginalPackageMigrationTest.kt19 import com.android.internal.util.test.SystemPreparer
43 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
47 private val preparer: SystemPreparer = SystemPreparer(tempFolder,
48 SystemPreparer.RebootStrategy.FULL, deviceRebootRule) { this.device } in <lambda>()
DTamperedUpdatedSystemPackageTest.kt21 import com.android.internal.util.test.SystemPreparer
56 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true)
60 private val preparer: SystemPreparer = SystemPreparer(
62 SystemPreparer.RebootStrategy.FULL,
DHostUtils.kt19 import com.android.internal.util.test.SystemPreparer in <lambda>()
26 internal fun SystemPreparer.pushApk(javaResourceName: String, partition: Partition) = in <lambda>()
30 internal fun SystemPreparer.deleteApkFolders( in <lambda>()
DSystemStubMultiUserDisableUninstallTest.kt19 import com.android.internal.util.test.SystemPreparer in <lambda>()
57 val deviceRebootRule = SystemPreparer.TestRuleDelegate(true) in <lambda>()
71 private var savedPreparer: SystemPreparer? = null in <lambda>()
110 private val preparer: SystemPreparer = SystemPreparer(tempFolder, in <lambda>()
111 SystemPreparer.RebootStrategy.FULL, deviceRebootRule) { this.device } in <lambda>()
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java51 public class SystemPreparer extends ExternalResource { class
69 public SystemPreparer(TemporaryFolder hostTempFolder, DeviceProvider deviceProvider) { in SystemPreparer() method in SystemPreparer
73 public SystemPreparer(TemporaryFolder hostTempFolder, RebootStrategy rebootStrategy, in SystemPreparer() method in SystemPreparer
78 public SystemPreparer(TemporaryFolder hostTempFolder, RebootStrategy rebootStrategy, in SystemPreparer() method in SystemPreparer
92 public SystemPreparer pushResourceFile(String filePath, String outputPath) in pushResourceFile()
102 public SystemPreparer pushFile(File file, String outputPath) in pushFile()
125 public SystemPreparer deleteFile(String file) throws DeviceNotAvailableException { in deleteFile()
133 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk()
144 public SystemPreparer stageMultiplePackages(String[] resourcePaths, String[] packageNames) in stageMultiplePackages()
162 public SystemPreparer setOverlayEnabled(String packageName, boolean enabled) in setOverlayEnabled()
[all …]
/frameworks/base/core/tests/overlaytests/remount/src/com/android/overlaytest/remounted/
DOverlayRemountedTestBase.java21 import com.android.internal.util.test.SystemPreparer;
38 protected final SystemPreparer mPreparer = new SystemPreparer(mTemporaryFolder,
/frameworks/base/services/tests/apexsystemservices/src/com/android/server/
DApexSystemServicesTestCases.java25 import com.android.internal.util.test.SystemPreparer;
52 private final SystemPreparer mPreparer = new SystemPreparer(mTemporaryFolder, this::getDevice);