Home
last modified time | relevance | path

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

/system/media/audio_utils/
Decho_reference.c73 struct echo_reference *er; in echo_reference_get_next_buffer() local
79 er = (struct echo_reference *)((char *)buffer_provider - in echo_reference_get_next_buffer()
82 if (er->wr_src_buf == NULL || er->wr_frames_in == 0) { in echo_reference_get_next_buffer()
88 buffer->frame_count = (buffer->frame_count > er->wr_frames_in) ? in echo_reference_get_next_buffer()
89 er->wr_frames_in : buffer->frame_count; in echo_reference_get_next_buffer()
91 buffer->i16 = (int16_t *)er->wr_src_buf + (er->wr_curr_frame_size - er->wr_frames_in) * in echo_reference_get_next_buffer()
92 er->rd_channel_count; in echo_reference_get_next_buffer()
100 struct echo_reference *er; in echo_reference_release_buffer() local
106 er = (struct echo_reference *)((char *)buffer_provider - in echo_reference_release_buffer()
109 er->wr_frames_in -= buffer->frame_count; in echo_reference_release_buffer()
[all …]
/system/bt/btif/co/
Dbta_dm_co.c379 void bta_dm_co_ble_load_local_keys(tBTA_DM_BLE_LOCAL_KEY_MASK *p_key_mask, BT_OCTET16 er, in bta_dm_co_ble_load_local_keys() argument
385 btif_dm_get_ble_local_keys( p_key_mask, er, p_id_keys); in bta_dm_co_ble_load_local_keys()
/system/bt/btif/include/
Dbtif_dm.h90 void btif_dm_get_ble_local_keys(tBTA_DM_BLE_LOCAL_KEY_MASK *p_key_mask, BT_OCTET16 er,
/system/bt/bta/include/
Dbta_dm_co.h244 extern void bta_dm_co_ble_load_local_keys (tBTA_DM_BLE_LOCAL_KEY_MASK *p_key_mask, BT_OCTET16 er,
/system/bt/stack/smp/
Dsmp_keys.c405 BT_OCTET16 er; in smp_compute_csrk() local
413 BTM_GetDeviceEncRoot(er); in smp_compute_csrk()
418 if (!SMP_Encrypt(er, BT_OCTET16_LEN, buffer, 4, &output)) in smp_compute_csrk()
829 BT_OCTET16 er; in smp_generate_ltk_cont() local
834 BTM_GetDeviceEncRoot(er); in smp_generate_ltk_cont()
837 if (!SMP_Encrypt(er, BT_OCTET16_LEN, (UINT8 *)&p_cb->div, in smp_generate_ltk_cont()
/system/bt/btif/src/
Dbtif_dm.c132 UINT8 er[BT_OCTET16_LEN]; member
1893 memcpy(&ble_local_key_cb.er[0], &p_data->ble_er[0], sizeof(BT_OCTET16)); in btif_dm_upstreams_evt()
1894 btif_storage_add_ble_local_key( (char *)&ble_local_key_cb.er[0], in btif_dm_upstreams_evt()
2951 if (btif_storage_get_ble_local_key(BTIF_DM_LE_LOCAL_KEY_ER,(char*)&ble_local_key_cb.er[0], in btif_dm_load_ble_local_keys()
2970 void btif_dm_get_ble_local_keys(tBTA_DM_BLE_LOCAL_KEY_MASK *p_key_mask, BT_OCTET16 er, in btif_dm_get_ble_local_keys() argument
2975 memcpy(&er[0], &ble_local_key_cb.er[0], sizeof(BT_OCTET16)); in btif_dm_get_ble_local_keys()
/system/bt/stack/include/
Dbtm_ble_api.h1155 extern void BTM_GetDeviceEncRoot (BT_OCTET16 er);
Dbtm_api.h1729 BT_OCTET16 er; member
/system/bt/bta/dm/
Dbta_dm_act.c300 BT_OCTET16 er; in bta_dm_sys_hw_cback() local
351 bta_dm_co_ble_load_local_keys(&key_mask, er, &id_key); in bta_dm_sys_hw_cback()
355 BTM_BleLoadLocalKeys(BTA_BLE_LOCAL_KEY_TYPE_ER, (tBTM_BLE_LOCAL_KEYS *)&er); in bta_dm_sys_hw_cback()
/system/bt/stack/btm/
Dbtm_ble.c220 memcpy(p_devcb->ble_encryption_key_value, p_key->er, sizeof(BT_OCTET16)); in BTM_BleLoadLocalKeys()