Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageBuilder.java23 class PackageBuilder { class
26 PackageBuilder(String packageName) { in PackageBuilder() method in PackageBuilder
30 PackageBuilder setApplicationInfoCodePath(String codePath) { in setApplicationInfoCodePath()
35 PackageBuilder setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath()
40 PackageBuilder setCodePath(String codePath) { in setCodePath()
45 PackageBuilder setBaseCodePath(String baseCodePath) { in setBaseCodePath()
50 PackageBuilder addUsesStaticLibrary(String name, long version) { in addUsesStaticLibrary()
57 PackageBuilder setApplicationInfoNativeLibraryRootDir(String dir) { in setApplicationInfoNativeLibraryRootDir()
62 PackageBuilder setStaticSharedLib(String staticSharedLibName, long staticSharedLibVersion) { in setStaticSharedLib()
68 PackageBuilder setManifestPackageName(String manifestPackageName) { in setManifestPackageName()
[all …]
DScanTests.java477 private static PackageBuilder createBasicPackage(String packageName) {
478 return new PackageBuilder(packageName)
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRemoveUnnecessaryAndroidTestBaseLibraryTest.java19 import static android.content.pm.PackageBuilder.builder;
43 PackageBuilder before = builder() in targeted_at_O()
52 PackageBuilder before = builder() in targeted_at_O_not_empty_usesLibraries()
62 PackageBuilder before = builder() in targeted_at_O_in_usesLibraries()
68 PackageBuilder after = builder() in targeted_at_O_in_usesLibraries()
76 PackageBuilder before = builder() in targeted_at_O_in_usesOptionalLibraries()
82 PackageBuilder after = builder() in targeted_at_O_in_usesOptionalLibraries()
90 PackageBuilder before = builder().requiredLibraries(ANDROID_TEST_BASE); in in_usesLibraries()
94 PackageBuilder after = builder(); in in_usesLibraries()
101 PackageBuilder before = builder().optionalLibraries(ANDROID_TEST_BASE); in in_usesOptionalLibraries()
[all …]
DRemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java19 import static android.content.pm.PackageBuilder.builder;
43 PackageBuilder before = builder() in targeted_at_O()
52 PackageBuilder before = builder() in targeted_at_O_not_empty_usesLibraries()
62 PackageBuilder before = builder() in targeted_at_O_in_usesLibraries()
68 PackageBuilder after = builder() in targeted_at_O_in_usesLibraries()
76 PackageBuilder before = builder() in targeted_at_O_in_usesOptionalLibraries()
82 PackageBuilder after = builder() in targeted_at_O_in_usesOptionalLibraries()
90 PackageBuilder before = builder().requiredLibraries(ORG_APACHE_HTTP_LEGACY); in in_usesLibraries()
94 PackageBuilder after = builder(); in in_usesLibraries()
101 PackageBuilder before = builder().optionalLibraries(ORG_APACHE_HTTP_LEGACY); in in_usesOptionalLibraries()
[all …]
DAndroidHidlUpdaterTest.java19 import static android.content.pm.PackageBuilder.builder;
42 PackageBuilder before = builder() in targeted_at_P()
51 PackageBuilder before = builder().asSystemApp() in targeted_at_P_system()
55 PackageBuilder after = builder().asSystemApp() in targeted_at_P_system()
64 PackageBuilder before = builder() in targeted_at_P_not_empty_usesLibraries()
74 PackageBuilder before = builder().asSystemApp() in targeted_at_P_not_empty_usesLibraries_system()
80 PackageBuilder after = builder().asSystemApp() in targeted_at_P_not_empty_usesLibraries_system()
89 PackageBuilder before = builder() in targeted_at_P_in_usesLibraries()
93 PackageBuilder after = builder() in targeted_at_P_in_usesLibraries()
102 PackageBuilder before = builder().asSystemApp() in targeted_at_P_in_usesLibraries_system()
[all …]
DAndroidTestBaseUpdaterTest.java19 import static android.content.pm.PackageBuilder.builder;
41 PackageBuilder before = builder() in targeted_at_P()
45 PackageBuilder after = builder() in targeted_at_P()
54 PackageBuilder before = builder() in targeted_at_P_not_empty_usesLibraries()
60 PackageBuilder after = builder() in targeted_at_P_not_empty_usesLibraries()
69 PackageBuilder before = builder() in targeted_at_P_in_usesLibraries()
80 PackageBuilder before = builder() in targeted_at_P_in_usesOptionalLibraries()
91 PackageBuilder before = builder().requiredLibraries(ANDROID_TEST_BASE); in in_usesLibraries()
100 PackageBuilder before = builder().optionalLibraries(ANDROID_TEST_BASE); in in_usesOptionalLibraries()
107 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility()
DOrgApacheHttpLegacyUpdaterTest.java19 import static android.content.pm.PackageBuilder.builder;
41 PackageBuilder before = builder() in targeted_at_O()
45 PackageBuilder after = builder() in targeted_at_O()
54 PackageBuilder before = builder() in targeted_at_O_not_empty_usesLibraries()
60 PackageBuilder after = builder() in targeted_at_O_not_empty_usesLibraries()
69 PackageBuilder before = builder() in targeted_at_O_in_usesLibraries()
80 PackageBuilder before = builder() in targeted_at_O_in_usesOptionalLibraries()
91 PackageBuilder before = builder().requiredLibraries(ORG_APACHE_HTTP_LEGACY); in in_usesLibraries()
100 PackageBuilder before = builder().optionalLibraries(ORG_APACHE_HTTP_LEGACY); in in_usesOptionalLibraries()
107 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility()
DPackageBackwardCompatibilityTest.java19 import static android.content.pm.PackageBuilder.builder;
44 PackageBuilder before = builder(); in null_usesLibraries_and_usesOptionalLibraries()
45 PackageBuilder after = builder(); in null_usesLibraries_and_usesOptionalLibraries()
71 PackageBuilder before = builder() in targeted_at_O()
80 PackageBuilder after = builder() in targeted_at_O()
101 PackageBuilder before = builder() in android_test_base_in_usesLibraries()
106 PackageBuilder after = builder(); in android_test_base_in_usesLibraries()
120 PackageBuilder before = builder().requiredLibraries(ANDROID_TEST_RUNNER); in android_test_runner_in_usesLibraries()
129 PackageBuilder after = builder() in android_test_runner_in_usesLibraries()
135 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility()
DAndroidTestRunnerSplitUpdaterTest.java19 import static android.content.pm.PackageBuilder.builder;
40 PackageBuilder before = builder().optionalLibraries(ANDROID_TEST_RUNNER); in android_test_runner_in_usesOptionalLibraries()
42 PackageBuilder after = builder() in android_test_runner_in_usesOptionalLibraries()
50 PackageBuilder before = builder() in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries()
54 PackageBuilder after = builder() in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries()
61 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility()
DPackageBuilder.java30 class PackageBuilder { class
40 public static PackageBuilder builder() { in builder()
41 return new PackageBuilder(); in builder()
53 PackageBuilder targetSdkVersion(int version) { in targetSdkVersion()
58 PackageBuilder asSystemApp() { in asSystemApp()
63 PackageBuilder requiredLibraries(String... names) { in requiredLibraries()
68 PackageBuilder requiredLibraries(List<String> names) { in requiredLibraries()
73 PackageBuilder optionalLibraries(String... names) { in optionalLibraries()
DPackageSharedLibraryUpdaterTest.java26 static void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after, in checkBackwardsCompatibility()