/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 149 ApplicationInfo appInfo = (ApplicationInfo) info; 150 if ((appInfo.flags & ApplicationInfo.DOWNLOADED_FLAG) != 0) {
|
AppsCustomizePagedView.java | 509 final ApplicationInfo appInfo = (ApplicationInfo) v.getTag(); 520 mLauncher.startActivitySafely(v, appInfo.intent, appInfo); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeleteDropTarget.java | 99 return source.supportsAppInfoDropTarget() && (info instanceof AppInfo); 160 item instanceof AppInfo) { 161 AppInfo appInfo = (AppInfo) info; 162 return (appInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; 169 return (shortcutInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; 299 AppInfo appInfo = (AppInfo) item [all...] |
/packages/apps/Settings/src/com/android/settings/ |
HomeSettings.java | 243 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( 245 return versionNumberAtLeastL(appInfo.targetSdkVersion);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsState.java | 470 final String packageName, ApplicationInfo appInfo) { 473 if (appInfo == null) { 475 appInfo = mPm.getApplicationInfo(packageName, 483 appEntry = new AppEntry(this, appInfo); 546 PackageInfo appInfo = apps.get(i); 547 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, 548 appInfo.applicationInfo); 554 if (appInfo.requestedPermissions != null) { 555 for (int j=0; j<appInfo.requestedPermissions.length; j++) { 556 if (appInfo.requestedPermissionsFlags != null) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LocationActivity.java | 229 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( 231 if (appInfo.uid == ops.getUid()) { 233 .title(getPackageManager().getApplicationLabel(appInfo).toString())
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 115 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 117 appInfo.uid, 0); 195 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 198 CharSequence appText = mPackageManager.getText(PACKAGE_NAME, discriptionRes, appInfo); 212 assertEquals(appLabel, mPackageManager.getApplicationLabel(appInfo)); 213 assertEquals(PACKAGE_NAME, appInfo.processName); 228 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); 229 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); 419 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 420 assertNotNull(mPackageManager.getDrawable(PACKAGE_NAME, iconRes, appInfo)); [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 104 ApplicationInfo appInfo; 106 appInfo = pm.getApplicationInfo(packageName, 0); 107 return appInfo.loadUnbadgedIcon(pm);
|
RemoteViews.java | 697 ApplicationInfo appInfo = root.getContext().getApplicationInfo(); 701 if (appInfo != null && 702 appInfo.targetSdkVersion >= Build.VERSION_CODES.JELLY_BEAN) { [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 398 ApplicationInfo appInfo = pm.getApplicationInfo(DOWNLOAD_MANAGER_PKG_NAME, 400 return appInfo.uid;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 721 ApplicationInfo appInfo = getPm().getApplicationInfo(mContext.getPackageName(), 0, 723 return new File(appInfo.dataDir);
|
PackageManagerTests.java | 728 ApplicationInfo appInfo = pm.getApplicationInfo(pkg.packageName, [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ServiceRecord.java | 68 final ApplicationInfo appInfo; 212 if (appInfo != null) { 213 pw.print(prefix); pw.print("baseDir="); pw.println(appInfo.sourceDir); 214 if (!Objects.equals(appInfo.sourceDir, appInfo.publicSourceDir)) { 215 pw.print(prefix); pw.print("resDir="); pw.println(appInfo.publicSourceDir); 217 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); 312 appInfo = sInfo.applicationInfo; 320 userId = UserHandle.getUserId(appInfo.uid); 421 final int appUid = appInfo.uid [all...] |
ActivityRecord.java | 92 final ApplicationInfo appInfo; // information about activity's app 193 if (appInfo != null) { 194 pw.print(prefix); pw.print("baseDir="); pw.println(appInfo.sourceDir); 195 if (!Objects.equals(appInfo.sourceDir, appInfo.publicSourceDir)) { 196 pw.print(prefix); pw.print("resDir="); pw.println(appInfo.publicSourceDir); 198 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); 438 appInfo = aInfo.applicationInfo; 506 appInfo = null; [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ManagedServices.java | 379 ApplicationInfo appInfo = null; 381 appInfo = mContext.getPackageManager().getApplicationInfo( 387 appInfo != null ? appInfo.targetSdkVersion : Build.VERSION_CODES.BASE;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationAppList.java | 414 final ApplicationInfo appInfo = activityInfo.applicationInfo; 415 final AppRow row = rows.get(appInfo.packageName);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
Settings.java | 367 final ApplicationInfo appInfo = context.getApplicationInfo(); 369 (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/frameworks/base/core/java/android/app/ |
ApplicationThreadNative.java | 433 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); 436 scheduleCreateBackupAgent(appInfo, compatInfo, backupMode); 443 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); 445 scheduleDestroyBackupAgent(appInfo, compatInfo); [all...] |
ActivityThread.java | 393 ApplicationInfo appInfo; 397 return "CreateBackupAgentData{appInfo=" + appInfo 398 + " backupAgent=" + appInfo.backupAgentName 439 ApplicationInfo appInfo; 456 return "AppBindData{appInfo=" + appInfo + "}"; 690 d.appInfo = app; 700 d.appInfo = app; 755 public final void bindApplication(String processName, ApplicationInfo appInfo, [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 552 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( 554 return versionNumberAtLeastL(appInfo.targetSdkVersion); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AppOpsService.java | 812 ApplicationInfo appInfo = ActivityThread.getPackageManager() 814 if (appInfo != null) { 815 pkgUid = appInfo.uid; 816 isPrivileged = (appInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | 451 ApplicationInfo appInfo = null; 453 appInfo = getContext().getPackageManager(). 458 if (appInfo != null) { 459 mDefContainerUid = appInfo.uid; [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DevicePolicyManagerService.java | [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerService.java | [all...] |