Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityShortcutInfo.java120 final PackageManager packageManager = context.getPackageManager(); in AccessibilityShortcutInfo() local
205 public String loadSummary(@NonNull PackageManager packageManager) { in loadSummary()
215 public String loadIntro(@NonNull PackageManager packageManager) { in loadIntro()
225 public String loadDescription(@NonNull PackageManager packageManager) { in loadDescription()
266 public String loadHtmlDescription(@NonNull PackageManager packageManager) { in loadHtmlDescription()
300 private String loadResourceString(@NonNull PackageManager packageManager, in loadResourceString()
DAccessibilityServiceInfo.java641 PackageManager packageManager = context.getPackageManager(); in AccessibilityServiceInfo() local
959 public CharSequence loadSummary(PackageManager packageManager) { in loadSummary()
982 public CharSequence loadIntro(@NonNull PackageManager packageManager) { in loadIntro()
1017 public String loadDescription(PackageManager packageManager) { in loadDescription()
1042 public String loadHtmlDescription(@NonNull PackageManager packageManager) { in loadHtmlDescription()
/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/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java62 final PackageManager packageManager = context.getPackageManager(); in getApplicationLabel() local
72 final PackageManager packageManager = context.getPackageManager(); in getApplicationIcon() local
128 final PackageManager packageManager = context.getPackageManager(); in getApplicationInfo() local
/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/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/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()
126 PackageManager packageManager, in canLaunchHelpPage()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java254 PackageManager packageManager = mock(PackageManager.class); in testPreventAddOverride() local
282 PackageManager packageManager = mock(PackageManager.class); in testInstallerCanAddOverrides() local
324 PackageManager packageManager = mock(PackageManager.class); in testInstallerCanAddOverridesForMultiplePackages() local
367 PackageManager packageManager = mock(PackageManager.class); in testPreventInstallerSetNonOverridable() local
402 PackageManager packageManager = mock(PackageManager.class); in testCanAddOverridesForUnknownChangeIdOnDebugBuild() local
708 PackageManager packageManager = mock(PackageManager.class); in testInstallerCanRemoveOverridesForMultiplePackages() local
770 PackageManager packageManager = mock(PackageManager.class); in testPreventInstallerRemoveNonOverridable() local
/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/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/app/
DGameClassifierImpl.java28 GameClassifierImpl(@NonNull PackageManager packageManager) { in GameClassifierImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DShadowLocaleManagerBackupHelper.java34 PackageManager packageManager, Clock clock, in ShadowLocaleManagerBackupHelper()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java83 public static BackupEligibilityRules forBackup(PackageManager packageManager, in forBackup()
90 public BackupEligibilityRules(PackageManager packageManager, in BackupEligibilityRules()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java39 PackageManager packageManager = context.getPackageManager(); in getDefaultCellBroadcastReceiverPackageName() local
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java36 PackageManager packageManager, String packageName) { in getApplicationLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/
DMediaTttUtils.kt57 val packageManager = context.packageManager in getIconInfoFromPackageName() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaDataUtils.java45 final PackageManager packageManager = context.getPackageManager(); in getAppLabel() local
/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/media/controls/models/recommendation/
DSmartspaceMediaData.kt72 val packageManager = context.packageManager in getAppName() constant
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPermissionUtilsTest.kt52 private val packageManager = mock(PackageManager::class.java) constant in com.android.net.module.util.PermissionUtilsTest
/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

12345678