/packages/modules/Uwb/service/support_lib/test/ |
D | CccTests.java | 30 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 …]
|
D | GenericTests.java | 26 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/ |
D | CccEncoderTest.java | 20 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 …]
|
D | CccDecoderTest.java | 20 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/ |
D | UwbServiceTest.java | 18 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/ |
D | CccEncoder.java | 19 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 …]
|
D | CccDecoder.java | 46 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 …]
|
D | TlvEncoder.java | 24 import com.google.uwb.support.ccc.CccParams; 36 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getEncoder()
|
D | TlvDecoder.java | 24 import com.google.uwb.support.ccc.CccParams; 34 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getDecoder()
|
D | GenericDecoder.java | 29 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/ |
D | UwbSessionNotificationHelper.java | 26 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()
|
D | UwbShellCommand.java | 23 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 …]
|
D | UwbSessionManager.java | 94 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/ |
D | UwbServiceCoreTest.java | 26 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 …]
|
D | UwbSessionManagerTest.java | 134 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/ |
D | CccOpenRangingParams.java | 21 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;
|
D | CccRangingReconfiguredParams.java | 34 public class CccRangingReconfiguredParams extends CccParams { 39 @Nullable @CccParams.RangeDataNtfConfig
|
D | CccRangingStoppedParams.java | 33 public class CccRangingStoppedParams extends CccParams {
|
D | CccRangingError.java | 41 public class CccRangingError extends CccParams {
|
D | CccPulseShapeCombo.java | 29 public class CccPulseShapeCombo extends CccParams {
|
D | CccStartRangingParams.java | 36 public class CccStartRangingParams extends CccParams {
|
D | CccRangingStartedParams.java | 36 public class CccRangingStartedParams extends CccParams {
|
D | CccParams.java | 33 public abstract class CccParams extends Params { class
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/ |
D | GenericSpecificationParams.java | 27 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/ |
D | UwbUciConstants.java | 25 import com.google.uwb.support.ccc.CccParams; 46 public static final byte SESSION_TYPE_CCC = (byte) CccParams.SESSION_TYPE_CCC;
|