Lines Matching refs:ainfo
3122 ActivityInfo aInfo =
3124 if (aInfo != null) {
3126 aInfo.applicationInfo.packageName, aInfo.name));
3129 aInfo = new ActivityInfo(aInfo);
3130 aInfo.applicationInfo = getAppInfoForUser(aInfo
3131 ProcessRecord app = getProcessRecordLocked(aInfo.processName,
3132 aInfo.applicationInfo.uid, true);
3135 mStackSupervisor.startHomeActivity(intent, aInfo, reason);
3549 ActivityInfo aInfo = null;
3567 aInfo = resolves.get(i).activityInfo;
3572 Slog.v(TAG, "Next matching activity: next is " + aInfo.packageName
3573 + "/" + aInfo.name);
3581 if (aInfo == null) {
3589 aInfo.applicationInfo.packageName, aInfo.name));
3615 r.resolvedType, aInfo, null, null, resultTo != null ? resultTo.appToken : null,
8283 ActivityInfo ainfo = mLastAddedTaskActivity;
8284 if (ainfo == null) {
8285 ainfo = mLastAddedTaskActivity = AppGlobals.getPackageManager().getActivityInfo(
8287 if (ainfo.applicationInfo.uid != callingUid) {
8290 + ainfo.applicationInfo.uid + ", calling uid=" + callingUid);
8294 TaskRecord task = new TaskRecord(this, mStackSupervisor.getNextTaskId(), ainfo,
15262 boolean isSingleton(String componentProcessName, ApplicationInfo aInfo,
15266 if (UserHandle.getAppId(aInfo.uid) >= Process.FIRST_APPLICATION_UID) {
15270 aInfo.uid) != PackageManager.PERMISSION_GRANTED) {
15271 ComponentName comp = new ComponentName(aInfo.packageName, className);
15285 result = UserHandle.isSameApp(aInfo.uid, Process.PHONE_UID)
15286 || (aInfo.flags & ApplicationInfo.FLAG_PERSISTENT) != 0;
15289 Slog.v(TAG, "isSingleton(" + componentProcessName + ", " + aInfo
19585 ActivityInfo getActivityInfoForUser(ActivityInfo aInfo, int userId) {
19586 if (aInfo == null
19587 || (userId < 1 && aInfo.applicationInfo.uid < UserHandle.PER_USER_RANGE)) {
19588 return aInfo;
19591 ActivityInfo info = new ActivityInfo(aInfo);