/packages/apps/Settings/src/com/android/settings/voice/ |
D | VoiceInputHelper.java | 101 mAvailableVoiceInteractions = mContext.getPackageManager().queryIntentServices( in VoiceInputHelper() 104 mAvailableRecognition = mContext.getPackageManager().queryIntentServices( in VoiceInputHelper() 131 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi() 138 mAvailableInteractionInfos.add(new InteractionInfo(mContext.getPackageManager(), info)); in buildUi() 167 parser = si.loadXmlMetaData(mContext.getPackageManager(), in buildUi() 174 Resources res = mContext.getPackageManager().getResourcesForApplication( in buildUi() 204 mAvailableRecognizerInfos.add(new RecognizerInfo(mContext.getPackageManager(), in buildUi()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 50 .getContext().getPackageManager(); in setUp() 109 public PackageManager getPackageManager() { in createMockProviderCalls() method in BaseVoicemailProviderTest 110 return mActor.getProviderContext().getPackageManager(); in createMockProviderCalls() 159 public PackageManager getPackageManager(); 185 public PackageManager getPackageManager() { 186 return mDelegate.getPackageManager();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 63 permissionInfo = context.getPackageManager().getPermissionInfo(permissionName, 0); in create() 77 groupInfo = context.getPackageManager().getPermissionGroupInfo( in create() 87 permissionInfos = context.getPackageManager().queryPermissionsByGroup( in create() 103 groupInfo.packageName, groupInfo.loadLabel(context.getPackageManager()), in create() 156 final int flags = context.getPackageManager().getPermissionFlags( in create() 171 context.getPackageManager()); in loadGroupDescription() 174 context.getPackageManager()); in loadGroupDescription() 189 mPackageManager = mContext.getPackageManager(); in AppPermissionGroup()
|
D | PermissionApps.java | 67 mPm = mContext.getPackageManager(); in PermissionApps() 218 return mContext.getPackageManager().getPermissionGroupInfo(groupName, 0); in getGroupInfo() 223 return mContext.getPackageManager().getPermissionInfo(groupName, 0); in getGroupInfo() 232 return mContext.getPackageManager().queryPermissionsByGroup(groupName, 0); in getGroupPermissionInfos() 237 PermissionInfo permissionInfo = mContext.getPackageManager() in getGroupPermissionInfos()
|
D | PermissionGroups.java | 110 PackageManager packageManager = getContext().getPackageManager(); in loadInBackground() 155 List<PackageInfo> installedPackages = getContext().getPackageManager() in loadInBackground() 207 CharSequence label = itemInfo.loadLabel(getContext().getPackageManager()); in loadItemInfoLabel() 217 icon = Utils.loadDrawable(getContext().getPackageManager(), in loadItemInfoIcon()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardMoveConfirm.java | 47 mApp = getPackageManager().getApplicationInfo(mPackageName, 0); in onCreate() 55 getPackageManager().getPackageCandidateVolumes(mApp).contains(mVolume)); in onCreate() 57 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate() 70 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext() 71 final int moveId = getPackageManager().movePackage(mPackageName, mVolume); in onNavigateNext()
|
D | StorageWizardMoveProgress.java | 56 getPackageManager().registerMoveCallback(mCallback, new Handler()); in onCreate() 57 mCallback.onStatusChanged(mMoveId, getPackageManager().getMoveStatus(mMoveId), -1); in onCreate() 63 getPackageManager().unregisterMoveCallback(mCallback); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 188 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 222 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 224 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 255 info.getResolveInfo().loadLabel(getPackageManager())); in createEnableDialogContentView() 265 info.getResolveInfo().loadLabel(getPackageManager()))); in createEnableDialogContentView() 382 .loadLabel(getPackageManager())); in createConfirmCredentialReasonMessage() 415 if (!getPackageManager().queryIntentActivities(settingsIntent, 0).isEmpty()) { in onProcessArguments()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 166 dpi.loadLabel(activity.getPackageManager()))); in onListItemClick() 327 Drawable activityIcon = item.loadIcon(activity.getPackageManager()); in bindView() 328 Drawable badgedIcon = activity.getPackageManager().getUserBadgedIcon( in bindView() 331 vh.name.setText(item.loadLabel(activity.getPackageManager())); in bindView() 335 vh.description.setText(item.loadDescription(activity.getPackageManager())); in bindView() 393 final PackageManager pm = getActivity().getPackageManager(); in addDeviceAdminBroadcastReceiversForProfile() 434 final PackageManager packageManager = getActivity().getPackageManager(); in addActiveAdminsForProfile()
|
D | DevelopmentSettings.java | 578 context.getPackageManager().getApplicationEnabledSetting(TERMINAL_APP_PACKAGE) in updateAllOptions() 717 ApplicationInfo ai = getActivity().getPackageManager().getApplicationInfo( in writeMockLocation() 731 ApplicationInfo ai = getActivity().getPackageManager().getApplicationInfo( in writeMockLocation() 757 ApplicationInfo ai = getActivity().getPackageManager().getApplicationInfo(mDebugApp, in updateDebuggerOptions() 759 CharSequence lab = getActivity().getPackageManager().getApplicationLabel(ai); in updateDebuggerOptions() 789 ApplicationInfo ai = getActivity().getPackageManager().getApplicationInfo( in updateMockLocation() 791 CharSequence appLabel = getPackageManager().getApplicationLabel(ai); in updateMockLocation() 825 final PackageManager pm = getActivity().getPackageManager(); in enableVerifierSetting() 866 getPackageManager().setComponentEnabledSetting( in updateBugreportOptions() 874 getPackageManager().setComponentEnabledSetting( in updateBugreportOptions() [all …]
|
D | DeviceAdminAdd.java | 108 PackageManager packageManager = getPackageManager(); in onCreate() 432 mAdminIcon.setImageDrawable(mDeviceAdmin.loadIcon(getPackageManager())); in updateInterface() 433 mAdminName.setText(mDeviceAdmin.loadLabel(getPackageManager())); in updateInterface() 436 mDeviceAdmin.loadDescription(getPackageManager())); in updateInterface() 455 mDeviceAdmin.getActivityInfo().applicationInfo.loadLabel(getPackageManager()))); in updateInterface() 462 mDeviceAdmin.getActivityInfo().applicationInfo.loadLabel(getPackageManager()))); in updateInterface()
|
D | AppPicker.java | 98 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() 120 PackageInfo pi = getPackageManager().getPackageInfo(ai.packageName, in AppListAdapter() 141 info.label = info.info.loadLabel(getPackageManager()).toString(); in AppListAdapter() 160 holder.appIcon.setImageDrawable(info.info.loadIcon(getPackageManager())); in getView()
|
D | SettingsActivity.java | 710 getPackageManager().getHomeActivities(homeApps); in getHomeActivitiesCount() 1248 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)) { in updateTilesList() 1253 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH)) { in updateTilesList() 1281 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_NFC)) { in updateTilesList() 1287 !getPackageManager().hasSystemFeature( in updateTilesList() 1293 boolean hasPrintingSupport = getPackageManager().hasSystemFeature( in updateTilesList() 1334 PackageManager pm = getPackageManager(); in addExternalTiles() 1428 ActivityInfo ai = getPackageManager().getActivityInfo(getComponentName(), in getMetaData()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | DynamicIndexableContentMonitor.java | 105 mHasFeaturePrinting = mContext.getPackageManager().hasSystemFeature( in register() 107 mHasFeatureIme = mContext.getPackageManager().hasSystemFeature( in register() 201 final int state = mContext.getPackageManager().getApplicationEnabledSetting( in onPackageModified() 236 List<?> services = mContext.getPackageManager().queryIntentServices(intent, 0); in handlePackageAvailable() 247 List<?> services = mContext.getPackageManager().queryIntentServices(intent, 0); in handlePackageAvailable() 259 List<?> services = mContext.getPackageManager().queryIntentServices(intent, 0); in handlePackageAvailable()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | ProfileOwnerPreProvisioningActivity.java | 183 return PackageManager.PERMISSION_GRANTED == getPackageManager() in packageHasManageUsersPermission() 188 PackageManager pm = getPackageManager(); in systemHasManagedProfileFeature() 201 PackageManager pm = getPackageManager(); in currentLauncherSupportsManagedProfiles() 212 ApplicationInfo launcherAppInfo = getPackageManager().getApplicationInfo( in currentLauncherSupportsManagedProfiles() 225 MdmPackageInfo packageInfo = Utils.getMdmPackageInfo(getPackageManager(), packageName); in setMdmIcon()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 110 final PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp() 113 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user); in initSnippetForInstalledApp() 140 List<PackageInfo> installedList = context.getPackageManager().getInstalledPackages( in isPackageAlreadyInstalled() 198 icon = pContext.getPackageManager().getDefaultActivityIcon(); in getAppSnippet()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageDetail.java | 349 mPm = getActivity().getPackageManager(); in onCreate() 391 mPackages = context.getPackageManager().getPackagesForUid(mUid); in createDetails() 414 mApp = context.getPackageManager().getApplicationInfo( in createDetails() 468 final PackageManager pm = getActivity().getPackageManager(); in setupHeader() 480 appIcon = getActivity().getPackageManager().getDefaultActivityIcon(); in setupHeader() 587 PackageManager pm = getActivity().getPackageManager(); in fillControlsSection() 765 PackageManager pm = getPackageManager(); in fillPackagesSection()
|
D | RequestIgnoreBatteryOptimizations.java | 75 ai = getPackageManager().getApplicationInfo(mPackageName, 0); in onCreate() 82 if (getPackageManager().checkPermission( in onCreate() 93 p.mMessage = getString(R.string.high_power_prompt_body, ai.loadLabel(getPackageManager())); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServiceDetails.java | 290 description.setText(getActivity().getPackageManager().getText( in addServiceDetailsView() 298 … Resources clientr = getActivity().getPackageManager().getResourcesForApplication( in addServiceDetailsView() 363 ProviderInfo prov = getActivity().getPackageManager().getProviderInfo( in addProcessDetailsView() 365 label = RunningState.makeLabel(getActivity().getPackageManager(), in addProcessDetailsView() 375 ServiceInfo serv = getActivity().getPackageManager().getServiceInfo( in addProcessDetailsView() 377 label = RunningState.makeLabel(getActivity().getPackageManager(), in addProcessDetailsView()
|
D | AppStorageSettings.java | 195 final IPackageManager pm = AppGlobals.getPackageManager(); in isMoveInProgress() 210 final VolumeInfo currentVol = context.getPackageManager().getPackageCurrentVolume( in onClick() 303 final VolumeInfo currentVol = getActivity().getPackageManager() in refreshUi() 348 final List<VolumeInfo> candidates = context.getPackageManager() in initMoveDialog()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ApplicationUtils.java | 38 final ActivityInfo ai = context.getPackageManager().getActivityInfo(cn, 0); in getActivityTitleResId() 58 final PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in getVersionName() 76 final PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in getVersionCode()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | VoiceSearch.java | 57 ResolveInfo ri = mContext.getPackageManager(). in getResolveInfo() 96 return getContext().getPackageManager().getPackageInfo(ci.packageName, 0).versionCode; in getVersion() 104 return createVoiceSearchIntent().resolveActivity(getContext().getPackageManager()); in getComponent()
|
/packages/apps/Settings/tests/src/com/android/settings/ |
D | SettingsHookTests.java | 71 PackageManager pm = context.getPackageManager(); in testSettingsHookTestAppAvailable() 83 PackageManager pm = context.getPackageManager(); in testOperatorIntentFilter() 101 PackageManager pm = context.getPackageManager(); in testManufacturerIntentFilter()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 102 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid; in userOwnsPackage() 107 PackageManager packageManager = mContext.getPackageManager(); in isCleartextTrafficPermitted() 128 PackageManager packageManager = mContext.getPackageManager(); in isCleartextTrafficPermitted()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintServiceSettingsFragment.java | 363 List<ResolveInfo> resolvedActivities = getPackageManager().queryIntentActivities( in updateUiForArguments() 383 List<ResolveInfo> resolvedActivities = getPackageManager().queryIntentActivities( in updateUiForArguments() 584 PackageInfo packageInfo = getPackageManager().getPackageInfo( 586 subtitle = packageInfo.applicationInfo.loadLabel(getPackageManager()); 587 icon = packageInfo.applicationInfo.loadIcon(getPackageManager());
|