/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 137 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument 142 setApplicationInfo(aInfo); in LoadedApk() 143 mPackageName = aInfo.packageName; in LoadedApk() 264 public void updateApplicationInfo(ApplicationInfo aInfo, List<String> oldPaths) { in updateApplicationInfo() argument 265 setApplicationInfo(aInfo); in updateApplicationInfo() 268 makePaths(mActivityThread, aInfo, newPaths, null /*libPaths*/); in updateApplicationInfo() 299 private void setApplicationInfo(ApplicationInfo aInfo) { in setApplicationInfo() argument 301 aInfo = adjustNativeLibraryPaths(aInfo); in setApplicationInfo() 302 mApplicationInfo = aInfo; in setApplicationInfo() 303 mAppDir = aInfo.sourceDir; in setApplicationInfo() [all …]
|
D | LocalActivityManager.java | 270 ActivityInfo aInfo = null; in startActivity() local 282 aInfo = r.activityInfo; in startActivity() 285 if (aInfo == null) { in startActivity() 286 aInfo = mActivityThread.resolveActivityInfo(intent); in startActivity() 308 if (aInfo == r.activityInfo || in startActivity() 309 (aInfo.name.equals(r.activityInfo.name) && in startActivity() 310 aInfo.packageName.equals(r.activityInfo.packageName))) { in startActivity() 311 if (aInfo.launchMode != ActivityInfo.LAUNCH_MULTIPLE || in startActivity() 346 r.activityInfo = aInfo; in startActivity()
|
D | ActivityThread.java | 1951 private LoadedApk getPackageInfo(ApplicationInfo aInfo, CompatibilityInfo compatInfo, in getPackageInfo() argument 1954 final boolean differentUser = (UserHandle.myUserId() != UserHandle.getUserId(aInfo.uid)); in getPackageInfo() 1961 ref = mPackages.get(aInfo.packageName); in getPackageInfo() 1963 ref = mResourcePackages.get(aInfo.packageName); in getPackageInfo() 1970 : "Loading resource-only package ") + aInfo.packageName in getPackageInfo() 1975 new LoadedApk(this, aInfo, compatInfo, baseLoader, in getPackageInfo() 1977 (aInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0, registerPackage); in getPackageInfo() 1979 if (mSystemThread && "android".equals(aInfo.packageName)) { in getPackageInfo() 1980 packageInfo.installSystemApplicationInfo(aInfo, in getPackageInfo() 1987 mPackages.put(aInfo.packageName, in getPackageInfo() [all …]
|
D | ApplicationPackageManager.java | 1431 ResourceName(ApplicationInfo aInfo, int _iconId) { in ResourceName() argument 1432 this(aInfo.packageName, _iconId); in ResourceName()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 599 ActivityInfo aInfo, Configuration _configuration, in ActivityRecord() argument 606 info = aInfo; in ActivityRecord() 609 userId = UserHandle.getUserId(aInfo.applicationInfo.uid); in ActivityRecord() 649 if (aInfo != null) { in ActivityRecord() 653 if (aInfo.targetActivity == null in ActivityRecord() 654 || (aInfo.targetActivity.equals(_intent.getComponent().getClassName()) in ActivityRecord() 655 && (aInfo.launchMode == ActivityInfo.LAUNCH_MULTIPLE in ActivityRecord() 656 || aInfo.launchMode == ActivityInfo.LAUNCH_SINGLE_TOP))) { in ActivityRecord() 659 realActivity = new ComponentName(aInfo.packageName, aInfo.targetActivity); in ActivityRecord() 661 taskAffinity = aInfo.taskAffinity; in ActivityRecord() [all …]
|
D | ActivityStarter.java | 225 String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, in startActivityLocked() argument 248 final int userId = aInfo != null ? UserHandle.getUserId(aInfo.applicationInfo.uid) : 0; in startActivityLocked() 312 if (err == ActivityManager.START_SUCCESS && aInfo == null) { in startActivityLocked() 325 && sourceRecord.info.applicationInfo.uid != aInfo.applicationInfo.uid) { in startActivityLocked() 370 boolean abort = !mSupervisor.checkStartAnyActivityPermission(intent, aInfo, resultWho, in startActivityLocked() 374 callingPid, resolvedType, aInfo.applicationInfo); in startActivityLocked() 382 aInfo.applicationInfo.packageName); in startActivityLocked() 389 mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, callingUid, in startActivityLocked() 393 aInfo = mInterceptor.mAInfo; in startActivityLocked() 413 if (Build.PERMISSIONS_REVIEW_REQUIRED && aInfo != null) { in startActivityLocked() [all …]
|
D | ActivityStartInterceptor.java | 96 void intercept(Intent intent, ResolveInfo rInfo, ActivityInfo aInfo, String resolvedType, in intercept() argument 103 mAInfo = aInfo; in intercept() 209 ActivityInfo aInfo, String callingPackage, int userId) { in interceptWithConfirmCredentialsIfNeeded() argument 226 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName); in interceptWithConfirmCredentialsIfNeeded()
|
D | ActivityStackSupervisor.java | 1108 final ActivityInfo aInfo = rInfo != null ? rInfo.activityInfo : null; in resolveActivity() local 1109 if (aInfo != null) { in resolveActivity() 1115 aInfo.applicationInfo.packageName, aInfo.name)); in resolveActivity() 1118 if (!aInfo.processName.equals("system")) { in resolveActivity() 1120 mService.setDebugApp(aInfo.processName, true, false); in resolveActivity() 1124 mService.setNativeDebuggingAppLocked(aInfo.applicationInfo, aInfo.processName); in resolveActivity() 1128 mService.setTrackAllocationApp(aInfo.applicationInfo, aInfo.processName); in resolveActivity() 1132 mService.setProfileApp(aInfo.applicationInfo, aInfo.processName, profilerInfo); in resolveActivity() 1136 return aInfo; in resolveActivity() 1389 boolean checkStartAnyActivityPermission(Intent intent, ActivityInfo aInfo, in checkStartAnyActivityPermission() argument [all …]
|
D | ActivityManagerService.java | 3865 ActivityInfo aInfo = resolveActivityInfo(intent, STOCK_PM_FLAGS, userId); in startHomeActivityLocked() local 3866 if (aInfo != null) { in startHomeActivityLocked() 3867 intent.setComponent(new ComponentName(aInfo.applicationInfo.packageName, aInfo.name)); in startHomeActivityLocked() 3870 aInfo = new ActivityInfo(aInfo); in startHomeActivityLocked() 3871 aInfo.applicationInfo = getAppInfoForUser(aInfo.applicationInfo, userId); in startHomeActivityLocked() 3872 ProcessRecord app = getProcessRecordLocked(aInfo.processName, in startHomeActivityLocked() 3873 aInfo.applicationInfo.uid, true); in startHomeActivityLocked() 3876 mActivityStarter.startHomeActivityLocked(intent, aInfo, reason); in startHomeActivityLocked() 4570 ActivityInfo aInfo = null; in startNextMatchingActivity() local 4588 aInfo = resolves.get(i).activityInfo; in startNextMatchingActivity() [all …]
|
D | ActiveServices.java | 1296 ApplicationInfo aInfo = AppGlobals.getPackageManager().getApplicationInfo( in retrieveServiceLocked() local 1298 if (aInfo == null) { in retrieveServiceLocked() 1304 sInfo.applicationInfo.packageName = aInfo.packageName; in retrieveServiceLocked() 1305 sInfo.applicationInfo.uid = aInfo.uid; in retrieveServiceLocked() 1306 name = new ComponentName(aInfo.packageName, name.getClassName()); in retrieveServiceLocked()
|
D | ActivityStack.java | 970 void updateActivityApplicationInfoLocked(ApplicationInfo aInfo) { in updateActivityApplicationInfoLocked() argument 971 final String packageName = aInfo.packageName; in updateActivityApplicationInfoLocked() 976 activities.get(activityNdx).info.applicationInfo = aInfo; in updateActivityApplicationInfoLocked() 3690 ActivityInfo aInfo = AppGlobals.getPackageManager().getActivityInfo( in navigateUpToLocked() local 3693 destIntent, null /*ephemeralIntent*/, null, aInfo, null /*rInfo*/, null, in navigateUpToLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 73 ApplicationInfo aInfo; in onCreate() local 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 76 mUid = aInfo.uid; in onCreate() 99 String label = aInfo.loadLabel(packageManager).toString(); in onCreate() 137 .setIcon(aInfo.loadIcon(packageManager)) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 73 ApplicationInfo aInfo; in onCreate() local 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 81 String appName = aInfo.loadLabel(packageManager).toString(); in onCreate() 84 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 932 private boolean handlePackageUpdateLocked(String packageName, ActivityInfo aInfo, in handlePackageUpdateLocked() argument 938 parser = aInfo.loadXmlMetaData(mPackageManager, metaDataName); in handlePackageUpdateLocked() 959 Slog.w(TAG, "Unable to load component info " + aInfo.toString(), e); in handlePackageUpdateLocked() 1046 ApplicationInfo aInfo = mPackageManager.getApplicationInfo(packageName, 0); in requestPermissionDialog() local 1047 if (aInfo.uid != uid) { in requestPermissionDialog()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 649 AuthorityInfo aInfo; in setSyncableStateForEndPoint() local 651 aInfo = getOrCreateAuthorityLocked(target, -1, false); in setSyncableStateForEndPoint() 656 Slog.d(TAG, "setIsSyncable: " + aInfo.toString() + " -> " + syncable); in setSyncableStateForEndPoint() 658 if (aInfo.syncable == syncable) { in setSyncableStateForEndPoint() 664 aInfo.syncable = syncable; in setSyncableStateForEndPoint() 668 requestSync(aInfo, SyncOperation.REASON_IS_SYNCABLE, new Bundle()); in setSyncableStateForEndPoint()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 288 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { in getReplacementIntent() argument 291 final Bundle replExtras = mReplacementExtras.getBundle(aInfo.packageName); in getReplacementIntent() 297 if (aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_PARENT) in getReplacementIntent() 298 || aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_MANAGED_PROFILE)) { in getReplacementIntent()
|
D | ResolverActivity.java | 659 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { in getReplacementIntent() argument
|