Lines Matching refs:packageInfo
191 final PackageInfo packageInfo = new PackageInfo();
192 packageInfo.applicationInfo = ri.activityInfo.applicationInfo;
193 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED;
194 packageInfo.requiredAccountType = "account";
195 packageInfo.restrictedAccountType = null;
196 mInstalledAppInfos.add(packageInfo.applicationInfo);
197 when(mPm.getPackageInfo(eq(pkg), anyInt())).thenReturn(packageInfo);
213 final PackageInfo packageInfo = new PackageInfo();
214 packageInfo.applicationInfo = ri.activityInfo.applicationInfo;
215 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED;
216 mInstalledAppInfos.add(packageInfo.applicationInfo);
217 when(mPm.getPackageInfo(eq(pkgName), anyInt())).thenReturn(packageInfo);