Home
last modified time | relevance | path

Searched refs:TlvBuffer (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DTlvBuffer.java29 public class TlvBuffer { class
35 public TlvBuffer(byte[] tlvArray, int noOfParams) { in TlvBuffer() method in TlvBuffer
53 public TlvBuffer.Builder putOrder(ByteOrder order) { in putOrder()
58 public TlvBuffer.Builder putByte(int tagType, byte b) { in putByte()
65 public TlvBuffer.Builder putByteArray(int tagType, byte[] bArray) { in putByteArray()
70 public TlvBuffer.Builder putByteArray(int tagType, int length, byte[] bArray) { in putByteArray()
77 public TlvBuffer.Builder putShort(int tagType, short data) { in putShort()
84 public TlvBuffer.Builder putShortArray(int tagType, short[] sArray) { in putShortArray()
89 public TlvBuffer.Builder putShortArray(int tagType, int length, short[] sArray) { in putShortArray()
98 public TlvBuffer.Builder putInt(int tagType, int data) { in putInt()
[all …]
DCccEncoder.java45 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
56 private TlvBuffer getTlvBufferFromCccOpenRangingParams(Params baseParam) { in getTlvBufferFromCccOpenRangingParams()
82 TlvBuffer.Builder tlvBufferBuilder = new TlvBuffer.Builder() in getTlvBufferFromCccOpenRangingParams()
159 private TlvBuffer getTlvBufferFromCccRangingReconfiguredParams(Params baseParam) { in getTlvBufferFromCccRangingReconfiguredParams()
161 TlvBuffer.Builder tlvBuilder = new TlvBuffer.Builder(); in getTlvBufferFromCccRangingReconfiguredParams()
DRadarEncoder.java41 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
48 private TlvBuffer getTlvBufferFromRadarOpenSessionParams(Params baseParam) { in getTlvBufferFromRadarOpenSessionParams()
51 TlvBuffer.Builder tlvBufferBuilder = in getTlvBufferFromRadarOpenSessionParams()
52 new TlvBuffer.Builder() in getTlvBufferFromRadarOpenSessionParams()
DAliroEncoder.java49 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
56 private TlvBuffer getTlvBufferFromAliroOpenRangingParams(Params baseParam) { in getTlvBufferFromAliroOpenRangingParams()
82 TlvBuffer.Builder tlvBufferBuilder = new TlvBuffer.Builder() in getTlvBufferFromAliroOpenRangingParams()
DFiraEncoder.java49 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
72 private TlvBuffer getTlvBufferFromFiraOpenSessionParams( in getTlvBufferFromFiraOpenSessionParams()
80 TlvBuffer.Builder tlvBufferBuilder = new TlvBuffer.Builder() in getTlvBufferFromFiraOpenSessionParams()
270 private void configureStsParameters(TlvBuffer.Builder tlvBufferBuilder, in configureStsParameters()
312 private TlvBuffer getTlvBufferFromFiraRangingReconfigureParams(Params baseParam) { in getTlvBufferFromFiraRangingReconfigureParams()
314 TlvBuffer.Builder tlvBuilder = new TlvBuffer.Builder(); in getTlvBufferFromFiraRangingReconfigureParams()
DTlvEncoder.java51 public abstract TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion); in getTlvBuffer()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DAliroEncoderTest.java110 TlvBuffer tlvs = mAliroEncoder.getTlvBuffer(params, AliroParams.PROTOCOL_VERSION_1_0); in testAliroOpenRangingParams()
119 TlvBuffer tlvs = TlvEncoder.getEncoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testAliroOpenRangingParamsViaTlvEncoder()
133 TlvBuffer tlvs = mAliroEncoder.getTlvBuffer(params, AliroParams.PROTOCOL_VERSION_1_0); in testAliroOpenRangingParamsWithAbsoluteInitiationTime()
153 TlvBuffer tlvs = mAliroEncoder.getTlvBuffer(params, AliroParams.PROTOCOL_VERSION_1_0); in testAliroOpenRangingParams_withRangeDataNtfConfigSupportedAndDisabled()
177 TlvBuffer tlvs = mAliroEncoder.getTlvBuffer(params, AliroParams.PROTOCOL_VERSION_1_0); in testAliroOpenRangingParams_withRangeDataNtfConfigSupportedAndEnabled()
204 TlvBuffer tlvs = mAliroEncoder.getTlvBuffer(params, AliroParams.PROTOCOL_VERSION_1_0); in testAliroOpenRangingParams_withRangeDataNtfConfigSupportedAndConfigured()
DCccEncoderTest.java110 TlvBuffer tlvs = mCccEncoder.getTlvBuffer(params, CccParams.PROTOCOL_VERSION_1_0); in testCccOpenRangingParams()
119 TlvBuffer tlvs = TlvEncoder.getEncoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testCccOpenRangingParamsViaTlvEncoder()
133 TlvBuffer tlvs = mCccEncoder.getTlvBuffer(params, CccParams.PROTOCOL_VERSION_1_0); in testCccOpenRangingParamsWithAbsoluteInitiationTime()
153 TlvBuffer tlvs = mCccEncoder.getTlvBuffer(params, CccParams.PROTOCOL_VERSION_1_0); in testCccOpenRangingParams_withRangeDataNtfConfigSupportedAndDisabled()
177 TlvBuffer tlvs = mCccEncoder.getTlvBuffer(params, CccParams.PROTOCOL_VERSION_1_0); in testCccOpenRangingParams_withRangeDataNtfConfigSupportedAndEnabled()
204 TlvBuffer tlvs = mCccEncoder.getTlvBuffer(params, CccParams.PROTOCOL_VERSION_1_0); in testCccOpenRangingParams_withRangeDataNtfConfigSupportedAndConfigured()
DFiraEncoderTest.java364 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParams_useUwbsUciVersion()
391 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraRangingReconfigureParams()
402 TlvBuffer tlvs = TlvEncoder.getEncoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testFiraOpenSessionParamsViaTlvEncoder()
412 TlvBuffer tlvs = TlvEncoder.getEncoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testFiraRangingReconfigureParamsViaTlvEncoder()
422 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsUtTag()
483 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsProvisionedStsWithSessionKey()
540 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsProvisionedStsWithoutSessionKey()
600 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsDynamicControleeIndKey()
668 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsProvControleeIndKeyWithSessionkey()
728 TlvBuffer tlvs = mFiraEncoder.getTlvBuffer(params, PROTOCOL_VERSION_1_1); in testFiraOpenSessionParamsProvControleeIndKeyWithoutSessionkey()
[all …]
DRadarEncoderTest.java82 public static void verifyRadarOpenSessionParamsTlvBuffer(TlvBuffer tlvs) { in verifyRadarOpenSessionParamsTlvBuffer()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DControleeInfo.java24 import com.android.server.uwb.params.TlvBuffer;
56 TlvBuffer.Builder controleeInfoBuilder = new TlvBuffer.Builder() in toBytes()
DSecureRangingInfo.java21 import com.android.server.uwb.params.TlvBuffer;
54 TlvBuffer.Builder secureInfoBuilder = new TlvBuffer.Builder(); in toBytes()
DSessionData.java25 import com.android.server.uwb.params.TlvBuffer;
71 TlvBuffer.Builder sessionDataBuilder = new TlvBuffer.Builder() in toBytes()
DConfigurationParams.java29 import com.android.server.uwb.params.TlvBuffer;
173 TlvBuffer.Builder configParamsBuilder = new TlvBuffer.Builder() in toBytes()
DUwbCapability.java71 import com.android.server.uwb.params.TlvBuffer;
180 TlvBuffer.Builder uwbCapabilityBuilder = new TlvBuffer.Builder() in toBytes()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigurationManager.java25 import com.android.server.uwb.params.TlvBuffer;
51 TlvBuffer tlvBuffer = null; in setAppConfigurations()