/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble.cc | 146 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument 148 return bluetooth::shim::BTM_SecAddBleKey(bd_addr, p_le_key, key_type); in BTM_SecAddBleKey() 153 (key_type != BTM_LE_KEY_PENC && key_type != BTM_LE_KEY_PID && in BTM_SecAddBleKey() 154 key_type != BTM_LE_KEY_PCSRK && key_type != BTM_LE_KEY_LENC && in BTM_SecAddBleKey() 155 key_type != BTM_LE_KEY_LCSRK && key_type != BTM_LE_KEY_LID)) { in BTM_SecAddBleKey() 158 << ", Type: " << key_type; in BTM_SecAddBleKey() 163 key_type); in BTM_SecAddBleKey() 165 btm_sec_save_le_key(bd_addr, key_type, p_le_key, false); in BTM_SecAddBleKey() 167 if (key_type == BTM_LE_KEY_PID) { in BTM_SecAddBleKey() 186 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in BTM_BleLoadLocalKeys() argument [all …]
|
D | btm_dev.cc | 67 LinkKey* p_link_key, uint8_t key_type, in BTM_SecAddDevice() argument 75 PRIVATE_ADDRESS(bd_addr), key_type, bd_name); in BTM_SecAddDevice() 86 PRIVATE_ADDRESS(bd_addr), key_type); in BTM_SecAddDevice() 116 p_dev_rec->link_key_type = key_type; in BTM_SecAddDevice() 119 if (pin_length >= 16 || key_type == BTM_LKEY_TYPE_AUTH_COMB || in BTM_SecAddDevice() 120 key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) { in BTM_SecAddDevice() 378 if (!(p_dev_rec->ble.key_type & BTM_LE_KEY_LENC)) return true; in has_lenc_and_address_is_equal()
|
D | security_device_record.h | 122 tBTM_LE_KEY_TYPE key_type; /* bit mask of valid key types in record */ member 234 LinkKey* p_link_key, uint8_t key_type, 246 uint8_t key_type);
|
D | btm_ble_addr.cc | 148 (p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) { in btm_ble_addr_resolvable() 167 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) in btm_ble_match_random_bda()
|
/packages/modules/Bluetooth/system/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 231 hci::KeyType key_type) { in ReceiveLinkKeyNotification() argument 232 …_->IncomingEvent(hci::LinkKeyNotificationBuilder::Create(device.GetAddress(), link_key, key_type)); in ReceiveLinkKeyNotification() 318 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() local 319 ReceiveLinkKeyNotification(device_, link_key, key_type); in TEST_F() 321 ASSERT_EQ(key_type, security_record_->GetKeyType()); in TEST_F() 356 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() local 357 ReceiveLinkKeyNotification(device_, link_key, key_type); in TEST_F() 359 ASSERT_EQ(key_type, security_record_->GetKeyType()); in TEST_F() 394 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() local 395 ReceiveLinkKeyNotification(device_, link_key, key_type); in TEST_F() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_read_write_utils.cpp | 95 AttributeMap::key_type keyVector; in readCodePointTable() 163 AttributeMap::key_type keyVector; in setCodePointVectorAttribute() 175 AttributeMap::key_type keyVector; in setIntAttribute() 181 const AttributeMap::key_type *const key, const int value) { in setIntAttributeInner() 191 AttributeMap::key_type keyVector; in readCodePointVectorAttributeValue() 212 AttributeMap::key_type keyVector; in readIntAttributeValue() 218 const AttributeMap *const headerAttributes, const AttributeMap::key_type *const key, in readIntAttributeValueInner()
|
D | header_read_write_utils.h | 93 DictionaryHeaderStructurePolicy::AttributeMap::key_type *const key); 114 const DictionaryHeaderStructurePolicy::AttributeMap::key_type *const key, 119 const DictionaryHeaderStructurePolicy::AttributeMap::key_type *const key,
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_storage.h | 157 LinkKey link_key, uint8_t key_type, 340 uint8_t key_type, 343 uint8_t key_type, 348 uint8_t key_type); 352 bt_status_t btif_storage_get_ble_local_key(uint8_t key_type,
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_dm_api.h | 78 tBTM_LE_KEY_TYPE key_type)> 80 tBTM_LE_KEY_TYPE key_type) {}}; 82 tBTM_LE_KEY_TYPE key_type) { in operator() 83 body(bd_addr, p_le_key, key_type); in operator() 93 const LinkKey& link_key, uint8_t key_type, 96 const LinkKey& link_key, uint8_t key_type, 99 const LinkKey& link_key, uint8_t key_type, in operator() 101 body(bd_addr, dev_class, link_key, key_type, pin_length); in operator()
|
D | mock_btif_storage.cc | 64 uint8_t key_type, in btif_storage_add_ble_bonding_key() argument 70 uint8_t key_type) { in btif_storage_add_ble_local_key() argument 75 LinkKey link_key, uint8_t key_type, in btif_storage_add_bonded_device() argument 99 uint8_t key_type, in btif_storage_get_ble_bonding_key() argument 105 bt_status_t btif_storage_get_ble_local_key(uint8_t key_type, in btif_storage_get_ble_local_key() argument
|
D | mock_bta_dm_api.cc | 88 tBTM_LE_KEY_TYPE key_type) { in BTA_DmAddBleKey() argument 90 test::mock::bta_dm_api::BTA_DmAddBleKey(bd_addr, p_le_key, key_type); in BTA_DmAddBleKey() 93 const LinkKey& link_key, uint8_t key_type, in BTA_DmAddDevice() argument 97 key_type, pin_length); in BTA_DmAddDevice()
|
D | mock_stack_btm_ble.cc | 145 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in BTM_BleLoadLocalKeys() argument 195 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument 240 void btm_sec_save_le_key(const RawAddress& bd_addr, tBTM_LE_KEY_TYPE key_type, in btm_sec_save_le_key() argument
|
D | mock_bta_dm_act.h | 178 tBTM_LE_KEY_TYPE key_type)> 180 tBTM_LE_KEY_TYPE key_type) {}}; 182 tBTM_LE_KEY_TYPE key_type) { in operator() 183 body(bd_addr, blekey, key_type); in operator()
|
D | mock_main_shim_btm_api.cc | 93 uint8_t key_type, uint8_t pin_length) { in BTM_SecAddDevice() argument 261 void bluetooth::shim::BTM_BleLoadLocalKeys(uint8_t key_type, in BTM_BleLoadLocalKeys() argument 397 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_api.cc | 231 const LinkKey& link_key, uint8_t key_type, in BTA_DmAddDevice() argument 238 msg->key_type = key_type; in BTA_DmAddDevice() 369 tBTM_LE_KEY_TYPE key_type) { in BTA_DmAddBleKey() argument 371 FROM_HERE, base::Bind(bta_dm_add_blekey, bd_addr, *p_le_key, key_type)); in BTA_DmAddBleKey()
|
D | bta_dm_act.cc | 95 const LinkKey& key, uint8_t key_type, 128 static void bta_dm_ble_id_key_cback(uint8_t key_type, 696 p_lc, msg->key_type, msg->pin_length); in bta_dm_add_device() 700 msg->key_type, msg->pin_length); in bta_dm_add_device() 2148 const LinkKey& key, uint8_t key_type, in bta_dm_new_link_key_cback() argument 2163 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback() 3675 sec_event.ble_key.key_type = p_data->key.key_type; in bta_dm_ble_smp_cback() 3747 static void bta_dm_ble_id_key_cback(uint8_t key_type, in bta_dm_ble_id_key_cback() argument 3749 switch (key_type) { in bta_dm_ble_id_key_cback() 3758 tBTA_DM_SEC_EVT evt = (key_type == BTM_BLE_KEY_TYPE_ID) in bta_dm_ble_id_key_cback() [all …]
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_act.cc | 73 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask() argument 79 ((key_type == SMP_SEC_KEY_TYPE_ENC) || in smp_update_key_mask() 80 (key_type == SMP_SEC_KEY_TYPE_LK))) { in smp_update_key_mask() 83 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 84 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 87 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 89 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 92 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 94 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 1135 uint8_t key_type = p_data->key.key_type; in smp_proc_sl_key() local [all …]
|
D | smp_keys.cc | 121 key.key_type = SMP_KEY_TYPE_TK; in smp_proc_passkey() 379 key.key_type = SMP_KEY_TYPE_CFM; in smp_generate_confirm() 442 key.key_type = SMP_KEY_TYPE_CMP; in smp_generate_compare() 457 key.key_type = SMP_KEY_TYPE_STK; in smp_process_stk() 478 key.key_type = SMP_KEY_TYPE_LTK; in smp_process_ediv() 936 key.key_type = SMP_KEY_TYPE_PEER_DHK_CHCK; in smp_calculate_peer_dhkey_check()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_storage.cc | 517 static void btif_read_le_key(const uint8_t key_type, const size_t key_len, in btif_read_le_key() argument 527 if (btif_storage_get_ble_bonding_key(bd_addr, key_type, (uint8_t*)&key, in btif_read_le_key() 535 BTIF_TRACE_DEBUG("%s() Adding key type %d for %s", __func__, key_type, in btif_read_le_key() 537 BTA_DmAddBleKey(bd_addr, &key, key_type); in btif_read_le_key() 852 LinkKey link_key, uint8_t key_type, in btif_storage_add_bonded_device() argument 855 int ret = btif_config_set_int(bdstr, "LinkKeyType", (int)key_type); in btif_storage_add_bonded_device() 1173 uint8_t key_type, in btif_storage_add_ble_bonding_key() argument 1176 switch (key_type) { in btif_storage_add_ble_bonding_key() 1215 uint8_t key_type, in btif_storage_get_ble_bonding_key() argument 1219 switch (key_type) { in btif_storage_get_ble_bonding_key() [all …]
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_api.h | 291 tBTM_LE_KEY_TYPE key_type; member 301 uint8_t key_type; /* The type of Link Key */ member 855 const LinkKey& link_key, uint8_t key_type, 1016 tBTM_LE_KEY_TYPE key_type);
|
/packages/modules/Bluetooth/system/stack/include/ |
D | btm_client_interface.h | 124 LinkKey* link_key, uint8_t key_type, 140 tBTM_LE_KEY_TYPE key_type); 173 void (*BTM_BleLoadLocalKeys)(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key);
|
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record.h | 51 void SetLinkKey(std::array<uint8_t, 16> link_key, hci::KeyType key_type) { in SetLinkKey() argument 53 key_type_ = key_type; in SetLinkKey()
|
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/procedure/ |
D | legacy_pairing.rs | 44 key_type: hci::KeyType::Combination, in initiate() 86 key_type: hci::KeyType::Combination, in respond()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_auth.cc | 282 uint8_t key_type; in gatt_determine_sec_act() local 323 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act() 325 if ((key_type & BTM_LE_KEY_LCSRK) && in gatt_determine_sec_act()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | btm_api.h | 384 tBTM_LE_KEY_TYPE key_type); 400 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key); 1394 LinkKey* link_key, uint8_t key_type, uint8_t pin_length);
|