Searched refs:inForeground (Results 1 – 2 of 2) sorted by relevance
3108 BroadcastReceiver result, boolean inForeground) {3117 if (inForeground) {9157 boolean inForeground = false;9160 inForeground = true;9164 inForeground = true;9171 sendActiveAdminCommand(action, extras, userId, receiverComponent, inForeground);9180 @UserIdInt int userId, ComponentName receiverComponent, boolean inForeground) {9186 if (inForeground) {
7868 private void setAppInForegroundForToasts(int uid, boolean inForeground) { in setAppInForegroundForToasts() argument7869 int importance = (inForeground) ? IMPORTANCE_FOREGROUND : IMPORTANCE_NONE; in setAppInForegroundForToasts()7871 when(mAtm.hasResumedActivity(uid)).thenReturn(inForeground); in setAppInForegroundForToasts()