Searched refs:packageManager (Results 1 – 5 of 5) sorted by relevance
71 PackageManager packageManager = context.getPackageManager(); in getGMSVersionCode() local72 PackageInfo packageInfo = packageManager.getPackageInfo("com.google.android.gms", 0); in getGMSVersionCode()117 PackageManager packageManager = context.getPackageManager(); in getPackageLabel() local118 ApplicationInfo appInfo = packageManager.getApplicationInfo(context.getPackageName(), in getPackageLabel()120 CharSequence label = packageManager.getApplicationLabel(appInfo); in getPackageLabel()
449 PackageManager packageManager = context.getPackageManager(); in getUserBadgedIcon() local450 drawable = packageManager.getUserBadgedIcon(drawable, Process.myUserHandle()); in getUserBadgedIcon()462 PackageManager packageManager = context.getPackageManager(); in getUserBadgedDrawableForDensity() local463 return packageManager.getUserBadgedDrawableForDensity( in getUserBadgedDrawableForDensity()
36 private PackageManager packageManager; field in ShadowContextWrapper125 …return realContextWrapper == getApplicationContext() ? packageManager : getApplicationContext().ge… in getPackageManager()224 public void setPackageManager(PackageManager packageManager) { in setPackageManager() argument225 this.packageManager = packageManager; in setPackageManager()
36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch() local37 … mSupportsMultitouch = packageManager.hasSystemFeature("android.hardware.touchscreen.multitouch"); in supportsMultitouch()
388 const jobject packageManager = env->CallObjectMethod(activity, getPMID); in getPackageManager() local390 return packageManager; in getPackageManager()395 const LocalRef packageManager (env, getPackageManager(env, activity)); in hasSystemFeature() local396 const jclass pmCls = getObjectClass(env, *packageManager); in hasSystemFeature()403 return env->CallBooleanMethodA(*packageManager, hasFeatureID, callArgs) == JNI_TRUE; in hasSystemFeature()