Home
last modified time | relevance | path

Searched refs:result_callback (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/l2cap/classic/
Dsecurity_enforcement_interface.h40 …id Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) = 0;
49 …void Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) o… in Enforce() argument
51 result_callback.InvokeIfNotEmpty(true); in Enforce()
53 result_callback.InvokeIfNotEmpty(false); in Enforce()
/system/bt/gd/security/
Dl2cap_security_module_interface.cc28 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) { in Enforce() argument
32 std::forward<l2cap::classic::SecurityEnforcementInterface::ResultCallback>(result_callback))); in Enforce()
36 … l2cap::le::SecurityEnforcementInterface::ResultCallback result_callback) { in Enforce() argument
40 std::forward<l2cap::le::SecurityEnforcementInterface::ResultCallback>(result_callback))); in Enforce()
Dl2cap_security_module_interface.h30 … l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) override;
32 l2cap::le::SecurityEnforcementInterface::ResultCallback result_callback) override;
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc42 …void Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) o… in Enforce() argument
44 result_callback.InvokeIfNotEmpty(true); in Enforce()
46 result_callback.InvokeIfNotEmpty(false); in Enforce()
Dsecurity_enforcement_interface.h40 …id Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) = 0;
/system/bt/gd/security/internal/
Dsecurity_manager_impl.h203 … l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback);
205 … l2cap::le::SecurityEnforcementInterface::ResultCallback result_callback);
241 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback);
Dsecurity_manager_impl.cc792 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) { in InternalEnforceSecurityPolicy() argument
795 std::move(result_callback).Invoke(true); in InternalEnforceSecurityPolicy()
802 enforce_security_policy_callback_map_[remote] = {policy, std::move(result_callback)}; in InternalEnforceSecurityPolicy()
856 l2cap::classic::SecurityEnforcementInterface::ResultCallback result_callback) { in EnforceSecurityPolicy() argument
860 this->InternalEnforceSecurityPolicy(remote, policy, std::move(result_callback)); in EnforceSecurityPolicy()
866 l2cap::le::SecurityEnforcementInterface::ResultCallback result_callback) { in EnforceLeSecurityPolicy() argument
884 result_callback.Invoke(result); in EnforceLeSecurityPolicy()
/system/bt/main/shim/
Dl2c_api.cc337 ResultCallback result_callback) override { in Enforce() argument
342 result_callback.Invoke(true); in Enforce()
358 std::move(result_callback); in Enforce()
630 ResultCallback result_callback) override { in Enforce() argument
635 result_callback.Invoke(true); in Enforce()
646 result_callback.Invoke(false); in Enforce()
650 std::move(result_callback); in Enforce()