Searched refs:copyResourceToHostFile (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | FactoryPackageTest.kt | 54 val versionTwoFile = HostUtils.copyResourceToHostFile(VERSION_TWO, tempFolder.newFile()) in testGetInstalledPackagesFactoryOnlyFlag() 67 val deviceSideFile = HostUtils.copyResourceToHostFile(DEVICE_SIDE, tempFolder.newFile()) in runDeviceTest()
|
D | InvalidNewSystemAppTest.kt | 69 val versionTwoFile = HostUtils.copyResourceToHostFile(VERSION_TWO, tempFolder.newFile()) in verify() 82 val versionFourFile = HostUtils.copyResourceToHostFile(VERSION_FOUR, tempFolder.newFile()) in verify()
|
D | HostUtils.kt | 45 val file = HostUtils.copyResourceToHostFile(javaResource, tempFolder.newFile()) in installJavaResourceApk() 107 fun copyResourceToHostFile(javaResourceName: String, file: File): File { in makePathForApk() method
|
D | TamperedUpdatedSystemPackageTest.kt | 124 val versionTwoFile = HostUtils.copyResourceToHostFile( in detectApkAndXmlTamperingAtBoot() 151 val versionTwoFile = HostUtils.copyResourceToHostFile( in detectApkTamperingAtBoot()
|
D | PackageInstallerSessionTest.kt | 50 val deviceSideFile = HostUtils.copyResourceToHostFile(DEVICE_SIDE, tempFolder.newFile()) in runDeviceTest()
|
D | BootTest.kt | 42 val testApkFile = HostUtils.copyResourceToHostFile(TEST_APK_NAME, tempFolder.newFile()) in installApk()
|
D | SdCardEjectionTests.kt | 89 val hostApkFile = HostUtils.copyResourceToHostFile(VERSION_ONE, tempFolder.newFile()) in launchActivity() 120 val usesApkFile = HostUtils.copyResourceToHostFile(VERSION_USES, tempFolder.newFile()) in uninstallStaticLibraryInUse()
|
D | OverlayPathsUninstallSystemUpdatesTest.kt | 65 val versionTwoFile = HostUtils.copyResourceToHostFile(VERSION_TWO, tempFolder.newFile()) in verify()
|