Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DAnnouncementAggregator.java67 public void setCloseHandle(@NonNull ICloseHandle closeHandle) { in setCloseHandle() argument
68 mCloseHandle = Objects.requireNonNull(closeHandle); in setCloseHandle()
112 ICloseHandle closeHandle; in watchModule() local
114 closeHandle = module.addAnnouncementListener(enabledTypes, watcher); in watchModule()
119 watcher.setCloseHandle(closeHandle); in watchModule()
DRadioModule.java421 mService.registerAnnouncementListener(enabledList, hwListener, (result, closeHandle) -> { in addAnnouncementListener()
423 hwCloseHandle.value = closeHandle; in addAnnouncementListener()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DAnnouncementAggregator.java83 public void setCloseHandle(ICloseHandle closeHandle) { in setCloseHandle() argument
85 Slogf.d(TAG, "Set close handle %s", closeHandle); in setCloseHandle()
87 mCloseHandle = Objects.requireNonNull(closeHandle, "closeHandle cannot be null"); in setCloseHandle()
153 ICloseHandle closeHandle; in watchModule() local
155 closeHandle = radioModule.addAnnouncementListener(watcher, enabledTypes); in watchModule()
160 watcher.setCloseHandle(closeHandle); in watchModule()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
DIRadioServiceAidlImplTest.java136 ICloseHandle closeHandle = mAidlImpl.addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forAidlImpl() local
140 .that(closeHandle).isEqualTo(mICloseHandle); in addAnnouncementListener_forAidlImpl()
DIRadioServiceHidlImplTest.java139 ICloseHandle closeHandle = mHidlImpl.addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forHidlImpl() local
143 .that(closeHandle).isEqualTo(mICloseHandle); in addAnnouncementListener_forHidlImpl()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DRadioModuleTest.java153 ICloseHandle closeHandle = in close_forCloseHandle() local
156 closeHandle.close(); in close_forCloseHandle()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DRadioModuleHidlTest.java143 ICloseHandle closeHandle = in close_forCloseHandle() local
146 closeHandle.close(); in close_forCloseHandle()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1974 ICloseHandle closeHandle = null; in addAnnouncementListener() local
1976 closeHandle = mService.addAnnouncementListener(types, listenerIface); in addAnnouncementListener()
1980 Objects.requireNonNull(closeHandle); in addAnnouncementListener()
1981 ICloseHandle oldCloseHandle = mAnnouncementListeners.put(listener, closeHandle); in addAnnouncementListener()
1997 ICloseHandle closeHandle = mAnnouncementListeners.remove(listener); in removeAnnouncementListener() local
1998 if (closeHandle != null) Utils.close(closeHandle); in removeAnnouncementListener()