Searched refs:hostingContext (Results 1 – 1 of 1) sorted by relevance
113 void enqueueNotification(@NonNull JobServiceContext hostingContext, @NonNull String packageName, in enqueueNotification() argument117 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() argument184 final NotificationDetails details = mNotificationDetails.remove(hostingContext); in removeNotificationAssociation()190 if (associations == null || !associations.remove(details.notificationId, hostingContext)) { in removeNotificationAssociation()