Home
last modified time | relevance | path

Searched refs:createPackageInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java113 mTestSystemImpl.setPackageInfoForUser(userId, createPackageInfo(wpi.packageName, in setEnabledAndValidPackageInfosForUser()
163 private static PackageInfo createPackageInfo( in createPackageInfo() method in WebViewUpdateServiceTest
184 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, in createPackageInfo() method in WebViewUpdateServiceTest
186 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed); in createPackageInfo()
192 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, in createPackageInfo() method in WebViewUpdateServiceTest
195 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime); in createPackageInfo()
204 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, in createPackageInfo() method in WebViewUpdateServiceTest
207 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed, signatures, in createPackageInfo()
297 mTestSystemImpl.setPackageInfo(createPackageInfo(invalidPackage, true /* enabled */, in testWithSignatures()
300 mTestSystemImpl.setPackageInfo(createPackageInfo(validPackage, true /* enabled */, in testWithSignatures()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java114 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
149 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withApk_writesApk()
178 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withSignatures_writesCorrectSignatures()
215 PackageInfo packageInfo = createPackageInfo(TEST_PACKAGE, null, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller()
231 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
260 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupWidget_writesCorrectData()
286 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupWidget_withNullWidgetData_throwsNullPointerException()
302 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupWidget_withEmptyWidgetData_throwsIllegalArgumentException()
318 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupWidget_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
337 createPackageInfo(TEST_PACKAGE, TEST_PACKAGE_INSTALLER, TEST_PACKAGE_VERSION_CODE); in testBackupApk_writesCorrectBytesToOutput()
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java45 return injectExternalResources(createPackageInfo(packageName)); in injectExternalResources()
153 private static PackageInfo createPackageInfo(String packageName) { in createPackageInfo() method in ExternalResources
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java50 return createPackageInfo(pkgName);
80 private ClassPathPackageInfo createPackageInfo(String packageName) { in createPackageInfo() method in ClassPathPackageInfoSource
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java50 return injectExternalResources(createPackageInfo(packageName)); in injectExternalResources()
239 private static PackageInfo createPackageInfo(String packageName) { in createPackageInfo() method in ExternalResources