Home
last modified time | relevance | path

Searched refs:aInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/java/com/android/server/am/
DActivityRecord.java322 ActivityInfo aInfo, Configuration _configuration, in ActivityRecord() argument
328 info = aInfo; in ActivityRecord()
330 userId = UserHandle.getUserId(aInfo.applicationInfo.uid); in ActivityRecord()
360 if (aInfo != null) { in ActivityRecord()
361 if (aInfo.targetActivity == null in ActivityRecord()
362 || aInfo.launchMode == ActivityInfo.LAUNCH_MULTIPLE in ActivityRecord()
363 || aInfo.launchMode == ActivityInfo.LAUNCH_SINGLE_TOP) { in ActivityRecord()
366 realActivity = new ComponentName(aInfo.packageName, in ActivityRecord()
367 aInfo.targetActivity); in ActivityRecord()
369 taskAffinity = aInfo.taskAffinity; in ActivityRecord()
[all …]
DActivityStack.java2456 Intent intent, String resolvedType, ActivityInfo aInfo, IBinder resultTo, in startActivityLocked() argument
2478 final int userId = aInfo != null ? UserHandle.getUserId(aInfo.applicationInfo.uid) : 0; in startActivityLocked()
2523 if (err == ActivityManager.START_SUCCESS && aInfo == null) { in startActivityLocked()
2542 final int componentPerm = mService.checkComponentPermission(aInfo.permission, callingPid, in startActivityLocked()
2543 callingUid, aInfo.applicationInfo.uid, aInfo.exported); in startActivityLocked()
2552 if (!aInfo.exported) { in startActivityLocked()
2556 + " not exported from uid " + aInfo.applicationInfo.uid; in startActivityLocked()
2561 + " requires " + aInfo.permission; in startActivityLocked()
2575 aInfo.applicationInfo.packageName); in startActivityLocked()
2596 intent, resolvedType, aInfo, mService.mConfiguration, in startActivityLocked()
[all …]
DActivityManagerService.java2228 ActivityInfo aInfo = in startHomeActivityLocked() local
2230 if (aInfo != null) { in startHomeActivityLocked()
2232 aInfo.applicationInfo.packageName, aInfo.name)); in startHomeActivityLocked()
2235 aInfo = new ActivityInfo(aInfo); in startHomeActivityLocked()
2236 aInfo.applicationInfo = getAppInfoForUser(aInfo.applicationInfo, userId); in startHomeActivityLocked()
2237 ProcessRecord app = getProcessRecordLocked(aInfo.processName, in startHomeActivityLocked()
2238 aInfo.applicationInfo.uid); in startHomeActivityLocked()
2241 mMainStack.startActivityLocked(null, intent, null, aInfo, in startHomeActivityLocked()
2557 ActivityInfo aInfo = null; in startNextMatchingActivity() local
2575 aInfo = resolves.get(i).activityInfo; in startNextMatchingActivity()
[all …]
/frameworks/base/core/java/android/app/
DLocalActivityManager.java269 ActivityInfo aInfo = null; in startActivity() local
281 aInfo = r.activityInfo; in startActivity()
284 if (aInfo == null) { in startActivity()
285 aInfo = mActivityThread.resolveActivityInfo(intent); in startActivity()
307 if (aInfo == r.activityInfo || in startActivity()
308 (aInfo.name.equals(r.activityInfo.name) && in startActivity()
309 aInfo.packageName.equals(r.activityInfo.packageName))) { in startActivity()
310 if (aInfo.launchMode != ActivityInfo.LAUNCH_MULTIPLE || in startActivity()
345 r.activityInfo = aInfo; in startActivity()
DLoadedApk.java113 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument
118 mApplicationInfo = aInfo; in LoadedApk()
119 mPackageName = aInfo.packageName; in LoadedApk()
120 mAppDir = aInfo.sourceDir; in LoadedApk()
122 mResDir = aInfo.uid == myUid ? aInfo.sourceDir in LoadedApk()
123 : aInfo.publicSourceDir; in LoadedApk()
124 if (!UserHandle.isSameUser(aInfo.uid, myUid) && !Process.isIsolated()) { in LoadedApk()
125 aInfo.dataDir = PackageManager.getDataDirForUser(UserHandle.getUserId(myUid), in LoadedApk()
128 mSharedLibraries = aInfo.sharedLibraryFiles; in LoadedApk()
129 mDataDir = aInfo.dataDir; in LoadedApk()
[all …]
DActivityThread.java1830 private LoadedApk getPackageInfo(ApplicationInfo aInfo, CompatibilityInfo compatInfo, in getPackageInfo() argument
1835 ref = mPackages.get(aInfo.packageName); in getPackageInfo()
1837 ref = mResourcePackages.get(aInfo.packageName); in getPackageInfo()
1843 : "Loading resource-only package ") + aInfo.packageName in getPackageInfo()
1848 new LoadedApk(this, aInfo, compatInfo, this, baseLoader, in getPackageInfo()
1850 (aInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0); in getPackageInfo()
1852 mPackages.put(aInfo.packageName, in getPackageInfo()
1855 mResourcePackages.put(aInfo.packageName, in getPackageInfo()
1989 ActivityInfo aInfo = intent.resolveActivityInfo( in resolveActivityInfo() local
1991 if (aInfo == null) { in resolveActivityInfo()
[all …]
DApplicationPackageManager.java894 ResourceName(ApplicationInfo aInfo, int _iconId) { in ResourceName() argument
895 this(aInfo.packageName, _iconId); in ResourceName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java75 ApplicationInfo aInfo; in onCreate() local
77 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate()
83 String appName = aInfo.loadLabel(packageManager).toString(); in onCreate()
86 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate()
/frameworks/base/services/java/com/android/server/usb/
DUsbSettingsManager.java784 private boolean handlePackageUpdateLocked(String packageName, ActivityInfo aInfo, in handlePackageUpdateLocked() argument
790 parser = aInfo.loadXmlMetaData(mPackageManager, metaDataName); in handlePackageUpdateLocked()
811 Slog.w(TAG, "Unable to load component info " + aInfo.toString(), e); in handlePackageUpdateLocked()
890 ApplicationInfo aInfo = mPackageManager.getApplicationInfo(packageName, 0); in requestPermissionDialog() local
891 if (aInfo.uid != uid) { in requestPermissionDialog()