Home
last modified time | relevance | path

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

/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppEntry.java32 AppEntry(ResolveInfo info, PackageManager packageManager) { in AppEntry() argument
33 mLabel = info.loadLabel(packageManager).toString(); in AppEntry()
34 mIcon = info.loadIcon(packageManager); in AppEntry()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java36 PackageManager packageManager = getPackageManager(); in onCreate() local
49 ApplicationInfo info = packageManager.getApplicationInfo( in onCreate()
DStatusFragment.java87 PackageManager packageManager = activity.getPackageManager(); in updateUi() local
96 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi()
/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/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java97 PackageManager packageManager = context.getPackageManager(); in isCallerAllowed() local
100 packageInfo = packageManager.getPackageInfo( in isCallerAllowed()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DMainActivity.java277 PackageManager packageManager = getPackageManager(); in speakerIsSupported() local
280 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_AUDIO_OUTPUT)) { in speakerIsSupported()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java177 final PackageManager packageManager = getPackageManager(); in validatePackageName() local
178 final String possiblePackageNames[] = packageManager.getPackagesForUid(packageUid); in validatePackageName()
/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()