Searched refs:getPackageImportance (Results 1 – 12 of 12) sorted by relevance
70 return am.getPackageImportance(packageName); in getImportance()
83 int getPackageImportance(String pkg); in getPackageImportance() method
1514 return service.getPackageImportance(mContext.getPackageName()); in getImportance()
4562 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) { in getPackageImportance() method in ActivityManager
986 if (mActivityManager.getPackageImportance(packageName) > IMPORTANCE_FOREGROUND) { in showOutputSwitcher()3525 return service.mActivityManager.getPackageImportance(packageName) in isPackageImportanceSufficientForScanning()
6022 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(
2852 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);
3586 mActivityManager.getPackageImportance(callingPackage) == IMPORTANCE_FOREGROUND); in isFromForegroundApp()
579 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
764 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I
6459 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I6649 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I