Home
last modified time | relevance | path

Searched refs:applicationInfo (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DComponentInfoTest.java44 componentInfo.applicationInfo = new ApplicationInfo(); in testConstructor()
71 mComponentInfo.applicationInfo = new ApplicationInfo(); in testLoadIcon()
111 ci.applicationInfo = new ApplicationInfo(); in testDumpBack()
130 mComponentInfo.applicationInfo = new ApplicationInfo(); in testGetIconResource()
137 assertEquals(mComponentInfo.applicationInfo.icon, mComponentInfo.getIconResource()); in testGetIconResource()
142 mComponentInfo.applicationInfo = new ApplicationInfo(); in testIsEnabled()
149 mComponentInfo.applicationInfo.enabled = false; in testIsEnabled()
165 ci.applicationInfo = new ApplicationInfo(); in testDumpFront()
185 mComponentInfo.applicationInfo = new ApplicationInfo(); in testLoadLabel()
199 mComponentInfo.applicationInfo = in testLoadLabel()
[all …]
DPackageInfoTest.java70 if (expected.applicationInfo != null) { in checkPkgInfoSame()
71 assertNotNull(actual.applicationInfo); in checkPkgInfoSame()
72 checkAppInfo(expected.applicationInfo, actual.applicationInfo); in checkPkgInfoSame()
74 assertNull(actual.applicationInfo); in checkPkgInfoSame()
DActivityInfoTest.java82 assertEquals(mActivityInfo.applicationInfo.theme, mActivityInfo.getThemeResource()); in testGetThemeResource()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java62 ApplicationInfo applicationInfo = packageInfo.applicationInfo; in testTelecomIsPreinstalledAndSystem() local
64 (applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in testTelecomIsPreinstalledAndSystem()
65 Log.d(TAG, String.format("Telecom APK is FLAG_SYSTEM %d", applicationInfo.flags)); in testTelecomIsPreinstalledAndSystem()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java87 ApplicationInfo applicationInfo = null; in buildLayout() local
91 applicationInfo = packageManager.getApplicationInfo( in buildLayout()
100 packageIconImageView.setImageDrawable(packageManager.getApplicationIcon(applicationInfo)); in buildLayout()
102 packageNameTextView.setText(packageManager.getApplicationLabel(applicationInfo)); in buildLayout()
DByodIconSamplerActivity.java88 if (packageInfo.applicationInfo != null) { in getAppIcon()
89 return getResources().getDrawable(packageInfo.applicationInfo.icon); in getAppIcon()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java44 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java212 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in testInputMethodSubtypesOfSystemImes()