Exploit databaseDownload repository ZIP
GH-1cc0458bd4e24354f1be177e7e1c1854
shaikusaf/system_bt_aosp10_r33_cve-2022-20229
Sources for CVE-2022-20229
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files40
shaikusaf/system_bt_aosp10_r33_cve-2022-20229Revision 148a2a48d97d
- ↑..Parent directory
- btif_a2dp.h
- btif_a2dp_audio_interface.h
- btif_a2dp_control.h
- btif_a2dp_sink.h
- btif_a2dp_source.h
- btif_api.h
- btif_av.h
- btif_av_co.h
- btif_avrcp_audio_track.h
- btif_bqr.h
- btif_common.h
- btif_config.h
- btif_config_transcode.h
- btif_debug.h
- btif_debug_btsnoop.h
- btif_debug_conn.h
- btif_dm.h
- btif_gatt.h
- btif_gatt_util.h
- btif_hd.h
- btif_hf.h
- btif_hh.h
- btif_keystore.h
- btif_mce.h
- btif_pan.h
- btif_pan_internal.h
- btif_profile_queue.h
- btif_rc.h
- btif_sdp.h
- btif_sock.h
- btif_sock_l2cap.h
- btif_sock_rfc.h
- btif_sock_sco.h
- btif_sock_sdp.h
- btif_sock_thread.h
- btif_sock_util.h
- btif_storage.h
- btif_uid.h
- btif_util.h
- stack_manager.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
btif/include/btif_a2dp.h
Text · 2,524 bytes/******************************************************************************
*
* Copyright 2016 The Android Open Source Project
* Copyright 2009-2012 Broadcom Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
#ifndef BTIF_A2DP_H
#define BTIF_A2DP_H
#include <stdbool.h>
#include "bta_av_api.h"
// Process 'idle' request from the BTIF state machine during initialization.
void btif_a2dp_on_idle(void);
// Process 'start' request from the BTIF state machine to prepare for A2DP
// streaming.
// |peer_addr| is the peer address.
// |p_av_start| is the data associated with the request - see |tBTA_AV_START|.
// Returns true if an ACK for the local command was sent, otherwise false.
bool btif_a2dp_on_started(const RawAddress& peer_addr, tBTA_AV_START* p_av_start);
// Process 'stop' request from the BTIF state machine to stop A2DP streaming.
// |p_av_suspend| is the data associated with the request - see
// |tBTA_AV_SUSPEND|.
void btif_a2dp_on_stopped(tBTA_AV_SUSPEND* p_av_suspend);
// Process 'suspend' request from the BTIF state machine to suspend A2DP
// streaming.
// |p_av_suspend| is the data associated with the request - see
// |tBTA_AV_SUSPEND|.
void btif_a2dp_on_suspended(tBTA_AV_SUSPEND* p_av_suspend);
// Process 'offload start' request from the BTIF state machine to start
// offloading of the A2DP streaming.
// |peer_addr| is the peer address.
// |status| is the processing status of the request prior to this call.
// The value can be |BTA_AV_SUCCESS| if the processing has been successful
// so far, or |BTA_AV_FAIL*| if the request has already failed.
void btif_a2dp_on_offload_started(const RawAddress& peer_addr,
tBTA_AV_STATUS status);
// Dump debug-related information for the A2DP module.
// |fd| is the file descriptor to use for writing the ASCII formatted
// information.
void btif_debug_a2dp_dump(int fd);
#endif /* BTIF_A2DP_H */