/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/ |
D | ApexSharedLibraryUpdaterTest.java | 91 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in checkNoChanges() 95 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in checkNoChanges() 105 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSince30Applied() 110 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSince30Applied() 123 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithoutLibrary() 127 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithoutLibrary() 139 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithLibrary() 145 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithLibrary() 159 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpBefore30NotApplied() 163 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpBefore30NotApplied() [all …]
|
D | RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java | 48 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 52 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 87 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 97 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 114 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 121 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() [all …]
|
D | RemoveUnnecessaryAndroidTestBaseLibraryTest.java | 48 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 52 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 87 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 97 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 114 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 120 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() [all …]
|
D | AndroidHidlUpdaterTest.java | 47 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P() 51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P() 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_system() 68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_system() 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries() 86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries() 98 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries_system() 106 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries_system() 120 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_in_usesLibraries() 126 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_in_usesLibraries() [all …]
|
D | OrgApacheHttpLegacyUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() 99 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() 117 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 122 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() [all …]
|
D | AndroidTestBaseUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q() 51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q() 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_not_empty_usesLibraries() 69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_not_empty_usesLibraries() 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesLibraries() 86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesLibraries() 99 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesOptionalLibraries() 104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesOptionalLibraries() 117 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 122 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() [all …]
|
D | PackageBackwardCompatibilityTest.java | 49 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries() 53 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries() 82 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 87 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() 114 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries() 121 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries() 138 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries() 143 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries() 161 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in com_google_android_maps_in_usesLibraries() 166 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in com_google_android_maps_in_usesLibraries() [all …]
|
D | ComGoogleAndroidMapsUpdaterTest.java | 42 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() 48 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() 59 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 64 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 76 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() 81 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries()
|
D | AndroidNetIpSecIkeUpdaterTest.java | 42 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() 48 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() 59 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 64 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() 74 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() 79 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries()
|
D | AndroidTestRunnerSplitUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesOptionalLibraries() 51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesOptionalLibraries() 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries() 69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotDetectionControllerTest.kt | 64 val data = ScreenshotData.forTesting() in testMaybeNotifyOfScreenshot_ignoresOverview() 75 val data = ScreenshotData.forTesting() in testMaybeNotifyOfScreenshot_emptySet() 88 val data = ScreenshotData.forTesting() in testMaybeNotifyOfScreenshot_oneApp() 115 val data = ScreenshotData.forTesting() in testMaybeNotifyOfScreenshot_multipleApps() 185 val data = ScreenshotData.forTesting() in testMaybeNotifyOfScreenshot_disabledApp()
|
D | MessageContainerControllerTest.kt | 52 val screenshotData = ScreenshotData.forTesting()
|
D | DefaultScreenshotActionsProviderTest.kt | 50 private val request = ScreenshotData.forTesting()
|
D | TakeScreenshotExecutorTest.kt | 305 val toBeReturnedByProcessor = ScreenshotData.forTesting() in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSystemPackageInstallerTest.java | 261 final AndroidPackage pkg1 = ((ParsedPackage) PackageImpl.forTesting(packageName1) in testShouldInstallPackage() 263 final AndroidPackage pkg2 = ((ParsedPackage) PackageImpl.forTesting(packageName2) in testShouldInstallPackage() 265 final AndroidPackage pkg3 = ((ParsedPackage) PackageImpl.forTesting(packageName3) in testShouldInstallPackage() 267 final AndroidPackage pkg4 = ((ParsedPackage) PackageImpl.forTesting(packageName4) in testShouldInstallPackage() 399 final AndroidPackage overlayPackage1 = ((ParsedPackage) PackageImpl.forTesting(overlayName1) in testInstallOverlayPackagesExplicitMode() 407 final AndroidPackage overlayPackage2 = ((ParsedPackage) PackageImpl.forTesting(overlayName2) in testInstallOverlayPackagesExplicitMode() 415 final AndroidPackage overlayPackage3 = ((ParsedPackage) PackageImpl.forTesting(overlayName3) in testInstallOverlayPackagesExplicitMode()
|
D | SELinuxMMACTest.java | 231 ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotData.kt | 55 fun forTesting() = method
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 186 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testApplicationInfoForUseSdkOptionalEnabled() 223 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testApplicationInfoForUseSdkOptionalEnabled() 255 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testApplicationInfoForUseSdkOptionalDisabled() 866 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testWriteReadUsesStaticLibraries() 872 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testWriteReadUsesStaticLibraries() 931 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testWriteReadUsesSdkLibraries() 937 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testWriteReadUsesSdkLibraries() 1015 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadPendingRestore() 1034 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadArchiveState() 1071 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadAppMetadataSource() [all …]
|
D | PackageParserTest.java | 234 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_roundTripKnownFields() 247 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_stringInterning()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 159 .thenReturn(((ParsedPackage) PackageImpl.forTesting(CROSS_PROFILE_APP_PACKAGE_NAME) in mockCrossProfileAppInstalledOnProfile() 695 ((ParsedPackage) PackageImpl.forTesting(CROSS_PROFILE_APP_PACKAGE_NAME) in declareCrossProfileAttributeOnCrossProfileApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptUtilsTest.java | 67 ParsingPackage parsingPackage = PackageImpl.forTesting("mock.android.com", in createMockApplicationInfo()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | MockSystem.kt | 447 val pkg = PackageImpl.forTesting(packageName, apkPath.parentFile.path) as PackageImpl in createBasicAndroidPackage() 557 val frameworkPkg = PackageImpl.forTesting("android", in stageFrameworkScan()
|
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
D | PackageManagerComponentLabelIconOverrideTest.kt | 294 PackageImpl.forTesting(pkgName) in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | AndroidPackageTest.kt | 62 override val defaultImpl = PackageImpl.forTesting("com.example.test") in <lambda>()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | PackageImpl.java | 444 return PackageImpl.forTesting(packageName) in buildFakeForDeletion() 452 public static ParsingPackage forTesting(String packageName) { in forTesting() method in PackageImpl 453 return forTesting(packageName, ""); in forTesting() 458 public static ParsingPackage forTesting(String packageName, String baseCodePath) { in forTesting() method in PackageImpl
|