/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/modules/Bluetooth/system/stack/btm/ |
D | btm_ble.cc | 179 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument 182 (key_type != BTM_LE_KEY_PENC && key_type != BTM_LE_KEY_PID && in BTM_SecAddBleKey() 183 key_type != BTM_LE_KEY_PCSRK && key_type != BTM_LE_KEY_LENC && in BTM_SecAddBleKey() 184 key_type != BTM_LE_KEY_LCSRK && key_type != BTM_LE_KEY_LID)) { in BTM_SecAddBleKey() 187 << ", Type: " << key_type; in BTM_SecAddBleKey() 192 key_type); in BTM_SecAddBleKey() 194 btm_sec_save_le_key(bd_addr, key_type, p_le_key, false); in BTM_SecAddBleKey() 196 if (key_type == BTM_LE_KEY_PID) { in BTM_SecAddBleKey() 215 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in BTM_BleLoadLocalKeys() argument 219 switch (key_type) { in BTM_BleLoadLocalKeys() [all …]
|
D | btm_dev.cc | 75 LinkKey* p_link_key, uint8_t key_type, in BTM_SecAddDevice() argument 83 ADDRESS_TO_LOGGABLE_CSTR(bd_addr), key_type, bd_name); in BTM_SecAddDevice() 94 ADDRESS_TO_LOGGABLE_CSTR(bd_addr), key_type); in BTM_SecAddDevice() 124 p_dev_rec->link_key_type = key_type; in BTM_SecAddDevice() 127 if (pin_length >= 16 || key_type == BTM_LKEY_TYPE_AUTH_COMB || in BTM_SecAddDevice() 128 key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) { in BTM_SecAddDevice() 394 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 | 127 tBTM_LE_KEY_TYPE key_type; /* bit mask of valid key types in record */ member 244 LinkKey* p_link_key, uint8_t key_type, 256 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() 165 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) in btm_ble_match_random_bda()
|
/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/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_stack_btm_ble.h | 103 std::function<void(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key)> body{ 104 [](uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) {}}; 105 void operator()(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in operator() 106 body(key_type, p_key); in operator() 323 tBTM_LE_KEY_TYPE key_type)> 325 tBTM_LE_KEY_TYPE key_type) {}}; 327 tBTM_LE_KEY_TYPE key_type) { in operator() 328 body(bd_addr, p_le_key, key_type); in operator() 714 std::function<void(const RawAddress& bd_addr, tBTM_LE_KEY_TYPE key_type, 716 body{[](const RawAddress& bd_addr, tBTM_LE_KEY_TYPE key_type, [all …]
|
D | mock_btif_storage.cc | 63 uint8_t key_type, in btif_storage_add_ble_bonding_key() argument 69 uint8_t key_type) { in btif_storage_add_ble_local_key() argument 74 LinkKey link_key, uint8_t key_type, in btif_storage_add_bonded_device() argument 98 uint8_t key_type, in btif_storage_get_ble_bonding_key() argument 104 bt_status_t btif_storage_get_ble_local_key(uint8_t key_type, in btif_storage_get_ble_local_key() argument
|
D | mock_stack_btm_ble.cc | 143 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in BTM_BleLoadLocalKeys() argument 145 test::mock::stack_btm_ble::BTM_BleLoadLocalKeys(key_type, p_key); in BTM_BleLoadLocalKeys() 224 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument 226 test::mock::stack_btm_ble::BTM_SecAddBleKey(bd_addr, p_le_key, key_type); in BTM_SecAddBleKey() 374 void btm_sec_save_le_key(const RawAddress& bd_addr, tBTM_LE_KEY_TYPE key_type, in btm_sec_save_le_key() argument 377 test::mock::stack_btm_ble::btm_sec_save_le_key(bd_addr, key_type, p_keys, in btm_sec_save_le_key()
|
D | mock_bta_dm_api.cc | 85 tBTM_LE_KEY_TYPE key_type) { in BTA_DmAddBleKey() argument 87 test::mock::bta_dm_api::BTA_DmAddBleKey(bd_addr, p_le_key, key_type); in BTA_DmAddBleKey() 90 const LinkKey& link_key, uint8_t key_type, in BTA_DmAddDevice() argument 94 key_type, pin_length); in BTA_DmAddDevice()
|
D | mock_bta_dm_act.h | 199 tBTM_LE_KEY_TYPE key_type)> 201 tBTM_LE_KEY_TYPE key_type) {}}; 203 tBTM_LE_KEY_TYPE key_type) { in operator() 204 body(bd_addr, blekey, key_type); in operator()
|
D | mock_stack_btm.cc | 158 tBTM_LE_KEY_TYPE key_type) {}, in __anon383244b02602() argument 202 .BTM_BleLoadLocalKeys = [](uint8_t key_type,
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_storage.h | 175 LinkKey link_key, uint8_t key_type, 358 uint8_t key_type, 361 uint8_t key_type, 366 uint8_t key_type); 370 bt_status_t btif_storage_get_ble_local_key(uint8_t key_type,
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_storage.cc | 487 static void btif_read_le_key(const uint8_t key_type, const size_t key_len, in btif_read_le_key() argument 497 if (btif_storage_get_ble_bonding_key(bd_addr, key_type, (uint8_t*)&key, in btif_read_le_key() 505 BTIF_TRACE_DEBUG("%s() Adding key type %d for %s", __func__, key_type, in btif_read_le_key() 507 BTA_DmAddBleKey(bd_addr, &key, key_type); in btif_read_le_key() 832 LinkKey link_key, uint8_t key_type, in btif_storage_add_bonded_device() argument 835 int ret = btif_config_set_int(bdstr, "LinkKeyType", (int)key_type); in btif_storage_add_bonded_device() 1176 uint8_t key_type, in btif_storage_add_ble_bonding_key() argument 1179 switch (key_type) { in btif_storage_add_ble_bonding_key() 1217 uint8_t key_type, in btif_storage_get_ble_bonding_key() argument 1221 switch (key_type) { in btif_storage_get_ble_bonding_key() [all …]
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_api.cc | 214 const LinkKey& link_key, uint8_t key_type, in BTA_DmAddDevice() argument 221 msg->key_type = key_type; in BTA_DmAddDevice() 352 tBTM_LE_KEY_TYPE key_type) { in BTA_DmAddBleKey() argument 354 FROM_HERE, base::Bind(bta_dm_add_blekey, bd_addr, *p_le_key, key_type)); in BTA_DmAddBleKey()
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_act.cc | 74 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask() argument 80 ((key_type == SMP_SEC_KEY_TYPE_ENC) || in smp_update_key_mask() 81 (key_type == SMP_SEC_KEY_TYPE_LK))) { in smp_update_key_mask() 84 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 85 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 88 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 90 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 93 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 95 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 1159 uint8_t key_type = p_data->key.key_type; in smp_proc_sl_key() local [all …]
|
D | smp_keys.cc | 120 key.key_type = SMP_KEY_TYPE_TK; in smp_proc_passkey() 378 key.key_type = SMP_KEY_TYPE_CFM; in smp_generate_confirm() 441 key.key_type = SMP_KEY_TYPE_CMP; in smp_generate_compare() 456 key.key_type = SMP_KEY_TYPE_STK; in smp_process_stk() 477 key.key_type = SMP_KEY_TYPE_LTK; in smp_process_ediv() 935 key.key_type = SMP_KEY_TYPE_PEER_DHK_CHCK; in smp_calculate_peer_dhkey_check()
|
/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/rust/src/lmp/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/include/ |
D | btm_client_interface.h | 124 LinkKey* link_key, uint8_t key_type, 140 tBTM_LE_KEY_TYPE key_type); 174 void (*BTM_BleLoadLocalKeys)(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key);
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_auth.cc | 283 uint8_t key_type; in gatt_determine_sec_act() local 324 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act() 326 if ((key_type & BTM_LE_KEY_LCSRK) && in gatt_determine_sec_act()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_api.h | 316 tBTM_LE_KEY_TYPE key_type; member 326 uint8_t key_type; /* The type of Link Key */ member 911 const LinkKey& link_key, uint8_t key_type, 1070 tBTM_LE_KEY_TYPE key_type);
|
/packages/modules/Bluetooth/system/main/shim/ |
D | btm_api.h | 385 tBTM_LE_KEY_TYPE key_type); 401 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key); 1338 LinkKey* link_key, uint8_t key_type, uint8_t pin_length);
|