Searched defs:param (Results 1 - 25 of 39) sorted by relevance

12

/system/bt/hci/test/
H A Dlow_power_manager_test.cpp50 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 Dhci_hal_h4_test.cpp77 STUB_FUNCTION(int, vendor_send_command, (vendor_opcode_t opcode, void *param))
81 ((int *)param)[0] = dummy_serial_fd; variable
H A Dhci_hal_mct_test.cpp72 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 Dbt_vendor.cc46 // 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 Dbtif_gatt_multi_adv_util.h58 tBTA_BLE_ADV_PARAMS param; member in struct:__anon589
/system/bt/btif/src/
H A Dbtif_gatt_test.c260 tGATT_DISC_PARAM param; local
261 memset(&param, 0, sizeof(tGATT_DISC_PARAM));
269 param.s_handle = params->u2;
270 param.e_handle = params->u3;
271 btif_to_bta_uuid(&param.service, params->uuid1);
275 format_uuid(param.service, buf), params->u2, params->u3);
276 GATTC_Discover(test_cb.conn_id, params->u1, &param);
H A Dbtif_sock_thread.c116 struct sched_param param; local
125 pthread_getschedparam(*thread_id, &policy, &param);
127 if (param.sched_priority > min_pri) {
128 param.sched_priority -= 1;
130 pthread_setschedparam(*thread_id, policy, &param);
/system/bt/hci/src/
H A Dvendor.c94 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 Dbta_hh_api.c151 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 Dhidh_api.c447 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 Dhidh_conn.c806 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 Dsrvc_dis.c229 tGATT_READ_PARAM param; local
231 memset(&param, 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, &param) == GATT_SUCCESS)
248 GATT_TRACE_ERROR ("Read DISInfo: 0x%04x GATT_Read Failed", param.service.uuid.uu.uuid16);
/system/core/libcutils/
H A Dsched_policy.c419 struct sched_param param; local
421 param.sched_priority = 0;
425 &param);
/system/core/logd/
H A Dmain.cpp90 struct sched_param param; local
91 memset(&param, 0, sizeof(param));
97 if (sched_setscheduler((pid_t) 0, SCHED_BATCH, &param) < 0) {
425 struct sched_param param; local
427 memset(&param, 0, sizeof(param));
428 pthread_attr_setschedparam(&attr, &param);
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp81 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 Dauthorization_set.h483 keymaster_key_param_t param; local
484 param.tag = tag;
485 set.push_back(param);
/system/bt/bta/ag/
H A Dbta_ag_sco.c1660 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 Dbtm_ble_batchscan.c324 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 Dbtm_ble_multi_adv.c201 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 Dbtm_ble_privacy.c466 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 Dbtm_ble_adv_filter.c462 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 Dgap_ble.c512 tGATT_READ_PARAM param; local
518 memset(&param, 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, &param) == GATT_SUCCESS)
/system/bt/udrv/ulinux/
H A Duipc.c814 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 Dbt_vendor_linux.c237 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 Dauthorization_set.cpp282 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...]

Completed in 1172 milliseconds

12