/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 62 IPackageManager packageManager, TelephonyManager telephonyManager, int userId) { in disableCarrierAppsUntilPrivileged() argument 68 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, userId, in disableCarrierAppsUntilPrivileged() 75 IPackageManager packageManager, TelephonyManager telephonyManager, int userId, in disableCarrierAppsUntilPrivileged() argument 77 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidatesHelper(packageManager, in disableCarrierAppsUntilPrivileged() 101 packageManager.setApplicationEnabledSetting(packageName, in disableCarrierAppsUntilPrivileged() 109 packageManager.setApplicationEnabledSetting(packageName, in disableCarrierAppsUntilPrivileged() 126 packageManager.grantDefaultPermissionsToEnabledCarrierApps(packageNames, userId); in disableCarrierAppsUntilPrivileged() 140 public static List<ApplicationInfo> getDefaultCarrierApps(IPackageManager packageManager, in getDefaultCarrierApps() argument 143 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidates(packageManager, userId); in getDefaultCarrierApps() 177 IPackageManager packageManager, int userId) { in getDefaultCarrierAppCandidates() argument [all …]
|
D | SmsApplication.java | 173 PackageManager packageManager = context.getPackageManager(); in getApplicationCollectionInternal() local 177 List<ResolveInfo> smsReceivers = packageManager.queryBroadcastReceivers(intent, 0, in getApplicationCollectionInternal() 193 final String applicationName = resolveInfo.loadLabel(packageManager).toString(); in getApplicationCollectionInternal() 204 List<ResolveInfo> mmsReceivers = packageManager.queryBroadcastReceivers(intent, 0, in getApplicationCollectionInternal() 224 List<ResolveInfo> respondServices = packageManager.queryIntentServicesAsUser(intent, 0, in getApplicationCollectionInternal() 244 List<ResolveInfo> sendToActivities = packageManager.queryIntentActivitiesAsUser(intent, 0, in getApplicationCollectionInternal() 383 PackageManager packageManager = context.getPackageManager(); in getApplication() local 384 configurePreferredActivity(packageManager, new ComponentName( in getApplication() 388 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 390 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PreviewInflater.java | 92 PackageManager packageManager = mContext.getPackageManager(); in getWidgetInfoFromService() local 95 Bundle metaData = packageManager.getServiceInfo( in getWidgetInfoFromService() 121 PackageManager packageManager = mContext.getPackageManager(); in getWidgetInfo() local 122 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in getWidgetInfo() 127 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in getWidgetInfo() 151 PackageManager packageManager = ctx.getPackageManager(); in getTargetActivityInfo() local 152 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in getTargetActivityInfo() 157 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in getTargetActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ShortcutManager.java | 96 PackageManager packageManager = mContext.getPackageManager(); in loadShortcuts() local 131 info = packageManager.getActivityInfo(componentName, 0); in loadShortcuts() 133 String[] packages = packageManager.canonicalToCurrentPackageNames( in loadShortcuts() 137 info = packageManager.getActivityInfo(componentName, 0); in loadShortcuts() 148 title = info.loadLabel(packageManager).toString(); in loadShortcuts()
|
/frameworks/base/core/java/android/widget/ |
D | ShareActionProvider.java | 203 PackageManager packageManager = mContext.getPackageManager(); in onPrepareSubMenu() local 211 subMenu.add(0, i, i, activity.loadLabel(packageManager)) in onPrepareSubMenu() 212 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu() 223 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager)) in onPrepareSubMenu() 224 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
|
D | ActivityChooserView.java | 555 PackageManager packageManager = mContext.getPackageManager(); in updateAppearance() local 556 mDefaultActivityButtonImage.setImageDrawable(activity.loadIcon(packageManager)); in updateAppearance() 558 CharSequence label = activity.loadLabel(packageManager); in updateAppearance() 773 PackageManager packageManager = mContext.getPackageManager(); in getView() local 777 iconView.setImageDrawable(activity.loadIcon(packageManager)); in getView() 780 titleView.setText(activity.loadLabel(packageManager)); in getView()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 287 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus() argument 292 PackageInfo pInfo = packageManager.getPackageInfo(packageName, in getCarrierPrivilegeStatus() 313 public int getCarrierPrivilegeStatusForCurrentTransaction(PackageManager packageManager) { in getCarrierPrivilegeStatusForCurrentTransaction() argument 314 String[] packages = packageManager.getPackagesForUid(Binder.getCallingUid()); in getCarrierPrivilegeStatusForCurrentTransaction() 317 int accessStatus = getCarrierPrivilegeStatus(packageManager, pkg); in getCarrierPrivilegeStatusForCurrentTransaction() 335 PackageManager packageManager, Intent intent) { in getCarrierPackageNamesForIntent() argument 338 receivers.addAll(packageManager.queryBroadcastReceivers(intent, 0)); in getCarrierPackageNamesForIntent() 339 receivers.addAll(packageManager.queryIntentContentProviders(intent, 0)); in getCarrierPackageNamesForIntent() 340 receivers.addAll(packageManager.queryIntentActivities(intent, 0)); in getCarrierPackageNamesForIntent() 341 receivers.addAll(packageManager.queryIntentServices(intent, 0)); in getCarrierPackageNamesForIntent() [all …]
|
D | UiccCard.java | 574 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus() argument 577 mCarrierPrivilegeRules.getCarrierPrivilegeStatus(packageManager, packageName); in getCarrierPrivilegeStatus() 583 public int getCarrierPrivilegeStatusForCurrentTransaction(PackageManager packageManager) { in getCarrierPrivilegeStatusForCurrentTransaction() argument 586 mCarrierPrivilegeRules.getCarrierPrivilegeStatusForCurrentTransaction(packageManager); in getCarrierPrivilegeStatusForCurrentTransaction() 593 PackageManager packageManager, Intent intent) { in getCarrierPackageNamesForIntent() argument 596 packageManager, intent); in getCarrierPackageNamesForIntent()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ShareActionProvider.java | 221 PackageManager packageManager = mContext.getPackageManager(); in onPrepareSubMenu() local 229 subMenu.add(0, i, i, activity.loadLabel(packageManager)) in onPrepareSubMenu() 230 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu() 241 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager)) in onPrepareSubMenu() 242 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 68 private static void sendErrorToPackageManager(PackageManager packageManager, in sendErrorToPackageManager() argument 70 packageManager.verifyIntentFilter(verificationId, in sendErrorToPackageManager() 171 public IsAssociatedResultReceiver(Handler handler, PackageManager packageManager, in IsAssociatedResultReceiver() argument 175 mPackageManager = packageManager; in IsAssociatedResultReceiver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 73 PackageManager packageManager = getPackageManager(); in onCreate() local 76 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 100 String label = aInfo.loadLabel(packageManager).toString(); in onCreate() 138 .setIcon(aInfo.loadIcon(packageManager)) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 72 PackageManager packageManager = getPackageManager(); in onCreate() local 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 81 String appName = aInfo.loadLabel(packageManager).toString(); in onCreate() 84 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate()
|
D | UsbConfirmActivity.java | 67 PackageManager packageManager = getPackageManager(); in onCreate() local 68 String appName = mResolveInfo.loadLabel(packageManager).toString(); in onCreate() 71 ap.mIcon = mResolveInfo.loadIcon(packageManager); in onCreate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTestUtils.java | 76 final PackageManager packageManager = context.getPackageManager(); in isFeatureAvailable() local 77 final FeatureInfo[] featuresList = packageManager.getSystemAvailableFeatures(); in isFeatureAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SecureCameraLaunchManager.java | 228 PackageManager packageManager = mContext.getPackageManager(); in targetWillWaitForCameraAvailable() local 231 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in targetWillWaitForCameraAvailable() 239 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in targetWillWaitForCameraAvailable()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintServiceInfo.java | 110 PackageManager packageManager = context.getPackageManager(); in create() local 111 parser = resolveInfo.serviceInfo.loadXmlMetaData(packageManager, in create() 125 Resources resources = packageManager.getResourcesForApplication( in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistManager.java | 259 PackageManager packageManager = mContext.getPackageManager(); in replaceDrawable() local 262 ? packageManager.getServiceInfo( in replaceDrawable() 264 : packageManager.getActivityInfo( in replaceDrawable() 269 Resources res = packageManager.getResourcesForApplication( in replaceDrawable()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserView.java | 532 PackageManager packageManager = getContext().getPackageManager(); in updateAppearance() local 533 mDefaultActivityButtonImage.setImageDrawable(activity.loadIcon(packageManager)); in updateAppearance() 535 CharSequence label = activity.loadLabel(packageManager); in updateAppearance() 737 PackageManager packageManager = getContext().getPackageManager(); in getView() local 741 iconView.setImageDrawable(activity.loadIcon(packageManager)); in getView() 744 titleView.setText(activity.loadLabel(packageManager)); in getView()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 448 PackageManager packageManager = context.getPackageManager(); in AccessibilityServiceInfo() local 449 parser = serviceInfo.loadXmlMetaData(packageManager, in AccessibilityServiceInfo() 467 Resources resources = packageManager.getResourcesForApplication( in AccessibilityServiceInfo() 649 public String loadDescription(PackageManager packageManager) { in loadDescription() argument 654 CharSequence description = packageManager.getText(serviceInfo.packageName, in loadDescription()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentCompat.java | 56 PackageManager packageManager = context.getPackageManager(); in requestPermissions() 61 grantResults[i] = packageManager.checkPermission( in requestPermissions()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/ |
D | sending.jd | 155 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 198 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/ |
D | sending.jd | 155 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 198 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/ |
D | sending.jd | 155 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 198 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/ |
D | sending.jd | 155 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 198 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/ |
D | sending.jd | 155 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 198 PackageManager packageManager = {@link android.content.Context#getPackageManager()}; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
|