Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java173 final PackageManager packageManager = context.getPackageManager(); in isCallerAllowed() local
175 packageInfo = packageManager.getPackageInfo( in isCallerAllowed()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java114 PackageManager packageManager = activity.getPackageManager(); in isApplicationEnabled() local
116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( in isApplicationEnabled()
208 PackageManager packageManager = activity.getPackageManager(); in setAppEnabled() local
212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, in setAppEnabled()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java123 PackageManager packageManager = activity.getPackageManager(); in updateUi() local
125 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java148 PackageManager packageManager = getActivity().getPackageManager(); in isKitkatWithStepSensor() local
150 && packageManager.hasSystemFeature(PackageManager.FEATURE_SENSOR_STEP_COUNTER) in isKitkatWithStepSensor()
151 && packageManager.hasSystemFeature(PackageManager.FEATURE_SENSOR_STEP_DETECTOR); in isKitkatWithStepSensor()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailFragment.java477 final PackageManager packageManager = getActivity().getPackageManager(); in buildAddressLayout()
482 if (packageManager.resolveActivity( in buildAddressLayout()
/development/samples/Home/src/com/example/android/home/
DHome.java282 final PackageManager packageManager = getPackageManager(); in bindFavorites() local
307 info = getApplicationInfo(packageManager, intent); in bindFavorites()