Home
last modified time | relevance | path

Searched refs:applicationInfo (Results 1 – 16 of 16) 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/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java62 ApplicationInfo applicationInfo = getApplicationInfo(APP_WITH_DATA_PKG); in testAccessPrivateData() local
63 File privateFile = new File(applicationInfo.dataDir, "files/" + PRIVATE_FILE_NAME); in testAccessPrivateData()
89 ApplicationInfo applicationInfo = getApplicationInfo(APP_WITH_DATA_PKG); in testAccessPublicData() local
90 File publicFile = new File(applicationInfo.dataDir, "files/" + PUBLIC_FILE_NAME); in testAccessPublicData()
/cts/tests/tests/car/src/android/car/cts/
DCarPackageManagerTest.java73 if (info.applicationInfo == null) { in testSystemActivitiesAllowed()
76 if ((info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 || in testSystemActivitiesAllowed()
77 ((info.applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0)) { in testSystemActivitiesAllowed()
79 Bundle metaData = info.applicationInfo.metaData; in testSystemActivitiesAllowed()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java63 ApplicationInfo applicationInfo = packageInfo.applicationInfo; in testTelecomIsPreinstalledAndSystem() local
65 (applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in testTelecomIsPreinstalledAndSystem()
66 Log.d(TAG, String.format("Telecom APK is FLAG_SYSTEM %d", applicationInfo.flags)); in testTelecomIsPreinstalledAndSystem()
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java58 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { in testPackageInstallerPresent()
104 + requiredHostAppFlags, (packageInfo.applicationInfo.flags in enforceSharedLibPresentAndProperlyHosted()
108 + requiredHostAppPrivateFlags, (packageInfo.applicationInfo.privateFlags in enforceSharedLibPresentAndProperlyHosted()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java45 if (pkg.applicationInfo != null) { in collectDeviceInfo()
46 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo()
/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/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminTest.java38 assertEquals(getTargetApiLevel(), pi.applicationInfo.targetSdkVersion); in testTargetApiLevel()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java66 return pi.applicationInfo.targetSdkVersion; in getTargetApiLevel()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java210 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in testInputMethodSubtypesOfSystemImes()
254 if ((serviceInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != in testAtLeastOneEncryptionAwareInputMethodIsAvailable()
/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java54 ApplicationInfo applicationInfo = mContext.getPackageManager().getApplicationInfo( in setUp() local
56 mPrefsFile = new File(applicationInfo.dataDir, in setUp()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java557 ApplicationInfo appInfo = packageInfo.applicationInfo;
/cts/tools/dex-tools/dex/
Dclasses.out.dex22451 public android.content.pm.ApplicationInfo applicationInfo
23650 public android.content.pm.ApplicationInfo applicationInfo
23835 public final android.content.pm.ApplicationInfo applicationInfo