Home
last modified time | relevance | path

Searched refs:IAmCentral (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le_secure_connections.cc47 if (IAmCentral(i)) { in ExchangePublicKeys()
81 if (!IAmCentral(i)) { in ExchangePublicKeys()
91 const EcdhPublicKey& PKa = IAmCentral(i) ? public_key : remote_public_key; in ExchangePublicKeys()
92 const EcdhPublicKey& PKb = IAmCentral(i) ? remote_public_key : public_key; in ExchangePublicKeys()
109 …OobDataFlag remote_oob_flag = IAmCentral(i) ? pairing_response.GetOobDataFlag() : pairing_request.… in DoSecureConnectionsStage1()
110 …OobDataFlag my_oob_flag = IAmCentral(i) ? pairing_request.GetOobDataFlag() : pairing_response.GetO… in DoSecureConnectionsStage1()
131 IoCapability my_iocaps = IAmCentral(i) ? iom : ios; in DoSecureConnectionsStage1()
132 IoCapability remote_iocaps = IAmCentral(i) ? ios : iom; in DoSecureConnectionsStage1()
152 if (IAmCentral(i)) { in DoSecureConnectionsStage2()
189 if (IAmCentral(i)) { in DoSecureConnectionsStage2()
[all …]
Dpairing_handler_le.cc104 IAmCentral(i) ? pairing_response.GetOobDataFlag() : pairing_request.GetOobDataFlag(); in PairingMain()
133 if (IAmCentral(i)) { in PairingMain()
162 if (IAmCentral(i)) { in PairingMain()
226 if (IAmCentral(i)) { in ExchangePairingFeature()
332IAmCentral(i) ? pairing_response.GetResponderKeyDistribution() : pairing_response.GetInitiatorKeyD… in DistributeKeys()
334IAmCentral(i) ? pairing_response.GetInitiatorKeyDistribution() : pairing_response.GetResponderKeyD… in DistributeKeys()
358 if (IAmCentral(i)) { in DistributeKeys()
Dpairing_handler_le_legacy.cc63 IoCapability my_iocaps = IAmCentral(i) ? iom : ios; in DoLegacyStage1()
64 IoCapability remote_iocaps = IAmCentral(i) ? ios : iom; in DoLegacyStage1()
85IAmCentral(i) && remote_iocaps == IoCapability::KEYBOARD_DISPLAY && my_iocaps == IoCapability::KEY… in LegacyPasskeyEntry()
135 if (IAmCentral(i)) { in DoLegacyStage2()
Dpairing_handler_le.h205 inline bool IAmCentral(const InitialInformations& i) { in IAmCentral() function