Home
last modified time | relevance | path

Searched refs:forTesting (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/library/
DAndroidHidlUpdaterTest.java47 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 …]
DRemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java48 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 …]
DRemoveUnnecessaryAndroidTestBaseLibraryTest.java48 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 …]
DOrgApacheHttpLegacyUpdaterTest.java46 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 …]
DAndroidTestBaseUpdaterTest.java46 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 …]
DPackageBackwardCompatibilityTest.java47 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries()
51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries()
80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O()
85 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O()
111 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries()
118 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries()
135 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries()
140 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries()
157 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in com_google_android_maps_in_usesLibraries()
162 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in com_google_android_maps_in_usesLibraries()
[all …]
DAndroidNetIpSecIkeUpdaterTest.java42 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()
DComGoogleAndroidMapsUpdaterTest.java42 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()
DAndroidTestRunnerSplitUpdaterTest.java46 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/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java259 final AndroidPackage pkg1 = ((ParsedPackage) PackageImpl.forTesting(packageName1) in testShouldInstallPackage()
261 final AndroidPackage pkg2 = ((ParsedPackage) PackageImpl.forTesting(packageName2) in testShouldInstallPackage()
263 final AndroidPackage pkg3 = ((ParsedPackage) PackageImpl.forTesting(packageName3) in testShouldInstallPackage()
265 final AndroidPackage pkg4 = ((ParsedPackage) PackageImpl.forTesting(packageName4) in testShouldInstallPackage()
397 final AndroidPackage overlayPackage1 = ((ParsedPackage) PackageImpl.forTesting(overlayName1) in testInstallOverlayPackagesExplicitMode()
405 final AndroidPackage overlayPackage2 = ((ParsedPackage) PackageImpl.forTesting(overlayName2) in testInstallOverlayPackagesExplicitMode()
413 final AndroidPackage overlayPackage3 = ((ParsedPackage) PackageImpl.forTesting(overlayName3) in testInstallOverlayPackagesExplicitMode()
DSELinuxMMACTest.java114 return ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in makePackage()
DPackageParserTest.java183 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_roundTripKnownFields()
196 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_stringInterning()
541 return ((ParsedPackage) PackageImpl.forTesting( in setCacheDir()
DPackageManagerSettingsTests.java430 ps1.pkg = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testWriteReadUsesStaticLibraries()
436 ps2.pkg = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testWriteReadUsesStaticLibraries()
DAppsFilterTest.java100 return PackageImpl.forTesting(packageName) in pkg()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DPackageImpl.java74 return ((ParsedPackage) PackageImpl.forTesting(packageName) in buildFakeForDeletion()
81 public static ParsingPackage forTesting(String packageName) { in forTesting() method in PackageImpl
82 return forTesting(packageName, ""); in forTesting()
86 public static ParsingPackage forTesting(String packageName, String baseCodePath) { in forTesting() method in PackageImpl
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java158 .thenReturn(((ParsedPackage) PackageImpl.forTesting(CROSS_PROFILE_APP_PACKAGE_NAME) in mockCrossProfileAppInstalledOnProfile()
682 ((ParsedPackage) PackageImpl.forTesting(CROSS_PROFILE_APP_PACKAGE_NAME) in declareCrossProfileAttributeOnCrossProfileApp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt391 val pkg = PackageImpl.forTesting(packageName, apkPath.parentFile.path) as PackageImpl in createBasicAndroidPackage()
499 val frameworkPkg = PackageImpl.forTesting("android", in stageFrameworkScan()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt274 PackageImpl.forTesting(pkgName) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptUtilsTest.java65 ParsingPackage parsingPackage = PackageImpl.forTesting("mock.android.com", in createMockApplicationInfo()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h368 AudioPolicyManager(AudioPolicyClientInterface *clientInterface, bool forTesting);
/frameworks/base/services/
Dart-profile33983 HSPLcom/android/server/pm/parsing/pkg/PackageImpl;->forTesting(Ljava/lang/String;)Landroid/content/…
33984 HSPLcom/android/server/pm/parsing/pkg/PackageImpl;->forTesting(Ljava/lang/String;Ljava/lang/String;…