Searched refs:closeHandle (Results 1 – 2 of 2) sorted by relevance
66 public void setCloseHandle(@NonNull ICloseHandle closeHandle) { in setCloseHandle() argument67 mCloseHandle = Objects.requireNonNull(closeHandle); in setCloseHandle()106 ICloseHandle closeHandle; in watchModule() local108 closeHandle = module.addAnnouncementListener(enabledTypes, watcher); in watchModule()113 watcher.setCloseHandle(closeHandle); in watchModule()
1811 ICloseHandle closeHandle = null; in addAnnouncementListener() local1813 closeHandle = mService.addAnnouncementListener(types, listenerIface); in addAnnouncementListener()1817 Objects.requireNonNull(closeHandle); in addAnnouncementListener()1818 ICloseHandle oldCloseHandle = mAnnouncementListeners.put(listener, closeHandle); in addAnnouncementListener()1833 ICloseHandle closeHandle = mAnnouncementListeners.remove(listener); in removeAnnouncementListener() local1834 if (closeHandle != null) Utils.close(closeHandle); in removeAnnouncementListener()