Home
last modified time | relevance | path

Searched refs:fcs (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_utils.cc89 uint8_t fcs = 0xFF; in rfc_calc_fcs() local
92 fcs = rfc_crctable[fcs ^ *p++]; in rfc_calc_fcs()
96 return (0xFF - fcs); in rfc_calc_fcs()
112 uint8_t fcs = 0xFF; in rfc_check_fcs() local
115 fcs = rfc_crctable[fcs ^ *p++]; in rfc_check_fcs()
119 fcs = rfc_crctable[fcs ^ received_fcs]; in rfc_check_fcs()
122 return (fcs == 0xCF); in rfc_check_fcs()
Drfc_ts_frames.cc519 uint8_t ead, eal, fcs; in rfc_parse_data() local
571 fcs = *(p_data + len); in rfc_parse_data()
581 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
590 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
599 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
608 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
618 } else if (!rfc_check_fcs(2, p_start, fcs)) { in rfc_parse_data()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DFederatedComputeSchedulerTest.java69 FederatedComputeScheduler fcs = new FederatedComputeScheduler(null, new TestDataService()); in testScheduleNull() local
78 assertThrows(IllegalStateException.class, () -> fcs.schedule(params, input)); in testScheduleNull()
109 FederatedComputeScheduler fcs = new FederatedComputeScheduler(null, new TestDataService()); in testCancelNull() local
110 assertThrows(IllegalStateException.class, () -> fcs.cancel(input)); in testCancelNull()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc295 uint16_t fcs; in prepare_I_frame() local
338 fcs = l2c_fcr_tx_get_fcs(p_buf); in prepare_I_frame()
347 UINT16_TO_STREAM(p, fcs); in prepare_I_frame()
390 uint16_t fcs; in l2c_fcr_send_S_frame() local
419 fcs = l2c_fcr_tx_get_fcs(p_buf); in l2c_fcr_send_S_frame()
421 UINT16_TO_STREAM(p, fcs); in l2c_fcr_send_S_frame()
473 uint16_t fcs; in l2c_fcr_proc_pdu() local
535 STREAM_TO_UINT16(fcs, p); in l2c_fcr_proc_pdu()
538 if (l2c_fcr_rx_get_fcs(p_buf) != fcs) { in l2c_fcr_proc_pdu()
1835 p_ccb->peer_cfg.fcs = p_cfg->fcs; in l2c_fcr_process_peer_cfg_req()
Dl2c_main.cc549 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
682 STREAM_TO_UINT8(cfg_info.fcs, p); in process_l2cap_cmd()
Dl2c_utils.cc638 UINT8_TO_STREAM(p, p_cfg->fcs); in l2cu_send_peer_config_req()
/packages/modules/Bluetooth/system/gd/l2cap/
DBUILD.gn32 "fcs.cc",
DAndroid.bp27 "fcs.cc",
/packages/modules/Bluetooth/system/pdl/l2cap/
Dl2cap_packets.pdl12 _checksum_start_(fcs),
16 fcs : Fcs,
/packages/modules/Bluetooth/system/stack/include/
Dl2c_api.h170 uint8_t fcs; /* '0' if desire is to bypass FCS, otherwise '1' */ member