Home
last modified time | relevance | path

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

12345

/system/bt/include/hardware/
Dble_scanner.h100 base::Callback<void(uint8_t /* scanner_id */, uint8_t /* btm_status */)>;
102 using Callback = base::Callback<void(uint8_t /* btm_status */)>; variable
105 base::Callback<void(uint8_t /* action */, uint8_t /* btm_status */)>;
108 base::Callback<void(uint8_t /* avbl_space */, uint8_t /* action_type */,
112 base::Callback<void(uint8_t /* filt_type */, uint8_t /* avbl_space */,
143 Callback cb) = 0;
149 Callback cb) = 0;
154 Callback cb) = 0;
157 virtual void BatchscanDisable(Callback cb) = 0;
163 base::Callback<void(uint8_t status, uint16_t sync_handle,
[all …]
Dble_advertiser.h75 using StatusCallback = base::Callback<void(uint8_t /* status */)>;
77 base::Callback<void(uint8_t /* advertiser_id */, uint8_t /* status */)>;
79 base::Callback<void(uint8_t /* advertiser_id */, int8_t /* tx_power */,
82 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
88 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/gd/common/
Dmetric_id_manager.h34 using Callback = std::function<bool(const hci::Address& address, const int id)>;
64 Callback save_id_callback,
65 Callback forget_device_callback);
128 Callback save_id_callback_;
129 Callback forget_device_callback_;
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()
Dmetric_id_manager_unittest.cc53 MetricIdManager::Callback callback = []( in TEST()
65 MetricIdManager::Callback callback = []( in TEST()
79 MetricIdManager::Callback callback = []( in TEST()
96 MetricIdManager::Callback callback = []( in TEST()
119 MetricIdManager::Callback callback = []( in TEST()
146 MetricIdManager::Callback save_callback = [pointer]( in TEST()
152 MetricIdManager::Callback forget_callback = [pointer]( in TEST()
206 MetricIdManager::Callback save_callback = [pointer]( in TEST()
212 MetricIdManager::Callback forget_callback = [pointer]( in TEST()
350 MetricIdManager::Callback save_callback = [pointer]( 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.h108 using SongInfoCallback = base::Callback<void(SongInfo)>;
111 using PlayStatusCallback = base::Callback<void(PlayStatus)>;
117 base::Callback<void(std::string, std::vector<SongInfo>)>;
124 base::Callback<void(uint16_t curr_player, std::vector<MediaPlayerInfo>)>;
127 using FolderItemsCallback = base::Callback<void(std::vector<ListItem>)>;
131 using SetBrowsedPlayerCallback = base::Callback<void(
153 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);
134 base::Callback<void(uint8_t /* status */)> cb,
141 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
145 base::Callback<void(uint8_t /* status */)> cb);
597 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb);
/system/update_engine/cros/
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/test/mock/
Dmock_stack_btm_ble_batchscan.cc45 void BTM_BleDisableBatchScan(base::Callback<void(uint8_t)> cb) { in BTM_BleDisableBatchScan()
52 base::Callback<void(uint8_t)> cb) { in BTM_BleEnableBatchScan()
62 base::Callback<void(uint8_t)> cb, in BTM_BleSetStorageConfig()
Dmock_common_metric_id_allocator.cc75 Callback save_id_callback, Callback forget_device_callback) { in Init()
/system/security/keystore2/apc_compat/
Dapc_compat.rs73 type Callback = dyn FnOnce(u32, Option<&[u8]>, Option<&[u8]>); typedef
89 let hal_cb: Box<Box<Callback>> = unsafe { Box::from_raw(handle as *mut Box<Callback>) }; in confirmation_result_callback()
159 let cb_data_ptr = Box::into_raw(Box::new(Box::new(cb) as Box<Callback>)); in prompt_user_confirmation()
/system/update_engine/update_manager/
Dupdate_manager.h46 base::Callback<void(EvalStatus, const UpdateCheckParams& result)>
97 base::Callback<void(EvalStatus, const R& result)> callback,
103 base::Callback<void(EvalStatus, const UpdateCheckParams& result)>
145 base::Callback<void(EvalStatus status, const R& result)> callback,
Devaluation_context.h68 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb);
73 std::unique_ptr<base::Callback<void(EvaluationContext*)>>()) {} in EvaluationContext()
201 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb_;
Dupdate_manager-inl.h79 base::Callback<void(EvalStatus status, const R& result)> callback, in OnPolicyReadyToEvaluate()
136 base::Callback<void(EvalStatus, const R& result)> callback, in AsyncPolicyRequest()
143 std::unique_ptr<base::Callback<void(EvaluationContext*)>>( in AsyncPolicyRequest()
144 new base::Callback<void(EvaluationContext*)>( in AsyncPolicyRequest()
/system/bt/gd/hci/
Dle_advertising_manager_mock.h41 const common::Callback<void(Address, AddressType)>&,
42 const common::Callback<void(ErrorCode, uint8_t, uint8_t)>&,
Dle_advertising_manager.h110 const common::Callback<void(Address, AddressType)>& scan_callback,
111 const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback,
148 const common::Callback<void(Address, AddressType)>& scan_callback,
149 const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback,
/system/bt/stack/btm/
Dble_scanner_hci_interface.h29 using status_cb = base::Callback<void(uint8_t /* status */)>;
30 using list_size_cb = base::Callback<void(int8_t /* list_size */)>;
32 base::Callback<void(uint8_t /* status */, uint16_t /* adv_handle */)>;
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;
/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/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/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()

12345