/frameworks/base/services/core/java/com/android/server/am/ |
ServiceRecord.java | 31 import android.content.pm.ApplicationInfo; 68 final ApplicationInfo appInfo; 312 appInfo = sInfo.applicationInfo; 313 packageName = sInfo.applicationInfo.packageName; 328 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { 330 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, 346 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ResolveCache.java | 23 import android.content.pm.ApplicationInfo; 44 * Specific list {@link ApplicationInfo#packageName} of apps that are 182 final boolean isSystem = (info.activityInfo.applicationInfo.flags 183 & ApplicationInfo.FLAG_SYSTEM) != 0; 185 .contains(info.activityInfo.applicationInfo.packageName);
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
BasicManagedProfileFragment.java | 28 import android.content.pm.ApplicationInfo; 116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( 119 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { 212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, 214 // Here, we check the ApplicationInfo of the target app, and see if the flags have 215 // ApplicationInfo.FLAG_INSTALLED turned on using bitwise operation. 216 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) [all...] |
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
BasicManagedProfileFragment.java | 28 import android.content.pm.ApplicationInfo; 116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( 119 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { 212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, 214 // Here, we check the ApplicationInfo of the target app, and see if the flags have 215 // ApplicationInfo.FLAG_INSTALLED turned on using bitwise operation. 216 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) [all...] |
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
BasicManagedProfileFragment.java | 28 import android.content.pm.ApplicationInfo; 116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( 119 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { 212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, 214 // Here, we check the ApplicationInfo of the target app, and see if the flags have 215 // ApplicationInfo.FLAG_INSTALLED turned on using bitwise operation. 216 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewDelegate.java | 161 WebViewFactory.getLoadedPackageInfo().applicationInfo.sourceDir);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
PermissionMonitor.java | 21 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM; 22 import static android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 123 int uid = app.applicationInfo != null ? app.applicationInfo.uid : -1; 168 int flags = app.applicationInfo != null ? app.applicationInfo.flags : 0;
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
LauncherActivityInfoCompatV16.java | 21 import android.content.pm.ApplicationInfo; 79 public ApplicationInfo getApplicationInfo() { 80 return mActivityInfo.applicationInfo;
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodSubtypePreference.java | 45 imi.getPackageName(), imi.getServiceInfo().applicationInfo);
|
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 64 info.label = info.info.applicationInfo.loadLabel(getPackageManager()).toString(); 78 icon.setImageDrawable(info.info.applicationInfo.loadIcon(getPackageManager())); 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManagerTest.java | 15 import android.content.pm.ApplicationInfo; 43 ApplicationInfo info = rpm.getApplicationInfo(Robolectric.application.getPackageName(), 0); 52 packageInfo.applicationInfo = new ApplicationInfo(); 53 packageInfo.applicationInfo.packageName = TEST_PACKAGE_NAME; 54 packageInfo.applicationInfo.name = TEST_PACKAGE_LABEL; 57 ApplicationInfo info = rpm.getApplicationInfo(TEST_PACKAGE_NAME, 0);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsDetails.java | 67 icon.setImageDrawable(mPm.getApplicationIcon(pkgInfo.applicationInfo)); 70 label.setText(mPm.getApplicationLabel(pkgInfo.applicationInfo)); 118 mPackageInfo.applicationInfo.uid, mPackageInfo.packageName);
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 26 import android.content.pm.ApplicationInfo; 261 Resources res = pm.getResourcesForApplication(ai.applicationInfo); 372 ApplicationInfo applicationInfo = null; 375 applicationInfo = mReceiver.activityInfo.applicationInfo; 378 mReceiver.activityInfo.descriptionRes, applicationInfo);
|
/prebuilts/sdk/current/support/multidex/library/libs/ |
android-support-multidex.jar | |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryEntry.java | 21 import android.content.pm.ApplicationInfo; 263 final ApplicationInfo ai = ipm.getApplicationInfo(packageLabels[i], 302 pi.sharedUserLabel, pi.applicationInfo); 305 if (pi.applicationInfo.icon != 0) { 307 icon = pi.applicationInfo.loadIcon(pm);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ActivityInfoTest.java | 82 assertEquals(mActivityInfo.applicationInfo.theme, mActivityInfo.getThemeResource());
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 67 target.setClassName(info.activityInfo.applicationInfo.packageName,
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 67 target.setClassName(info.activityInfo.applicationInfo.packageName,
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PepperPluginManager.java | 9 import android.content.pm.ApplicationInfo; 114 (pkgInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 28 import android.content.pm.ApplicationInfo; 82 ApplicationInfo mSourceInfo; 84 // ApplicationInfo object primarily used for already existing applications 85 private ApplicationInfo mAppInfo = null; 138 msg = (mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 192 msg = (mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 280 CharSequence appTitle = mPm.getApplicationLabel(mPkgInfo.applicationInfo); 305 CharSequence appTitle1 = mPm.getApplicationLabel(mPkgInfo.applicationInfo); 359 if ((mSourceInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0) { 411 mPkgInfo.applicationInfo.packageName = pkgName [all...] |
GrantActivity.java | 77 PackageUtil.AppSnippet as = new PackageUtil.AppSnippet(mPm.getApplicationLabel(pkgInfo.applicationInfo), 78 mPm.getApplicationIcon(pkgInfo.applicationInfo));
|
/packages/apps/Settings/src/com/android/settings/ |
UsageAccessSettings.java | 158 if (packageOp.getUid() != pe.packageInfo.applicationInfo.uid) { 223 pe.preference.setIcon(pe.packageInfo.applicationInfo.loadIcon(mPackageManager)); 224 pe.preference.setTitle(pe.packageInfo.applicationInfo.loadLabel(mPackageManager)); 334 pe.packageInfo.applicationInfo.uid, pe.packageName, newMode);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 303 return new UserHandle(UserHandle.getUserId(providerInfo.applicationInfo.uid)); 368 providerInfo.applicationInfo);
|
/frameworks/base/core/java/android/content/pm/ |
ActivityInfo.java | 594 return applicationInfo.targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB_MR2 671 return theme != 0 ? theme : applicationInfo.theme;
|
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerInfo.java | 82 final Resources res = pm.getResourcesForApplication(si.applicationInfo); 209 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo);
|