Home
last modified time | relevance | path

Searched defs:packageManager (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityShortcutInfo.java108 final PackageManager packageManager = context.getPackageManager(); in AccessibilityShortcutInfo() local
191 public String loadSummary(@NonNull PackageManager packageManager) { in loadSummary()
201 public String loadDescription(@NonNull PackageManager packageManager) { in loadDescription()
242 public String loadHtmlDescription(@NonNull PackageManager packageManager) { in loadHtmlDescription()
265 private String loadResourceString(@NonNull PackageManager packageManager, in loadResourceString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPackageBasedTokenUtil.java46 PackageManager packageManager = context.getPackageManager(); in generateToken() local
70 PackageManager packageManager, String packageName) { in generatePackageBasedToken()
DCarrierSmsUtils.java56 PackageManager packageManager = context.getPackageManager(); in getImsRcsPackageForIntent() local
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/OverlayActor/src/com/android/server/pm/test/overlay/actor/
DOverlayableVisibilityTest.kt34 private val packageManager = context.packageManager constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java121 static boolean showNotificationEvenIfUnprovisioned(IPackageManager packageManager, in showNotificationEvenIfUnprovisioned()
128 private static int checkUidPermission(IPackageManager packageManager, String permission, in checkUidPermission()
/frameworks/base/core/java/android/content/pm/
DInstantAppInfo.java93 public @NonNull CharSequence loadLabel(@NonNull PackageManager packageManager) { in loadLabel()
104 public @NonNull Drawable loadIcon(@NonNull PackageManager packageManager) { in loadIcon()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java46 PackageManager packageManager) { in makeBatteryConsumerInfo()
69 UidBatteryConsumer uidBatteryConsumer, PackageManager packageManager) { in makeBatteryConsumerInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminController.java89 PackageManager packageManager = context.getPackageManager(); in canLaunchHelpPageInPreferredOrCurrentUser() local
106 PackageManager packageManager = context.getPackageManager(); in setupLearnMoreButtonToLaunchHelpPage() local
DActionDisabledLearnMoreButtonLauncher.java46 PackageManager packageManager, String url, UserHandle userHandle); in canResolveActivityAsUser()
127 PackageManager packageManager, in canLaunchHelpPage()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/pm/
DTvPackageInstaller.java28 public TvPackageInstaller(PackageManager packageManager) { in TvPackageInstaller()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java97 public boolean apply(PackageManager packageManager) { in apply()
167 PackageManager packageManager = mAccountManagerService.mContext in backupAccountAccessPermissions() local
217 PackageManager packageManager = mAccountManagerService.mContext.getPackageManager(); in restoreAccountAccessPermissions() local
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java38 PackageManager packageManager = context.getPackageManager(); in getDefaultCellBroadcastReceiverPackageName() local
DSmsApplication.java253 PackageManager packageManager = context.getPackageManager(); in getApplicationCollectionInternal() local
541 PackageManager packageManager = context.getPackageManager(); in defaultSmsAppChanged() local
636 PackageManager packageManager = in setDefaultApplicationInternal() local
760 PackageManager packageManager, AppOpsManager appOps, String packageName, in assignExclusiveSmsPermissionsToSystemApp()
846 PackageManager packageManager = userContext.getPackageManager(); in onPackageChanged() local
903 private static void configurePreferredActivity(PackageManager packageManager, in configurePreferredActivity()
915 private static void replacePreferredActivity(PackageManager packageManager, in replacePreferredActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java95 PackageManager packageManager = mContext.getPackageManager(); in getWidgetInfoFromService() local
124 PackageManager packageManager = mContext.getPackageManager(); in getWidgetInfo() local
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java36 PackageManager packageManager, String packageName) { in getApplicationLabel()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java84 public static BackupEligibilityRules forBackup(PackageManager packageManager, in forBackup()
91 public BackupEligibilityRules(PackageManager packageManager, in BackupEligibilityRules()
/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestReceiver.java42 final PackageManager packageManager = context.getPackageManager(); in onReceive() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinator.java48 IPackageManager packageManager) { in DeviceProvisionedCoordinator()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTestUtils.java72 final PackageManager packageManager = context.getPackageManager(); in isFeatureAvailable() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java417 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus()
444 public int getCarrierPrivilegeStatusForCurrentTransaction(PackageManager packageManager) { in getCarrierPrivilegeStatusForCurrentTransaction()
460 PackageManager packageManager, Intent intent) { in getCarrierPackageNamesForIntent()
DUiccCarrierPrivilegeRules.java314 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus()
370 public int getCarrierPrivilegeStatusForCurrentTransaction(PackageManager packageManager) { in getCarrierPrivilegeStatusForCurrentTransaction()
381 PackageManager packageManager, int uid) { in getCarrierPrivilegeStatusForUid()
405 PackageManager packageManager, Intent intent) { in getCarrierPackageNamesForIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java252 PackageManager packageManager = mock(PackageManager.class); in testPreventAddOverride() local
279 PackageManager packageManager = mock(PackageManager.class); in testInstallerCanSetOverrides() local
313 PackageManager packageManager = mock(PackageManager.class); in testPreventInstallerSetNonOverridable() local
608 PackageManager packageManager = mock(PackageManager.class); in testPreventInstallerRemoveNonOverridable() local
/frameworks/av/media/utils/fuzzers/
DServiceUtilitiesFuzz.cpp83 android::MediaPackageManager packageManager; in LLVMFuzzerTestOneInput() local
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java188 PackageManager packageManager = mContext.getPackageManager(); in readFromLegacySettings() local
286 PackageManager packageManager = mContext.getPackageManager(); in isSettingsApplication() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DSystemUIToast.java273 final PackageManager packageManager = userContext.getPackageManager(); in getBadgedIcon() local
289 PackageManager packageManager) { in showApplicationIcon()

123456