/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument 99 if (appInfo.requiresSmallestWidthDp != 0 || appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo() 100 || appInfo.largestWidthLimitDp != 0) { in CompatibilityInfo() 102 int required = appInfo.requiresSmallestWidthDp != 0 in CompatibilityInfo() 103 ? appInfo.requiresSmallestWidthDp in CompatibilityInfo() 104 : appInfo.compatibleWidthLimitDp; in CompatibilityInfo() 106 required = appInfo.largestWidthLimitDp; in CompatibilityInfo() 108 int compat = appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo() 109 ? appInfo.compatibleWidthLimitDp : required; in CompatibilityInfo() 113 int largest = appInfo.largestWidthLimitDp; in CompatibilityInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BackupRecord.java | 33 final ApplicationInfo appInfo; // information about BackupAgent's app field in BackupRecord 42 appInfo = _appInfo; in BackupRecord() 53 .append(' ').append(appInfo.packageName) in toString() 54 .append(' ').append(appInfo.name) in toString() 55 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
|
D | ServiceRecord.java | 68 final ApplicationInfo appInfo; field in ServiceRecord 212 if (appInfo != null) { in dump() 213 pw.print(prefix); pw.print("baseDir="); pw.println(appInfo.sourceDir); in dump() 214 if (!Objects.equals(appInfo.sourceDir, appInfo.publicSourceDir)) { in dump() 215 pw.print(prefix); pw.print("resDir="); pw.println(appInfo.publicSourceDir); in dump() 217 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); in dump() 312 appInfo = sInfo.applicationInfo; in ServiceRecord() 320 userId = UserHandle.getUserId(appInfo.uid); in ServiceRecord() 421 final int appUid = appInfo.uid; in postNotification() 441 localForegroundNoti.icon = appInfo.icon; in postNotification() [all …]
|
D | ProviderMap.java | 100 + ", record uid = " + record.appInfo.uid); in putProviderByName() 105 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByName() 113 + ", record uid = " + record.appInfo.uid); in putProviderByClass() 118 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByClass() 241 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByClassLocked() 267 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByNameLocked()
|
D | ContentProviderRecord.java | 39 final ApplicationInfo appInfo; field in ContentProviderRecord 62 appInfo = ai; in ContentProviderRecord() 72 appInfo = cpr.appInfo; in ContentProviderRecord()
|
D | CompatModeDialog.java | 40 ApplicationInfo appInfo) { in CompatModeDialog() argument 48 mAppInfo = appInfo; in CompatModeDialog()
|
D | ActiveServices.java | 351 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked() 610 } else if (r.appInfo.targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) { in setServiceForegroundLocked() 771 s.appInfo.uid, s.name, s.processName); in bindServiceLocked() 1087 callingPid, callingUid, r.appInfo.uid, r.exported) in retrieveServiceLocked() 1093 + " that is not exported from uid " + r.appInfo.uid); in retrieveServiceLocked() 1095 + r.appInfo.uid); in retrieveServiceLocked() 1104 resolvedType, r.appInfo)) { in retrieveServiceLocked() 1295 if (removed || callingUid != r.appInfo.uid) { in unscheduleServiceRestartLocked() 1358 + r.appInfo.packageName + "/" in bringUpServiceLocked() 1359 + r.appInfo.uid + " for service " in bringUpServiceLocked() [all …]
|
D | ActivityRecord.java | 92 final ApplicationInfo appInfo; // information about activity's app field in ActivityRecord 193 if (appInfo != null) { in dump() 194 pw.print(prefix); pw.print("baseDir="); pw.println(appInfo.sourceDir); in dump() 195 if (!Objects.equals(appInfo.sourceDir, appInfo.publicSourceDir)) { in dump() 196 pw.print(prefix); pw.print("resDir="); pw.println(appInfo.publicSourceDir); in dump() 198 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); in dump() 438 appInfo = aInfo.applicationInfo; in ActivityRecord() 506 appInfo = null; in ActivityRecord()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 346 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir() local 347 return createFilesDir(new File(appInfo.dataDir, "no_backup")); in getNoBackupFilesDir() 371 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir() local 372 return createFilesDir(new File(appInfo.dataDir, "code_cache")); in getCodeCacheDir()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 527 ApplicationInfo appInfo = null; in getManifestRestrictions() local 529 appInfo = mContext.getPackageManager().getApplicationInfo(packageName, in getManifestRestrictions() 534 if (appInfo == null || !appInfo.metaData.containsKey(META_DATA_APP_RESTRICTIONS)) { in getManifestRestrictions() 539 appInfo.loadXmlMetaData(mContext.getPackageManager(), META_DATA_APP_RESTRICTIONS); in getManifestRestrictions()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 279 ApplicationInfo appInfo = getApplicationInfo(); in onFullBackup() local 283 String rootDir = new File(appInfo.dataDir).getCanonicalPath(); in onFullBackup() 288 String libDir = (appInfo.nativeLibraryDir != null) in onFullBackup() 289 ? new File(appInfo.nativeLibraryDir).getCanonicalPath() in onFullBackup() 361 ApplicationInfo appInfo = getApplicationInfo(); in fullBackupFile() local 364 mainDir = new File(appInfo.dataDir).getCanonicalPath(); in fullBackupFile() 370 libDir = (appInfo.nativeLibraryDir == null) in fullBackupFile() 372 : new File(appInfo.nativeLibraryDir).getCanonicalPath(); in fullBackupFile()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 728 ApplicationInfo appInfo) { in getDrawable() argument 734 if (appInfo == null) { in getDrawable() 736 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getDrawable() 742 Resources r = getResourcesForApplication(appInfo); in getDrawable() 760 + appInfo.packageName); in getDrawable() 763 + appInfo.packageName + ": " + e.getMessage()); in getDrawable() 1135 ApplicationInfo appInfo) { in getText() argument 1141 if (appInfo == null) { in getText() 1143 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getText() 1149 Resources r = getResourcesForApplication(appInfo); in getText() [all …]
|
D | ActivityThread.java | 393 ApplicationInfo appInfo; field in ActivityThread.CreateBackupAgentData 397 return "CreateBackupAgentData{appInfo=" + appInfo in toString() 398 + " backupAgent=" + appInfo.backupAgentName in toString() 439 ApplicationInfo appInfo; field in ActivityThread.AppBindData 456 return "AppBindData{appInfo=" + appInfo + "}"; in toString() 690 d.appInfo = app; in scheduleCreateBackupAgent() 700 d.appInfo = app; in scheduleDestroyBackupAgent() 755 public final void bindApplication(String processName, ApplicationInfo appInfo, in bindApplication() argument 790 pi = pm.getPackageInfo(appInfo.packageName, 0, UserHandle.myUserId()); in bindApplication() 797 !appInfo.packageName.equals(pi.applicationInfo.processName)); in bindApplication() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 334 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() argument 429 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() argument 435 ApplicationInfo appInfo) { in getXml() argument 801 public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadItemIcon() argument 808 public Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadUnbadgedItemIcon() argument
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSubtype.java | 179 Context context, String packageName, ApplicationInfo appInfo) { in getDisplayName() argument 186 packageName, mSubtypeNameResId, appInfo); in getDisplayName()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SMSDispatcher.java | 966 PackageInfo appInfo; in sendRawPdu() local 969 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in sendRawPdu() 981 if (!mUsageMonitor.check(appInfo.packageName, SINGLE_PART_SMS)) { in sendRawPdu() 1087 ApplicationInfo appInfo = pm.getApplicationInfo(appPackage, 0); in getAppLabel() local 1088 return appInfo.loadLabel(pm); in getAppLabel() 1308 PendingIntent deliveryIntent, PackageInfo appInfo, String destAddr, String format, in SmsTracker() argument 1316 mAppInfo = appInfo; in SmsTracker() 1538 PackageInfo appInfo = null; in getSmsTracker() local 1542 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in getSmsTracker() 1550 return new SmsTracker(data, sentIntent, deliveryIntent, appInfo, destAddr, format, in getSmsTracker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImpl.java | 211 final ApplicationInfo appInfo = pm.getApplicationInfo(packageName, 0); in getAppName() local 212 if (appInfo != null) { in getAppName() 213 final CharSequence label = appInfo.loadLabel(pm); in getAppName()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 379 ApplicationInfo appInfo = null; in registerService() local 381 appInfo = mContext.getPackageManager().getApplicationInfo( in registerService() 387 appInfo != null ? appInfo.targetSdkVersion : Build.VERSION_CODES.BASE; in registerService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml() argument 381 return mRealPackageManager.getXml(packageName, resid, appInfo); in getXml()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 180 final ApplicationInfo appInfo = info.applicationInfo; in isSystemEngine() local 181 return appInfo != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemEngine()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 2714 ApplicationInfo appInfo); in getDrawable() argument 3016 ApplicationInfo appInfo); in getText() argument 3035 ApplicationInfo appInfo); in getXml() argument 3919 public abstract Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo); in loadItemIcon() argument 3924 … public abstract Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo); in loadUnbadgedItemIcon() argument
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 171 ApplicationInfo appInfo; in getDefaultPaddingForWidget() local 180 appInfo = packageManager.getApplicationInfo(component.getPackageName(), 0); in getDefaultPaddingForWidget() 186 if (appInfo.targetSdkVersion >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getDefaultPaddingForWidget()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 381 Context context, String packageName, ApplicationInfo appInfo) { in getDisplayName() argument 388 packageName, mSubtypeNameResId, appInfo); in getDisplayName()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 812 ApplicationInfo appInfo = ActivityThread.getPackageManager() in getOpsRawLocked() local 814 if (appInfo != null) { in getOpsRawLocked() 815 pkgUid = appInfo.uid; in getOpsRawLocked() 816 isPrivileged = (appInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0; in getOpsRawLocked() 996 ApplicationInfo appInfo = ActivityThread.getPackageManager() in readUid() local 998 if (appInfo != null) { in readUid() 999 isPrivileged = (appInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0; in readUid()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 104 ApplicationInfo appInfo; in loadGroupIcon() local 106 appInfo = pm.getApplicationInfo(packageName, 0); in loadGroupIcon() 107 return appInfo.loadUnbadgedIcon(pm); in loadGroupIcon()
|