Home
last modified time | relevance | path

Searched refs:getPackageImportance (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java70 return am.getPackageImportance(packageName); in getImportance()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl80 int getPackageImportance(String pkg); in getPackageImportance() method
DNotificationManager.java1370 return service.getPackageImportance(mContext.getPackageName()); in getImportance()
DActivityManager.java4215 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) { in getPackageImportance() method in ActivityManager
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java2745 .getPackageImportance(manager.mPackageName) in updateDiscoveryPreferenceOnHandler()
2755 service.mActivityManager.getPackageImportance( in updateDiscoveryPreferenceOnHandler()
DMediaRouterService.java261 if (mContext.getSystemService(ActivityManager.class).getPackageImportance(packageName) in showMediaOutputSwitcher()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2698 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND; in getGroupHelper()
2714 && mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND; in getGroupHelper()
3713 public int getPackageImportance(String pkg) {
6849 isAppForeground = mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
7162 && mActivityManager.getPackageImportance(packageName)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java5259 assertEquals(IMPORTANCE_DEFAULT, mBinderService.getPackageImportance( in testBumpFGImportance_channelChangePreOApp()
8300 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_whenAppForeground()
8764 assertThat(mBinderService.getPackageImportance(mContext.getPackageName()))
8768 assertThat(mBinderService.getPackageImportance(mContext.getPackageName()))
9337 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn(
9368 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn(
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3787 mActivityManager.getPackageImportance(callingPackage) == IMPORTANCE_FOREGROUND); in isFromForegroundApp()
/frameworks/base/core/api/
Dsystem-current.txt535 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
/frameworks/base/boot/
Dboot-image-profile.txt757 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt6459 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I
6649 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I
/frameworks/base/config/
Dboot-image-profile.txt757 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I