Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DAnnouncementAggregator.java66 public void setCloseHandle(@NonNull ICloseHandle closeHandle) { in setCloseHandle() argument
67 mCloseHandle = Objects.requireNonNull(closeHandle); in setCloseHandle()
106 ICloseHandle closeHandle; in watchModule() local
108 closeHandle = module.addAnnouncementListener(enabledTypes, watcher); in watchModule()
113 watcher.setCloseHandle(closeHandle); in watchModule()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1811 ICloseHandle closeHandle = null; in addAnnouncementListener() local
1813 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() local
1834 if (closeHandle != null) Utils.close(closeHandle); in removeAnnouncementListener()