Searched refs:foregroundId (Results 1 – 2 of 2) sorted by relevance
98 int foregroundId; // Notification ID of last foreground req. field in ServiceRecord239 if (isForeground || foregroundId != 0) { in dump()241 pw.print(" foregroundId="); pw.print(foregroundId); in dump()449 if (foregroundId != 0 && foregroundNoti != null) { in postNotification()453 final int localForegroundId = foregroundId; in postNotification()551 final int localForegroundId = foregroundId; in cancelNotification()570 if (foregroundId == 0) { in stripForegroundServiceFlagFromNotification()574 final int localForegroundId = foregroundId; in stripForegroundServiceFlagFromNotification()
1067 if (r.foregroundId != id) { in setServiceForegroundInnerLocked()1069 r.foregroundId = id; in setServiceForegroundInnerLocked()1117 r.foregroundId = 0; in setServiceForegroundInnerLocked()1122 r.foregroundId = 0; in setServiceForegroundInnerLocked()1130 if (r.foregroundId != 0) { in cancelForegroundNotificationLocked()1139 if (other != r && other.foregroundId == r.foregroundId in cancelForegroundNotificationLocked()2513 r.foregroundId = 0; in bringDownServiceLocked()