/frameworks/base/services/core/java/com/android/server/am/ |
H A D | SafeActivityOptions.java | 116 * @param aInfo The info of the activity being launched. 119 ActivityOptions getOptions(@Nullable Intent intent, @Nullable ActivityInfo aInfo, argument 123 checkPermissions(intent, aInfo, callerApp, supervisor, mOriginalOptions, 128 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, 188 private void checkPermissions(@Nullable Intent intent, @Nullable ActivityInfo aInfo, argument 209 if (aInfo != null && launchDisplayId != INVALID_DISPLAY 211 launchDisplayId, aInfo)) { 221 if (aInfo != null && lockTaskMode 223 UserHandle.getUserId(callingUid), aInfo.packageName)) {
|
H A D | ActivityStartInterceptor.java | 144 boolean intercept(Intent intent, ResolveInfo rInfo, ActivityInfo aInfo, String resolvedType, argument 152 mAInfo = aInfo; 299 private Intent interceptWithConfirmCredentialsIfNeeded(ActivityInfo aInfo, int userId) { argument 314 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName);
|
H A D | ActivityStartController.java | 163 void startHomeActivity(Intent intent, ActivityInfo aInfo, String reason) { argument 169 .setActivityInfo(aInfo) 342 ActivityInfo aInfo = mSupervisor.resolveActivity(intent, resolvedTypes[i], 0, 346 aInfo = mService.getActivityInfoForUser(aInfo, userId); 348 if (aInfo != null && 349 (aInfo.applicationInfo.privateFlags 362 .setActivityInfo(aInfo)
|
H A D | ActivityStarter.java | 529 String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, 545 aInfo, rInfo, voiceSession, voiceInteractor, resultTo, resultWho, requestCode, 572 String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, 598 final int userId = aInfo != null && aInfo.applicationInfo != null 599 ? UserHandle.getUserId(aInfo.applicationInfo.uid) : 0; 659 if (err == ActivityManager.START_SUCCESS && aInfo == null) { 672 && sourceRecord.info.applicationInfo.uid != aInfo.applicationInfo.uid) { 717 boolean abort = !mSupervisor.checkStartAnyActivityPermission(intent, aInfo, resultWho, 721 callingPid, resolvedType, aInfo 528 startActivity(IApplicationThread caller, Intent intent, Intent ephemeralIntent, String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, String callingPackage, int realCallingPid, int realCallingUid, int startFlags, SafeActivityOptions options, boolean ignoreTargetSecurity, boolean componentSpecified, ActivityRecord[] outActivity, TaskRecord inTask, String reason, boolean allowPendingRemoteAnimationRegistryLookup) argument 571 startActivity(IApplicationThread caller, Intent intent, Intent ephemeralIntent, String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, String callingPackage, int realCallingPid, int realCallingUid, int startFlags, SafeActivityOptions options, boolean ignoreTargetSecurity, boolean componentSpecified, ActivityRecord[] outActivity, TaskRecord inTask, boolean allowPendingRemoteAnimationRegistryLookup) argument [all...] |
H A D | ActivityRecord.java | 571 void updateApplicationInfo(ApplicationInfo aInfo) { argument 572 appInfo = aInfo; 573 info.applicationInfo = aInfo; 852 ActivityInfo aInfo, Configuration _configuration, 859 info = aInfo; 863 userId = UserHandle.getUserId(aInfo.applicationInfo.uid); 895 if (aInfo.targetActivity == null 896 || (aInfo.targetActivity.equals(_intent.getComponent().getClassName()) 897 && (aInfo.launchMode == LAUNCH_MULTIPLE 898 || aInfo 850 ActivityRecord(ActivityManagerService _service, ProcessRecord _caller, int _launchedFromPid, int _launchedFromUid, String _launchedFromPackage, Intent _intent, String _resolvedType, ActivityInfo aInfo, Configuration _configuration, ActivityRecord _resultTo, String _resultWho, int _reqCode, boolean _componentSpecified, boolean _rootVoiceInteraction, ActivityStackSupervisor supervisor, ActivityOptions options, ActivityRecord sourceRecord) argument [all...] |
H A D | ActivityStack.java | 1286 void updateActivityApplicationInfoLocked(ApplicationInfo aInfo) { argument 1287 final String packageName = aInfo.packageName; 1288 final int userId = UserHandle.getUserId(aInfo.uid); 1296 ar.updateApplicationInfo(aInfo); 3998 ActivityInfo aInfo = AppGlobals.getPackageManager().getActivityInfo( 4005 .setActivityInfo(aInfo)
|
H A D | ActivityStackSupervisor.java | 1306 final ActivityInfo aInfo = rInfo != null ? rInfo.activityInfo : null; 1307 if (aInfo != null) { 1313 aInfo.applicationInfo.packageName, aInfo.name)); 1316 if (!aInfo.processName.equals("system")) { 1318 mService.setDebugApp(aInfo.processName, true, false); 1322 mService.setNativeDebuggingAppLocked(aInfo.applicationInfo, aInfo.processName); 1326 mService.setTrackAllocationApp(aInfo.applicationInfo, aInfo 1738 checkStartAnyActivityPermission(Intent intent, ActivityInfo aInfo, String resultWho, int requestCode, int callingPid, int callingUid, String callingPackage, boolean ignoreTargetSecurity, boolean launchingInTask, ProcessRecord callerApp, ActivityRecord resultRecord, ActivityStack resultStack) argument 1805 isCallerAllowedToLaunchOnDisplay(int callingPid, int callingUid, int launchDisplayId, ActivityInfo aInfo) argument 2236 updateActivityApplicationInfoLocked(ApplicationInfo aInfo) argument [all...] |
H A D | ActivityManagerService.java | 4659 ActivityInfo aInfo = resolveActivityInfo(intent, STOCK_PM_FLAGS, userId); 4660 if (aInfo != null) { 4661 intent.setComponent(new ComponentName(aInfo.applicationInfo.packageName, aInfo.name)); 4664 aInfo = new ActivityInfo(aInfo); 4665 aInfo.applicationInfo = getAppInfoForUser(aInfo.applicationInfo, userId); 4666 ProcessRecord app = getProcessRecordLocked(aInfo.processName, 4667 aInfo 20445 isSingleton(String componentProcessName, ApplicationInfo aInfo, String className, int flags) argument 26192 getActivityInfoForUser(ActivityInfo aInfo, int userId) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbProfileGroupSettingsManager.java | 924 private boolean handlePackageAddedLocked(UserPackage userPackage, ActivityInfo aInfo, argument 930 parser = aInfo.loadXmlMetaData(mPackageManager, metaDataName); 951 Slog.w(TAG, "Unable to load component info " + aInfo.toString(), e);
|
/frameworks/base/core/java/android/app/ |
H A D | LoadedApk.java | 142 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, argument 147 setApplicationInfo(aInfo); 148 mPackageName = aInfo.packageName; 291 * @param aInfo The new ApplicationInfo to use for this LoadedApk 295 public void updateApplicationInfo(@NonNull ApplicationInfo aInfo, argument 297 setApplicationInfo(aInfo); 300 makePaths(mActivityThread, aInfo, newPaths); 338 mAppComponentFactory = createAppFactory(aInfo, mClassLoader); 341 private void setApplicationInfo(ApplicationInfo aInfo) { argument 343 aInfo 364 makePaths(ActivityThread activityThread, ApplicationInfo aInfo, List<String> outZipPaths) argument 370 makePaths(ActivityThread activityThread, boolean isBundledApp, ApplicationInfo aInfo, List<String> outZipPaths, List<String> outLibPaths) argument [all...] |
H A D | ApplicationPackageManager.java | 1601 ResourceName(ApplicationInfo aInfo, int _iconId) { argument 1602 this(aInfo.packageName, _iconId);
|
H A D | ActivityThread.java | 2046 private LoadedApk getPackageInfo(ApplicationInfo aInfo, CompatibilityInfo compatInfo, argument 2049 final boolean differentUser = (UserHandle.myUserId() != UserHandle.getUserId(aInfo.uid)); 2056 ref = mPackages.get(aInfo.packageName); 2058 ref = mResourcePackages.get(aInfo.packageName); 2065 : "Loading resource-only package ") + aInfo.packageName 2070 new LoadedApk(this, aInfo, compatInfo, baseLoader, 2072 (aInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0, registerPackage); 2074 if (mSystemThread && "android".equals(aInfo.packageName)) { 2075 packageInfo.installSystemApplicationInfo(aInfo, 2082 mPackages.put(aInfo [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 320 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { argument 323 final Bundle replExtras = mReplacementExtras.getBundle(aInfo.packageName); 329 if (aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_PARENT) 330 || aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_MANAGED_PROFILE)) {
|
H A D | ResolverActivity.java | 649 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 4458 private void setActivityResizeMode(ActivityInfo aInfo, TypedArray sa, Package owner) { argument 4470 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE; 4472 aInfo.resizeMode = RESIZE_MODE_UNRESIZEABLE; 4481 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; 4487 if (aInfo.isFixedOrientationPortrait()) { 4488 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY; 4489 } else if (aInfo.isFixedOrientationLandscape()) { 4490 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY; 4491 } else if (aInfo.isFixedOrientation()) { 4492 aInfo [all...] |