Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 99) sorted by relevance

1234

/system/bt/include/hardware/
Dble_scanner.h58 base::Callback<void(uint8_t /* scanner_id */, uint8_t /* status */)>;
60 using Callback = base::Callback<void(uint8_t /* status */)>; variable
63 base::Callback<void(uint8_t /* action */, uint8_t /* status */)>;
66 base::Callback<void(uint8_t /* avbl_space */, uint8_t /* action_type */,
70 base::Callback<void(uint8_t /* filt_type */, uint8_t /* avbl_space */,
100 Callback cb) = 0;
106 Callback cb) = 0;
111 Callback cb) = 0;
114 virtual void BatchscanDisable(Callback cb) = 0;
120 base::Callback<void(uint8_t status, uint16_t sync_handle,
[all …]
Dble_advertiser.h49 using StatusCallback = base::Callback<void(uint8_t /* status */)>;
51 base::Callback<void(uint8_t /* advertiser_id */, uint8_t /* status */)>;
53 base::Callback<void(uint8_t /* advertiser_id */, int8_t /* tx_power */,
56 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
62 base::Callback<void(uint8_t /* address_type*/, RawAddress /*address*/)>;
/system/bt/common/
Dmetric_id_allocator.h35 using Callback = std::function<bool(const RawAddress& address, const int id)>;
64 Callback save_id_callback, Callback forget_device_callback);
128 Callback save_id_callback_;
129 Callback forget_device_callback_;
Dmetric_id_allocator_unittest.cc53 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
64 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
77 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
93 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
115 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
135 MetricIdAllocator::Callback save_callback = [pointer](const RawAddress&, in TEST()
140 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
188 MetricIdAllocator::Callback save_callback = [pointer](const RawAddress&, in TEST()
193 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
325 MetricIdAllocator::Callback save_callback = [pointer](const RawAddress&, in TEST()
[all …]
/system/bt/profile/avrcp/tests/avrcp_device_fuzz/
Davrcp_device_fuzz.cc14 using SongInfoCallback = base::Callback<void(SongInfo)>;
16 using PlayStatusCallback = base::Callback<void(PlayStatus)>;
19 base::Callback<void(std::string, std::vector<SongInfo>)>;
22 base::Callback<void(uint16_t curr_player, std::vector<MediaPlayerInfo>)>;
24 using FolderItemsCallback = base::Callback<void(std::vector<ListItem>)>;
27 using SetBrowsedPlayerCallback = base::Callback<void(
60 void Callback(uint8_t, bool, std::unique_ptr<::bluetooth::PacketBuilder>) {} in Callback() function
/system/bt/include/hardware/avrcp/
Davrcp.h107 using SongInfoCallback = base::Callback<void(SongInfo)>;
110 using PlayStatusCallback = base::Callback<void(PlayStatus)>;
116 base::Callback<void(std::string, std::vector<SongInfo>)>;
123 base::Callback<void(uint16_t curr_player, std::vector<MediaPlayerInfo>)>;
126 using FolderItemsCallback = base::Callback<void(std::vector<ListItem>)>;
130 using SetBrowsedPlayerCallback = base::Callback<void(
152 using VolumeChangedCb = base::Callback<void(int8_t volume)>;
/system/bt/stack/include/
Dble_advertiser.h31 using MultiAdvCb = base::Callback<void(uint8_t /* status */)>;
33 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
100 base::Callback<void(uint8_t /* inst_id */, int8_t /* tx_power */,
108 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>
116 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>) = 0;
164 base::Callback<void(uint8_t /* address_type*/, RawAddress /*address*/)>;
Dbtm_ble_api.h84 base::Callback<void(uint8_t)> cb);
119 base::Callback<void(uint8_t /* status */)> cb,
126 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
130 base::Callback<void(uint8_t /* status */)> cb);
595 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb);
Dbtm_ble_api_types.h326 base::Callback<void(uint8_t /* status */, uint8_t /* report_format */,
404 using tBTM_BLE_PF_CFG_CBACK = base::Callback<void(
409 base::Callback<void(uint8_t /*action*/, tBTM_STATUS /* status */)>;
412 using tBTM_BLE_PF_PARAM_CB = base::Callback<void(
Davrc_api.h167 using tAVRC_FIND_CBACK = base::Callback<void(uint16_t status)>;
172 base::Callback<void(uint8_t handle, uint8_t event, uint16_t result,
179 using tAVRC_MSG_CBACK = base::Callback<void(uint8_t handle, uint8_t label,
/system/update_engine/
Ddbus_test_utils.h53 const base::Callback<T>& signal_callback() { return *signal_callback_.get(); } in signal_callback()
56 const base::Callback<T>& signal_callback, in GrabCallbacks()
58 signal_callback_.reset(new base::Callback<T>(signal_callback)); in GrabCallbacks()
77 std::unique_ptr<base::Callback<T>> signal_callback_;
/system/bt/gd/hci/
Dle_advertising_manager.h73 const common::Callback<void(Address, AddressType)>& scan_callback,
74 … const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback,
77 …const ExtendedAdvertisingConfig& config, const common::Callback<void(Address, AddressType)>& scan_…
78 …const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, os::Handler* h…
Dle_advertising_manager.cc42 common::Callback<void(Address, AddressType)> scan_callback;
43 common::Callback<void(ErrorCode, uint8_t, uint8_t)> set_terminated_callback;
172 const common::Callback<void(Address, AddressType)>& scan_callback, in create_advertiser()
173 … const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, in create_advertiser()
262 const common::Callback<void(Address, AddressType)>& scan_callback, in create_extended_advertiser()
263 … const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, in create_extended_advertiser()
451 common::Callback<void(Address, AddressType)> scan_callback_;
452 common::Callback<void(ErrorCode, uint8_t, uint8_t)> set_terminated_callback_;
509 …const AdvertisingConfig& config, const common::Callback<void(Address, AddressType)>& scan_callback, in CreateAdvertiser()
510 …const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, os::Handler* h… in CreateAdvertiser()
[all …]
/system/bt/gd/common/
Dobserver_registry.h36 decltype(auto) Register(Callback<R(T...)> callback) { in decltype()
47 void callback_wrapper(int session, Callback<R(T...)> callback, T... t) { in callback_wrapper()
61 decltype(auto) Register(int event_type, Callback<R(T...)> callback) { in decltype()
/system/update_engine/update_manager/
Dupdate_manager.h46 base::Callback<void(EvalStatus, const UpdateCheckParams& result)>
98 base::Callback<void(EvalStatus, const R& result)> callback,
104 base::Callback<void(EvalStatus, const UpdateCheckParams& result)>
146 base::Callback<void(EvalStatus status, const R& result)> callback,
Devaluation_context.h70 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb);
77 std::unique_ptr<base::Callback<void(EvaluationContext*)>>()) {} in EvaluationContext()
208 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb_;
Dupdate_manager-inl.h82 base::Callback<void(EvalStatus status, const R& result)> callback, in OnPolicyReadyToEvaluate()
139 base::Callback<void(EvalStatus, const R& result)> callback, in AsyncPolicyRequest()
147 std::unique_ptr<base::Callback<void(EvaluationContext*)>>( in AsyncPolicyRequest()
148 new base::Callback<void(EvaluationContext*)>( in AsyncPolicyRequest()
Dreal_system_provider.cc52 base::Callback<bool(T* res)> func) in RetryPollVariable()
84 base::Callback<bool(T*)> func_;
/system/bt/gd/os/
Dqueue.h40 using EnqueueCallback = common::Callback<std::unique_ptr<T>()>;
50 using DequeueCallback = common::Callback<void()>;
62 using EnqueueCallback = common::Callback<std::unique_ptr<T>()>;
65 using DequeueCallback = common::Callback<void()>;
/system/incremental_delivery/incfs/
Dsplit.h32 template <class Callback, class Separator>
33 void Split(std::string_view s, Separator delimiters, Callback&& onSplitCb) { in Split()
/system/bt/stack/btm/
Dble_advertiser_hci_interface.h33 using status_cb = base::Callback<void(uint8_t /* status */)>;
35 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
54 base::Callback<void(uint8_t /* inst_cnt*/)> cb) = 0;
Dbtm_ble_batchscan.cc34 using base::Callback;
35 using hci_cmd_cb = base::Callback<void(uint8_t* /* return_parameters */,
157 void storage_config_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in storage_config_cb()
178 void param_enable_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in param_enable_cb()
199 void disable_cb(base::Callback<void(uint8_t /* status */)> cb, uint8_t* p, in disable_cb()
377 Callback<void(uint8_t /* status */)> cb, in BTM_BleSetStorageConfig()
418 Callback<void(uint8_t /* status */)> cb) { in BTM_BleEnableBatchScan()
466 void BTM_BleDisableBatchScan(base::Callback<void(uint8_t /* status */)> cb) { in BTM_BleDisableBatchScan()
/system/bt/btif/src/
Dbtif_hearing_aid.cc40 base::Callback<void()> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper()
41 base::Callback<void()> cb) { in jni_thread_wrapper()
43 [](const base::Location& from_here, base::Callback<void()> cb) { in jni_thread_wrapper()
/system/bt/btif/include/
Dbtif_common.h187 base::Callback<R(Args...)> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper()
188 base::Callback<R(Args...)> cb) { in jni_thread_wrapper()
190 [](const base::Location& from_here, base::Callback<R(Args...)> cb, in jni_thread_wrapper()
/system/bt/profile/avrcp/
Dconnection_handler.h53 using ConnectionCallback = base::Callback<void(std::shared_ptr<Device>)>;
136 using SdpCallback = base::Callback<void(uint16_t status, uint16_t version,

1234