Home
last modified time | relevance | path

Searched refs:cccSpecificationParams (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DCccDecoderTest.java139 public static void verifyCccSpecification(CccSpecificationParams cccSpecificationParams) { in verifyCccSpecification() argument
140 assertThat(cccSpecificationParams).isNotNull(); in verifyCccSpecification()
142 assertThat(cccSpecificationParams.getProtocolVersions()).isEqualTo(List.of( in verifyCccSpecification()
144 assertThat(cccSpecificationParams.getUwbConfigs()).isEqualTo(List.of(UWB_CONFIG_0)); in verifyCccSpecification()
145 assertThat(cccSpecificationParams.getPulseShapeCombos()).isEqualTo( in verifyCccSpecification()
148 assertThat(cccSpecificationParams.getRanMultiplier()).isEqualTo(10); in verifyCccSpecification()
149 assertThat(cccSpecificationParams.getChapsPerSlot()).isEqualTo( in verifyCccSpecification()
151 assertThat(cccSpecificationParams.getSyncCodes()).isEqualTo( in verifyCccSpecification()
153 assertThat(cccSpecificationParams.getChannels()).isEqualTo(List.of(5, 9)); in verifyCccSpecification()
154 assertThat(cccSpecificationParams.getHoppingConfigModes()).isEqualTo( in verifyCccSpecification()
[all …]
/packages/modules/Uwb/service/support_lib/test/
DGenericTests.java157 CccSpecificationParams cccSpecificationParams = paramsBuilder.build(); in testSpecificationParams() local
169 .setCccSpecificationParams(cccSpecificationParams) in testSpecificationParams()
174 cccSpecificationParams = genericSpecificationParams.getCccSpecificationParams(); in testSpecificationParams()
199 assertArrayEquals(cccSpecificationParams.getProtocolVersions().toArray(), protocolVersions); in testSpecificationParams()
200 assertArrayEquals(cccSpecificationParams.getUwbConfigs().toArray(), uwbConfigs); in testSpecificationParams()
201 assertArrayEquals(cccSpecificationParams.getPulseShapeCombos().toArray(), pulseShapeCombos); in testSpecificationParams()
202 assertEquals(cccSpecificationParams.getRanMultiplier(), ranMultiplier); in testSpecificationParams()
203 assertArrayEquals(cccSpecificationParams.getChapsPerSlot().toArray(), chapsPerSlots); in testSpecificationParams()
204 assertArrayEquals(cccSpecificationParams.getSyncCodes().toArray(), syncCodes); in testSpecificationParams()
205 assertArrayEquals(cccSpecificationParams.getChannels().toArray(), channels); in testSpecificationParams()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericSpecificationParams.java59 CccSpecificationParams cccSpecificationParams, in GenericSpecificationParams() argument
64 mCccSpecificationParams = cccSpecificationParams; in GenericSpecificationParams()
185 @NonNull CccSpecificationParams cccSpecificationParams) { in setCccSpecificationParams()
186 mCccSpecificationParams = Objects.requireNonNull(cccSpecificationParams); in setCccSpecificationParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DGenericDecoder.java66 CccSpecificationParams cccSpecificationParams = in getSpecificationParamsFromTlvBuffer() local
69 builder.setCccSpecificationParams(cccSpecificationParams); in getSpecificationParamsFromTlvBuffer()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java1579 CccSpecificationParams cccSpecificationParams = getTestCccSpecificationParams(); in testSendVendorUciCommandMessageTypeTest() local
1585 .setCccSpecificationParams(cccSpecificationParams) in testSendVendorUciCommandMessageTypeTest()
1609 CccSpecificationParams cccSpecificationParams = getTestCccSpecificationParams(); in testSendVendorUciCommandUnsupportedMessageType() local
1615 .setCccSpecificationParams(cccSpecificationParams) in testSendVendorUciCommandUnsupportedMessageType()