HomeSort by relevance Sort by last modified time
    Searched refs:PackageManager (Results 176 - 200 of 655) sorted by null

1 2 3 4 5 6 78 91011>>

  /sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
ConfigGenerator.java 23 import android.content.pm.PackageManager;
167 PackageManager packageMgr = mCtx.getPackageManager();
292 .hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND)) {
295 .hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT)) {
297 } else if (packageMgr.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH)) {
330 if (packageMgr.hasSystemFeature(PackageManager.FEATURE_WIFI)) {
333 if (packageMgr.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH)) {
336 if (packageMgr.hasSystemFeature(PackageManager.FEATURE_NFC)) {
344 if (packageMgr.hasSystemFeature(PackageManager.FEATURE_SENSOR_ACCELEROMETER)) {
347 if (packageMgr.hasSystemFeature(PackageManager.FEATURE_SENSOR_BAROMETER))
    [all...]
  /frameworks/base/core/java/android/content/pm/
PackageParser.java 154 private int mParseError = PackageManager.INSTALL_SUCCEEDED;
282 || (flags & PackageManager.GET_UNINSTALLED_PACKAGES) != 0;
312 if ((flags&PackageManager.GET_GIDS) != 0) {
315 if ((flags&PackageManager.GET_CONFIGURATIONS) != 0) {
327 if ((flags&PackageManager.GET_ACTIVITIES) != 0) {
330 if ((flags&PackageManager.GET_DISABLED_COMPONENTS) != 0) {
342 || (flags&PackageManager.GET_DISABLED_COMPONENTS) != 0) {
349 if ((flags&PackageManager.GET_RECEIVERS) != 0) {
352 if ((flags&PackageManager.GET_DISABLED_COMPONENTS) != 0) {
364 || (flags&PackageManager.GET_DISABLED_COMPONENTS) != 0)
    [all...]
PermissionGroupInfo.java 74 * will call back on the given PackageManager to load the description from
77 * @param pm A PackageManager from which the label can be loaded; usually
78 * the PackageManager from which you originally retrieved this item.
83 public CharSequence loadDescription(PackageManager pm) {
  /cts/tests/tests/content/src/android/content/pm/cts/
ComponentInfoTest.java 21 import android.content.pm.PackageManager;
22 import android.content.pm.PackageManager.NameNotFoundException;
73 PackageManager pm = mContext.getPackageManager();
187 final PackageManager pm = mContext.getPackageManager();
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 28 import android.content.pm.PackageManager;
71 PackageManager packageManager = mContext.getPackageManager();
72 mHasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY);
73 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI);
  /development/apps/Development/src/com/android/development/
AppHwPref.java 28 import android.content.pm.PackageManager;
29 import android.content.pm.PackageManager.NameNotFoundException;
52 PackageManager mPm;
71 pInfo = mPm.getPackageInfo(pkgName, PackageManager.GET_CONFIGURATIONS);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SpeechRecognition.java 10 import android.content.pm.PackageManager;
11 import android.content.pm.PackageManager.NameNotFoundException;
179 PackageManager pm = context.getPackageManager();
181 final List<ResolveInfo> list = pm.queryIntentServices(intent, PackageManager.GET_SERVICES);
  /frameworks/base/core/java/android/accounts/
GrantCredentialsPermissionActivity.java 28 import android.content.pm.PackageManager;
71 final PackageManager pm = getPackageManager();
125 } catch (PackageManager.NameNotFoundException e) {
143 } catch (PackageManager.NameNotFoundException e) {
  /frameworks/base/core/java/android/net/
NetworkPolicyManager.java 19 import static android.content.pm.PackageManager.GET_SIGNATURES;
25 import android.content.pm.PackageManager;
26 import android.content.pm.PackageManager.NameNotFoundException;
245 final PackageManager pm = context.getPackageManager();
  /frameworks/base/core/java/android/view/textservice/
SpellCheckerInfo.java 24 import android.content.pm.PackageManager;
70 final PackageManager pm = context.getPackageManager();
205 * @param pm Supply a PackageManager used to load the spell checker's resources.
207 public CharSequence loadLabel(PackageManager pm) {
215 * @param pm Supply a PackageManager used to load the spell checker's resources.
217 public Drawable loadIcon(PackageManager pm) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ServiceMonitor.java 26 import android.content.pm.PackageManager;
200 PackageManager pm = mContext.getPackageManager();
203 != PackageManager.COMPONENT_ENABLED_STATE_DISABLED
205 != PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
  /frameworks/base/services/java/com/android/server/media/
RemoteDisplayProviderWatcher.java 25 import android.content.pm.PackageManager;
52 private final PackageManager mPackageManager;
177 packageName) == PackageManager.PERMISSION_GRANTED) {
181 packageName) == PackageManager.PERMISSION_GRANTED) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccPhoneBookInterfaceManager.java 19 import android.content.pm.PackageManager;
167 != PackageManager.PERMISSION_GRANTED) {
220 != PackageManager.PERMISSION_GRANTED) {
270 != PackageManager.PERMISSION_GRANTED) {
  /frameworks/support/v4/java/android/support/v4/app/
NavUtils.java 24 import android.content.pm.PackageManager;
25 import android.content.pm.PackageManager.NameNotFoundException;
297 PackageManager pm = context.getPackageManager();
298 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
  /frameworks/volley/src/com/android/volley/toolbox/
Volley.java 21 import android.content.pm.PackageManager.NameNotFoundException;
  /packages/apps/Browser/src/com/android/browser/
UrlHandler.java 23 import android.content.pm.PackageManager;
200 PackageManager pm = mActivity.getPackageManager();
202 PackageManager.GET_RESOLVED_FILTER);
286 PackageManager pm = mActivity.getPackageManager();
  /packages/apps/Browser/src/com/android/browser/search/
SearchEnginePreference.java 24 import android.content.pm.PackageManager;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java 24 import android.content.pm.PackageManager;
39 * Internally hold a cache of scaled icons based on {@link PackageManager}
64 private final PackageManager mPackageManager;
137 PackageManager.MATCH_DEFAULT_ONLY);
172 PackageManager.MATCH_DEFAULT_ONLY);
198 * Check {@link PackageManager} to see if any apps offer to handle the
226 * {@link PackageManager} query.
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 24 import android.content.pm.PackageManager;
49 private final PackageManager mPackageManager;
86 } catch (PackageManager.NameNotFoundException e) {
107 } catch (PackageManager.NameNotFoundException e) {
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
LiveWallpaperListAdapter.java 23 import android.content.pm.PackageManager;
51 private final PackageManager mPackageManager;
62 PackageManager.GET_META_DATA);
143 final PackageManager packageManager = mContext.getPackageManager();
155 return mCollator.compare(info1.loadLabel(packageManager),
156 info2.loadLabel(packageManager));
173 Drawable thumb = info.loadThumbnail(packageManager);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
UninstallerActivity.java 28 import android.content.pm.PackageManager;
29 import android.content.pm.PackageManager.NameNotFoundException;
55 PackageManager mPm;
134 mAppInfo = mPm.getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ApplicationUtils.java 24 import android.content.pm.PackageManager.NameNotFoundException;
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeSystemFacade.java 4 import android.content.pm.PackageManager.NameNotFoundException;
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperListAdapter.java 22 import android.content.pm.PackageManager;
56 private final PackageManager mPackageManager;
67 PackageManager.GET_META_DATA);
151 final PackageManager packageManager = mContext.getPackageManager();
170 return mCollator.compare(info1.loadLabel(packageManager),
171 info2.loadLabel(packageManager));
192 Drawable thumb = info.loadThumbnail(packageManager);
210 String title = info.loadLabel(packageManager).toString();
  /packages/apps/Email/src/com/android/email/service/
EmailBroadcastProcessorService.java 28 import android.content.pm.PackageManager;
150 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
155 == PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
375 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
376 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
377 PackageManager.DONT_KILL_APP);

Completed in 791 milliseconds

1 2 3 4 5 6 78 91011>>