Home
last modified time | relevance | path

Searched refs:getPackageImportance (Results 1 – 12 of 12) 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.aidl83 int getPackageImportance(String pkg); in getPackageImportance() method
DNotificationManager.java1514 return service.getPackageImportance(mContext.getPackageName()); in getImportance()
DActivityManager.java4562 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) { in getPackageImportance() method in ActivityManager
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java986 if (mActivityManager.getPackageImportance(packageName) > IMPORTANCE_FOREGROUND) { in showOutputSwitcher()
3525 return service.mActivityManager.getPackageImportance(packageName) in isPackageImportanceSufficientForScanning()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java6022 assertEquals(IMPORTANCE_DEFAULT, mBinderService.getPackageImportance( in testBumpFGImportance_channelChangePreOApp()
9397 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_whenAppForeground()
10106 assertThat(mBinderService.getPackageImportance(mContext.getPackageName()))
10110 assertThat(mBinderService.getPackageImportance(mContext.getPackageName()))
10716 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn(
10747 when(mActivityManager.getPackageImportance(nr.getSbn().getPackageName())).thenReturn(
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2852 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND; in getGroupHelper()
2869 && mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND; in getGroupHelper()
3971 public int getPackageImportance(String pkg) {
11386 packageImportance = mActivityManager.getPackageImportance(pkg);
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3586 mActivityManager.getPackageImportance(callingPackage) == IMPORTANCE_FOREGROUND); in isFromForegroundApp()
/frameworks/base/core/api/
Dsystem-current.txt579 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
/frameworks/base/boot/
Dboot-image-profile.txt764 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.txt764 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I