/system/bt/hci/test/ |
H A D | low_power_manager_test.cpp | 50 STUB_FUNCTION(int, vendor_send_command, (vendor_opcode_t opcode, void *param)) 53 *((uint32_t *)param) = 100; variable 61 STUB_FUNCTION(int, vendor_send_async_command, (vendor_async_opcode_t opcode, void *param)) 65 EXPECT_EQ(BT_VND_LPM_ENABLE, *(uint8_t *)param); 72 EXPECT_EQ(BT_VND_LPM_DISABLE, *(uint8_t *)param);
|
H A D | hci_hal_h4_test.cpp | 77 STUB_FUNCTION(int, vendor_send_command, (vendor_opcode_t opcode, void *param)) 81 ((int *)param)[0] = dummy_serial_fd; variable
|
H A D | hci_hal_mct_test.cpp | 72 STUB_FUNCTION(int, vendor_send_command, (vendor_opcode_t opcode, void *param)) 75 ((int *)param)[CH_CMD] = command_out_fd; variable 76 ((int *)param)[CH_ACL_OUT] = acl_out_fd; variable 77 ((int *)param)[CH_ACL_IN] = acl_in_fd; variable 78 ((int *)param)[CH_EVT] = event_in_fd; variable
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | bt_vendor.cc | 46 // definitions. |param| points to operation specific arguments. Return value is 48 static int TestVendorOp(bt_vendor_opcode_t opcode, void* param) { argument 57 int* state = static_cast<int*>(param); 68 int* fd_list = static_cast<int*>(param);
|
/system/bt/btif/include/ |
H A D | btif_gatt_multi_adv_util.h | 58 tBTA_BLE_ADV_PARAMS param; member in struct:__anon589
|
/system/bt/btif/src/ |
H A D | btif_gatt_test.c | 260 tGATT_DISC_PARAM param; local 261 memset(¶m, 0, sizeof(tGATT_DISC_PARAM)); 269 param.s_handle = params->u2; 270 param.e_handle = params->u3; 271 btif_to_bta_uuid(¶m.service, params->uuid1); 275 format_uuid(param.service, buf), params->u2, params->u3); 276 GATTC_Discover(test_cb.conn_id, params->u1, ¶m);
|
H A D | btif_sock_thread.c | 116 struct sched_param param; local 125 pthread_getschedparam(*thread_id, &policy, ¶m); 127 if (param.sched_priority > min_pri) { 128 param.sched_priority -= 1; 130 pthread_setschedparam(*thread_id, policy, ¶m);
|
/system/bt/hci/src/ |
H A D | vendor.c | 94 static int send_command(vendor_opcode_t opcode, void *param) { argument 96 return lib_interface->op((bt_vendor_opcode_t)opcode, param); 99 static int send_async_command(vendor_async_opcode_t opcode, void *param) { argument 101 return lib_interface->op((bt_vendor_opcode_t)opcode, param);
|
/system/bt/bta/hh/ |
H A D | bta_hh_api.c | 151 static void bta_hh_snd_write_dev(UINT8 dev_handle, UINT8 t_type, UINT8 param, argument 161 p_buf->param = param; 195 UINT8 param = (buf_size) ? (r_type | 0x08) : r_type; local 197 bta_hh_snd_write_dev(dev_handle, HID_TRANS_GET_REPORT, param,
|
/system/bt/stack/hid/ |
H A D | hidh_api.c | 447 UINT8 param, UINT16 data, UINT8 report_id, BT_HDR *pbuf ) 472 status = hidh_conn_snd_data(dev_handle, t_type, param, data, report_id, pbuf); 446 HID_HostWriteDev( UINT8 dev_handle, UINT8 t_type, UINT8 param, UINT16 data, UINT8 report_id, BT_HDR *pbuf ) argument
|
H A D | hidh_conn.c | 806 UINT8 ttype, param, rep_type, evt; local 825 param = HID_GET_PARAM_FROM_HDR(*p_data); 826 rep_type = param & HID_PAR_REP_TYPE_MASK; 836 hh_cb.callback(dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_HANDSHAKE, param, NULL); 841 switch (param) 883 tHID_STATUS hidh_conn_snd_data (UINT8 dhandle, UINT8 trans_type, UINT8 param, argument 931 else if( (trans_type == HID_TRANS_GET_REPORT) && (param & 0x08) ) 965 *p_out++ = HID_BUILD_HDR(trans_type, param);
|
/system/bt/stack/srvc/ |
H A D | srvc_dis.c | 229 tGATT_READ_PARAM param; local 231 memset(¶m, 0, sizeof(tGATT_READ_PARAM)); 233 param.service.uuid.len = LEN_UUID_16; 234 param.service.s_handle = 1; 235 param.service.e_handle = 0xFFFF; 236 param.service.auth_req = 0; 243 param.service.uuid.uu.uuid16 = dis_attr_uuid[dis_cb.dis_read_uuid_idx]; 245 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) 248 GATT_TRACE_ERROR ("Read DISInfo: 0x%04x GATT_Read Failed", param.service.uuid.uu.uuid16);
|
/system/core/libcutils/ |
H A D | sched_policy.c | 419 struct sched_param param; local 421 param.sched_priority = 0; 425 ¶m);
|
/system/core/logd/ |
H A D | main.cpp | 90 struct sched_param param; local 91 memset(¶m, 0, sizeof(param)); 97 if (sched_setscheduler((pid_t) 0, SCHED_BATCH, ¶m) < 0) { 425 struct sched_param param; local 427 memset(¶m, 0, sizeof(param)); 428 pthread_attr_setschedparam(&attr, ¶m);
|
/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 81 int writeModuleParam(const char *param, const char *data) { argument 86 filename += param; 89 testPrintE("qtaguid param open failed: %s", strerror(errno)); 94 testPrintE("qtaguid param write failed: %s", strerror(errno));
|
/system/keymaster/include/keymaster/ |
H A D | authorization_set.h | 483 keymaster_key_param_t param; local 484 param.tag = tag; 485 set.push_back(param);
|
/system/bt/bta/ag/ |
H A D | bta_ag_sco.c | 1660 void bta_ag_set_esco_param(BOOLEAN set_reset, tBTM_ESCO_PARAMS *param) argument 1670 bta_ag_cb.sco.params = *param;
|
/system/bt/stack/btm/ |
H A D | btm_ble_batchscan.c | 324 UINT8 param[BTM_BLE_BATCH_SCAN_READ_RESULTS_LEN], *pp; local 325 pp = param; 327 memset(param, 0, BTM_BLE_BATCH_SCAN_READ_RESULTS_LEN); 333 BTM_BLE_BATCH_SCAN_READ_RESULTS_LEN, param, btm_ble_batchscan_vsc_cmpl_cback)) 511 UINT8 param[BTM_BLE_BATCH_SCAN_STORAGE_CFG_LEN], *pp; local 513 pp = param; 514 memset(param, 0, BTM_BLE_BATCH_SCAN_STORAGE_CFG_LEN); 522 BTM_BLE_BATCH_SCAN_STORAGE_CFG_LEN, param, 557 // Override param and decide addr_type based on own addr type
|
H A D | btm_ble_multi_adv.c | 201 UINT8 param[BTM_BLE_MULTI_ADV_ENB_LEN], *pp; local 205 pp = param; 206 memset(param, 0, BTM_BLE_MULTI_ADV_ENB_LEN); 216 param, 257 UINT8 param[BTM_BLE_MULTI_ADV_SET_PARAM_LEN], *pp; local 261 pp = param; 262 memset(param, 0, BTM_BLE_MULTI_ADV_SET_PARAM_LEN); 308 param, 341 UINT8 param[BTM_BLE_MULTI_ADV_SET_RANDOM_ADDR_LEN], *pp = param; local 665 UINT8 param[BTM_BLE_MULTI_ADV_WRITE_DATA_LEN], *pp = param; local [all...] |
H A D | btm_ble_privacy.c | 466 UINT8 param[20]= {0}; local 467 UINT8 *p = param; 475 param, 507 UINT8 param[20] = {0}; local 508 UINT8 *p = param; 513 param, 546 UINT8 param[20] = {0}; local 547 UINT8 *p = param; 554 param, 657 UINT8 param[2 local 813 UINT8 param[40] = {0}; local [all...] |
H A D | btm_ble_adv_filter.c | 462 UINT8 param[BTM_BLE_PF_STR_LEN_MAX + BTM_BLE_ADV_FILT_META_HDR_LENGTH], local 463 *p = param, 467 memset(param, 0, BTM_BLE_PF_STR_LEN_MAX + BTM_BLE_ADV_FILT_META_HDR_LENGTH); 491 param, 553 UINT8 param[BTM_BLE_PF_STR_LEN_MAX + BTM_BLE_PF_STR_LEN_MAX + BTM_BLE_ADV_FILT_META_HDR_LENGTH], local 554 *p = param, 561 memset(param, 0, BTM_BLE_PF_STR_LEN_MAX + BTM_BLE_PF_STR_LEN_MAX 642 param, 738 UINT8 param[BTM_BLE_META_ADDR_LEN + BTM_BLE_ADV_FILT_META_HDR_LENGTH], local 739 * p= param; 793 UINT8 param[BTM_BLE_META_UUID_LEN + BTM_BLE_ADV_FILT_META_HDR_LENGTH], local 947 UINT8 param[20], *p; local 1059 UINT8 param[len], *p; local 1190 UINT8 param[20], *p; local [all...] |
/system/bt/stack/gap/ |
H A D | gap_ble.c | 512 tGATT_READ_PARAM param; local 518 memset(¶m, 0, sizeof(tGATT_READ_PARAM)); 520 param.service.uuid.len = LEN_UUID_16; 521 param.service.uuid.uu.uuid16 = uuid; 522 param.service.s_handle = 1; 523 param.service.e_handle = 0xFFFF; 524 param.service.auth_req = 0; 526 if (GATTC_Read(p_clcb->conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS)
|
/system/bt/udrv/ulinux/ |
H A D | uipc.c | 814 extern BOOLEAN UIPC_Ioctl(tUIPC_CH_ID ch_id, UINT32 request, void *param) argument 828 uipc_main.ch[ch_id].cback = (tUIPC_RCV_CBACK*)param; 845 uipc_main.ch[ch_id].read_poll_tmo_ms = (intptr_t)param;
|
/system/bt/vendor_libs/linux/ |
H A D | bt_vendor_linux.c | 237 static int bt_vendor_open(void *param) argument 239 int (*fd_array)[] = (int (*)[]) param; 262 static int bt_vendor_close(void *param) argument 264 (void)(param); 346 static int bt_vendor_op(bt_vendor_opcode_t opcode, void *param) argument 354 if (!rfkill_en || !param) 357 if (*((int *)param) == BT_VND_PWR_ON) { 378 retval = bt_vendor_open(param); 382 retval = bt_vendor_close(param); 386 *((uint32_t *)param) [all...] |
/system/keymaster/ |
H A D | authorization_set.cpp | 282 static size_t serialized_size(const keymaster_key_param_t& param) { argument 283 switch (keymaster_tag_get_type(param.tag)) { 305 static uint8_t* serialize(const keymaster_key_param_t& param, uint8_t* buf, const uint8_t* end, argument 307 buf = append_uint32_to_buf(buf, end, param.tag); 308 switch (keymaster_tag_get_type(param.tag)) { 313 buf = append_uint32_to_buf(buf, end, param.enumerated); 317 buf = append_uint32_to_buf(buf, end, param.integer); 321 buf = append_uint64_to_buf(buf, end, param.long_integer); 324 buf = append_uint64_to_buf(buf, end, param.date_time); 328 *buf = static_cast<uint8_t>(param 340 deserialize(keymaster_key_param_t* param, const uint8_t** buf_ptr, const uint8_t* end, const uint8_t* indirect_base, const uint8_t* indirect_end) argument [all...] |