Home
last modified time | relevance | path

Searched refs:packageManager (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/base/android/java/src/org/chromium/base/
DBuildInfo.java71 PackageManager packageManager = context.getPackageManager(); in getGMSVersionCode() local
72 PackageInfo packageInfo = packageManager.getPackageInfo("com.google.android.gms", 0); in getGMSVersionCode()
117 PackageManager packageManager = context.getPackageManager(); in getPackageLabel() local
118 ApplicationInfo appInfo = packageManager.getApplicationInfo(context.getPackageName(), in getPackageLabel()
120 CharSequence label = packageManager.getApplicationLabel(appInfo); in getPackageLabel()
DApiCompatibilityUtils.java449 PackageManager packageManager = context.getPackageManager(); in getUserBadgedIcon() local
450 drawable = packageManager.getUserBadgedIcon(drawable, Process.myUserHandle()); in getUserBadgedIcon()
462 PackageManager packageManager = context.getPackageManager(); in getUserBadgedDrawableForDensity() local
463 return packageManager.getUserBadgedDrawableForDensity( in getUserBadgedDrawableForDensity()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContextWrapper.java36 private PackageManager packageManager; field in ShadowContextWrapper
125 …return realContextWrapper == getApplicationContext() ? packageManager : getApplicationContext().ge… in getPackageManager()
224 public void setPackageManager(PackageManager packageManager) { in setPackageManager() argument
225 this.packageManager = packageManager; in setPackageManager()
/external/replicaisland/src/com/replica/replicaisland/
DMultiTouchFilter.java36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch() local
37 … mSupportsMultitouch = packageManager.hasSystemFeature("android.hardware.touchscreen.multitouch"); in supportsMultitouch()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp388 const jobject packageManager = env->CallObjectMethod(activity, getPMID); in getPackageManager() local
390 return packageManager; in getPackageManager()
395 const LocalRef packageManager (env, getPackageManager(env, activity)); in hasSystemFeature() local
396 const jclass pmCls = getObjectClass(env, *packageManager); in hasSystemFeature()
403 return env->CallBooleanMethodA(*packageManager, hasFeatureID, callArgs) == JNI_TRUE; in hasSystemFeature()