Home
last modified time | relevance | path

Searched refs:RadioModule (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java61 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()
DRadioModule.java59 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()
DAnnouncementAggregator.java104 public void watchModule(@NonNull RadioModule module, @NonNull int[] enabledTypes) { in watchModule()
DTunerSession.java54 private final RadioModule mModule;
69 TunerSession(@NonNull RadioModule module, @NonNull ITunerSession hwSession, in TunerSession()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DBroadcastRadioServiceImpl.java63 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()
DRadioModule.java55 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()
DTunerSession.java50 private final RadioModule mModule;
67 TunerSession(RadioModule radioModule, IBroadcastRadio service, in TunerSession()
DAnnouncementAggregator.java141 public void watchModule(RadioModule radioModule, int[] enabledTypes) { in watchModule()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DBroadcastRadioServiceHidlTest.java72 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()
DAnnouncementAggregatorHidlTest.java68 private RadioModule[] mRadioModuleMocks;
203 mRadioModuleMocks = new RadioModule[moduleNumber]; in watchModules()
208 mRadioModuleMocks[index] = mock(RadioModule.class); in watchModules()
DRadioModuleHidlTest.java65 private RadioModule mRadioModule;
70 mRadioModule = new RadioModule(mBroadcastRadioMock, TEST_MODULE_PROPERTIES); in setup()
DStartProgramListUpdatesFanoutTest.java69 private RadioModule mRadioModule;
122 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()
DTunerSessionHidlTest.java98 private RadioModule mRadioModule;
126 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DBroadcastRadioServiceImplTest.java71 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()
DAnnouncementAggregatorTest.java67 private RadioModule[] mRadioModuleMocks;
201 mRadioModuleMocks = new RadioModule[moduleNumber]; in watchModules()
206 mRadioModuleMocks[index] = mock(RadioModule.class); in watchModules()
DRadioModuleTest.java68 private RadioModule mRadioModule;
73 mRadioModule = new RadioModule(mBroadcastRadioMock, TEST_MODULE_PROPERTIES); in setup()
DTunerSessionTest.java156 private RadioModule mRadioModule;
189 mRadioModule = new RadioModule(mBroadcastRadioMock, in setup()