Home
last modified time | relevance | path

Searched refs:bArray (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DSecureRangingInfo.java55 uwbSessionKeyInfo.ifPresent(bArray -> secureInfoBuilder.putByteArray( in toBytes()
56 UWB_SESSION_KEY_INFO_TAG, bArray)); in toBytes()
57 uwbSubSessionKeyInfo.ifPresent(bArray -> secureInfoBuilder.putByteArray( in toBytes()
58 RESPONDER_SPECIFIC_SUB_SESSION_KEY_INFO_TAG, bArray)); in toBytes()
59 susAdditionalParams.ifPresent(bArray -> secureInfoBuilder.putByteArray( in toBytes()
60 SUS_ADDITIONAL_PARAMS_TAG, bArray)); in toBytes()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DTlvBuffer.java65 public TlvBuffer.Builder putByteArray(int tagType, byte[] bArray) { in putByteArray() argument
66 if (bArray == null) return this; in putByteArray()
67 return putByteArray(tagType, bArray.length, bArray); in putByteArray()
70 public TlvBuffer.Builder putByteArray(int tagType, int length, byte[] bArray) { in putByteArray() argument
72 this.mBuffer.put(bArray); in putByteArray()
/packages/modules/Uwb/generic_ranging/tests/multidevices/snippet/
DGenericRangingSnippet.java191 byte[] bArray = new byte[jArray.length()]; in convertJSONArrayToByteArray()
193 bArray[i] = (byte) jArray.getInt(i); in convertJSONArrayToByteArray()
195 return bArray; in convertJSONArrayToByteArray()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java462 byte[] bArray = new byte[jArray.length()]; in convertJSONArrayToByteArray()
464 bArray[i] = (byte) jArray.getInt(i); in convertJSONArrayToByteArray()
466 return bArray; in convertJSONArrayToByteArray()
631 byte[] bArray = convertJSONArrayToByteArray(jArray); in generateFiraOpenSessionParams()
632 UwbAddress deviceAddress = getComputedMacAddress(UwbAddress.fromBytes(bArray)); in generateFiraOpenSessionParams()
712 byte[] bArray = convertJSONArrayToByteArray(jArray); in getRangingMeasurement()
713 UwbAddress peerAddress = getComputedMacAddress(UwbAddress.fromBytes(bArray)); in getRangingMeasurement()