Searched refs:packageManager (Results 1 – 3 of 3) sorted by relevance
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()