Searched refs:applicationInfo (Results 1 – 8 of 8) sorted by relevance
44 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 …]
70 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()
82 assertEquals(mActivityInfo.applicationInfo.theme, mActivityInfo.getThemeResource()); in testGetThemeResource()
62 ApplicationInfo applicationInfo = packageInfo.applicationInfo; in testTelecomIsPreinstalledAndSystem() local64 (applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in testTelecomIsPreinstalledAndSystem()65 Log.d(TAG, String.format("Telecom APK is FLAG_SYSTEM %d", applicationInfo.flags)); in testTelecomIsPreinstalledAndSystem()
87 ApplicationInfo applicationInfo = null; in buildLayout() local91 applicationInfo = packageManager.getApplicationInfo( in buildLayout()100 packageIconImageView.setImageDrawable(packageManager.getApplicationIcon(applicationInfo)); in buildLayout()102 packageNameTextView.setText(packageManager.getApplicationLabel(applicationInfo)); in buildLayout()
88 if (packageInfo.applicationInfo != null) { in getAppIcon()89 return getResources().getDrawable(packageInfo.applicationInfo.icon); in getAppIcon()
44 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo()
212 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in testInputMethodSubtypesOfSystemImes()