/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 24 import android.content.pm.IPackageManager; 25 import android.content.pm.PackageManager; 151 IPackageManager pm = ActivityThread.getPackageManager(); local 152 if (pm == null) { 157 if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC_HOST_CARD_EMULATION)) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
IconUtils.java | 20 import android.content.pm.PackageManager; 21 import android.content.pm.ProviderInfo; 198 final PackageManager pm = context.getPackageManager(); local 199 final ProviderInfo info = pm.resolveContentProvider(authority, 0); 201 return pm.getDrawable(info.packageName, icon, info.applicationInfo);
|
/frameworks/base/services/java/com/android/server/search/ |
SearchManagerService.java | 31 import android.content.pm.IPackageManager; 32 import android.content.pm.PackageManager; 33 import android.content.pm.ResolveInfo; 245 IPackageManager pm = AppGlobals.getPackageManager(); local 248 pm.resolveIntent(assistIntent,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 25 import android.content.pm.ActivityInfo; 26 import android.content.pm.ApplicationInfo; 27 import android.content.pm.PackageManager; 28 import android.content.pm.ProviderInfo; 29 import android.content.pm.ResolveInfo;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
HwTests.java | 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo; 64 PackageManager pm = getPackageManager(); local 65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); 86 CharSequence labelSeq = info.loadLabel(pm);
|
/frameworks/support/v4/java/android/support/v4/app/ |
NavUtils.java | 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.PackageManager.NameNotFoundException; 297 PackageManager pm = context.getPackageManager(); local 298 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 21 import android.content.pm.PackageManager; 280 final PackageManager pm = context.getPackageManager(); local 281 return pm.getText(packageName, resId, null); 291 final PackageManager pm = context.getPackageManager(); local 292 return pm.getDrawable(this.syncAdapterPackageName, this.iconRes, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutInfo.java | 23 import android.content.pm.PackageInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.PackageManager.NameNotFoundException; 131 PackageManager pm = context.getPackageManager(); local 132 pi = pm.getPackageInfo(packageName, 0);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
UninstallerActivity.java | 26 import android.content.pm.ActivityInfo; 27 import android.content.pm.ApplicationInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.PackageManager.NameNotFoundException; 30 import android.content.pm.ResolveInfo;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsDetails.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.PermissionGroupInfo; 28 import android.content.pm.PermissionInfo;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 25 import android.content.pm.PackageManager; 121 final PackageManager pm = context.getPackageManager(); local 122 return pm.getText(this.summaryResPackageName, this.titleRes, null); 132 final PackageManager pm = context.getPackageManager(); local 133 return pm.getDrawable(this.summaryResPackageName, this.iconRes, null);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 22 import android.content.pm.PackageManager; 23 import android.content.pm.ResolveInfo; 186 PackageManager pm = mContext.getPackageManager(); local 187 List<ResolveInfo> list = pm.queryIntentActivities(intent, 193 Drawable icon = list.get(0).activityInfo.loadIcon(pm);
|
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/ |
MainActivity.java | 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 64 PackageManager pm = getPackageManager(); local 65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); 86 CharSequence labelSeq = info.loadLabel(pm);
|
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 24 import android.content.pm.ActivityInfo; 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.ComponentInfo; 27 import android.content.pm.ContainerEncryptionParams; 28 import android.content.pm.FeatureInfo; 29 import android.content.pm.IPackageDataObserver; 30 import android.content.pm.IPackageDeleteObserver; 31 import android.content.pm.IPackageInstallObserver; 32 import android.content.pm.IPackageManager; 33 import android.content.pm.IPackageMoveObserver [all...] |
/external/openssh/openbsd-compat/ |
glob.c | 249 const Char *pe, *pm, *pl; local 253 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) 262 for (pm = pe++; *pe != RBRACKET && *pe != EOS; pe++) 269 pe = pm; 283 for (i = 0, pl = pm = ptr; pm <= pe; pm++) { 284 switch (*pm) { [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.PackageInfo; 26 import android.content.pm.PackageManager; 27 import android.content.pm.PackageManager.NameNotFoundException; 28 import android.content.pm.PermissionGroupInfo; 29 import android.content.pm.PermissionInfo; 100 public Drawable loadGroupIcon(PackageManager pm) { 102 return loadIcon(pm); 106 appInfo = pm.getApplicationInfo(packageName, 0); 107 return appInfo.loadIcon(pm); 162 PackageManager pm = getContext().getPackageManager(); local 194 PackageManager pm = getContext().getPackageManager(); local [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
OpenGlEsVersionTest.java | 22 import android.content.pm.ConfigurationInfo; 23 import android.content.pm.FeatureInfo; 24 import android.content.pm.PackageManager;
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
SimpleWikiHelper.java | 30 import android.content.pm.PackageInfo; 31 import android.content.pm.PackageManager; 32 import android.content.pm.PackageManager.NameNotFoundException;
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
SimpleWikiHelper.java | 30 import android.content.pm.PackageInfo; 31 import android.content.pm.PackageManager; 32 import android.content.pm.PackageManager.NameNotFoundException;
|
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 31 void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) 36 if(pm==PM_Normalized) 40 else if(pm==PM_Viewport)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentTasksLoader.java | 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 148 final PackageManager pm = mContext.getPackageManager(); local 150 .resolveActivityInfo(pm, 0); 164 final PackageManager pm = mContext.getPackageManager(); local 167 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 170 final String title = info.loadLabel(pm).toString(); 192 final PackageManager pm = mContext.getPackageManager(); local 194 Drawable icon = getFullResIcon(td.resolveInfo, pm); [all...] |
/frameworks/base/services/java/com/android/server/ |
RecognitionManagerService.java | 27 import android.content.pm.IPackageManager; 28 import android.content.pm.ResolveInfo; 29 import android.content.pm.ServiceInfo;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageVerificationStateTest.java | 17 package com.android.server.pm; 19 import android.content.pm.PackageManager; 20 import com.android.server.pm.PackageVerificationState;
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
AppCompatibility.java | 24 import android.content.pm.PackageInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageManager.NameNotFoundException;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxService.java | 27 import android.content.pm.PackageManager; 124 PackageManager pm = getPackageManager(); 125 String uidname = pm.getNameForUid(getCallingUid());
|