Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 272) 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 __anon547f3a460211::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/hci/src/
Dpacket_fragmenter.cc50 static const packet_fragmenter_callbacks_t* callbacks; variable
55 callbacks = result_callbacks; in init()
68 callbacks->fragmented(packet, true); in fragment_and_dispatch()
91 callbacks->fragmented(packet, false); in fragment_and_dispatch()
109 callbacks->transmit_finished(packet, false); in fragment_and_dispatch()
115 callbacks->fragmented(packet, true); in fragment_and_dispatch()
182 callbacks->reassembled(packet); in reassemble_and_dispatch()
236 callbacks->reassembled(partial_packet); in reassemble_and_dispatch()
240 callbacks->reassembled(packet); in reassemble_and_dispatch()
/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/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/bt/gd/hci/
Dacl_manager_mock.h45 …MOCK_METHOD(void, RegisterCallbacks, (ConnectionManagementCallbacks * callbacks, os::Handler* hand…
58 …MOCK_METHOD(void, RegisterCallbacks, (LeConnectionManagementCallbacks * callbacks, os::Handler* ha…
68 …MOCK_METHOD(void, RegisterCallbacks, (ConnectionCallbacks * callbacks, os::Handler* handler), (ove…
69 …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
307 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp()
343 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
360 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
369 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
387 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
435 hal->callbacks->hciEventReceived(GetPacketBytes( in TEST_F()
[all …]
Dacl_manager.cc120 void AclManager::RegisterCallbacks(ConnectionCallbacks* callbacks, os::Handler* handler) { in RegisterCallbacks() argument
121 ASSERT(callbacks != nullptr && handler != nullptr); in RegisterCallbacks()
123 … common::Unretained(pimpl_->classic_impl_), common::Unretained(callbacks), in RegisterCallbacks()
127 void AclManager::RegisterLeCallbacks(LeConnectionCallbacks* callbacks, os::Handler* handler) { in RegisterLeCallbacks() argument
128 ASSERT(callbacks != nullptr && handler != nullptr); in RegisterLeCallbacks()
132 common::Unretained(callbacks), in RegisterLeCallbacks()
/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_health_storage.te1 # HwBinder IPC from client to server, and callbacks
Dhal_ir.te1 # HwBinder IPC from client to 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_ir.te1 # HwBinder IPC from client to server, and callbacks
Dhal_tv_cec.te1 # HwBinder IPC from clients into 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_vr.te1 # HwBinder IPC from client to server, and callbacks
/system/bt/main/shim/
Dl2c_api.cc35 tL2CAP_APPL_INFO* callbacks, in L2CA_Register() argument
39 CHECK(callbacks != nullptr); in L2CA_Register()
46 if ((callbacks->pL2CA_ConfigCfm_Cb == nullptr) || in L2CA_Register()
47 (callbacks->pL2CA_ConfigInd_Cb == nullptr) || in L2CA_Register()
48 (callbacks->pL2CA_DataInd_Cb == nullptr) || in L2CA_Register()
49 (callbacks->pL2CA_DisconnectInd_Cb == nullptr)) { in L2CA_Register()
57 bool is_outgoing_connection_only = callbacks->pL2CA_ConnectInd_Cb == nullptr; in L2CA_Register()
68 return shim_l2cap.RegisterService(psm, callbacks, enable_snoop, p_ertm_info, in L2CA_Register()
148 tL2CAP_APPL_INFO* callbacks) { in L2CA_RegisterLECoc() argument
149 LOG_INFO("UNIMPLEMENTED %s psm:%hd callbacks:%p", __func__, psm, callbacks); in L2CA_RegisterLECoc()
[all …]
/system/bt/gd/hci/acl_manager/
Dle_acl_connection.cc32 void RegisterCallbacks(LeConnectionManagementCallbacks* callbacks, os::Handler* handler) { in RegisterCallbacks() argument
34 client_callbacks_ = callbacks; in RegisterCallbacks()
99 void LeAclConnection::RegisterCallbacks(LeConnectionManagementCallbacks* callbacks, os::Handler* ha… in RegisterCallbacks() argument
100 return pimpl_->tracker.RegisterCallbacks(callbacks, handler); in RegisterCallbacks()
/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/bt/gd/hal/fuzz/
Dfuzz_hci_hal.cc27 void FuzzHciHal::registerIncomingPacketCallback(HciHalCallbacks* callbacks) { in registerIncomingPacketCallback() argument
28 callbacks_ = callbacks; in registerIncomingPacketCallback()
/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.cc115 sp<SocketCallbacks> callbacks = new SocketCallbacks(); in main() local
117 if (!client.connect("chre", callbacks)) { in main()

1234567891011