Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java113 void enqueueNotification(@NonNull JobServiceContext hostingContext, @NonNull String packageName, in enqueueNotification() argument
117 final JobStatus jobStatus = hostingContext.getRunningJobLocked(); in enqueueNotification()
122 final NotificationDetails oldDetails = mNotificationDetails.get(hostingContext); in enqueueNotification()
145 removeNotificationAssociation(hostingContext, JobParameters.STOP_REASON_UNDEFINED, in enqueueNotification()
173 appNotifications.add(notificationId, hostingContext); in enqueueNotification()
174 mNotificationDetails.put(hostingContext, details); in enqueueNotification()
182 void removeNotificationAssociation(@NonNull JobServiceContext hostingContext, in removeNotificationAssociation() argument
184 final NotificationDetails details = mNotificationDetails.remove(hostingContext); in removeNotificationAssociation()
190 if (associations == null || !associations.remove(details.notificationId, hostingContext)) { in removeNotificationAssociation()