/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 61 private final Map<Integer, RadioModule> mModules = new ArrayMap<>(); 78 RadioModule radioModule = RadioModule.tryLoadingModule(moduleId, serviceName); 84 RadioModule prevModule = mModules.put(moduleId, radioModule); 110 RadioModule prevModule = mModules.remove(moduleId); 184 RadioModule module; in openSession() 205 for (RadioModule module : mModules.values()) { in addAnnouncementListener() 236 for (Map.Entry<Integer, RadioModule> moduleEntry : mModules.entrySet()) { in dumpInfo()
|
D | RadioModule.java | 59 final class RadioModule { class 151 RadioModule(@NonNull IBroadcastRadio service, in RadioModule() method in RadioModule 160 static RadioModule tryLoadingModule(int idx, @NonNull String fqName) { in tryLoadingModule() 182 return new RadioModule(service, prop); in tryLoadingModule()
|
D | AnnouncementAggregator.java | 104 public void watchModule(@NonNull RadioModule module, @NonNull int[] enabledTypes) { in watchModule()
|
D | TunerSession.java | 54 private final RadioModule mModule; 69 TunerSession(@NonNull RadioModule module, @NonNull ITunerSession hwSession, in TunerSession()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | BroadcastRadioServiceImpl.java | 63 private final SparseArray<RadioModule> mModules = new SparseArray<>(); 79 RadioModule radioModule = 80 RadioModule.tryLoadingModule(moduleId, name, newBinder); 89 RadioModule prevModule = mModules.get(moduleId); 123 RadioModule prevModule = mModules.removeReturnOld(mModuleId); in binderDied() 215 RadioModule radioModule; in openSession()
|
D | RadioModule.java | 55 final class RadioModule { class 197 RadioModule(IBroadcastRadio service, RadioManager.ModuleProperties properties) { in RadioModule() method in RadioModule 205 static RadioModule tryLoadingModule(int moduleId, String moduleName, IBinder serviceBinder) { in tryLoadingModule() 235 return new RadioModule(service, prop); in tryLoadingModule()
|
D | TunerSession.java | 50 private final RadioModule mModule; 67 TunerSession(RadioModule radioModule, IBroadcastRadio service, in TunerSession()
|
D | AnnouncementAggregator.java | 141 public void watchModule(RadioModule radioModule, int[] enabledTypes) { in watchModule()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioServiceHidlTest.java | 72 private RadioModule mFmRadioModuleMock; 74 private RadioModule mDabRadioModuleMock; 94 builder.spyStatic(RadioModule.class) in initializeSession() 233 doReturn(mFmRadioModuleMock).when(() -> RadioModule.tryLoadingModule( in mockServiceManager() 235 doReturn(mDabRadioModuleMock).when(() -> RadioModule.tryLoadingModule( in mockServiceManager()
|
D | AnnouncementAggregatorHidlTest.java | 68 private RadioModule[] mRadioModuleMocks; 203 mRadioModuleMocks = new RadioModule[moduleNumber]; in watchModules() 208 mRadioModuleMocks[index] = mock(RadioModule.class); in watchModules()
|
D | RadioModuleHidlTest.java | 65 private RadioModule mRadioModule; 70 mRadioModule = new RadioModule(mBroadcastRadioMock, TEST_MODULE_PROPERTIES); in setup()
|
D | StartProgramListUpdatesFanoutTest.java | 69 private RadioModule mRadioModule; 122 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()
|
D | TunerSessionHidlTest.java | 98 private RadioModule mRadioModule; 126 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | BroadcastRadioServiceImplTest.java | 71 private RadioModule mFmRadioModuleMock; 73 private RadioModule mDabRadioModuleMock; 98 .spyStatic(RadioModule.class) in initializeSession() 224 doReturn(mFmRadioModuleMock).when(() -> RadioModule.tryLoadingModule( in mockServiceManager() 226 doReturn(mDabRadioModuleMock).when(() -> RadioModule.tryLoadingModule( in mockServiceManager()
|
D | AnnouncementAggregatorTest.java | 67 private RadioModule[] mRadioModuleMocks; 201 mRadioModuleMocks = new RadioModule[moduleNumber]; in watchModules() 206 mRadioModuleMocks[index] = mock(RadioModule.class); in watchModules()
|
D | RadioModuleTest.java | 68 private RadioModule mRadioModule; 73 mRadioModule = new RadioModule(mBroadcastRadioMock, TEST_MODULE_PROPERTIES); in setup()
|
D | TunerSessionTest.java | 156 private RadioModule mRadioModule; 189 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()
|