/frameworks/base/services/java/com/android/server/pm/ |
PackageSettingBase.java | 17 package com.android.server.pm; 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED; 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
|
PackageSignatures.java | 17 package com.android.server.pm; 25 import android.content.pm.Signature;
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 21 import android.content.pm.PackageManager; 49 PackageManager pm = mContext.getPackageManager(); local 50 if (pm.hasSystemFeature(PackageManager.FEATURE_USB_HOST)) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 129 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); local 130 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor");
|
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 23 import android.content.pm.PackageManager; 24 import android.content.pm.ResolveInfo; 199 PackageManager pm = mActivity.getPackageManager(); local 200 List<ResolveInfo> handlers = pm.queryIntentActivities(intent, 285 PackageManager pm = mActivity.getPackageManager(); local 286 mIsProviderPresent = pm.resolveContentProvider(RLZ_PROVIDER, 0) != null;
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 101 PowerManager pm = local 103 mStartingService = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
DirectoryListLoader.java | 22 import android.content.pm.PackageManager; 120 PackageManager pm = context.getPackageManager(); local 158 directoryType = pm.getResourcesForApplication(packageName)
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DataAction.java | 30 import android.content.pm.PackageManager; 294 final PackageManager pm = mContext.getPackageManager(); local 295 return pm.getDrawable(resPackageName, mAlternateIconRes, null);
|
/packages/apps/Email/src/com/android/email/ |
AttachmentInfo.java | 26 import android.content.pm.PackageManager; 27 import android.content.pm.ResolveInfo; 172 PackageManager pm = context.getPackageManager(); local 173 List<ResolveInfo> activityList = pm.queryIntentActivities(intent, 0 /*no account*/);
|
EmailConnectivityManager.java | 74 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); local 75 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 161 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); local 162 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfceeAccessControl.java | 33 import android.content.pm.ApplicationInfo; 34 import android.content.pm.PackageInfo; 35 import android.content.pm.PackageManager; 36 import android.content.pm.Signature; 37 import android.content.pm.PackageManager.NameNotFoundException; 87 PackageManager pm = mContext.getPackageManager(); local 88 String[] pkgs = pm.getPackagesForUid(uid); 131 PackageManager pm = mContext.getPackageManager(); local 133 PackageInfo info = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutsProvider.java | 25 import android.content.pm.PackageManager; 149 PackageManager pm = getContext().getPackageManager(); local 150 String[] uidPkgs = pm.getPackagesForUid(callingUid);
|
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.content.pm.ResolveInfo; 101 PackageManager pm = context.getPackageManager(); local 102 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); 116 preference.setTitle(resolveInfo.loadLabel(pm)); 163 PackageManager pm = context.getPackageManager(); local 164 List<ResolveInfo> list = pm.queryIntentActivities(intent, PackageManager.GET_META_DATA); 176 Resources res = pm 224 PackageManager pm = context.getPackageManager(); local [all...] |
CryptKeeper.java | 24 import android.content.pm.PackageManager; 61 * $ adb shell pm enable com.android.settings/.CryptKeeper 222 PackageManager pm = getPackageManager(); local 224 pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 333 PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); local 334 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.PackageManager.NameNotFoundException; 109 PackageManager pm = mContext.getPackageManager(); local 110 final Drawable defaultActivityIcon = pm.getDefaultActivityIcon(); 111 String[] packages = pm.getPackagesForUid(uid); 112 icon = pm.getDefaultActivityIcon(); 136 PackageManager pm = mContext.getPackageManager(); local 138 final Drawable defaultActivityIcon = pm.getDefaultActivityIcon() [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersSettings.java | 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.PackageManager; 83 final PackageManager pm = getPackageManager(); local 95 scPref.setTitle(sci.loadLabel(pm));
|
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
GoogleSecurityToolActivity.java | 10 import android.content.pm.PackageInfo; 11 import android.content.pm.PackageManager; 131 PackageManager pm = getPackageManager(); local 132 List<PackageInfo> packages = pm.getInstalledPackages(0);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SettingsActivity.java | 30 import android.content.pm.PackageManager; 31 import android.content.pm.ResolveInfo; 108 PackageManager pm = getPackageManager(); local 109 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 179 PackageManager pm = mContext.getPackageManager(); local 180 List<ResolveInfo> list = pm.queryIntentActivities(intent, 186 Drawable icon = list.get(0).activityInfo.loadIcon(pm);
|
/frameworks/base/core/java/android/widget/ |
ExpandableListView.java | 614 PositionMetadata pm = mConnector.getFlattenedPos(ExpandableListPosition.obtain( local 616 boolean retValue = mConnector.expandGroup(pm); 623 final int groupFlatPos = pm.position.flatListPos; 629 pm.recycle(); 759 PositionMetadata pm = mConnector.getUnflattenedPos(adjustedPosition); local 760 long packedPos = pm.position.getPackedPosition(); 761 pm.recycle(); 777 PositionMetadata pm = mConnector.getFlattenedPos(ExpandableListPosition local 779 final int flatListPosition = pm.position.flatListPos; 780 pm.recycle() 828 PositionMetadata pm = mConnector.getFlattenedPos(elGroupPos); local 987 PositionMetadata pm = mConnector.getUnflattenedPos(adjustedPosition); local [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageMeasurement.java | 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.IPackageStatsObserver; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageStats; 309 * @param pm PackageManager instance to query 311 public void requestQueuedMeasurementsLocked(PackageManager pm) { 315 pm.getPackageSizeInfo(appsList[i], mStatsObserver); 452 PackageManager pm = context.getPackageManager(); local 453 if (pm == null) { 458 apps = pm.getInstalledApplications(PackageManager.GET_UNINSTALLED_PACKAGES [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 28 import android.content.pm.PackageManager; 608 PackageManager pm = context.getPackageManager(); local 609 pm.setComponentEnabledSetting( 619 PackageManager pm = context.getPackageManager(); local 620 pm.setComponentEnabledSetting( [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 233 PackageManager pm = mActivity.getPackageManager(); local 234 List<ResolveInfo> riList = pm.queryIntentActivities( 239 riList.addAll(pm.queryIntentActivities( 253 String label = scrubName(ri.loadLabel(pm).toString()); 1152 PackageManager pm = mActivity.getPackageManager(); local [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 26 import android.content.pm.PackageManager; 27 import android.content.pm.ResolveInfo; 28 import android.content.pm.ServiceInfo; 103 args = {android.content.pm.PackageManager.class} 108 args = {android.content.Context.class, android.content.pm.ResolveInfo.class} 131 PackageManager pm = mContext.getPackageManager(); local 132 List<ResolveInfo> ris = pm.queryIntentServices(intent, PackageManager.GET_META_DATA); 173 args = {android.content.pm.PackageManager.class} 176 PackageManager pm = mContext.getPackageManager(); local 177 assertNotNull(mInputMethodInfo.loadIcon(pm)); 198 PackageManager pm = mContext.getPackageManager(); local [all...] |