Home
last modified time | relevance | path

Searched refs:IMPORTANCE_FOREGROUND (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppForegroundHelperTest.java19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
91 setImportance(0, IMPORTANCE_FOREGROUND); in testListeners()
103 setImportance(0, IMPORTANCE_FOREGROUND); in testIsAppForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestReceiver.kt20 import android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND
49 if ((am?.getUidImportance(uid) ?: IMPORTANCE_GONE) != IMPORTANCE_FOREGROUND) { in isPackageInForeground()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestReceiverTest.kt20 import android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND
104 `when`(activityManager.getUidImportance(12345)).thenReturn(IMPORTANCE_FOREGROUND) in testPackageVerification_OK()
136 `when`(activityManager.getUidImportance(eq(12345))).thenReturn(IMPORTANCE_FOREGROUND) in testOnReceive_OK()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationExitInfoTest.java25 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
367 IMPORTANCE_FOREGROUND, // importance in testApplicationExitInfo()
552 IMPORTANCE_FOREGROUND, // importance in testApplicationExitInfo()
577 IMPORTANCE_FOREGROUND, // importance in testApplicationExitInfo()
900 IMPORTANCE_FOREGROUND, // importance in testApplicationExitInfo()
/frameworks/base/core/java/android/app/
DActivityManager.java2915 IMPORTANCE_FOREGROUND,
2933 public static final int IMPORTANCE_FOREGROUND = 100; field in ActivityManager.RunningAppProcessInfo
3078 return IMPORTANCE_FOREGROUND; in procStateToImportance()
3229 importance = IMPORTANCE_FOREGROUND; in RunningAppProcessInfo()
/frameworks/proto_logging/stats/enums/app/
Denums.proto450 IMPORTANCE_FOREGROUND = 100; enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java412 == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND; in isSmsSimPickActivityNeeded()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java1097 && appProcess.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND) { in checkIsForeground()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
2625 mActivityManager.getPackageImportance(callingPackage) == IMPORTANCE_FOREGROUND); in setWallpaper()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
2625 && mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND; in getGroupHelper()
3276 == IMPORTANCE_FOREGROUND;
5697 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
6346 isAppForeground = mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
6485 == IMPORTANCE_FOREGROUND;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
5536 int importance = (inForeground) ? IMPORTANCE_FOREGROUND : IMPORTANCE_NONE; in setAppInForegroundForToasts()
6213 IMPORTANCE_FOREGROUND); in testFlagBubbleNotifs_noFlag_whenAppForeground()
7097 IMPORTANCE_FOREGROUND); in testNotificationBubbles_flagAutoExpandForeground_succeeds_foreground()
/frameworks/proto_logging/stats/
Datoms.proto15220 // ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND or less.
15221 IMPORTANCE_FOREGROUND = 1; enumerator
/frameworks/base/core/api/
Dcurrent.txt4289 field public static final int IMPORTANCE_FOREGROUND = 100; // 0x64
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3594 field public static final int IMPORTANCE_FOREGROUND = 100; // 0x64