Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraEncoder.java81 .putByte(ConfigParam.RANGING_ROUND_USAGE, (byte) params.getRangingRoundUsage()) in getTlvBufferFromFiraOpenSessionParams()
82 .putByte(ConfigParam.STS_CONFIG, (byte) params.getStsConfig()) in getTlvBufferFromFiraOpenSessionParams()
83 .putByte(ConfigParam.MULTI_NODE_MODE, (byte) params.getMultiNodeMode()) in getTlvBufferFromFiraOpenSessionParams()
84 .putByte(ConfigParam.CHANNEL_NUMBER, (byte) params.getChannelNumber()) in getTlvBufferFromFiraOpenSessionParams()
88 .putByte(ConfigParam.MAC_FCS_TYPE, (byte) params.getFcsType()) in getTlvBufferFromFiraOpenSessionParams()
89 .putByte(ConfigParam.RANGING_ROUND_CONTROL, in getTlvBufferFromFiraOpenSessionParams()
91 .putByte(ConfigParam.AOA_RESULT_REQ, (byte) params.getAoaResultRequest()) in getTlvBufferFromFiraOpenSessionParams()
92 .putByte(ConfigParam.RANGE_DATA_NTF_CONFIG, (byte) params.getRangeDataNtfConfig()) in getTlvBufferFromFiraOpenSessionParams()
97 .putByte(ConfigParam.DEVICE_ROLE, (byte) params.getDeviceRole()) in getTlvBufferFromFiraOpenSessionParams()
98 .putByte(ConfigParam.RFRAME_CONFIG, (byte) params.getRframeConfig()) in getTlvBufferFromFiraOpenSessionParams()
[all …]
DAliroEncoder.java83 .putByte(ConfigParam.DEVICE_TYPE, in getTlvBufferFromAliroOpenRangingParams()
85 .putByte(ConfigParam.STS_CONFIG, in getTlvBufferFromAliroOpenRangingParams()
87 .putByte(ConfigParam.CHANNEL_NUMBER, (byte) params.getChannel()) // CHANNEL_ID in getTlvBufferFromAliroOpenRangingParams()
88 .putByte(ConfigParam.NUMBER_OF_CONTROLEES, in getTlvBufferFromAliroOpenRangingParams()
92 .putByte(ConfigParam.DEVICE_ROLE, in getTlvBufferFromAliroOpenRangingParams()
94 .putByte(ConfigParam.MULTI_NODE_MODE, in getTlvBufferFromAliroOpenRangingParams()
96 .putByte(ConfigParam.SLOTS_PER_RR, in getTlvBufferFromAliroOpenRangingParams()
98 .putByte(ConfigParam.HOPPING_MODE, (byte) hoppingMode) // HOPPING_MODE in getTlvBufferFromAliroOpenRangingParams()
103 .putByte(ConfigParam.PULSESHAPE_COMBO, in getTlvBufferFromAliroOpenRangingParams()
111 .putByte(ConfigParam.PREAMBLE_CODE_INDEX, in getTlvBufferFromAliroOpenRangingParams()
[all …]
DRadarEncoder.java56 .putByte( in getTlvBufferFromRadarOpenSessionParams()
59 .putByte( in getTlvBufferFromRadarOpenSessionParams()
63 .putByte( in getTlvBufferFromRadarOpenSessionParams()
65 .putByte( in getTlvBufferFromRadarOpenSessionParams()
68 .putByte( in getTlvBufferFromRadarOpenSessionParams()
71 .putByte( in getTlvBufferFromRadarOpenSessionParams()
74 .putByte( in getTlvBufferFromRadarOpenSessionParams()
77 .putByte(PRF_MODE_KEY, (byte) params.getPrfMode()) // PRF_MODE in getTlvBufferFromRadarOpenSessionParams()
81 .putByte( in getTlvBufferFromRadarOpenSessionParams()
DCccEncoder.java83 .putByte(ConfigParam.DEVICE_TYPE, in getTlvBufferFromCccOpenRangingParams()
85 .putByte(ConfigParam.STS_CONFIG, in getTlvBufferFromCccOpenRangingParams()
87 .putByte(ConfigParam.CHANNEL_NUMBER, (byte) params.getChannel()) // CHANNEL_ID in getTlvBufferFromCccOpenRangingParams()
88 .putByte(ConfigParam.NUMBER_OF_CONTROLEES, in getTlvBufferFromCccOpenRangingParams()
92 .putByte(ConfigParam.DEVICE_ROLE, in getTlvBufferFromCccOpenRangingParams()
94 .putByte(ConfigParam.MULTI_NODE_MODE, in getTlvBufferFromCccOpenRangingParams()
96 .putByte(ConfigParam.SLOTS_PER_RR, in getTlvBufferFromCccOpenRangingParams()
98 .putByte(ConfigParam.HOPPING_MODE, (byte) hoppingMode) // HOPPING_MODE in getTlvBufferFromCccOpenRangingParams()
103 .putByte(ConfigParam.PULSESHAPE_COMBO, in getTlvBufferFromCccOpenRangingParams()
111 .putByte(ConfigParam.PREAMBLE_CODE_INDEX, in getTlvBufferFromCccOpenRangingParams()
[all …]
DTlvBuffer.java58 public TlvBuffer.Builder putByte(int tagType, byte b) { in putByte() method in TlvBuffer.Builder
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java183 mDeviceRole.ifPresent(integer -> configParamsBuilder.putByte(DEVICE_ROLES, in toBytes()
186 mRangingMethod.ifPresent(integer -> configParamsBuilder.putByte(RANGING_METHOD, in toBytes()
192 integer -> configParamsBuilder.putByte(STS_CONFIG, integer.byteValue())); in toBytes()
195 integer -> configParamsBuilder.putByte(MULTI_NODE_MODE, integer.byteValue())); in toBytes()
198 aByte -> configParamsBuilder.putByte(RANGING_TIME_STRUCT, aByte)); in toBytes()
201 integer -> configParamsBuilder.putByte(SCHEDULED_MODE, integer.byteValue())); in toBytes()
203 mHoppingMode.ifPresent(aBoolean -> configParamsBuilder.putByte(HOPPING_MODE, in toBytes()
206 mBlockStriding.ifPresent(aBoolean -> configParamsBuilder.putByte(BLOCK_STRIDING, in toBytes()
209 mUwbInitiationTime.ifPresent(aBoolean -> configParamsBuilder.putByte(UWB_INITIATION_TIME, in toBytes()
212 mChannel.ifPresent(integer -> configParamsBuilder.putByte(CHANNEL, integer.byteValue())); in toBytes()
[all …]
DUwbCapability.java207 uwbCapabilityBuilder.putByte(DEVICE_ROLES, deviceRoles); in toBytes()
210 uwbCapabilityBuilder.putByte(RANGING_METHOD, mRangingMethod.get()); in toBytes()
225 uwbCapabilityBuilder.putByte(STS_CONFIG, stsConfig); in toBytes()
241 uwbCapabilityBuilder.putByte(MULTI_NODE_MODE, multiMode); in toBytes()
244 aByte -> uwbCapabilityBuilder.putByte(RANGING_TIME_STRUCT, aByte)); in toBytes()
247 aByte -> uwbCapabilityBuilder.putByte(SCHEDULED_MODE, aByte)); in toBytes()
249 mHoppingMode.ifPresent(aBoolean -> uwbCapabilityBuilder.putByte(HOPPING_MODE, in toBytes()
252 mBlockStriding.ifPresent(aBoolean -> uwbCapabilityBuilder.putByte(BLOCK_STRIDING, in toBytes()
255 mUwbInitiationTime.ifPresent(aBoolean -> uwbCapabilityBuilder.putByte(UWB_INITIATION_TIME, in toBytes()
283 uwbCapabilityBuilder.putByte(CHANNELS, channels); in toBytes()
[all …]
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java507 mPos += mBuffer.putByte(mPos, numUids); in writeAttributionChain()
547 mPos += mBuffer.putByte(mPos, (byte) totalCount); in writeKeyValuePairs()
723 mPos += mBuffer.putByte(mPos, annotationId); in addBooleanAnnotation()
724 mPos += mBuffer.putByte(mPos, TYPE_BOOLEAN); in addBooleanAnnotation()
743 mPos += mBuffer.putByte(mPos, annotationId); in addIntAnnotation()
744 mPos += mBuffer.putByte(mPos, TYPE_INT); in addIntAnnotation()
784 mBuffer.putByte(POS_NUM_ELEMENTS, (byte) mNumElements); in build()
788 mPos += mBuffer.putByte(mPos, TYPE_INT); in build()
790 mPos += mBuffer.putByte(mPos, TYPE_ERRORS); in build()
792 mBuffer.putByte(POS_NUM_ELEMENTS, (byte) 3); in build()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java48 tlv11.putByte(0, (byte) 2); in testTlvBuild()
57 tlv01.putByte(0, (byte) 2); in testTlvBuild()
80 tlv.putByte(0, (byte) 2); in testTlvReuse()
81 tlv.putByte(1, (byte) 104); in testTlvReuse()
86 tlv.putByte(5, (byte) 7); in testTlvReuse()
151 tlv.putByte(0, (byte) 2); in testRawPuts()
153 tlv.putByte(1, (byte) 104); in testRawPuts()
199 tlv02.putByte(0, (byte) 2); in testTlvIterate()
315 tlv01.putByte(0, (byte) 2); in testTlvInvalidByteArray()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java1204 data.putByte(BluetoothHidHost.EXTRA_REPORT_TYPE, reportType); in getReport()
1205 data.putByte(BluetoothHidHost.EXTRA_REPORT_ID, reportId); in getReport()
1221 data.putByte(BluetoothHidHost.EXTRA_REPORT_TYPE, reportType); in setReport()
1268 data.putByte(BluetoothHidHost.EXTRA_IDLE_TIME, idleTime); in setIdleTime()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java744 extras.putByte(NfcV.EXTRA_RESP_FLAGS, mTechPollBytes[i][0]); in getTechExtras()
745 extras.putByte(NfcV.EXTRA_DSFID, mTechPollBytes[i][1]); in getTechExtras()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java236 b.putByte("byte", (byte) 1); in createThoroughBundle()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DTlvBufferUtils.java165 public TlvConstructor putByte(int type, byte b) { in putByte() method in TlvBufferUtils.TlvConstructor
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java713 bundle.putByte(BondStateMachine.DISPLAY_PASSKEY, (byte) 1 /* true */); in sspRequestCallback()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1771 tlvc.putByte(SUB_TYPE_TRANSPORT_PROTOCOL, (byte) transportProtocol); in buildTlv()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java397 testBundle.putByte("EXTRA_BYTE", (byte) 1); in testPhoneAccountExtrasEdge()
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java2357 tlvc.putByte(WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt235 Landroid/net/wifi/aware/TlvBufferUtils$TlvConstructor;->putByte(IB)Landroid/net/wifi/aware/TlvBuffe…