Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraEncoder.java55 .putByte(ConfigParam.DEVICE_TYPE, (byte) params.getDeviceType()) in getTlvBufferFromFiraOpenSessionParams()
56 .putByte(ConfigParam.RANGING_ROUND_USAGE, (byte) params.getRangingRoundUsage()) in getTlvBufferFromFiraOpenSessionParams()
57 .putByte(ConfigParam.STS_CONFIG, (byte) params.getStsConfig()) in getTlvBufferFromFiraOpenSessionParams()
58 .putByte(ConfigParam.MULTI_NODE_MODE, (byte) params.getMultiNodeMode()) in getTlvBufferFromFiraOpenSessionParams()
59 .putByte(ConfigParam.CHANNEL_NUMBER, (byte) params.getChannelNumber()) in getTlvBufferFromFiraOpenSessionParams()
60 .putByte(ConfigParam.NUMBER_OF_CONTROLEES, in getTlvBufferFromFiraOpenSessionParams()
68 .putByte(ConfigParam.MAC_FCS_TYPE, (byte) params.getFcsType()) in getTlvBufferFromFiraOpenSessionParams()
69 .putByte(ConfigParam.RANGING_ROUND_CONTROL, in getTlvBufferFromFiraOpenSessionParams()
71 .putByte(ConfigParam.AOA_RESULT_REQ, (byte) params.getAoaResultRequest()) in getTlvBufferFromFiraOpenSessionParams()
72 .putByte(ConfigParam.RANGE_DATA_NTF_CONFIG, (byte) params.getRangeDataNtfConfig()) in getTlvBufferFromFiraOpenSessionParams()
[all …]
DCccEncoder.java63 .putByte(ConfigParam.DEVICE_TYPE, in getTlvBufferFromCccOpenRangingParams()
65 .putByte(ConfigParam.STS_CONFIG, in getTlvBufferFromCccOpenRangingParams()
67 .putByte(ConfigParam.CHANNEL_NUMBER, (byte) params.getChannel()) // CHANNEL_ID in getTlvBufferFromCccOpenRangingParams()
68 .putByte(ConfigParam.NUMBER_OF_CONTROLEES, in getTlvBufferFromCccOpenRangingParams()
72 .putByte(ConfigParam.RANGE_DATA_NTF_CONFIG, in getTlvBufferFromCccOpenRangingParams()
74 .putByte(ConfigParam.DEVICE_ROLE, in getTlvBufferFromCccOpenRangingParams()
76 .putByte(ConfigParam.MULTI_NODE_MODE, in getTlvBufferFromCccOpenRangingParams()
78 .putByte(ConfigParam.SLOTS_PER_RR, in getTlvBufferFromCccOpenRangingParams()
80 .putByte(ConfigParam.KEY_ROTATION, (byte) 0X01) // KEY_ROTATION in getTlvBufferFromCccOpenRangingParams()
81 .putByte(ConfigParam.HOPPING_MODE, (byte) hoppingMode) // HOPPING_MODE in getTlvBufferFromCccOpenRangingParams()
[all …]
DTlvBuffer.java58 public TlvBuffer.Builder putByte(int tagType, byte b) { in putByte() method in TlvBuffer.Builder
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java504 mPos += mBuffer.putByte(mPos, numUids); in writeAttributionChain()
544 mPos += mBuffer.putByte(mPos, (byte) totalCount); in writeKeyValuePairs()
715 mPos += mBuffer.putByte(mPos, annotationId); in addBooleanAnnotation()
716 mPos += mBuffer.putByte(mPos, TYPE_BOOLEAN); in addBooleanAnnotation()
735 mPos += mBuffer.putByte(mPos, annotationId); in addIntAnnotation()
736 mPos += mBuffer.putByte(mPos, TYPE_INT); in addIntAnnotation()
776 mBuffer.putByte(POS_NUM_ELEMENTS, (byte) mNumElements); in build()
780 mPos += mBuffer.putByte(mPos, TYPE_INT); in build()
782 mPos += mBuffer.putByte(mPos, TYPE_ERRORS); in build()
784 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.java758 data.putByte(BluetoothHidHost.EXTRA_REPORT_TYPE, reportType); in getReport()
759 data.putByte(BluetoothHidHost.EXTRA_REPORT_ID, reportId); in getReport()
777 data.putByte(BluetoothHidHost.EXTRA_REPORT_TYPE, reportType); in setReport()
817 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/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DGrantPermissionsWearViewHandler.java191 b.putByte(SHOW_DO_NOT_ASK, (byte) (mShowDoNotAsk ? 1 : 0)); in saveInstanceState()
/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/AppSearch/testing/coretests/src/android/app/appsearch/external/util/
DBundleUtilTest.java236 b.putByte("byte", (byte) 1); in createThoroughBundle()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java560 bundle.putByte(BondStateMachine.DISPLAY_PASSKEY, (byte) 1 /* true */); in sspRequestCallback()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1734 tlvc.putByte(SUB_TYPE_TRANSPORT_PROTOCOL, (byte) transportProtocol); in buildTlv()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java269 testBundle.putByte("EXTRA_BYTE", (byte) 1); in testPhoneAccountExtrasEdge()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java2236 tlvc.putByte(WifiAwareDataPathStateManager.NetworkInformationData in buildTlv()
/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…