Searched defs:packageName (Results 1 - 21 of 21) sorted by relevance

/packages/apps/IM/plugin/com/android/im/plugin/
H A DImPluginInfo.java47 public ImPluginInfo(String providerName, String packageName, argument
50 mPackageName = packageName;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoPriorityResolver.java97 return resolvePhotoPriorityFromMetaData(auth.packageName);
108 /* package */ int resolvePhotoPriorityFromMetaData(String packageName) { argument
111 PackageInfo pi = pm.getPackageInfo(packageName, PackageManager.GET_SERVICES
H A DContactsDatabaseHelper.java2551 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 DAllAppsList.java88 * 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 DWallpaperChooser.java85 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 DLauncherProvider.java693 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 DPackageIconLoader.java56 * @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 DShortcutsProvider.java136 private boolean checkCallingPackage(String packageName) { argument
142 if (packageName.equals(uidPkg)) return true;
/packages/apps/Contacts/src/com/android/contacts/model/
H A DSources.java139 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 DVendorPolicyLoader.java82 /* 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 DInstallAppProgress.java86 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 DActivityPicker.java160 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 DInstalledAppDetails.java140 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 DManageApplications.java468 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 DCommandRecognizerEngine.java259 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 DPowerUsageSummary.java98 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 DApplicationsProvider.java411 * @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 DContactsActor.java66 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 DImapStore.java272 * @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 DBatteryHistory.java102 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 DBrowserActivity.java273 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...]

Completed in 212 milliseconds