/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
D | IRadioServiceHidlImplTest.java | 95 when(mHal2Mock.addAnnouncementListener(any(), any())).thenReturn(mICloseHandle); in setup() 139 ICloseHandle closeHandle = mHidlImpl.addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forHidlImpl() 141 verify(mHal2Mock).addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forHidlImpl() 152 mHidlImpl.addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_withoutAnyModules() 154 verify(mHal2Mock, never()).addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_withoutAnyModules()
|
D | IRadioServiceAidlImplTest.java | 88 when(mHalMock.addAnnouncementListener(any(), any())).thenReturn(mICloseHandle); in setUp() 136 ICloseHandle closeHandle = mAidlImpl.addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forAidlImpl() 138 verify(mHalMock).addAnnouncementListener(ENABLE_TYPES, mListenerMock); in addAnnouncementListener_forAidlImpl()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | RadioModuleTest.java | 119 mRadioModule.addAnnouncementListener(mListenerMock, new int[]{TEST_ENABLED_TYPE}); in addAnnouncementListener_listenerRegistered() 131 mRadioModule.addAnnouncementListener(mListenerMock, new int[]{TEST_ENABLED_TYPE})); in addAnnouncementListener_whenHalThrowsRemoteException() 141 mRadioModule.addAnnouncementListener(mListenerMock, new int[]{TEST_ENABLED_TYPE}); in onListUpdate_forAnnouncementListener() 154 mRadioModule.addAnnouncementListener(mListenerMock, new int[]{TEST_ENABLED_TYPE}); in close_forCloseHandle()
|
D | BroadcastRadioServiceImplTest.java | 196 when(mFmRadioModuleMock.addAnnouncementListener(any(), any())) in addAnnouncementListener_addsOnAllRadioModules() 198 when(mDabRadioModuleMock.addAnnouncementListener(any(), any())) in addAnnouncementListener_addsOnAllRadioModules() 201 mBroadcastRadioService.addAnnouncementListener(TEST_ENABLED_TYPES, in addAnnouncementListener_addsOnAllRadioModules() 204 verify(mFmRadioModuleMock).addAnnouncementListener(any(), any()); in addAnnouncementListener_addsOnAllRadioModules() 205 verify(mDabRadioModuleMock).addAnnouncementListener(any(), any()); in addAnnouncementListener_addsOnAllRadioModules()
|
D | AnnouncementAggregatorTest.java | 101 verify(mRadioModuleMocks[0]).addAnnouncementListener(moduleWatcherCaptor.capture(), any()); in onListUpdated_withOneModuleWatcher() 119 .addAnnouncementListener(moduleWatcherCaptor.capture(), any()); in onListUpdated_withMultipleModuleWatchers() 135 verify(mRadioModuleMocks[0]).addAnnouncementListener(moduleWatcherCaptor.capture(), any()); in onListUpdated_afterClosed_notUpdated() 210 when(mRadioModuleMocks[index].addAnnouncementListener(any(), any())) in watchModules()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioServiceHidlTest.java | 185 when(mFmRadioModuleMock.addAnnouncementListener(any(), any())) in addAnnouncementListener_addsOnAllRadioModules() 187 when(mDabRadioModuleMock.addAnnouncementListener(any(), any())) in addAnnouncementListener_addsOnAllRadioModules() 190 mBroadcastRadioService.addAnnouncementListener(TEST_ENABLED_TYPES, in addAnnouncementListener_addsOnAllRadioModules() 193 verify(mFmRadioModuleMock).addAnnouncementListener(any(), any()); in addAnnouncementListener_addsOnAllRadioModules() 194 verify(mDabRadioModuleMock).addAnnouncementListener(any(), any()); in addAnnouncementListener_addsOnAllRadioModules()
|
D | AnnouncementAggregatorHidlTest.java | 103 verify(mRadioModuleMocks[0]).addAnnouncementListener(any(), moduleWatcherCaptor.capture()); in onListUpdated_withOneModuleWatcher() 121 .addAnnouncementListener(any(), moduleWatcherCaptor.capture()); in onListUpdated_withMultipleModuleWatchers() 137 verify(mRadioModuleMocks[0]).addAnnouncementListener(any(), moduleWatcherCaptor.capture()); in onListUpdated_afterClosed_notUpdated() 212 when(mRadioModuleMocks[index].addAnnouncementListener(any(), any())) in watchModules()
|
D | RadioModuleHidlTest.java | 122 mRadioModule.addAnnouncementListener(new int[]{TEST_ENABLED_TYPE}, mListenerMock); in addAnnouncementListener_listenerRegistered() 132 mRadioModule.addAnnouncementListener(new int[]{TEST_ENABLED_TYPE}, mListenerMock); in onListUpdate_forAnnouncementListener() 144 mRadioModule.addAnnouncementListener(new int[]{TEST_ENABLED_TYPE}, mListenerMock); in close_forCloseHandle()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | IRadioService.aidl | 36 ICloseHandle addAnnouncementListener(in int[] enabledTypes, in addAnnouncementListener() method
|
D | RadioManager.java | 1949 public void addAnnouncementListener(@NonNull Set<Integer> enabledAnnouncementTypes, in addAnnouncementListener() method in RadioManager 1951 addAnnouncementListener(cmd -> cmd.run(), enabledAnnouncementTypes, listener); in addAnnouncementListener() 1962 public void addAnnouncementListener(@NonNull @CallbackExecutor Executor executor, in addAnnouncementListener() method in RadioManager 1976 closeHandle = mService.addAnnouncementListener(types, listenerIface); in addAnnouncementListener()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/ |
D | IRadioServiceAidlImpl.java | 104 public ICloseHandle addAnnouncementListener(int[] enabledTypes, in addAnnouncementListener() method in IRadioServiceAidlImpl 113 return mAidlHalClient.addAnnouncementListener(enabledTypes, listener); in addAnnouncementListener()
|
D | IRadioServiceHidlImpl.java | 114 public ICloseHandle addAnnouncementListener(int[] enabledTypes, in addAnnouncementListener() method in IRadioServiceHidlImpl 129 return mHal2Client.addAnnouncementListener(enabledTypes, listener); in addAnnouncementListener()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | RadioManagerTest.java | 1298 mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener); in addAnnouncementListener_withListenerNotAddedBefore() 1300 verify(mRadioServiceMock).addAnnouncementListener(eq(enableTypesExpected), in addAnnouncementListener_withListenerNotAddedBefore() 1313 mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener); in addAnnouncementListener_withListenerAddedBefore_closesPreviousOne() 1315 mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener); in addAnnouncementListener_withListenerAddedBefore_closesPreviousOne() 1325 mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener); in addAnnouncementListener_withListenerAddedBeforeAndCloseException_throws() 1329 () -> mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener)); in addAnnouncementListener_withListenerAddedBeforeAndCloseException_throws() 1336 when(mRadioServiceMock.addAnnouncementListener(any(), any())) in addAnnouncementListener_whenServiceDied_throwException() 1341 () -> mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener)); in addAnnouncementListener_whenServiceDied_throwException() 1361 mRadioManager.addAnnouncementListener(enableTypeSet, mEventListener); in removeAnnouncementListener_withListenerAddedTwice_closesTheFirstOne() 1420 when(mRadioServiceMock.addAnnouncementListener(any(), any())).thenReturn(mCloseHandleMock); in createRadioManager()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 114 closeHandle = module.addAnnouncementListener(enabledTypes, watcher); in watchModule()
|
D | BroadcastRadioService.java | 199 public ICloseHandle addAnnouncementListener(@NonNull int[] enabledTypes, in addAnnouncementListener() method in BroadcastRadioService
|
D | RadioModule.java | 403 android.hardware.radio.ICloseHandle addAnnouncementListener(int[] enabledTypes, in addAnnouncementListener() method in RadioModule
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregator.java | 155 closeHandle = radioModule.addAnnouncementListener(watcher, enabledTypes); in watchModule()
|
D | BroadcastRadioServiceImpl.java | 235 public ICloseHandle addAnnouncementListener(int[] enabledTypes, in addAnnouncementListener() method in BroadcastRadioServiceImpl
|
D | RadioModule.java | 463 android.hardware.radio.ICloseHandle addAnnouncementListener( in addAnnouncementListener() method in RadioModule
|
/frameworks/base/core/api/ |
D | system-current.txt | 6387 …(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull … 6388 …(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void addAnnouncementListener(@NonNull …
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 21599 Landroid/hardware/radio/IRadioService$Stub$Proxy;->addAnnouncementListener([ILandroid/hardware/radi… 21610 Landroid/hardware/radio/IRadioService;->addAnnouncementListener([ILandroid/hardware/radio/IAnnounce…
|