Home
last modified time | relevance | path

Searched refs:chipIds (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/multichip/
DUwbMultichipDataTest.java96 List<String> chipIds = mUwbMultichipData.getChipIds(); in testInitializeMultiChipButNoFilePath() local
97 assertThat(chipIds).hasSize(1); in testInitializeMultiChipButNoFilePath()
98 assertThat(chipIds.get(0)).isEqualTo(mUwbMultichipData.getDefaultChipId()); in testInitializeMultiChipButNoFilePath()
116 List<String> chipIds = mUwbMultichipData.getChipIds(); in testInitializeMultiChipButFileDoesNotExist() local
117 assertThat(chipIds).hasSize(1); in testInitializeMultiChipButFileDoesNotExist()
118 assertThat(chipIds.get(0)).isEqualTo(mUwbMultichipData.getDefaultChipId()); in testInitializeMultiChipButFileDoesNotExist()
138 List<String> chipIds = mUwbMultichipData.getChipIds(); in testInitializeMultiChipOneChipConfig() local
139 assertThat(chipIds).hasSize(1); in testInitializeMultiChipOneChipConfig()
140 assertThat(chipIds.get(0)).isEqualTo("chipIdString"); in testInitializeMultiChipOneChipConfig()
160 List<String> chipIds = mUwbMultichipData.getChipIds(); in testInitializeMultiChipNoPosition() local
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java4332 GetChipIdsAnswer(boolean success, ArrayList<Integer> chipIds) { in GetChipIdsAnswer() argument
4334 mChipIds = chipIds; in GetChipIdsAnswer()
4801 ArrayList<Integer> chipIds; in initialize() local
4803 chipIds = new ArrayList<>(); in initialize()
4804 chipIds.add(chipId); in initialize()
4805 doAnswer(new GetChipIdsAnswer(true, chipIds)).when(mWifiMock).getChipIds(); in initialize()
4869 ArrayList<Integer> chipIds; in initialize() local
4871 chipIds = new ArrayList<>(); in initialize()
4872 chipIds.add(chipId); in initialize()
4873 doAnswer(new GetChipIdsAnswer(true, chipIds)).when(mWifiMock).getChipIds(); in initialize()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceImpl.java483 List<String> chipIds = new ArrayList<>(); in getChipIds() local
485 chipIds.add(chipInfoParams.getChipId()); in getChipIds()
487 return chipIds; in getChipIds()
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java562 private native long nativeDispatcherNew(Object[] chipIds); in nativeDispatcherNew() argument
568 private native UwbDeviceInfoResponse nativeDoInitialize(String chipIds); in nativeDoInitialize() argument
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiHalHidlImpl.java206 mWifi.getChipIds((status, chipIds) -> { in getChipIdsInternal() argument
208 chipIdResp.value = chipIds; in getChipIdsInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java1171 List<Integer> chipIds = mWifiHal.getChipIds(); in getAllChipInfo() local
1172 if (chipIds == null) { in getAllChipInfo()
1176 if (VDBG) Log.d(TAG, "getChipIds=" + Arrays.toString(chipIds.toArray())); in getAllChipInfo()
1177 if (chipIds.size() == 0) { in getAllChipInfo()
1188 WifiChipInfo[] chipsInfo = new WifiChipInfo[chipIds.size()]; in getAllChipInfo()
1190 for (Integer chipId : chipIds) { in getAllChipInfo()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceImplTest.java644 List<String> chipIds = mUwbServiceImpl.getChipIds(); in testGetChipIds() local
645 assertThat(chipIds).containsExactly(DEFAULT_CHIP_ID); in testGetChipIds()