Home
last modified time | relevance | path

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

12345678910>>...12

/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()
276 private int idleOptimization(PackageManagerService pm, ArraySet<String> pkgs, in idleOptimization()
309 private long getPackageSize(PackageManagerService pm, String pkg) { in getPackageSize()
332 private int idleOptimizePackages(PackageManagerService pm, ArraySet<String> pkgs, in idleOptimizePackages()
397 private int optimizePackages(PackageManagerService pm, ArraySet<String> pkgs, in optimizePackages()
422 private boolean downgradePackage(PackageManagerService pm, String pkg, in downgradePackage()
477 private boolean optimizePackage(PackageManagerService pm, String pkg, in optimizePackage()
489 private boolean performDexOptPrimary(PackageManagerService pm, String pkg, int reason, in performDexOptPrimary()
[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/services/net/java/android/net/
DConnectivityModuleConnector.java147 Intent getModuleServiceIntent( in getModuleServiceIntent()
155 public Intent getModuleServiceIntent( in getModuleServiceIntent()
219 final PackageManager pm = mContext.getPackageManager(); in startModuleService() local
285 private static void checkModuleServicePermission( in checkModuleServicePermission()
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java101 final PackageManager pm = context.getPackageManager(); in setup() local
161 private static int getVulkanVersion(PackageManager pm) { in getVulkanVersion()
191 private static String getDebugLayerAppPaths(PackageManager pm, String app) { in getDebugLayerAppPaths()
221 Context context, Bundle coreSettings, PackageManager pm, String packageName) { in setupGpuLayers()
388 private String getAnglePackageName(PackageManager pm) { in getAnglePackageName()
497 PackageManager pm, in setupAngleRulesApk()
548 public boolean setupAngle(Context context, Bundle bundle, PackageManager pm, in setupAngle()
684 Context context, Bundle coreSettings, PackageManager pm, String packageName) { in chooseDriverInternal()
787 Context context, Bundle coreSettings, PackageManager pm, String packageName) { in chooseDriver()
/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/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()

12345678910>>...12