Home
last modified time | relevance | path

Searched refs:codecConfigLength (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBaseData.java68 public int codecConfigLength; field in BaseData.BaseInformation
90 codecConfigLength = 0; in BaseInformation()
124 log("codecConfigLength: " + codecConfigLength); in print()
127 if (codecConfigLength != 0) { in print()
264 node.codecConfigLength = serviceData[offset++] & 0xff; in parseLevelTwo()
265 if (node.codecConfigLength != 0) { in parseLevelTwo()
266 node.codecConfigInfo = new byte[node.codecConfigLength]; in parseLevelTwo()
267 System.arraycopy(serviceData, offset, node.codecConfigInfo, 0, node.codecConfigLength); in parseLevelTwo()
268 offset += node.codecConfigLength; in parseLevelTwo()
284 node.codecConfigLength = serviceData[offset++] & 0xff; in parseLevelThree()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBaseDataTest.java56 info.codecConfigLength = 1; in baseInformation()
60 info.codecConfigLength = 3; in baseInformation()
113 assertThat(level.codecConfigLength).isEqualTo(2); in parseBaseData()
119 assertThat(level.codecConfigLength).isEqualTo(3); in parseBaseData()
186 assertThat(level.codecConfigLength).isEqualTo(2); in parseBaseData_longMetaData()
193 assertThat(level.codecConfigLength).isEqualTo(3); in parseBaseData_longMetaData()