/packages/apps/Calendar/src/com/android/calendar/ |
AboutPreferences.java | 20 import android.content.pm.PackageInfo; 37 final PackageInfo packageInfo = 39 findPreference(BUILD_VERSION).setSummary(packageInfo.versionName);
|
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetailProvider.java | 21 import android.content.pm.PackageInfo; 141 final PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); 145 if (packageInfo.sharedUserLabel != 0) { 146 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel, 147 packageInfo.applicationInfo).toString();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryPackInstallBroadcastReceiver.java | 25 import android.content.pm.PackageInfo; 80 final PackageInfo packageInfo; 82 packageInfo = manager.getPackageInfo(packageName, PackageManager.GET_PROVIDERS); 86 final ProviderInfo[] providers = packageInfo.providers;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TargetPackageInfoGetterTask.java | 20 import android.content.pm.PackageInfo; 26 AsyncTask<String, Void, PackageInfo> { 28 private static final LruCache<String, PackageInfo> sCache = 29 new LruCache<String, PackageInfo>(MAX_CACHE_ENTRIES); 31 public static PackageInfo getCachedPackageInfo(final String packageName) { 41 public void onTargetPackageInfoKnown(final PackageInfo info); 54 protected PackageInfo doInBackground(final String... packageName) { 58 final PackageInfo packageInfo = pm.getPackageInfo(packageName[0], 0 /* flags */); 59 sCache.put(packageName[0], packageInfo); [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
PackageSignatureTest.java | 21 import android.content.pm.PackageInfo; 48 List<PackageInfo> allPackageInfos = packageManager.getInstalledPackages( 51 for (PackageInfo packageInfo : allPackageInfos) { 52 String packageName = packageInfo.packageName; 54 for (Signature signature : packageInfo.signatures) { 56 badPackages.add(packageInfo.packageName); 150 PackageInfo packageInfo = packageManager.getPackageInfo(packageName, 153 int numSignatures = packageInfo.signatures.length [all...] |
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 26 import android.content.pm.PackageInfo; 47 PackageInfo info; 60 List<PackageInfo> pkgs = context.getPackageManager().getInstalledPackages(0); 143 final MyPackageInfo packageInfo = mAdapter.itemForPosition(curSelection); 144 if (packageInfo != null) { 145 getPackageManager().deletePackage(packageInfo.info.packageName, 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
|
/external/doclava/src/com/google/doclava/ |
DoclavaDiff.java | 113 PackageInfo packageInfo = new PackageInfo(pkg); 122 data.setValue(siteBase + ".link", site.linkFor(packageInfo.htmlPage())); 196 Map<String, PackageInfo> packages = site.apiInfo().getPackages(); 213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg); 214 if (packageInfo == null) { 217 HashMap<String, ClassInfo> classes = packageInfo.allClasses();
|
LinkReference.java | 46 /** The {@link PackageInfo} if any. */ 47 public PackageInfo packageInfo; 55 /** The name of the referenced member PackageInfo} if any. */ 272 result.packageInfo = Converter.obtainPackage(ref); 338 + (result.packageInfo != null ? result.packageInfo.name() : "") + "/class=" 376 } else if (result.packageInfo != null) { 377 result.href = result.packageInfo.htmlPage(); 379 result.href = result.packageInfo.htmlPage() [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManager.java | 12 import android.content.pm.PackageInfo; 21 private Map<String, PackageInfo> packageList; 38 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { 61 PackageInfo info; 70 public List<PackageInfo> getInstalledPackages(int flags) { 71 return new ArrayList<PackageInfo>(packageList.values()); 154 * @param packageInfo 156 public void addPackage( PackageInfo packageInfo ) { 157 packageList.put(packageInfo.packageName, packageInfo) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManagerTest.java | 16 import android.content.pm.PackageInfo; 50 PackageInfo packageInfo = new PackageInfo(); 51 packageInfo.packageName = TEST_PACKAGE_NAME; 52 packageInfo.applicationInfo = new ApplicationInfo(); 53 packageInfo.applicationInfo.packageName = TEST_PACKAGE_NAME; 54 packageInfo.applicationInfo.name = TEST_PACKAGE_LABEL; 55 rpm.addPackage(packageInfo);
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); 156 return selectTestClasses(packageInfo.getTopLevelClassesRecursive());
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
AppCompatibility.java | 24 import android.content.pm.PackageInfo; 199 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, 0); 200 String processName = packageInfo.applicationInfo.processName;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
Utils.java | 20 import android.content.pm.PackageInfo; 301 PackageInfo packageInfo; 303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); 308 packageInfo.packageName, 309 packageInfo.versionName,
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
Utils.java | 20 import android.content.pm.PackageInfo; 301 PackageInfo packageInfo; 303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); 308 packageInfo.packageName, 309 packageInfo.versionName,
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Utils.java | 20 import android.content.pm.PackageInfo; 301 PackageInfo packageInfo; 303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); 308 packageInfo.packageName, 309 packageInfo.versionName,
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
Utils.java | 20 import android.content.pm.PackageInfo; 301 PackageInfo packageInfo; 303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); 308 packageInfo.packageName, 309 packageInfo.versionName,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
ExternalAccountType.java | 20 import android.content.pm.PackageInfo; 191 PackageInfo packageInfo = pm.getPackageInfo(resPackageName, 193 for (ServiceInfo serviceInfo : packageInfo.services) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 21 import android.content.pm.PackageInfo; 266 final PackageInfo packageInfo; 268 packageInfo = mPackageManager.getPackageInfo(packageName, 270 if (packageInfo == null) continue; // Just in case... 275 List<DirectoryInfo> directories = updateDirectoriesForPackage(packageInfo, true); 335 PackageInfo packageInfo = null; 338 packageInfo = mPackageManager.getPackageInfo(packageName, 342 packageInfo = new PackageInfo() [all...] |
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexToSigConverter.java | 185 IClassDefinition packageInfo = findPackageInfo(aPackage); 186 if (packageInfo != null) { 187 aPackage.setAnnotations(packageInfo.getAnnotations()); 188 aPackage.getClasses().remove(packageInfo); [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 27 import android.content.pm.PackageInfo; 206 PackageInfo packageInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, 208 assertEquals(PACKAGE_NAME, packageInfo.packageName); 470 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags);
|
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 278 PackageInfo packageInfo = 280 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/frameworks/base/core/java/android/app/ |
ContextImpl.java | [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 29 import android.content.pm.PackageInfo; [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageManagerTests.java | 28 import android.content.pm.PackageInfo; 352 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) { 361 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) { 367 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_AUTO) { 599 PackageInfo.INSTALL_LOCATION_UNSPECIFIED); 615 PackageInfo pkgInfo = null; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ResearchLogger.java | 26 import android.content.pm.PackageInfo; [all...] |