Home
last modified time | relevance | path

Searched refs:mUwbMultichipData (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/multichip/
DUwbMultichipDataTest.java60 private UwbMultichipData mUwbMultichipData; field in UwbMultichipDataTest
66 mUwbMultichipData = new UwbMultichipData(mMockContext); in setUp()
73 mUwbMultichipData.initialize(); in testInitializeSingleChip()
74 List<ChipInfoParams> chipInfos = mUwbMultichipData.getChipInfos(); in testInitializeSingleChip()
77 assertThat(chipInfo.getChipId()).isEqualTo(mUwbMultichipData.getDefaultChipId()); in testInitializeSingleChip()
87 mUwbMultichipData.initialize(); in testInitializeMultiChipButNoFilePath()
88 List<ChipInfoParams> chipInfos = mUwbMultichipData.getChipInfos(); in testInitializeMultiChipButNoFilePath()
91 assertThat(chipInfo.getChipId()).isEqualTo(mUwbMultichipData.getDefaultChipId()); in testInitializeMultiChipButNoFilePath()
96 List<String> chipIds = mUwbMultichipData.getChipIds(); in testInitializeMultiChipButNoFilePath()
98 assertThat(chipIds.get(0)).isEqualTo(mUwbMultichipData.getDefaultChipId()); in testInitializeMultiChipButNoFilePath()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java48 private final UwbMultichipData mUwbMultichipData; field in NativeUwbManager
58 mUwbMultichipData = uwbMultichipData; in NativeUwbManager()
142 mDispatcherPointer = nativeDispatcherNew(mUwbMultichipData.getChipIds().toArray()); in doInitialize()
143 for (String chipId : mUwbMultichipData.getChipIds()) { in doInitialize()
163 for (String chipId : mUwbMultichipData.getChipIds()) { in doDeinitialize()
385 for (String chipId : mUwbMultichipData.getChipIds()) { in setCountryCode()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DPacsControleeSessionTest.java103 private UwbMultichipData mUwbMultichipData; field in PacsControleeSessionTest
119 when(mUwbMultichipData.getDefaultChipId()).thenReturn(DEFAULT_CHIP_ID); in setUp()
120 when(mUwbInjector.getMultichipData()).thenReturn(mUwbMultichipData); in setUp()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbInjector.java114 private final UwbMultichipData mUwbMultichipData; field in UwbInjector
141 mUwbMultichipData = new UwbMultichipData(mContext); in UwbInjector()
143 mNativeUwbManager = new NativeUwbManager(this, mUciLogModeStore, mUwbMultichipData); in UwbInjector()
219 return mUwbMultichipData; in getMultichipData()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceImplTest.java126 @Mock private UwbMultichipData mUwbMultichipData; field in UwbServiceImplTest
159 when(mUwbMultichipData.getChipInfos()).thenReturn(List.of(DEFAULT_CHIP_INFO_PARAMS)); in setUp()
160 when(mUwbMultichipData.getDefaultChipId()).thenReturn(DEFAULT_CHIP_ID); in setUp()
162 when(mUwbInjector.getMultichipData()).thenReturn(mUwbMultichipData); in setUp()
DUwbSessionManagerTest.java334 private UwbMultichipData mUwbMultichipData; field in UwbSessionManagerTest
348 when(mUwbInjector.getMultichipData()).thenReturn(mUwbMultichipData); in setup()
364 when(mUwbMultichipData.getDefaultChipId()).thenReturn("default"); in setup()