Home
last modified time | relevance | path

Searched refs:CccParams (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Uwb/service/support_lib/test/
DCccTests.java30 import com.google.uwb.support.ccc.CccParams;
55 new Integer[] {CccParams.UWB_CONFIG_0, CccParams.UWB_CONFIG_1};
59 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE,
60 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE),
62 CccParams.PULSE_SHAPE_PRECURSOR_FREE,
63 CccParams.PULSE_SHAPE_PRECURSOR_FREE),
65 CccParams.PULSE_SHAPE_PRECURSOR_FREE_SPECIAL,
66 CccParams.PULSE_SHAPE_PRECURSOR_FREE_SPECIAL)
70 new Integer[] {CccParams.CHAPS_PER_SLOT_4, CccParams.CHAPS_PER_SLOT_12};
73 new Integer[] {CccParams.UWB_CHANNEL_5, CccParams.UWB_CHANNEL_9};
[all …]
DGenericTests.java26 import com.google.uwb.support.ccc.CccParams;
107 Integer[] uwbConfigs = new Integer[] {CccParams.UWB_CONFIG_0, CccParams.UWB_CONFIG_1}; in testSpecificationParams()
111 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE, in testSpecificationParams()
112 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE), in testSpecificationParams()
114 CccParams.PULSE_SHAPE_PRECURSOR_FREE, in testSpecificationParams()
115 CccParams.PULSE_SHAPE_PRECURSOR_FREE), in testSpecificationParams()
117 CccParams.PULSE_SHAPE_PRECURSOR_FREE_SPECIAL, in testSpecificationParams()
118 CccParams.PULSE_SHAPE_PRECURSOR_FREE_SPECIAL) in testSpecificationParams()
122 new Integer[] {CccParams.CHAPS_PER_SLOT_4, CccParams.CHAPS_PER_SLOT_12}; in testSpecificationParams()
124 Integer[] channels = new Integer[] {CccParams.UWB_CHANNEL_5, CccParams.UWB_CHANNEL_9}; in testSpecificationParams()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DCccEncoderTest.java20 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
21 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_NONE;
22 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_DEFAULT;
23 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE;
24 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE;
25 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_LEVEL_TRI…
26 import static com.google.uwb.support.ccc.CccParams.SLOTS_PER_ROUND_6;
27 import static com.google.uwb.support.ccc.CccParams.UWB_CHANNEL_9;
41 import com.google.uwb.support.ccc.CccParams;
59 .setProtocolVersion(CccParams.PROTOCOL_VERSION_1_0)
[all …]
DCccDecoderTest.java20 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
21 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_9;
22 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_ADAPTIVE;
23 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_CONTINUOUS;
24 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_AES;
25 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_PRECURSOR_FREE;
26 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_PRECURSOR_FREE_SPECIAL;
27 import static com.google.uwb.support.ccc.CccParams.UWB_CONFIG_0;
40 import com.google.uwb.support.ccc.CccParams;
170 tlvDecoderBuffer, CccRangingStartedParams.class, CccParams.PROTOCOL_VERSION_1_0); in testGetCccRangingOpened()
[all …]
/packages/modules/Uwb/indev_uwb_adaptation/tests/src/com/android/server/uwb/indev/
DUwbServiceTest.java18 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
19 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_NONE;
20 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_DEFAULT;
21 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE;
22 import static com.google.uwb.support.ccc.CccParams.SLOTS_PER_ROUND_6;
23 import static com.google.uwb.support.ccc.CccParams.UWB_CHANNEL_9;
35 import com.google.uwb.support.ccc.CccParams;
52 .setProtocolVersion(CccParams.PROTOCOL_VERSION_1_0)
53 .setUwbConfig(CccParams.UWB_CONFIG_0)
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DCccEncoder.java19 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE_AOA_EDGE_TRIG;
20 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE_AOA_LEVEL_TRIG;
21 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_AOA_EDGE_…
22 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_CONFIG_ENABLE_PROXIMITY_AOA_LEVEL…
33 import com.google.uwb.support.ccc.CccParams;
61 int hoppingMode = CccParams.HOPPING_CONFIG_MODE_NONE; in getTlvBufferFromCccOpenRangingParams()
66 case CccParams.HOPPING_CONFIG_MODE_CONTINUOUS: in getTlvBufferFromCccOpenRangingParams()
67 if (hoppingSequence == CccParams.HOPPING_SEQUENCE_DEFAULT) { in getTlvBufferFromCccOpenRangingParams()
73 case CccParams.HOPPING_CONFIG_MODE_ADAPTIVE: in getTlvBufferFromCccOpenRangingParams()
74 if (hoppingSequence == CccParams.HOPPING_SEQUENCE_DEFAULT) { in getTlvBufferFromCccOpenRangingParams()
[all …]
DCccDecoder.java46 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_12;
47 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_24;
48 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
49 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_4;
50 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_6;
51 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_8;
52 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_9;
53 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_ADAPTIVE;
54 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_CONTINUOUS;
55 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_NONE;
[all …]
DTlvEncoder.java24 import com.google.uwb.support.ccc.CccParams;
36 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getEncoder()
DTlvDecoder.java24 import com.google.uwb.support.ccc.CccParams;
34 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getDecoder()
DGenericDecoder.java29 import com.google.uwb.support.ccc.CccParams;
67 TlvDecoder.getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionNotificationHelper.java26 import com.google.uwb.support.ccc.CccParams;
140 private static @CccParams.ProtocolError int convertUciStatusToApiCccProtocolError(int status) { in convertUciStatusToApiCccProtocolError()
143 return CccParams.PROTOCOL_ERROR_NOT_FOUND; in convertUciStatusToApiCccProtocolError()
145 return CccParams.PROTOCOL_ERROR_LIFECYCLE; in convertUciStatusToApiCccProtocolError()
147 return CccParams.PROTOCOL_ERROR_SE_BUSY; in convertUciStatusToApiCccProtocolError()
149 return CccParams.PROTOCOL_ERROR_UNKNOWN; in convertUciStatusToApiCccProtocolError()
165 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
DUwbShellCommand.java23 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
24 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_ADAPTIVE;
25 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_CONTINUOUS;
26 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_AES;
27 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_DEFAULT;
28 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE;
29 import static com.google.uwb.support.ccc.CccParams.SLOTS_PER_ROUND_6;
30 import static com.google.uwb.support.ccc.CccParams.UWB_CHANNEL_9;
106 import com.google.uwb.support.ccc.CccParams;
197 .setProtocolVersion(CccParams.PROTOCOL_VERSION_1_0)
[all …]
DUwbSessionManager.java94 import com.google.uwb.support.ccc.CccParams;
671 } else if (protocolName.equals(CccParams.PROTOCOL_NAME) in initSession()
792 } else if (uwbSession.getProtocolName().equals(CccParams.PROTOCOL_NAME) in startRanging()
1037 return getProtocolSessionCount(CccParams.PROTOCOL_NAME); in getCccSessionCount()
1187 } else if (uwbSession.getProtocolName().equals(CccParams.PROTOCOL_NAME) in reconfigureInternal()
2005 if (uwbSession.getProtocolName().equals(CccParams.PROTOCOL_NAME)) { in handleStartRanging()
2009 CccParams.PROTOCOL_NAME, in handleStartRanging()
2013 CccParams.PROTOCOL_VERSION_1_0); in handleStartRanging()
2139 if (uwbSession.getProtocolName().equals(CccParams.PROTOCOL_NAME) in handleStopRangingParams()
2145 CccParams.PROTOCOL_NAME, in handleStopRangingParams()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java26 import static com.google.uwb.support.ccc.CccParams.CHAPS_PER_SLOT_3;
27 import static com.google.uwb.support.ccc.CccParams.HOPPING_CONFIG_MODE_NONE;
28 import static com.google.uwb.support.ccc.CccParams.HOPPING_SEQUENCE_DEFAULT;
29 import static com.google.uwb.support.ccc.CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE;
30 import static com.google.uwb.support.ccc.CccParams.SLOTS_PER_ROUND_6;
31 import static com.google.uwb.support.ccc.CccParams.UWB_CHANNEL_9;
104 import com.google.uwb.support.ccc.CccParams;
198 .setProtocolVersion(CccParams.PROTOCOL_VERSION_1_0)
199 .setUwbConfig(CccParams.UWB_CONFIG_0)
1125 eq(CccParams.PROTOCOL_NAME), in testOpenCccRanging()
[all …]
DUwbSessionManagerTest.java134 import com.google.uwb.support.ccc.CccParams;
256 .setProtocolVersion(CccParams.PROTOCOL_VERSION_1_0)
257 .setUwbConfig(CccParams.UWB_CONFIG_0)
260 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE,
261 CccParams.PULSE_SHAPE_SYMMETRICAL_ROOT_RAISED_COSINE))
264 .setChannel(CccParams.UWB_CHANNEL_9)
265 .setNumChapsPerSlot(CccParams.CHAPS_PER_SLOT_3)
267 .setNumSlotsPerRound(CccParams.SLOTS_PER_ROUND_6)
269 .setHoppingConfigMode(CccParams.HOPPING_CONFIG_MODE_NONE)
270 .setHoppingSequence(CccParams.HOPPING_SEQUENCE_DEFAULT)
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccOpenRangingParams.java21 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_PROXIMITY_NEAR_DEFAULT;
22 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_PROXIMITY_FAR_DEFAULT;
23 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_AOA_AZIMUTH_LOWER_DEFAULT;
24 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_AOA_AZIMUTH_UPPER_DEFAULT;
25 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_AOA_ELEVATION_LOWER_DEFAULT;
26 import static com.google.uwb.support.ccc.CccParams.RANGE_DATA_NTF_AOA_ELEVATION_UPPER_DEFAULT;
45 public class CccOpenRangingParams extends CccParams {
359 @SessionType private int mSessionType = CccParams.SESSION_TYPE_CCC;
DCccRangingReconfiguredParams.java34 public class CccRangingReconfiguredParams extends CccParams {
39 @Nullable @CccParams.RangeDataNtfConfig
DCccRangingStoppedParams.java33 public class CccRangingStoppedParams extends CccParams {
DCccRangingError.java41 public class CccRangingError extends CccParams {
DCccPulseShapeCombo.java29 public class CccPulseShapeCombo extends CccParams {
DCccStartRangingParams.java36 public class CccStartRangingParams extends CccParams {
DCccRangingStartedParams.java36 public class CccRangingStartedParams extends CccParams {
DCccParams.java33 public abstract class CccParams extends Params { class
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericSpecificationParams.java27 import com.google.uwb.support.ccc.CccParams;
53 private static final String KEY_CCC_SPECIFICATION_PARAMS = CccParams.PROTOCOL_NAME;
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbUciConstants.java25 import com.google.uwb.support.ccc.CccParams;
46 public static final byte SESSION_TYPE_CCC = (byte) CccParams.SESSION_TYPE_CCC;

12