Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 25 of 48) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmap.java21 import android.content.pm.ActivityInfo;
22 import android.content.pm.PackageManager;
23 import android.content.pm.PackageManager.NameNotFoundException;
72 PackageManager pm = getPackageManager(); in detectIfPurgeableRequest() local
75 ActivityInfo info = pm.getActivityInfo(this.getComponentName(), in detectIfPurgeableRequest()
77 labelSeq = info.loadLabel(pm); in detectIfPurgeableRequest()
DGLES20Activity.java22 import android.content.pm.ConfigurationInfo;
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetProvider.java23 import android.content.pm.PackageManager;
83 PackageManager pm = context.getPackageManager(); in onEnabled() local
84 pm.setComponentEnabledSetting( in onEnabled()
95 PackageManager pm = context.getPackageManager(); in onDisabled() local
96 pm.setComponentEnabledSetting( in onDisabled()
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java23 import android.content.pm.PackageManager;
62 PackageManager pm = getPackageManager(); in onCreate() local
64 pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0); in onCreate()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
55 PackageManager pm = getPackageManager(); in querySampleActivities() local
56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); in querySampleActivities()
63 final CharSequence labelSeq = info.loadLabel(pm); in querySampleActivities()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DAppNavHomeActivity.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
55 PackageManager pm = getPackageManager(); in querySampleActivities() local
56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); in querySampleActivities()
63 final CharSequence labelSeq = info.loadLabel(pm); in querySampleActivities()
/development/apps/Development/src/com/android/development/
DShowActivity.java23 import android.content.pm.ActivityInfo;
24 import android.content.pm.PackageManager;
68 final PackageManager pm = getPackageManager(); in onCreate() local
70 mActivityInfo = pm.getActivityInfo(ComponentName.unflattenFromString( in onCreate()
76 mIconImage.setImageDrawable(mActivityInfo.loadIcon(pm)); in onCreate()
84 CharSequence label = mActivityInfo.loadLabel(pm); in onCreate()
DDevelopment.java23 import android.content.pm.PackageManager;
24 import android.content.pm.ResolveInfo;
DPackageSummary.java24 import android.content.pm.ActivityInfo;
25 import android.content.pm.ApplicationInfo;
26 import android.content.pm.InstrumentationInfo;
27 import android.content.pm.PackageInfo;
28 import android.content.pm.PackageManager;
29 import android.content.pm.ProviderInfo;
30 import android.content.pm.ServiceInfo;
67 final PackageManager pm = getPackageManager(); in onCreate() local
89 info = pm.getPackageInfo(mPackageName, in onCreate()
103 pm.getApplicationIcon(info.applicationInfo)); in onCreate()
DAppHwConfigList.java23 import android.content.pm.ApplicationInfo;
24 import android.content.pm.PackageInfo;
25 import android.content.pm.PackageManager;
26 import android.content.pm.PackageManager.NameNotFoundException;
DAppHwPref.java25 import android.content.pm.ConfigurationInfo;
26 import android.content.pm.ApplicationInfo;
27 import android.content.pm.PackageInfo;
28 import android.content.pm.PackageManager;
29 import android.content.pm.PackageManager.NameNotFoundException;
DPermissionDetails.java33 import android.content.pm.ApplicationInfo;
34 import android.content.pm.PackageInfo;
35 import android.content.pm.PackageManager;
36 import android.content.pm.PermissionInfo;
37 import android.content.pm.PackageManager.NameNotFoundException;
DPackageBrowser.java22 import android.content.pm.IPackageDeleteObserver;
26 import android.content.pm.PackageInfo;
27 import android.content.pm.PackageManager;
DProcessInfo.java22 import android.content.pm.PackageManager;
DInstrumentationList.java24 import android.content.pm.InstrumentationInfo;
25 import android.content.pm.PackageManager;
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
61 PackageManager pm = getPackageManager(); in getData() local
62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
83 CharSequence labelSeq = info.loadLabel(pm); in getData()
/development/samples/Support13Demos/src/com/example/android/supportv13/
DSupport13Demos.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
61 PackageManager pm = getPackageManager(); in getData() local
62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
83 CharSequence labelSeq = info.loadLabel(pm); in getData()
/development/samples/Support7Demos/src/com/example/android/supportv7/
DSupport7Demos.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
61 PackageManager pm = getPackageManager(); in getData() local
62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
83 CharSequence labelSeq = info.loadLabel(pm); in getData()
/development/samples/Support4Demos/src/com/example/android/supportv4/
DSupport4Demos.java21 import android.content.pm.PackageManager;
22 import android.content.pm.ResolveInfo;
61 PackageManager pm = getPackageManager(); in getData() local
62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
83 CharSequence labelSeq = info.loadLabel(pm); in getData()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java28 import android.content.pm.PackageManager;
70 final PackageManager pm = this.getPackageManager(); in onCreate() local
74 enableCheckBox.setChecked(pm.getComponentEnabledSetting(componentName) == in onCreate()
81 pm.setComponentEnabledSetting(componentName, in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DVoiceRecognition.java25 import android.content.pm.PackageManager;
26 import android.content.pm.ResolveInfo;
78 PackageManager pm = getPackageManager(); in onCreate() local
79 List<ResolveInfo> activities = pm.queryIntentActivities( in onCreate()
DScreenOrientation.java23 import android.content.pm.ActivityInfo;
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java30 import android.content.pm.PackageInfo;
31 import android.content.pm.PackageManager;
32 import android.content.pm.PackageManager.NameNotFoundException;
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java30 import android.content.pm.PackageInfo;
31 import android.content.pm.PackageManager;
32 import android.content.pm.PackageManager.NameNotFoundException;
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation6.java23 import android.content.pm.ResolveInfo;

12