/packages/apps/IM/plugin/com/android/im/plugin/ |
H A D | ImPluginInfo.java | 47 public ImPluginInfo(String providerName, String packageName, argument 50 mPackageName = packageName;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoPriorityResolver.java | 97 return resolvePhotoPriorityFromMetaData(auth.packageName); 108 /* package */ int resolvePhotoPriorityFromMetaData(String packageName) { argument 111 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES
|
H A D | ContactsDatabaseHelper.java | 2551 public static int getUidForPackageName(PackageManager pm, String packageName) { argument 2553 ApplicationInfo clientInfo = pm.getApplicationInfo(packageName, 0 /* no flags */); 2606 public long getPackageId(String packageName) { argument 2609 return getCachedId(mPackageQuery, mPackageInsert, packageName, mPackageCache);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AllAppsList.java | 88 * Add the icons for the supplied apk called packageName. 90 public void addPackage(Context context, String packageName) { argument 91 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 101 * Remove the apps for the given apk identified by packageName. 103 public void removePackage(String packageName) { argument 108 if (packageName.equals(component.getPackageName())) { 120 public void updatePackage(Context context, String packageName) { argument 121 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 128 if (packageName.equals(component.getPackageName())) { 143 info.activityInfo.applicationInfo.packageName, 159 findActivitiesForPackage(Context context, String packageName) argument 214 findApplicationInfoLocked(String packageName, String className) argument [all...] |
H A D | WallpaperChooser.java | 85 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 87 addWallpapers(resources, packageName, R.array.wallpapers); 88 addWallpapers(resources, packageName, R.array.extra_wallpapers); 91 private void addWallpapers(Resources resources, String packageName, int list) { argument 94 int res = resources.getIdentifier(extra, "drawable", packageName); 97 "drawable", packageName); 102 // Log.d(TAG, "addWallpapers: [" + packageName + "]: " + extra + " (" + res + ")");
|
H A D | LauncherProvider.java | 693 String packageName = a.getString(R.styleable.Favorite_packageName); 698 cn = new ComponentName(packageName, className); 702 new String[] { packageName }); 717 Log.w(TAG, "Unable to add favorite: " + packageName + 736 private ComponentName getProviderInPackage(String packageName) { argument 743 if (provider != null && provider.getPackageName().equals(packageName)) { 764 String packageName = a.getString(R.styleable.Favorite_packageName); 767 if (packageName == null || className == null) { 772 ComponentName cn = new ComponentName(packageName, className); 777 new String[] { packageName }); [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | PackageIconLoader.java | 56 * @param packageName The name of the package from which the icons will be loaded. 60 public PackageIconLoader(Context context, String packageName) { argument 62 mPackageName = packageName;
|
H A D | ShortcutsProvider.java | 136 private boolean checkCallingPackage(String packageName) { argument 142 if (packageName.equals(uidPkg)) return true;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | Sources.java | 139 final String packageName = intent.getData().getSchemeSpecificPart(); 140 pkgList = new String[] { packageName }; 143 for (String packageName : pkgList) { 144 final boolean knownPackage = mKnownPackages.contains(packageName); 147 invalidateCache(packageName); 159 protected void invalidateCache(String packageName) { argument 161 if (TextUtils.equals(packageName, source.resPackageName)) { 209 source = new GoogleSource(auth.packageName); 211 source = new ExchangeSource(auth.packageName); 215 + ", packageName [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | VendorPolicyLoader.java | 82 /* package */ VendorPolicyLoader(Context context, String packageName, String className, argument 84 if (!allowNonSystemApk && !isSystemPackage(context, packageName)) { 92 final Context policyContext = context.createPackageContext(packageName, 110 /* package */ static boolean isSystemPackage(Context context, String packageName) { argument 112 ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName, 0);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
H A D | InstallAppProgress.java | 86 mAppInfo.packageName); 169 public void packageInstalled(String packageName, int returnCode) { argument 182 PackageInfo pi = pm.getPackageInfo(mAppInfo.packageName, 190 Log.w(TAG, "Replacing package:" + mAppInfo.packageName); 219 if (mAppInfo.packageName != null) { 220 Log.i(TAG, "Finished installing "+mAppInfo.packageName);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 160 iconResource.packageName); 218 String packageName; field in class:ActivityPicker.PickAdapter.Item 241 packageName = resolveInfo.activityInfo.applicationInfo.packageName; 252 if (packageName != null && className != null) { 254 intent.setClassName(packageName, className);
|
H A D | InstalledAppDetails.java | 140 mPm.getPackageSizeInfo(mAppInfo.packageName, mSizeObserver); 152 public void onRemoveCompleted(final String packageName, final boolean succeeded) { argument 171 public void onRemoveCompleted(final String packageName, final boolean succeeded) { argument 179 public void packageMoved(String packageName, int returnCode) throws RemoteException { argument 221 String pkgName = mAppInfo.packageName; 228 pkgInfo = mPm.getPackageInfo(mAppInfo.packageName, 293 private boolean initAppInfo(String packageName) { argument 295 mAppInfo = mPm.getApplicationInfo(packageName, 299 Log.e(TAG, "Exception when retrieving package: " + packageName, e); 315 final String packageName 668 uninstallPkg(String packageName) argument [all...] |
H A D | ManageApplications.java | 468 public void invokeGetSize(String packageName, CountDownLatch count) { argument 470 mPm.getPackageSizeInfo(packageName, this); 526 String packageName = mPkgList.get(i).packageName; 527 mSizeObserver.invokeGetSize(packageName, count); 531 Log.i(TAG, "Failed computing size for pkg : "+packageName); 544 packages[i-j] = packageName; 577 String pkgName = info.packageName; 708 if (matchFilter(filter, filterMap, appInfo.packageName)) { 725 if (matchFilter(filter, filterMap, appInfo.packageName)) { 1546 invokeGetSizeInfo(String packageName) argument [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | CommandRecognizerEngine.java | 259 ri.activityInfo.packageName, ri.activityInfo.name); 275 ri.activityInfo.packageName, ri.activityInfo.name); 347 String label, String packageName, String className) { 348 String component = packageName + "/" + className; 1158 String packageName = component.substring( 1162 intent.setClassName(packageName, className); 1168 intent.setClassName(packageName, className); 346 addClassName(HashMap<String,String> openEntries, String label, String packageName, String className) argument
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | PowerUsageSummary.java | 98 String packageName; field in class:PowerUsageSummary.UidToDetail 624 defaultPackageName = utd.packageName; 716 utd.packageName = defaultPackageName;
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 411 * @param packageName Name of package whose activities to update. 414 private void updateApplicationsList(String packageName) { argument 415 if (DBG) Log.d(TAG, "Updating database (packageName = " + packageName + ")..."); 427 removeApplications(packageName); 432 if (packageName != null) { 434 mainIntent.setPackage(packageName); 449 inserter.bind(packageCol, info.activityInfo.applicationInfo.packageName); 469 private void removeApplications(String packageName) { argument 470 if (packageName [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsActor.java | 66 public String packageName; field in class:ContactsActor 78 public ContactsActor(Context overallContext, String packageName, argument 81 context = new RestrictionMockContext(overallContext, packageName, resolver); 82 this.packageName = packageName; 219 sCallingPackage = this.packageName; 238 public void addPackage(int packageUid, String packageName) { argument 239 mForward.put(packageUid, packageName); 240 mReverse.put(packageName, packageUid); 254 public ApplicationInfo getApplicationInfo(String packageName, in argument [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ImapStore.java | 272 * @param packageName context.getPackageName() 281 /* package */ String makeCommonImapId(String packageName, String version, argument 290 packageName = p.matcher(packageName).replaceAll(""); 300 sb.append(packageName);
|
/packages/apps/Settings/src/com/android/settings/battery_history/ |
H A D | BatteryHistory.java | 102 private static String getLabel(String packageName, PackageManager pm) { argument 104 ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); 110 return packageName;
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserActivity.java | 273 final String packageName = intent.getData() 282 if (sGoogleApps.contains(packageName)) { 283 BrowserActivity.this.packageChanged(packageName, 290 pkgInfo = pm.getPackageInfo(packageName, 2791 info.activityInfo.packageName) 3707 private void packageChanged(String packageName, boolean wasAdded) { argument 3714 w.addPackageName(packageName); 3716 w.removePackageName(packageName); 3738 if (BrowserActivity.this.sGoogleApps.contains(p.packageName)) { 3739 installedPackages.add(p.packageName); [all...] |