/system/bt/binder/ |
D | Android.bp | 18 "android/bluetooth/bluetooth_device.cc", 19 "android/bluetooth/IBluetoothSocketManager.aidl", 22 "android/bluetooth/IBluetooth.aidl", 23 "android/bluetooth/IBluetoothA2dp.aidl", 24 "android/bluetooth/IBluetoothA2dpSink.aidl", 25 "android/bluetooth/IBluetoothAvrcpController.aidl", 26 "android/bluetooth/IBluetoothAvrcpTarget.aidl", 27 "android/bluetooth/IBluetoothCallback.aidl", 28 "android/bluetooth/IBluetoothProfileServiceConnection.aidl", 29 "android/bluetooth/IBluetoothHeadset.aidl", [all …]
|
/system/bt/main/shim/ |
D | hci_layer.cc | 58 bool is_valid_event_code(bluetooth::hci::EventCode event_code) { in is_valid_event_code() 60 case bluetooth::hci::EventCode::INQUIRY_COMPLETE: in is_valid_event_code() 61 case bluetooth::hci::EventCode::INQUIRY_RESULT: in is_valid_event_code() 62 case bluetooth::hci::EventCode::CONNECTION_COMPLETE: in is_valid_event_code() 63 case bluetooth::hci::EventCode::CONNECTION_REQUEST: in is_valid_event_code() 64 case bluetooth::hci::EventCode::DISCONNECTION_COMPLETE: in is_valid_event_code() 65 case bluetooth::hci::EventCode::AUTHENTICATION_COMPLETE: in is_valid_event_code() 66 case bluetooth::hci::EventCode::REMOTE_NAME_REQUEST_COMPLETE: in is_valid_event_code() 67 case bluetooth::hci::EventCode::ENCRYPTION_CHANGE: in is_valid_event_code() 68 case bluetooth::hci::EventCode::CHANGE_CONNECTION_LINK_KEY_COMPLETE: in is_valid_event_code() [all …]
|
D | shim.cc | 27 bluetooth::shim::Stack::GetInstance()->StartIdleMode(); in IdleModuleStartUp() 32 bluetooth::shim::Stack::GetInstance()->StartEverything(); in ShimModuleStartUp() 37 bluetooth::shim::Stack::GetInstance()->Stop(); in GeneralShutDown() 57 bool bluetooth::shim::is_gd_advertising_enabled() { in is_gd_advertising_enabled() 58 return bluetooth::common::init_flags::gd_advertising_is_enabled(); in is_gd_advertising_enabled() 61 bool bluetooth::shim::is_gd_scanning_enabled() { in is_gd_scanning_enabled() 62 return bluetooth::common::init_flags::gd_scanning_is_enabled(); in is_gd_scanning_enabled() 65 bool bluetooth::shim::is_gd_security_enabled() { in is_gd_security_enabled() 66 return bluetooth::common::init_flags::gd_security_is_enabled(); in is_gd_security_enabled() 69 bool bluetooth::shim::is_gd_acl_enabled() { in is_gd_acl_enabled() [all …]
|
D | metrics_api.cc | 23 using bluetooth::hci::Address; 25 namespace bluetooth { namespace 29 android::bluetooth::DirectionEnum direction, uint16_t link_type, in LogMetricLinkLayerConnectionEvent() 34 address = bluetooth::ToGdAddress(*raw_address); in LogMetricLinkLayerConnectionEvent() 36 bluetooth::os::LogMetricLinkLayerConnectionEvent( in LogMetricLinkLayerConnectionEvent() 44 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() 45 bluetooth::os::LogMetricA2dpAudioUnderrunEvent( in LogMetricA2dpAudioUnderrunEvent() 54 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() 55 bluetooth::os::LogMetricA2dpAudioOverrunEvent( in LogMetricA2dpAudioOverrunEvent() 62 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() [all …]
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/bt/service/common/ |
D | Android.bp | 21 "bluetooth/a2dp_codec_config.cc", 22 "bluetooth/adapter_state.cc", 23 "bluetooth/advertise_data.cc", 24 "bluetooth/advertise_settings.cc", 25 "bluetooth/avrcp_int_value.cc", 26 "bluetooth/avrcp_media_attr.cc", 27 "bluetooth/avrcp_register_notification_response.cc", 28 "bluetooth/characteristic.cc", 29 "bluetooth/descriptor.cc", 30 "bluetooth/remote_device_props.cc", [all …]
|
D | BUILD.gn | 19 "bluetooth/a2dp_codec_config.cc", 20 "bluetooth/adapter_state.cc", 21 "bluetooth/advertise_data.cc", 22 "bluetooth/advertise_settings.cc", 23 "bluetooth/avrcp_int_value.cc", 24 "bluetooth/avrcp_media_attr.cc", 25 "bluetooth/avrcp_register_notification_response.cc", 26 "bluetooth/characteristic.cc", 27 "bluetooth/descriptor.cc", 28 "bluetooth/remote_device_props.cc", [all …]
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/sepolicy/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain, mlstrustedsubject; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain, mlstrustedsubject; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | bluetooth.te | 1 # bluetooth subsystem 3 typeattribute bluetooth coredomain; 4 typeattribute bluetooth domain_deprecated; 6 app_domain(bluetooth) 7 net_domain(bluetooth) 10 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 13 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 15 wakelock_use(bluetooth); 18 allow bluetooth bluetooth_data_file:dir create_dir_perms; 19 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; [all …]
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/bt/btif/src/ |
D | btif_metrics_logging.cc | 30 if (bluetooth::shim::is_any_gd_enabled()) { in log_a2dp_audio_underrun_event() 31 bluetooth::shim::LogMetricA2dpAudioUnderrunEvent( in log_a2dp_audio_underrun_event() 34 bluetooth::common::LogA2dpAudioUnderrunEvent( in log_a2dp_audio_underrun_event() 44 if (bluetooth::shim::is_any_gd_enabled()) { in log_a2dp_audio_overrun_event() 45 bluetooth::shim::LogMetricA2dpAudioOverrunEvent( in log_a2dp_audio_overrun_event() 49 bluetooth::common::LogA2dpAudioOverrunEvent( in log_a2dp_audio_overrun_event() 57 if (bluetooth::shim::is_any_gd_enabled()) { in log_a2dp_playback_event() 58 bluetooth::shim::LogMetricA2dpPlaybackEvent(address, playback_state, in log_a2dp_playback_event() 61 bluetooth::common::LogA2dpPlaybackEvent(address, playback_state, in log_a2dp_playback_event() 68 if (bluetooth::shim::is_any_gd_enabled()) { in log_read_rssi_result() [all …]
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | bluetooth.te | 1 # bluetooth app 3 typeattribute bluetooth coredomain; 5 app_domain(bluetooth) 6 net_domain(bluetooth) 9 type_transition bluetooth bluetooth_data_file:sock_file bluetooth_socket; 12 allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls; 14 wakelock_use(bluetooth); 17 allow bluetooth bluetooth_data_file:dir create_dir_perms; 18 allow bluetooth bluetooth_data_file:notdevfile_class_set create_file_perms; 19 allow bluetooth bluetooth_logs_data_file:dir rw_dir_perms; [all …]
|
/system/bt/btif/include/ |
D | btif_sock_sdp.h | 27 static const bluetooth::Uuid UUID_OBEX_OBJECT_PUSH = 28 bluetooth::Uuid::From16Bit(0x1105); 29 static const bluetooth::Uuid UUID_PBAP_PSE = bluetooth::Uuid::From16Bit(0x112F); 30 static const bluetooth::Uuid UUID_MAP_MAS = bluetooth::Uuid::From16Bit(0x1132); 31 static const bluetooth::Uuid UUID_SAP = bluetooth::Uuid::From16Bit(0x112D); 32 static const bluetooth::Uuid UUID_SPP = bluetooth::Uuid::From16Bit(0x1101); 33 static const bluetooth::Uuid UUID_DIP = bluetooth::Uuid::From16Bit(0x1200); 34 static const bluetooth::Uuid UUID_MAP_MNS = bluetooth::Uuid::From16Bit(0x1133); 36 int add_rfc_sdp_rec(const char* name, bluetooth::Uuid uuid, int scn); 39 int get_reserved_rfc_channel(const bluetooth::Uuid& uuid);
|
/system/bt/gd/facade/ |
D | grpc_root_server.cc | 53 namespace bluetooth { namespace 56 using ::bluetooth::grpc::GrpcModule; 57 using ::bluetooth::os::Thread; 60 class RootFacadeService : public ::bluetooth::facade::RootFacade::Service { 66 const ::bluetooth::facade::StartStackRequest* request, in StartStack() 67 ::bluetooth::facade::StartStackResponse* response) override { in StartStack() 73 modules.add<::bluetooth::grpc::GrpcModule>(); in StartStack() 78 modules.add<::bluetooth::hal::HciHalFacadeModule>(); in StartStack() 81 modules.add<::bluetooth::facade::ReadOnlyPropertyServerModule>(); in StartStack() 82 modules.add<::bluetooth::hci::facade::HciFacadeModule>(); in StartStack() [all …]
|
/system/bt/test/mock/ |
D | mock_main_shim_btm_api.cc | 41 bool bluetooth::shim::BTM_BleDataSignature(const RawAddress& bd_addr, in BTM_BleDataSignature() 47 bool bluetooth::shim::BTM_BleLocalPrivacyEnabled(void) { in BTM_BleLocalPrivacyEnabled() 51 bool bluetooth::shim::BTM_BleSecurityProcedureIsRunning( in BTM_BleSecurityProcedureIsRunning() 56 bool bluetooth::shim::BTM_BleVerifySignature(const RawAddress& bd_addr, in BTM_BleVerifySignature() 63 bool bluetooth::shim::BTM_GetLeSecurityState(const RawAddress& bd_addr, in BTM_GetLeSecurityState() 69 bool bluetooth::shim::BTM_HasEirService(const uint32_t* p_eir_uuid, in BTM_HasEirService() 74 bool bluetooth::shim::BTM_ReadConnectedTransportAddress( in BTM_ReadConnectedTransportAddress() 79 bool bluetooth::shim::BTM_ReadRemoteConnectionAddr( in BTM_ReadRemoteConnectionAddr() 85 bool bluetooth::shim::BTM_SecAddDevice(const RawAddress& bd_addr, in BTM_SecAddDevice() 92 bool bluetooth::shim::BTM_SecAddRmtNameNotifyCallback( in BTM_SecAddRmtNameNotifyCallback() [all …]
|
D | mock_main_shim_BtifConfigInterface.cc | 21 bool bluetooth::shim::BtifConfigInterface::HasSection( in HasSection() 25 bool bluetooth::shim::BtifConfigInterface::HasProperty( in HasProperty() 29 bool bluetooth::shim::BtifConfigInterface::GetInt(const std::string& section, in GetInt() 34 bool bluetooth::shim::BtifConfigInterface::SetInt(const std::string& section, in SetInt() 39 bool bluetooth::shim::BtifConfigInterface::GetUint64(const std::string& section, in GetUint64() 44 bool bluetooth::shim::BtifConfigInterface::SetUint64(const std::string& section, in SetUint64() 49 bool bluetooth::shim::BtifConfigInterface::GetStr(const std::string& section, in GetStr() 55 std::optional<std::string> bluetooth::shim::BtifConfigInterface::GetStr( in GetStr() 59 bool bluetooth::shim::BtifConfigInterface::SetStr(const std::string& section, in SetStr() 64 bool bluetooth::shim::BtifConfigInterface::GetBin(const std::string& section, in GetBin() [all …]
|
/system/bt/stack/test/common/ |
D | mock_main_shim_btm_api.cc | 45 bool bluetooth::shim::BTM_BleDataSignature(const RawAddress& bd_addr, in BTM_BleDataSignature() 51 bool bluetooth::shim::BTM_BleLocalPrivacyEnabled(void) { in BTM_BleLocalPrivacyEnabled() 55 bool bluetooth::shim::BTM_BleSecurityProcedureIsRunning( in BTM_BleSecurityProcedureIsRunning() 60 bool bluetooth::shim::BTM_BleVerifySignature(const RawAddress& bd_addr, in BTM_BleVerifySignature() 67 bool bluetooth::shim::BTM_GetLeSecurityState(const RawAddress& bd_addr, in BTM_GetLeSecurityState() 73 bool bluetooth::shim::BTM_HasEirService(const uint32_t* p_eir_uuid, in BTM_HasEirService() 78 bool bluetooth::shim::BTM_ReadConnectedTransportAddress( in BTM_ReadConnectedTransportAddress() 83 bool bluetooth::shim::BTM_ReadRemoteConnectionAddr( in BTM_ReadRemoteConnectionAddr() 89 bool bluetooth::shim::BTM_SecAddDevice(const RawAddress& bd_addr, in BTM_SecAddDevice() 96 bool bluetooth::shim::BTM_SecAddRmtNameNotifyCallback( in BTM_SecAddRmtNameNotifyCallback() [all …]
|
D | mock_main_shim_l2c_api.cc | 33 bool bluetooth::shim::L2CA_RegisterFixedChannel(uint16_t cid, in L2CA_RegisterFixedChannel() 38 bool bluetooth::shim::L2CA_ConnectCreditBasedRsp( in L2CA_ConnectCreditBasedRsp() 45 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl() 51 bool bluetooth::shim::L2CA_DisconnectLECocReq(uint16_t cid) { in L2CA_DisconnectLECocReq() 55 bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq() 59 bool bluetooth::shim::L2CA_GetPeerFeatures(const RawAddress& bd_addr, in L2CA_GetPeerFeatures() 65 bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t cid, in L2CA_GetPeerLECocConfig() 70 bool bluetooth::shim::L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() 74 bool bluetooth::shim::L2CA_IsLinkEstablished(const RawAddress& bd_addr, in L2CA_IsLinkEstablished() 79 uint16_t bluetooth::shim::L2CA_GetLeHandle(const RawAddress& bd_addr) { in L2CA_GetLeHandle() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | acl_connection_handler.h | 38 bool CreatePendingConnection(bluetooth::hci::Address addr, 40 bool HasPendingConnection(bluetooth::hci::Address addr) const; 41 bool CancelPendingConnection(bluetooth::hci::Address addr); 44 bool CreatePendingLeConnection(bluetooth::hci::AddressWithType addr); 45 bool HasPendingLeConnection(bluetooth::hci::AddressWithType addr) const; 46 bool CancelPendingLeConnection(bluetooth::hci::AddressWithType addr); 48 uint16_t CreateConnection(bluetooth::hci::Address addr, 49 bluetooth::hci::Address own_addr); 50 uint16_t CreateLeConnection(bluetooth::hci::AddressWithType addr, 51 bluetooth::hci::AddressWithType own_addr); [all …]
|
/system/bt/service/test/ |
D | parcelable_unittest.cc | 32 using bluetooth::AdvertiseData; 33 using bluetooth::AdvertiseSettings; 34 using bluetooth::Characteristic; 35 using bluetooth::Descriptor; 36 using bluetooth::ScanFilter; 37 using bluetooth::ScanResult; 38 using bluetooth::ScanSettings; 39 using bluetooth::Service; 40 using bluetooth::Uuid; 42 namespace bluetooth { namespace [all …]
|
D | adapter_unittest.cc | 24 namespace bluetooth { namespace 60 class TestObserver final : public bluetooth::Adapter::Observer { 62 explicit TestObserver(bluetooth::Adapter* adapter) in TestObserver() 64 prev_state_(bluetooth::ADAPTER_STATE_INVALID), in TestObserver() 65 cur_state_(bluetooth::ADAPTER_STATE_INVALID), in TestObserver() 73 bluetooth::AdapterState prev_state() const { return prev_state_; } in prev_state() 74 bluetooth::AdapterState cur_state() const { return cur_state_; } in cur_state() 85 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged() 86 bluetooth::AdapterState prev_state, in OnAdapterStateChanged() 87 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() [all …]
|
/system/bt/stack/metrics/ |
D | stack_metrics_logging.cc | 30 if (bluetooth::shim::is_any_gd_enabled()) { in log_classic_pairing_event() 31 bluetooth::shim::LogMetricClassicPairingEvent(address, handle, hci_cmd, in log_classic_pairing_event() 35 bluetooth::common::LogClassicPairingEvent(address, handle, hci_cmd, in log_classic_pairing_event() 43 android::bluetooth::DirectionEnum direction, uint16_t link_type, in log_link_layer_connection_event() 46 if (bluetooth::shim::is_any_gd_enabled()) { in log_link_layer_connection_event() 47 bluetooth::shim::LogMetricLinkLayerConnectionEvent( in log_link_layer_connection_event() 51 bluetooth::common::LogLinkLayerConnectionEvent( in log_link_layer_connection_event() 58 android::bluetooth::DirectionEnum direction, in log_smp_pairing_event() 60 if (bluetooth::shim::is_any_gd_enabled()) { in log_smp_pairing_event() 61 bluetooth::shim::LogMetricSmpPairingEvent(address, smp_cmd, direction, in log_smp_pairing_event() [all …]
|
/system/bt/service/example/heart_rate/ |
D | constants.h | 31 const bluetooth::Uuid kCCCDescriptorUuid = bluetooth::Uuid::FromString("2902"); 32 const bluetooth::Uuid kHRServiceUuid = bluetooth::Uuid::FromString("180D"); 33 const bluetooth::Uuid kHRMeasurementUuid = bluetooth::Uuid::FromString("2A37"); 34 const bluetooth::Uuid kBodySensorLocationUuid = 35 bluetooth::Uuid::FromString("2A38"); 36 const bluetooth::Uuid kHRControlPointUuid = bluetooth::Uuid::FromString("2A39");
|