Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 716) sorted by relevance

12345678910>>...29

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/
DModuleDetector.java50 public static boolean moduleIsPlayManaged(PackageManager pm, MainlineModule module) in moduleIsPlayManaged() argument
52 return getPlayManagedModules(pm).contains(module); in moduleIsPlayManaged()
70 for (MainlineModule module : EnumSet.allOf(MainlineModule.class)) { in getPlayManagedModules()
71 if (module.isPlayUpdated && packages.contains(module.packageName) in getPlayManagedModules()
72 && module.certSHA256.equals(getSignatureDigest(pm, module))) { in getPlayManagedModules()
73 playManagedModules.add(module); in getPlayManagedModules()
79 private static String getSignatureDigest(PackageManager pm, MainlineModule module) in getSignatureDigest() argument
82 if (module.moduleType == ModuleType.APEX) { in getSignatureDigest()
86 PackageInfo packageInfo = pm.getPackageInfo(module.packageName, flag); in getSignatureDigest()
105 Log.d(LOG_TAG, "Module: " + module.packageName + " has signature: " + ret); in getSignatureDigest()
/cts/tests/tests/appenumeration/app/source/
DAndroid.bp32 // Tag this module as a cts test artifact
43 // Tag this module as a cts test artifact
54 // Tag this module as a cts test artifact
65 // Tag this module as a cts test artifact
76 // Tag this module as a cts test artifact
87 // Tag this module as a cts test artifact
98 // Tag this module as a cts test artifact
109 // Tag this module as a cts test artifact
120 // Tag this module as a cts test artifact
131 // Tag this module as a cts test artifact
[all …]
/cts/tests/tests/appenumeration/app/target/
DAndroid.bp33 // Tag this module as a cts test artifact
44 // Tag this module as a cts test artifact
55 // Tag this module as a cts test artifact
66 // Tag this module as a cts test artifact
77 // Tag this module as a cts test artifact
89 // Tag this module as a cts test artifact
100 // Tag this module as a cts test artifact
111 // Tag this module as a cts test artifact
122 // Tag this module as a cts test artifact
133 // Tag this module as a cts test artifact
[all …]
/cts/tests/tests/content/emptytestapp/
DAndroid.bp24 // tag this module as a cts test artifact
38 // tag this module as a cts test artifact
52 // tag this module as a cts test artifact
66 // tag this module as a cts test artifact
79 // tag this module as a cts test artifact
92 // tag this module as a cts test artifact
105 // tag this module as a cts test artifact
121 // tag this module as a cts test artifact
134 // tag this module as a cts test artifact
146 // tag this module as a cts test artifact
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DTestUtils.java84 public static void assumeMainlineModuleAtLeast(String module, long minVersion) { in assumeMainlineModuleAtLeast() argument
86 long actualVersion = getModuleVersion(module); in assumeMainlineModuleAtLeast()
87 assumeTrue("Assume module " + module + " version " + actualVersion + " < minVersion" in assumeMainlineModuleAtLeast()
108 public static boolean skipTestIfMainlineLessThan(String module, long minVersion) { in skipTestIfMainlineLessThan() argument
110 long actualVersion = getModuleVersion(module); in skipTestIfMainlineLessThan()
112 Log.i(TAG, "Skipping test because Module " + module + " minVersion " + minVersion in skipTestIfMainlineLessThan()
126 private static long getModuleVersion(String module) in getModuleVersion() argument
129 PackageInfo info = context.getPackageManager().getPackageInfo(module, in getModuleVersion()
142 public static boolean isMainlineModuleFactoryVersion(String module) { in isMainlineModuleFactoryVersion() argument
145 PackageInfo info = context.getPackageManager().getPackageInfo(module, in isMainlineModuleFactoryVersion()
/cts/tests/sample/
DREADME1 This 'sample' folder is a sample which illustrates the basic structure and contents of a CTS module.
8 of the 'AndroidTest.xml' file into an appropriate group for the module they created.
13 2. If the module is added outside the 'cts/' folder, the user should also 1) add the module
17 2) add an OWNERS file in the module directory accordingly.
/cts/tests/tests/packageinstaller/test-apps/emptytestapp/
DAndroid.bp25 // tag this module as a cts test artifact
42 // tag this module as a cts test artifact
56 // tag this module as a cts test artifact
72 // tag this module as a cts test artifact
88 // tag this module as a cts test artifact
100 // tag this module as a cts test artifact
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererTransformTest.java17 package android.graphics.pdf.cts.module;
19 import static android.graphics.pdf.cts.module.Utils.A4_HEIGHT_PTS;
20 import static android.graphics.pdf.cts.module.Utils.A4_PORTRAIT;
21 import static android.graphics.pdf.cts.module.Utils.A4_WIDTH_PTS;
22 import static android.graphics.pdf.cts.module.Utils.renderAndCompare;
23 import static android.graphics.pdf.cts.module.Utils.renderPreVAndCompare;
DCommonRendererTest.java17 package android.graphics.pdf.cts.module;
19 import static android.graphics.pdf.cts.module.Utils.A4_HEIGHT_PTS;
20 import static android.graphics.pdf.cts.module.Utils.A4_PORTRAIT;
21 import static android.graphics.pdf.cts.module.Utils.A4_WIDTH_PTS;
22 import static android.graphics.pdf.cts.module.Utils.createPreVRenderer;
23 import static android.graphics.pdf.cts.module.Utils.getColorProbes;
24 import static android.graphics.pdf.cts.module.Utils.renderAndCompare;
25 import static android.graphics.pdf.cts.module.Utils.renderPreV;
26 import static android.graphics.pdf.cts.module.Utils.renderPreVAndCompare;
27 import static android.graphics.pdf.cts.module.Utils.renderWithTransform;
/cts/common/device-side/bedstead/btest/
Dbtest106 for module in self.args.modules:
107 …", "pm", "install-existing", "--user", str(self.user_id), supported_modules[module][PACKAGE_NAME]])
109 for additional_app in supported_modules[module].get(ADDITIONAL_APPS, []):
141 for module in self.args.modules:
142 …", "pm", "install-existing", "--user", str(self.user_id), supported_modules[module][PACKAGE_NAME]])
144 for additional_app in supported_modules[module].get(ADDITIONAL_APPS, []):
182 for module in self.args.modules:
183 …", "pm", "install-existing", "--user", str(self.user_id), supported_modules[module][PACKAGE_NAME]])
185 for additional_app in supported_modules[module].get(ADDITIONAL_APPS, []):
239 for module in self.args.modules:
[all …]
/cts/hostsidetests/appcompat/compatchanges/preInstallOverrideApps/
DAndroid.bp34 // Tag this module as a cts test artifact
48 // Tag this module as a cts test artifact
62 // Tag this module as a cts test artifact
76 // Tag this module as a cts test artifact
90 // Tag this module as a cts test artifact
/cts/apps/CameraITS/build/
Denvsetup.sh43 IFS=' ' read module submodule <<< "$N"
44 python -c "from $module import $submodule" >/dev/null 2>&1 || \
45 echo ">> Require Python $module module $submodule submodule" >&2
/cts/hostsidetests/packagemanager/dynamicmime/app/
DAndroid.bp25 // Tag this module as a cts test artifact
39 // Tag this module as a cts test artifact
53 // Tag this module as a cts test artifact
67 // Tag this module as a cts test artifact
81 // Tag this module as a cts test artifact
/cts/tests/tests/uidmigration/InstallTestApp/
DAndroid.bp24 // tag this module as a cts test artifact
36 // tag this module as a cts test artifact
48 // tag this module as a cts test artifact
60 // tag this module as a cts test artifact
/cts/tests/tests/shortcutmanager/
DAndroid.bp60 // tag this module as a cts test artifact
80 // tag this module as a cts test artifact
100 // tag this module as a cts test artifact
119 // tag this module as a cts test artifact
138 // tag this module as a cts test artifact
159 // tag this module as a cts test artifact
180 // tag this module as a cts test artifact
200 // tag this module as a cts test artifact
218 // Tag this module as a cts test artifact
/cts/hostsidetests/appsecurity/test-apps/ReadSettingsFieldsApp/
DAndroid.bp33 // tag this module as a cts test artifact
55 // tag this module as a cts test artifact
77 // tag this module as a cts test artifact
99 // tag this module as a cts test artifact
121 // tag this module as a cts test artifact
/cts/tests/backup/app/
DAndroid.bp48 // Tag this module as a cts test artifact
71 // Tag this module as a cts test artifact
99 // Tag this module as a cts test artifact
122 // Tag this module as a cts test artifact
146 // Tag this module as a cts test artifact
171 // Tag this module as a cts test artifact
/cts/tests/tests/content/MockLauncherApp/
DAndroid.bp34 // tag this module as a cts test artifact
47 // tag this module as a cts test artifact
60 // tag this module as a cts test artifact
73 // tag this module as a cts test artifact
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/
DAndroid.bp30 // tag this module as a cts test artifact
50 // tag this module as a cts test artifact
70 // tag this module as a cts test artifact
90 // tag this module as a cts test artifact
110 // tag this module as a cts test artifact
/cts/tests/tests/sharesheet/packages/
DAndroid.bp24 // tag this module as a cts test artifact
41 // tag this module as a cts test artifact
58 // tag this module as a cts test artifact
75 // tag this module as a cts test artifact
/cts/tests/app/app/
DAndroid.bp54 // Tag this module as a cts test artifact
91 // Tag this module as a cts test artifact
130 // Tag this module as a cts test artifact
170 // Tag this module as a cts test artifact
209 // Tag this module as a cts test artifact
234 // Tag this module as a cts test artifact
274 // Tag this module as a cts test artifact
313 // Tag this module as a cts test artifact
353 // Tag this module as a cts test artifact
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/
DAndroid.bp37 // tag this module as a cts test artifact
66 // tag this module as a cts test artifact
95 // tag this module as a cts test artifact
124 // tag this module as a cts test artifact
152 // tag this module as a cts test artifact
179 // tag this module as a cts test artifact
/cts/tests/tests/uidmigration/PermissionTestApp/
DAndroid.bp24 // tag this module as a cts test artifact
36 // tag this module as a cts test artifact
48 // tag this module as a cts test artifact
/cts/tests/tests/appwidget/packages/widgetprovider/
DAndroid.bp25 // tag this module as a cts test artifact
38 // tag this module as a cts test artifact
51 // tag this module as a cts test artifact
/cts/hostsidetests/appsecurity/test-apps/keysets/uA/
DAndroid.bp30 // tag this module as a cts test artifact
47 // tag this module as a cts test artifact
64 // tag this module as a cts test artifact
82 // tag this module as a cts test artifact

12345678910>>...29