HomeSort by relevance Sort by last modified time
    Searched defs:packageInfo (Results 1 - 18 of 18) sorted by null

  /packages/apps/Calendar/src/com/android/calendar/
AboutPreferences.java 20 import android.content.pm.PackageInfo;
35 final PackageInfo packageInfo =
37 findPreference(BUILD_VERSION).setSummary(packageInfo.versionName);
  /packages/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/
GoogleAppsVerifier.java 20 import android.content.pm.PackageInfo;
69 PackageInfo packageInfo = packageManager.getPackageInfo(GOOGLEAPPS_PACKAGE_NAME,
72 if (packageInfo.services == null) {
76 int numServices = packageInfo.services.length;
78 String name = packageInfo.services[i].name;
110 PackageInfo packageInfo = packageManager.getPackageInfo(GOOGLEAPPS_PACKAGE_NAME,
113 if (packageInfo.signatures == null) {
118 int numSignatures = packageInfo.signatures.length
    [all...]
  /packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
MockPackageManager.java 78 ResolveInfo packageInfo = new ResolveInfo() {
86 packageInfo.activityInfo = new ActivityInfo();
87 packageInfo.activityInfo.name = componentName.getClassName();
88 packageInfo.activityInfo.applicationInfo = new ApplicationInfo();
89 packageInfo.activityInfo.applicationInfo.packageName = componentName.getPackageName();
91 mPackages.add(packageInfo);
  /packages/apps/Settings/src/com/android/settings/net/
UidDetailProvider.java 21 import android.content.pm.PackageInfo;
98 final PackageInfo packageInfo = pm.getPackageInfo(packageName, 0);
102 if (packageInfo.sharedUserLabel != 0) {
103 detail.label = pm.getText(packageName, packageInfo.sharedUserLabel,
104 packageInfo.applicationInfo).toString();
  /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);
123 PackageInfo packageInfo = packageManager.getPackageInfo(packageName,
126 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 41 /** The {@link PackageInfo} if any. */
42 public PackageInfo packageInfo;
50 /** The name of the referenced member PackageInfo} if any. */
257 result.packageInfo = Converter.obtainPackage(ref);
312 + (result.packageInfo != null ? result.packageInfo.name() : "") + "/class="
347 } else if (result.packageInfo != null) {
348 result.href = result.packageInfo.htmlPage();
350 result.href = result.packageInfo.htmlPage()
    [all...]
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestGrouping.java 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName);
156 return selectTestClasses(packageInfo.getTopLevelClassesRecursive());
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 242 PackageInfo packageInfo =
244 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
  /packages/apps/Contacts/src/com/android/contacts/model/
ExternalAccountType.java 25 import android.content.pm.PackageInfo;
101 PackageInfo packageInfo = pm.getPackageInfo(resPackageName,
103 for (ServiceInfo serviceInfo : packageInfo.services) {
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Utils.java 21 import android.content.pm.PackageInfo;
358 PackageInfo packageInfo;
360 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0);
365 packageInfo.packageName,
366 packageInfo.versionName,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactDirectoryManager.java 25 import android.content.pm.PackageInfo;
196 List<PackageInfo> packages = pm.getInstalledPackages(
211 for (PackageInfo packageInfo : packages) {
213 if (!packageInfo.packageName.equals(mContext.getPackageName())) {
215 updateDirectoriesForPackage(packageInfo, true);
276 PackageInfo packageInfo = null;
279 packageInfo = pm.getPackageInfo(packageName,
283 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 32 import android.content.pm.PackageInfo;
381 PackageInfo packageInfo = mPackageManager.getPackageInfo(PACKAGE_NAME,
383 assertEquals(PACKAGE_NAME, packageInfo.packageName);
    [all...]
  /frameworks/base/core/java/android/accounts/
AccountManagerService.java 32 import android.content.pm.PackageInfo;
    [all...]
  /frameworks/base/core/java/android/app/
ActivityThread.java 235 LoadedApk packageInfo;
    [all...]
  /frameworks/base/services/java/com/android/server/
BackupManagerService.java 47 import android.content.pm.PackageInfo;
266 public PackageInfo pkgInfo;
272 long _token, PackageInfo _pkg, int _pmToken, boolean _needFullBackup) {
307 public PackageInfo packageInfo;
309 ClearParams(IBackupTransport _transport, PackageInfo _info) {
311 packageInfo = _info;
551 (new PerformClearTask(params.transport, params.packageInfo)).run();
    [all...]

Completed in 1163 milliseconds