/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/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/Settings/src/com/android/settings/voice/ |
D | VoiceInputHelper.java | 102 mAvailableVoiceInteractions = mContext.getPackageManager().queryIntentServices( in VoiceInputHelper() 105 mAvailableRecognition = mContext.getPackageManager().queryIntentServices( in VoiceInputHelper() 132 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi() 139 mAvailableInteractionInfos.add(new InteractionInfo(mContext.getPackageManager(), info)); in buildUi() 168 parser = si.loadXmlMetaData(mContext.getPackageManager(), in buildUi() 175 Resources res = mContext.getPackageManager().getResourcesForApplication( in buildUi() 205 mAvailableRecognizerInfos.add(new RecognizerInfo(mContext.getPackageManager(), in buildUi()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | PermissionUtils.java | 22 sHasAccessAllEpgPermission = context.getPackageManager().checkPermission( in hasAccessAllEpg() 37 sHasAccessWatchedHistoryPermission = context.getPackageManager().checkPermission( in hasAccessWatchedHistory() 52 sHasModifyParentalControlsPermission = context.getPackageManager().checkPermission( in hasModifyParentalControls() 65 return context.getPackageManager().checkPermission( in hasReadTvListings()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 139 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 173 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 175 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog() 216 info.getResolveInfo().loadLabel(getPackageManager())); in createEnableDialogContentView() 226 info.getResolveInfo().loadLabel(getPackageManager()))); in createEnableDialogContentView() 343 .loadLabel(getPackageManager())); in createConfirmCredentialReasonMessage() 376 if (!getPackageManager().queryIntentActivities(settingsIntent, 0).isEmpty()) { in onProcessArguments()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 65 permissionInfo = context.getPackageManager().getPermissionInfo(permissionName, 0); in create() 79 groupInfo = context.getPackageManager().getPermissionGroupInfo( in create() 89 permissionInfos = context.getPackageManager().queryPermissionsByGroup( in create() 105 groupInfo.packageName, groupInfo.loadLabel(context.getPackageManager()), in create() 157 final int flags = context.getPackageManager().getPermissionFlags( in create() 172 context.getPackageManager()); in loadGroupDescription() 175 context.getPackageManager()); in loadGroupDescription() 190 mPackageManager = mContext.getPackageManager(); in AppPermissionGroup()
|
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()
|
D | PermissionApps.java | 68 mPm = mContext.getPackageManager(); in PermissionApps() 234 return mContext.getPackageManager().getPermissionGroupInfo(groupName, 0); in getGroupInfo() 239 return mContext.getPackageManager().getPermissionInfo(groupName, 0); in getGroupInfo() 248 return mContext.getPackageManager().queryPermissionsByGroup(groupName, 0); in getGroupPermissionInfos() 253 PermissionInfo permissionInfo = mContext.getPackageManager() in getGroupPermissionInfos()
|
/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/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 282 Drawable activityIcon = item.loadIcon(activity.getPackageManager()); in bindView() 283 Drawable badgedIcon = activity.getPackageManager().getUserBadgedIcon( in bindView() 286 vh.name.setText(item.loadLabel(activity.getPackageManager())); in bindView() 290 vh.description.setText(item.loadDescription(activity.getPackageManager())); in bindView() 348 final PackageManager pm = getActivity().getPackageManager(); in addDeviceAdminBroadcastReceiversForProfile() 390 final PackageManager packageManager = getActivity().getPackageManager(); in addActiveAdminsForProfile() 391 final IPackageManager iPackageManager = AppGlobals.getPackageManager(); in addActiveAdminsForProfile()
|
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 | ShowAdminSupportDetailsDialog.java | 99 return AppGlobals.getPackageManager().checkUidPermission(permission, uid) in checkIfCallerHasPermission() 115 ai = AppGlobals.getPackageManager().getReceiverInfo(admin, 0 /* flags */, in initializeDialogViews() 121 Drawable icon = ai.loadIcon(getPackageManager()); in initializeDialogViews() 122 Drawable badgedIcon = getPackageManager().getUserBadgedIcon( in initializeDialogViews()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | DefaultHomePreference.java | 58 getContext().getPackageManager().replacePreferredActivity(mHomeFilter, in persistString() 69 PackageManager pm = getContext().getPackageManager(); in refreshHomeOptions() 120 PackageManager pm = context.getPackageManager(); in hasHomePreference() 132 PackageManager pm = context.getPackageManager(); in isHomeDefault()
|
D | DefaultBrowserPreference.java | 49 mPm = context.getPackageManager(); in DefaultBrowserPreference() 93 final PackageManager pm = getContext().getPackageManager(); in updateDefaultBrowserPreference() 184 context.getPackageManager().queryIntentActivities(intent, 0); in hasBrowserPreference() 189 String defaultPackage = context.getPackageManager() in isBrowserDefault()
|
D | DefaultEmergencyPreference.java | 92 PackageManager packageManager = getContext().getPackageManager(); in resolveAssistPackageAndQueryApps() 149 && context.getPackageManager().resolveActivity(QUERY_INTENT, 0) != null; in isAvailable() 156 context.getPackageManager().queryIntentActivities(i, 0); in hasEmergencyPreference()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 95 final PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp() 98 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user); in initSnippetForInstalledApp() 125 List<PackageInfo> installedList = context.getPackageManager().getInstalledPackages( in isPackageAlreadyInstalled() 183 icon = pContext.getPackageManager().getDefaultActivityIcon(); in getAppSnippet()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 84 mPackageInfo = getActivity().getPackageManager().getPackageInfo(pkg, in onCreate() 131 PackageManager pm = getActivity().getPackageManager(); in updateUi() 235 pref.setTitle(perm.loadLabel(getActivity().getPackageManager())); in getMutablePreference() 255 final PackageManager pm = getActivity().getPackageManager(); in getImmutablePreference() 282 icon = perm.loadIcon(context.getPackageManager()); in getTintedPermissionIcon() 284 icon = group.loadIcon(context.getPackageManager()); in getTintedPermissionIcon()
|
/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/app/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/apps/Settings/src/com/android/settings/search/ |
D | DynamicIndexableContentMonitor.java | 115 boolean hasFeaturePrinting = mContext.getPackageManager().hasSystemFeature( in register() 117 mHasFeatureIme = mContext.getPackageManager().hasSystemFeature( in register() 202 final int state = mContext.getPackageManager().getApplicationEnabledSetting( in onPackageModified() 240 List<?> services = mContext.getPackageManager().queryIntentServices(intent, 0); in handlePackageAvailable() 251 List<?> services = mContext.getPackageManager().queryIntentServices(intent, 0); in handlePackageAvailable()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarUiResourceLoader.java | 44 res = context.getPackageManager().getResourcesForApplication(CAR_UI_PACKAGE); in getDrawable() 66 res = context.getPackageManager().getResourcesForApplication(CAR_UI_PACKAGE); in getBoolean() 84 res = context.getPackageManager().getResourcesForApplication(CAR_UI_PACKAGE); in getDimen()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 82 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid; in userOwnsPackage() 87 PackageManager packageManager = mContext.getPackageManager(); in isCleartextTrafficPermitted() 123 PackageManager packageManager = mContext.getPackageManager(); in isCleartextTrafficPermitted()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsage.java | 143 PackageManager pm = getPackageManager(); in onCreate() 167 PackageManager pm = getPackageManager(); in onCreate() 199 final PackageManager pm = getPackageManager(); in onCreate() 279 String[] packages = getPackageManager().getPackagesForUid(uid); in addUid() 330 uid = pkg != null ? getPackageManager().getPackageUid(pkg, 0) : 0; in onViewCreated() 381 PackageManager pm = getPackageManager(); in doInBackground()
|