/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageManagerPresubmitTest.java | 17 package com.android.server.pm; 20 import android.content.pm.PackageInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.PermissionInfo; 39 import static android.content.pm.PackageManager.GET_PERMISSIONS;
|
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 55 PackageManager pm = getPackageManager(); local 56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); 63 final CharSequence labelSeq = info.loadLabel(pm);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
AllAppPermissionsFragment.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageInfo; 26 import android.content.pm.PackageItemInfo; 27 import android.content.pm.PackageManager; 28 import android.content.pm.PackageManager.NameNotFoundException; 29 import android.content.pm.PermissionGroupInfo; 30 import android.content.pm.PermissionInfo; 131 PackageManager pm = getActivity().getPackageManager(); local 134 final Drawable icon = appInfo.loadIcon(pm); 135 final CharSequence label = appInfo.loadLabel(pm); 267 final PackageManager pm = getActivity().getPackageManager(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
LegalSettings.java | 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.ResolveInfo; 101 final PackageManager pm = context.getPackageManager(); 102 final List<ResolveInfo> list = pm.queryIntentActivities(intent, 0);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.PackageManager; 52 PackageManager pm = getPackageManager(); local 53 ai = pm.getApplicationInfo(mApp, 0); 54 mApp = (String)pm.getApplicationLabel(ai);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
SettingsDumpServiceTest.java | 18 import android.content.pm.ActivityInfo; 19 import android.content.pm.PackageManager; 20 import android.content.pm.ResolveInfo; 94 public void setPackageManager(PackageManager pm) { 95 mPm = pm;
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
ThirdPartyWallpaperInfo.java | 6 import android.content.pm.PackageManager; 7 import android.content.pm.ResolveInfo; 61 final PackageManager pm = context.getPackageManager(); local 65 for (ResolveInfo info : pm.queryIntentActivities(pickImageIntent, 0)) { 72 for (ResolveInfo info : pm.queryIntentActivities(pickWallpaperIntent, 0)) {
|
LiveWallpaperInfo.java | 7 import android.content.pm.PackageManager; 8 import android.content.pm.ResolveInfo; 83 final PackageManager pm = mContext.getPackageManager(); local 85 List<ResolveInfo> list = pm.queryIntentServices( 93 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); 109 Drawable thumb = info.loadThumbnail(pm);
|
/frameworks/base/core/java/android/content/pm/ |
IPackageManager.aidl | 18 package android.content.pm; 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.ChangedPackages; 26 import android.content.pm.InstantAppInfo; 27 import android.content.pm.FeatureInfo; 28 import android.content.pm.IDexModuleRegisterCallback; 29 import android.content.pm.IPackageInstallObserver2; 30 import android.content.pm.IPackageInstaller; 31 import android.content.pm.IPackageDeleteObserver [all...] |
PackageUserState.java | 17 package android.content.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_DISABLED_UNTIL_USED; 22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER; 23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 24 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_AWARE; 25 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_UNAWARE; 26 import static android.content.pm.PackageManager.MATCH_DISABLED_COMPONENTS; 27 import static android.content.pm.PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS [all...] |
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerInfo.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 23 import android.content.pm.ServiceInfo; 72 final PackageManager pm = context.getPackageManager(); local 78 parser = si.loadXmlMetaData(pm, SpellCheckerSession.SERVICE_META_DATA); 84 final Resources res = pm.getResourcesForApplication(si.applicationInfo); 211 * @param pm Supply a PackageManager used to load the spell checker's resources. 213 public CharSequence loadLabel(PackageManager pm) { 214 if (mLabel == 0 || pm == null) return ""; 215 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo) [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 27 import android.content.pm.ActivityInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ResolveInfo; 30 import android.content.pm.PackageManager.NameNotFoundException; 147 PackageManager pm; local 150 pm = mContext.createPackageContextAsUser("android", 0, 157 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser(new Intent(mAction), 161 parseComponentInfo(pm, resolveInfo, components); 178 void parseComponentInfo(PackageManager pm, ResolveInfo info, 184 parser = ai.loadXmlMetaData(pm, mMetaDataName) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestListActivity.java | 24 import android.content.pm.PackageInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageManager.NameNotFoundException; 27 import android.content.pm.PermissionInfo; 53 PackageManager pm = getPackageManager(); local 54 PackageInfo packageInfo = pm.getPackageInfo( 61 PermissionInfo info = pm.getPermissionInfo(permission, 0);
|
/cts/tests/tests/media/src/android/media/cts/ |
MidiSoloTest.java | 23 import android.content.pm.PackageManager; 86 PackageManager pm = getContext().getPackageManager(); local 87 if (!pm.hasSystemFeature(PackageManager.FEATURE_MIDI)) { 112 PackageManager pm = getContext().getPackageManager(); local 113 if (!pm.hasSystemFeature(PackageManager.FEATURE_MIDI)) { 157 PackageManager pm = getContext().getPackageManager(); local 158 if (!pm.hasSystemFeature(PackageManager.FEATURE_MIDI)) {
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
PrivappPermissionsTest.java | 21 import android.content.pm.PackageInfo; 22 import android.content.pm.PackageManager; 23 import android.content.pm.PermissionInfo; 37 import static android.content.pm.PackageManager.GET_PERMISSIONS; 55 PackageManager pm = getContext().getPackageManager(); local 56 PackageInfo platformPackage = pm.getPackageInfo(PLATFORM_PACKAGE_NAME, 66 List<PackageInfo> installedPackages = pm
|
/frameworks/base/services/core/java/com/android/server/storage/ |
AppCollector.java | 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.PackageManager.NameNotFoundException; 26 import android.content.pm.PackageStats; 27 import android.content.pm.UserInfo; 105 PackageManager pm, UserManager um, StorageStatsManager storageStatsManager) { 108 mPm = pm;
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
LensPickerUtils.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 116 public static Intent getMediaLaunchIntent(PackageManager pm, String packageName, 118 Intent intent = pm.getLaunchIntentForPackage(MEDIA_TEMPLATE_COMPONENT); 140 public static Intent getLaunchIntent(String packageName, ResolveInfo rInfo, PackageManager pm) { 142 return LensPickerUtils.getMediaLaunchIntent(pm, packageName, 146 return pm.getLaunchIntentForPackage(packageName);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.PackageParser; 25 import android.content.pm.PackageParser.PackageParserException; 100 final PackageManager pm = pContext.getPackageManager(); local 101 Drawable icon = appInfo.loadIcon(pm); 107 appInfo.loadLabel(pm),
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
UninstallAlertFragment.java | 20 import android.content.pm.ApplicationInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.UserInfo; 42 final PackageManager pm = getActivity().getPackageManager(); local 45 final CharSequence appLabel = dialogInfo.appInfo.loadLabel(pm); 52 final CharSequence activityLabel = dialogInfo.activityInfo.loadLabel(pm); 85 dialogInfo.appInfo.loadIcon(pm));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceProcessor.java | 156 public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException { 161 public RefactoringStatus checkFinalConditions(IProgressMonitor pm, 163 pm.beginTask("", 1); 168 pm.done(); 173 public Change createChange(IProgressMonitor pm) throws CoreException { 174 pm.beginTask("", 1); 179 pm.done();
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.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; 26 import android.content.pm.ServiceInfo; 138 PackageManager pm = mContext.getPackageManager(); local 141 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, 147 return getEngineInfo(resolveInfos.get(0), pm); 159 PackageManager pm = mContext.getPackageManager(); local 162 pm.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY) 198 PackageManager pm = mContext.getPackageManager(); local [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
AppRestrictionsHelper.java | 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.IPackageManager; 25 import android.content.pm.PackageInfo; 26 import android.content.pm.PackageManager; 27 import android.content.pm.ParceledListSlice; 28 import android.content.pm.ResolveInfo; 162 final PackageManager pm = mPackageManager; local 181 List<ApplicationInfo> installedApps = pm.getInstalledApplications( 192 info.appName = app.loadLabel(pm); 194 info.icon = app.loadIcon(pm); 299 final PackageManager pm = mPackageManager; local [all...] |
/external/python/cpython2/Mac/Modules/qdoffs/ |
_Qdoffsmodule.c | 237 PixMapHandle pm; local 242 ResObj_Convert, &pm)) 244 _rv = LockPixels(pm); 253 PixMapHandle pm; local 258 ResObj_Convert, &pm)) 260 UnlockPixels(pm); 402 PixMapHandle pm; local 407 ResObj_Convert, &pm)) 409 AllowPurgePixels(pm); 418 PixMapHandle pm; local 435 PixMapHandle pm; local 451 PixMapHandle pm; local 471 PixMapHandle pm; local 605 PixMapHandle pm; local 621 PixMapHandle pm; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
IntentFiltersTestHelper.java | 25 import android.content.pm.ActivityInfo; 26 import android.content.pm.PackageInfo; 27 import android.content.pm.PackageManager; 28 import android.content.pm.ResolveInfo; 155 PackageManager pm = mContext.getPackageManager(); local 157 if (pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { 189 if (pm.hasSystemFeature(PackageManager.FEATURE_NFC)) { 195 if (pm.hasSystemFeature(PackageManager.FEATURE_NFC_HOST_CARD_EMULATION)) { 201 if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { 217 if (pm.hasSystemFeature(PackageManager.FEATURE_WIFI)) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
VoiceInputHelper.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 24 import android.content.pm.ServiceInfo; 61 public BaseInfo(PackageManager pm, ServiceInfo _service, String _settings) { 67 label = _service.loadLabel(pm); 69 appLabel = _service.applicationInfo.loadLabel(pm); 81 public InteractionInfo(PackageManager pm, VoiceInteractionServiceInfo _service) { 82 super(pm, _service.getServiceInfo(), _service.getSettingsActivity()); 88 public RecognizerInfo(PackageManager pm, ServiceInfo _service, String _settings) { 89 super(pm, _service, _settings) [all...] |