Home
last modified time | relevance | path

Searched refs:inForeground (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DDataModel.kt280 set(inForeground) {
282 if (mNotificationModel!!.isApplicationInForeground != inForeground) {
283 mNotificationModel!!.isApplicationInForeground = inForeground
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2842 BroadcastReceiver result, boolean inForeground) {
2851 if (inForeground) {
8078 boolean inForeground = false;
8081 inForeground = true;
8085 inForeground = true;
8092 sendActiveAdminCommand(action, extras, userId, receiverComponent, inForeground);
8101 @UserIdInt int userId, ComponentName receiverComponent, boolean inForeground) {
8107 if (inForeground) {
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java5795 private void setAppInForegroundForToasts(int uid, boolean inForeground) { in setAppInForegroundForToasts() argument
5796 int importance = (inForeground) ? IMPORTANCE_FOREGROUND : IMPORTANCE_NONE; in setAppInForegroundForToasts()
5798 when(mAtm.hasResumedActivity(uid)).thenReturn(inForeground); in setAppInForegroundForToasts()