Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 271) sorted by relevance

1234567891011

/system/bt/btif/src/
Dbtif_keystore.cc43 void init(BluetoothKeystoreCallbacks* callbacks) override { in init() argument
45 this->callbacks = callbacks; in init()
52 if (!callbacks) { in set_encrypt_key_or_remove_key()
63 base::Unretained(callbacks), prefix, decryptedString)); in set_encrypt_key_or_remove_key()
69 if (!callbacks) { in get_key()
78 decryptedString = callbacks->get_key(prefix); in get_key()
97 BluetoothKeystoreCallbacks* callbacks = nullptr; member in bluetooth::bluetooth_keystore::BluetoothKeystoreInterfaceImpl
Dbtif_hearing_aid.cc58 void Init(HearingAidCallbacks* callbacks) override { in Init() argument
60 this->callbacks = callbacks; in Init()
72 Unretained(callbacks), state, address)); in OnConnectionState()
81 Unretained(callbacks), capabilities, in OnDeviceAvailable()
133 HearingAidCallbacks* callbacks; member in __anonec7e4b110211::HearingAidInterfaceImpl
Dbtif_gatt.cc56 static bt_status_t btif_gatt_init(const btgatt_callbacks_t* callbacks) { in btif_gatt_init() argument
57 bt_gatt_callbacks = callbacks; in btif_gatt_init()
/system/bt/gd/hci/
Dacl_manager_mock.h35 …MOCK_METHOD(void, RegisterCallbacks, (ConnectionManagementCallbacks * callbacks, os::Handler* hand…
36 MOCK_METHOD(void, UnregisterCallbacks, (ConnectionManagementCallbacks * callbacks), (override));
46 …MOCK_METHOD(void, RegisterCallbacks, (ConnectionCallbacks * callbacks, os::Handler* handler), (ove…
47 …MOCK_METHOD(void, RegisterLeCallbacks, (LeConnectionCallbacks * callbacks, os::Handler* handler), …
Dhci_layer_test.cc59 ASSERT_LOG(callbacks == nullptr, "unregisterIncomingPacketCallback() must be called"); in ~TestHciHal()
63 callbacks = callback; in registerIncomingPacketCallback()
67 callbacks = nullptr; in unregisterIncomingPacketCallback()
92 hal::HciHalCallbacks* callbacks = nullptr; member in bluetooth::hci::TestHciHal
313 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp()
349 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
366 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
375 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
393 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
440 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
[all …]
Dacl_manager.h113 virtual void RegisterCallbacks(ConnectionManagementCallbacks* callbacks, os::Handler* handler);
114 virtual void UnregisterCallbacks(ConnectionManagementCallbacks* callbacks);
216 virtual void RegisterCallbacks(ConnectionCallbacks* callbacks, os::Handler* handler);
219 virtual void RegisterLeCallbacks(LeConnectionCallbacks* callbacks, os::Handler* handler);
222 virtual void RegisterAclManagerCallbacks(AclManagerCallbacks* callbacks, os::Handler* handler);
225 virtual void RegisterLeAclManagerCallbacks(AclManagerCallbacks* callbacks, os::Handler* handler);
/system/bt/main/shim/
Dl2c_api.cc30 tL2CAP_APPL_INFO* callbacks, in L2CA_Register() argument
33 CHECK(callbacks != nullptr); in L2CA_Register()
40 if ((callbacks->pL2CA_ConfigCfm_Cb == nullptr) || in L2CA_Register()
41 (callbacks->pL2CA_ConfigInd_Cb == nullptr) || in L2CA_Register()
42 (callbacks->pL2CA_DataInd_Cb == nullptr) || in L2CA_Register()
43 (callbacks->pL2CA_DisconnectInd_Cb == nullptr)) { in L2CA_Register()
52 bool is_outgoing_connection_only = callbacks->pL2CA_ConnectInd_Cb == nullptr; in L2CA_Register()
64 return shim_l2cap.RegisterService(psm, callbacks, enable_snoop, p_ertm_info); in L2CA_Register()
145 tL2CAP_APPL_INFO* callbacks) { in L2CA_RegisterLECoc() argument
147 callbacks); in L2CA_RegisterLECoc()
[all …]
/system/chre/host/common/
Dsocket_client.cc45 const sp<ICallbacks> &callbacks) { in connect() argument
46 return doConnect(socketName, callbacks, false /* connectInBackground */); in connect()
50 const sp<ICallbacks> &callbacks) { in connectInBackground() argument
51 return doConnect(socketName, callbacks, true /* connectInBackground */); in connectInBackground()
106 const sp<ICallbacks> &callbacks, in doConnect() argument
122 } else if (callbacks == nullptr) { in doConnect()
126 mCallbacks = callbacks; in doConnect()
/system/bt/hci/src/
Dpacket_fragmenter.cc52 static const packet_fragmenter_callbacks_t* callbacks; variable
57 callbacks = result_callbacks; in init()
70 callbacks->fragmented(packet, true); in fragment_and_dispatch()
93 callbacks->fragmented(packet, false); in fragment_and_dispatch()
111 callbacks->transmit_finished(packet, false); in fragment_and_dispatch()
117 callbacks->fragmented(packet, true); in fragment_and_dispatch()
193 callbacks->reassembled(packet); in reassemble_and_dispatch()
248 callbacks->reassembled(partial_packet); in reassemble_and_dispatch()
252 callbacks->reassembled(packet); in reassemble_and_dispatch()
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc312 bool loadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in loadNanoapp() argument
321 (status == std::cv_status::no_timeout && callbacks->actionSucceeded()); in loadNanoapp()
342 bool unloadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in unloadNanoapp() argument
349 (status == std::cv_status::no_timeout && callbacks->actionSucceeded()); in unloadNanoapp()
366 bool unloadAllNanoapps(SocketClient &client, sp<SocketCallbacks> callbacks) { in unloadAllNanoapps() argument
370 for (auto appId : callbacks->getAppIdVector()) { in unloadAllNanoapps()
371 if (!unloadNanoapp(client, callbacks, appId)) { in unloadAllNanoapps()
414 bool isLoaded(SocketClient &client, sp<SocketCallbacks> callbacks, in isLoaded() argument
420 for (auto appId : callbacks->getAppIdVector()) { in isLoaded()
574 bool sendMessageToNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in sendMessageToNanoapp() argument
[all …]
/system/chre/host/common/include/chre_host/
Dsocket_client.h84 const ::android::sp<ICallbacks> &callbacks);
100 const ::android::sp<ICallbacks> &callbacks);
142 const ::android::sp<ICallbacks> &callbacks,
/system/sepolicy/prebuilts/api/28.0/public/
Dwpantund.te13 # Allow wpantund to call any callbacks that have been registered with it.
14 # Generally, only privileged apps are able to register callbacks with
15 # wpantund, so we are limiting the scope for callbacks to only privileged
/system/sepolicy/prebuilts/api/29.0/public/
Dwpantund.te13 # Allow wpantund to call any callbacks that have been registered with it.
14 # Generally, only privileged apps are able to register callbacks with
15 # wpantund, so we are limiting the scope for callbacks to only privileged
Dhal_audiocontrol.te1 # HwBinder IPC from client to server, and callbacks
Dhal_contexthub.te1 # HwBinder IPC from client to server, and callbacks
Dhal_vr.te1 # HwBinder IPC from client to server, and callbacks
/system/sepolicy/public/
Dwpantund.te13 # Allow wpantund to call any callbacks that have been registered with it.
14 # Generally, only privileged apps are able to register callbacks with
15 # wpantund, so we are limiting the scope for callbacks to only privileged
Dhal_tv_cec.te1 # HwBinder IPC from clients into server, and callbacks
/system/sepolicy/prebuilts/api/30.0/public/
Dwpantund.te13 # Allow wpantund to call any callbacks that have been registered with it.
14 # Generally, only privileged apps are able to register callbacks with
15 # wpantund, so we are limiting the scope for callbacks to only privileged
Dhal_vr.te1 # HwBinder IPC from client to server, and callbacks
Dhal_bootctl.te1 # HwBinder IPC from client to server, and callbacks
/system/bt/gd/l2cap/classic/internal/
Dlink_manager.cc155 auto& callbacks = pending_dynamic_channels_callbacks_[device].front(); in OnConnectSuccess() local
156 link->SendConnectionRequest(psm, link->ReserveDynamicChannel(), std::move(callbacks)); in OnConnectSuccess()
180 …for (Link::PendingDynamicChannelConnection& callbacks : pending_dynamic_channels_callbacks_[device… in OnConnectFail()
181 callbacks.handler_->Post(common::BindOnce(std::move(callbacks.on_fail_callback_), in OnConnectFail()
/system/extras/taskstats/
Dtaskstats.c106 struct nl_cb* callbacks = nl_cb_get(nl_cb_alloc(NL_CB_CUSTOM)); in query_task_stats() local
107 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, &parse_task_stats, stats); in query_task_stats()
108 nl_cb_err(callbacks, NL_CB_CUSTOM, &print_receive_error, &family_id); in query_task_stats()
110 result = nl_recvmsgs(netlink_socket, callbacks); in query_task_stats()
111 nl_cb_put(callbacks); in query_task_stats()
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_tetheroffload.te1 ## HwBinder IPC from client to server, and callbacks
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc116 sp<SocketCallbacks> callbacks = new SocketCallbacks(); in main() local
118 if (!client.connect("chre", callbacks)) { in main()

1234567891011