Home
last modified time | relevance | path

Searched refs:paramsBuilder (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Uwb/service/support_lib/test/
DAliroTests.java279 AliroSpecificationParams.Builder paramsBuilder = new AliroSpecificationParams.Builder(); in testSpecificationParams() local
281 paramsBuilder.addProtocolVersion(p); in testSpecificationParams()
285 paramsBuilder.addUwbConfig(uwbConfig); in testSpecificationParams()
289 paramsBuilder.addPulseShapeCombo(pulseShapeCombo); in testSpecificationParams()
292 paramsBuilder.setRanMultiplier(RAN_MULTIPLIER); in testSpecificationParams()
295 paramsBuilder.addChapsPerSlot(chapsPerSlot); in testSpecificationParams()
299 paramsBuilder.addSyncCode(syncCode); in testSpecificationParams()
303 paramsBuilder.addChannel(channel); in testSpecificationParams()
307 paramsBuilder.addHoppingConfigMode(hoppingConfigMode); in testSpecificationParams()
311 paramsBuilder.addHoppingSequence(hoppingSequence); in testSpecificationParams()
[all …]
DCccTests.java274 CccSpecificationParams.Builder paramsBuilder = new CccSpecificationParams.Builder(); in testSpecificationParams() local
276 paramsBuilder.addProtocolVersion(p); in testSpecificationParams()
280 paramsBuilder.addUwbConfig(uwbConfig); in testSpecificationParams()
284 paramsBuilder.addPulseShapeCombo(pulseShapeCombo); in testSpecificationParams()
287 paramsBuilder.setRanMultiplier(RAN_MULTIPLIER); in testSpecificationParams()
290 paramsBuilder.addChapsPerSlot(chapsPerSlot); in testSpecificationParams()
294 paramsBuilder.addSyncCode(syncCode); in testSpecificationParams()
298 paramsBuilder.addChannel(channel); in testSpecificationParams()
302 paramsBuilder.addHoppingConfigMode(hoppingConfigMode); in testSpecificationParams()
306 paramsBuilder.addHoppingSequence(hoppingSequence); in testSpecificationParams()
[all …]
DGenericTests.java131 CccSpecificationParams.Builder paramsBuilder = new CccSpecificationParams.Builder(); in testSpecificationParams() local
133 paramsBuilder.addProtocolVersion(p); in testSpecificationParams()
136 paramsBuilder.addUwbConfig(uwbConfig); in testSpecificationParams()
139 paramsBuilder.addPulseShapeCombo(pulseShapeCombo); in testSpecificationParams()
141 paramsBuilder.setRanMultiplier(ranMultiplier); in testSpecificationParams()
143 paramsBuilder.addChapsPerSlot(chapsPerSlot); in testSpecificationParams()
146 paramsBuilder.addSyncCode(syncCode); in testSpecificationParams()
149 paramsBuilder.addChannel(channel); in testSpecificationParams()
152 paramsBuilder.addHoppingConfigMode(hoppingConfigMode); in testSpecificationParams()
155 paramsBuilder.addHoppingSequence(hoppingSequence); in testSpecificationParams()
[all …]
DRadarTests.java164 RadarSpecificationParams.Builder paramsBuilder = new RadarSpecificationParams.Builder(); in testSpecificationParams() local
165 paramsBuilder.setRadarCapabilities(radarCapabilities); in testSpecificationParams()
166 paramsBuilder.addRadarCapability(RadarCapabilityFlag.HAS_RADAR_SWEEP_SAMPLES_SUPPORT); in testSpecificationParams()
168 RadarSpecificationParams params = paramsBuilder.build(); in testSpecificationParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DCsmlUtil.java246 ConfigurationParams.Builder paramsBuilder = new ConfigurationParams.Builder(); in generateSessionData() local
247 paramsBuilder.setPhyVersion( in generateSessionData()
249 paramsBuilder.setMacVersion( in generateSessionData()
251 paramsBuilder.setStsConfig( in generateSessionData()
257 paramsBuilder.setChannel(commonChannel.get()); in generateSessionData()
258 paramsBuilder.setCcConstraintLength( in generateSessionData()
261 paramsBuilder.setHoppingMode(localCap.getPreferredHoppingMode(remoteCap.mHoppingMode)); in generateSessionData()
262 paramsBuilder.setRframeConfig(localCap.getPreferredRframeConfig(remoteCap.mRframeConfig)); in generateSessionData()
263 paramsBuilder.setMultiNodeMode( in generateSessionData()
265 paramsBuilder.setScheduleMode(localCap.getPreferredScheduleMode(remoteCap.mScheduledMode)); in generateSessionData()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcDiscoveryParametersTest.java65 NfcDiscoveryParameters.Builder paramsBuilder = NfcDiscoveryParameters.newBuilder(); in computeDiscoveryParameters() local
66 paramsBuilder.setTechMask(1); in computeDiscoveryParameters()
67 paramsBuilder.setEnableLowPowerDiscovery(true); in computeDiscoveryParameters()
68 paramsBuilder.setEnableHostRouting(true); in computeDiscoveryParameters()
69 paramsBuilder.setEnableReaderMode(true); in computeDiscoveryParameters()
70 return paramsBuilder.build(); in computeDiscoveryParameters()
86 NfcDiscoveryParameters.Builder paramsBuilder = NfcDiscoveryParameters.newBuilder(); in testDiscoveryParameters()
87 NfcDiscoveryParameters nfcDiscoveryParameters = paramsBuilder.build(); in testDiscoveryParameters()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java1960 CccSpecificationParams.Builder paramsBuilder = new CccSpecificationParams.Builder(); in getTestCccSpecificationParams() local
1963 paramsBuilder.addProtocolVersion(p); in getTestCccSpecificationParams()
1967 paramsBuilder.addUwbConfig(uwbConfig); in getTestCccSpecificationParams()
1971 paramsBuilder.addPulseShapeCombo(pulseShapeCombo); in getTestCccSpecificationParams()
1974 paramsBuilder.setRanMultiplier(ranMultiplier); in getTestCccSpecificationParams()
1977 paramsBuilder.addChapsPerSlot(chapsPerSlot); in getTestCccSpecificationParams()
1981 paramsBuilder.addSyncCode(syncCode); in getTestCccSpecificationParams()
1985 paramsBuilder.addChannel(channel); in getTestCccSpecificationParams()
1989 paramsBuilder.addHoppingConfigMode(hoppingConfigMode); in getTestCccSpecificationParams()
1993 paramsBuilder.addHoppingSequence(hoppingSequence); in getTestCccSpecificationParams()
[all …]
DUwbSessionManagerTest.java1694 FiraOpenSessionParams.Builder paramsBuilder = new FiraOpenSessionParams.Builder() in setupFiraParams() local
1710 paramsBuilder.setRangingRoundUsage(rangingRoundUsageOptional.get()); in setupFiraParams()
1713 return paramsBuilder.build(); in setupFiraParams()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java3380 NfcDiscoveryParameters.Builder paramsBuilder = NfcDiscoveryParameters.newBuilder(); in computeDiscoveryParameters() local
3397 paramsBuilder.setTechMask(techMask); in computeDiscoveryParameters()
3398 paramsBuilder.setEnableReaderMode(true); in computeDiscoveryParameters()
3400 paramsBuilder.setEnableHostRouting(true); in computeDiscoveryParameters()
3403 paramsBuilder.setTechMask(NfcDiscoveryParameters.NFC_POLL_DEFAULT); in computeDiscoveryParameters()
3406 paramsBuilder.setTechMask(NfcDiscoveryParameters.NFC_POLL_DEFAULT); in computeDiscoveryParameters()
3412 paramsBuilder.setTechMask(techMask); in computeDiscoveryParameters()
3413 paramsBuilder.setEnableLowPowerDiscovery(false); in computeDiscoveryParameters()
3418 paramsBuilder.setEnableHostRouting(true); in computeDiscoveryParameters()
3421 return paramsBuilder.build(); in computeDiscoveryParameters()