Home
last modified time | relevance | path

Searched defs:pm (Results 1 – 25 of 274) sorted by relevance

1234567891011

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java196 public @NonNull CharSequence loadLabel(@NonNull PackageManager pm) { in loadLabel()
206 public CharSequence loadUnsafeLabel(PackageManager pm) { in loadUnsafeLabel()
228 public @NonNull CharSequence loadSafeLabel(@NonNull PackageManager pm) { in loadSafeLabel()
241 public @NonNull CharSequence loadSafeLabel(@NonNull PackageManager pm, in loadSafeLabel()
261 public Drawable loadIcon(PackageManager pm) { in loadIcon()
278 public Drawable loadUnbadgedIcon(PackageManager pm) { in loadUnbadgedIcon()
293 public Drawable loadBanner(PackageManager pm) { in loadBanner()
314 public Drawable loadDefaultIcon(PackageManager pm) { in loadDefaultIcon()
329 protected Drawable loadDefaultBanner(PackageManager pm) { in loadDefaultBanner()
344 public Drawable loadLogo(PackageManager pm) { in loadLogo()
[all …]
DComponentInfo.java101 @Override public CharSequence loadUnsafeLabel(PackageManager pm) { in loadUnsafeLabel()
236 public Drawable loadDefaultIcon(PackageManager pm) { in loadDefaultIcon()
243 @Override protected Drawable loadDefaultBanner(PackageManager pm) { in loadDefaultBanner()
251 protected Drawable loadDefaultLogo(PackageManager pm) { in loadDefaultLogo()
DResolveInfo.java207 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
278 public Drawable loadIcon(PackageManager pm) { in loadIcon()
498 public DisplayNameComparator(PackageManager pm) { in DisplayNameComparator()
DLabeledIntent.java134 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
152 public Drawable loadIcon(PackageManager pm) { in loadIcon()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DPackageManagerPerfTest.java49 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testCheckPermissionExists() local
60 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testCheckPermissionDoesntExist() local
71 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testQueryIntentActivities() local
82 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testGetPackageInfo() local
93 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testGetApplicationInfo() local
104 final PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in testGetActivityInfo() local
/frameworks/base/core/java/android/app/
DWallpaperInfo.java99 final PackageManager pm = context.getPackageManager(); in WallpaperInfo() local
214 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
224 public Drawable loadIcon(PackageManager pm) { in loadIcon()
234 public Drawable loadThumbnail(PackageManager pm) { in loadThumbnail()
245 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor()
259 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription()
282 public Uri loadContextUri(PackageManager pm) throws NotFoundException { in loadContextUri()
304 public CharSequence loadContextDescription(PackageManager pm) throws NotFoundException { in loadContextDescription()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java180 final PackageManagerService pm, final ArraySet<String> pkgs) { in runPostBootUpdate()
195 private void postBootUpdate(JobParameters jobParams, PackageManagerService pm, in postBootUpdate()
252 final PackageManagerService pm, final ArraySet<String> pkgs) { in runIdleOptimization()
269 private int idleOptimization(PackageManagerService pm, ArraySet<String> pkgs, in idleOptimization()
315 private long getPackageSize(PackageManagerService pm, String pkg) { in getPackageSize()
338 private int optimizePackages(PackageManagerService pm, ArraySet<String> pkgs, in optimizePackages()
384 private boolean downgradePackage(PackageManagerService pm, String pkg, in downgradePackage()
439 private boolean optimizePackage(PackageManagerService pm, String pkg, in optimizePackage()
451 private boolean performDexOptPrimary(PackageManagerService pm, String pkg, int reason, in performDexOptPrimary()
458 private boolean performDexOptSecondary(PackageManagerService pm, String pkg, int reason, in performDexOptSecondary()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java44 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn) { in DefaultAppInfo()
48 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info) { in DefaultAppInfo()
52 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn, in DefaultAppInfo()
63 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info, in DefaultAppInfo()
DAppUtils.java48 IUsbManager usbManager, PackageManager pm, Context context) { in getLaunchByDefaultSummary()
72 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities()
/frameworks/base/core/java/com/android/server/backup/
DPreferredActivityBackupHelper.java50 IPackageManager pm = AppGlobals.getPackageManager(); in getBackupPayload() local
74 IPackageManager pm = AppGlobals.getPackageManager(); in applyRestoredPayload() local
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java127 final PackageManagerInternal pm = in getSearchableInfo() local
188 final PackageManagerInternal pm = in getSearchableInfo() local
466 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdSearchableInfoList() local
482 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdResolveInfoList() local
498 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getGlobalSearchActivity() local
512 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getWebSearchActivity() local
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java50 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp) in VoiceInteractionServiceInfo()
55 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp, int userHandle) in VoiceInteractionServiceInfo()
77 public VoiceInteractionServiceInfo(PackageManager pm, ServiceInfo si) { in VoiceInteractionServiceInfo()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperInfoTest.java52 PackageManager pm = context.getPackageManager(); in testSupportsAmbientMode() local
76 PackageManager pm = context.getPackageManager(); in testGetSettingsSliceUri() local
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java72 final PackageManager pm = context.getPackageManager(); in SpellCheckerInfo() local
213 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
223 public Drawable loadIcon(PackageManager pm) { in loadIcon()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java141 public ApduServiceInfo(PackageManager pm, ResolveInfo info, boolean onHost) throws in ApduServiceInfo()
456 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
460 public CharSequence loadAppLabel(PackageManager pm) { in loadAppLabel()
469 public Drawable loadIcon(PackageManager pm) { in loadIcon()
474 public Drawable loadBanner(PackageManager pm) { in loadBanner()
DNfcFServiceInfo.java105 public NfcFServiceInfo(PackageManager pm, ResolveInfo info) in NfcFServiceInfo()
226 public CharSequence loadLabel(PackageManager pm) { in loadLabel()
230 public Drawable loadIcon(PackageManager pm) { in loadIcon()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java153 IPackageManager pm = Mockito.mock(IPackageManager.class); in testGetCandidateVolumes_systemApp() local
183 IPackageManager pm = Mockito.mock(IPackageManager.class); in testGetCandidateVolumes_3rdParty_internalOnly() local
212 IPackageManager pm = Mockito.mock(IPackageManager.class); in testGetCandidateVolumes_3rdParty_auto() local
/frameworks/base/services/core/java/com/android/server/policy/
DSoftRestrictedPermissionPolicy.java90 PackageManager pm = context.getPackageManager(); in getMinimumTargetSDK() local
140 PackageManager pm = context.getPackageManager(); in forPermission() local
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java140 PackageManager pm = mContext.getPackageManager(); in getEngineInfo() local
162 PackageManager pm = mContext.getPackageManager(); in getEngines() local
202 PackageManager pm = mContext.getPackageManager(); in getSettingsIntent() local
233 private String settingsActivityFromServiceInfo(ServiceInfo si, PackageManager pm) { in settingsActivityFromServiceInfo()
281 private EngineInfo getEngineInfo(ResolveInfo resolve, PackageManager pm) { in getEngineInfo()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java71 final PackageManager pm = mContext.getPackageManager(); in getAllValidScorers() local
108 private String getRecommendationServiceLabel(ServiceInfo serviceInfo, PackageManager pm) { in getRecommendationServiceLabel()
207 final PackageManager pm = mContext.getPackageManager(); in hasScoreNetworksPermission() local
213 final PackageManager pm = mContext.getPackageManager(); in canAccessLocation() local
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java99 final PackageManager pm = context.getPackageManager(); in setup() local
159 private static int getVulkanVersion(PackageManager pm) { in getVulkanVersion()
196 private static String getDebugLayerAppPaths(PackageManager pm, String app) { in getDebugLayerAppPaths()
226 Context context, Bundle coreSettings, PackageManager pm, String packageName) { in setupGpuLayers()
393 private String getAnglePackageName(PackageManager pm) { in getAnglePackageName()
508 PackageManager pm, in setupAngleRulesApk()
559 public boolean setupAngle(Context context, Bundle bundle, PackageManager pm, in setupAngle()
785 Context context, Bundle coreSettings, PackageManager pm, String packageName) { in chooseDriver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java153 IPackageManager pm = AppGlobals.getPackageManager(); in updateForegroundInstantApps() local
199 @NonNull IPackageManager pm) { in checkAndPostForPrimaryScreen()
220 @NonNull IPackageManager pm) { in checkAndPostForStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCase.java31 PackageManager pm = getPackageManager(); in onStart() local
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java105 final PackageManager pm = context.getPackageManager(); in onPostNotification() local
172 private ApplicationInfo getApplicationInfo(PackageManager pm, String packageName) { in getApplicationInfo()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DSmokeTestRunner.java47 final PackageManager pm = getTargetContext().getPackageManager(); in getAllTests() local

1234567891011