Searched refs:inForeground (Results 1 – 3 of 3) sorted by relevance
280 set(inForeground) {282 if (mNotificationModel!!.isApplicationInForeground != inForeground) {283 mNotificationModel!!.isApplicationInForeground = inForeground
2842 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) {
5795 private void setAppInForegroundForToasts(int uid, boolean inForeground) { in setAppInForegroundForToasts() argument5796 int importance = (inForeground) ? IMPORTANCE_FOREGROUND : IMPORTANCE_NONE; in setAppInForegroundForToasts()5798 when(mAtm.hasResumedActivity(uid)).thenReturn(inForeground); in setAppInForegroundForToasts()