/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | AppEntry.java | 32 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/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | LauncherAdapter.java | 46 LauncherAdapter(PackageManager packageManager) { in LauncherAdapter() argument 47 this(packageManager, null); in LauncherAdapter() 50 LauncherAdapter(PackageManager packageManager, WallpaperManager wallpaperManager) { in LauncherAdapter() argument 51 mPackageManager = packageManager; in LauncherAdapter() 62 packageManager.queryIntentActivities( in LauncherAdapter()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionEvent.java | 42 final IPackageManager packageManager = AppGlobals.getPackageManager(); in injectEvent() local 47 int perm = packageManager.checkPermission(mPermissionInfo.name, mPkg, currentUser); in injectEvent()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | MainActivity.java | 36 PackageManager packageManager = getPackageManager(); in onCreate() local 49 ApplicationInfo info = packageManager.getApplicationInfo( in onCreate()
|
D | StatusFragment.java | 87 PackageManager packageManager = activity.getPackageManager(); in updateUi() local 96 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi()
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 114 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/ |
D | PackageValidator.java | 97 PackageManager packageManager = context.getPackageManager(); in isCallerAllowed() local 100 packageInfo = packageManager.getPackageInfo( in isCallerAllowed()
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | MainActivity.java | 277 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/ |
D | ImageKeyboard.java | 177 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/ |
D | BatchStepSensorFragment.java | 148 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/ |
D | ContactDetailFragment.java | 477 final PackageManager packageManager = getActivity().getPackageManager(); in buildAddressLayout() 482 if (packageManager.resolveActivity( in buildAddressLayout()
|
/development/samples/Home/src/com/example/android/home/ |
D | Home.java | 282 final PackageManager packageManager = getPackageManager(); in bindFavorites() local 307 info = getApplicationInfo(packageManager, intent); in bindFavorites()
|