/system/bt/binder/ |
D | Android.bp | 9 "android/bluetooth/bluetooth_device.cc", 10 "android/bluetooth/IBluetoothSocketManager.aidl", 13 "android/bluetooth/IBluetooth.aidl", 14 "android/bluetooth/IBluetoothA2dp.aidl", 15 "android/bluetooth/IBluetoothA2dpSink.aidl", 16 "android/bluetooth/IBluetoothAvrcpController.aidl", 17 "android/bluetooth/IBluetoothAvrcpTarget.aidl", 18 "android/bluetooth/IBluetoothCallback.aidl", 19 "android/bluetooth/IBluetoothProfileServiceConnection.aidl", 20 "android/bluetooth/IBluetoothHeadset.aidl", [all …]
|
/system/bt/service/common/ |
D | Android.bp | 12 "bluetooth/a2dp_codec_config.cc", 13 "bluetooth/adapter_state.cc", 14 "bluetooth/advertise_data.cc", 15 "bluetooth/advertise_settings.cc", 16 "bluetooth/avrcp_int_value.cc", 17 "bluetooth/avrcp_media_attr.cc", 18 "bluetooth/avrcp_register_notification_response.cc", 19 "bluetooth/characteristic.cc", 20 "bluetooth/descriptor.cc", 21 "bluetooth/remote_device_props.cc", [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/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/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/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/main/shim/ |
D | hci_layer.cc | 49 bool IsCommandStatusOpcode(bluetooth::hci::OpCode op_code) { in IsCommandStatusOpcode() 51 case bluetooth::hci::OpCode::INQUIRY: in IsCommandStatusOpcode() 52 case bluetooth::hci::OpCode::CREATE_CONNECTION: in IsCommandStatusOpcode() 53 case bluetooth::hci::OpCode::DISCONNECT: in IsCommandStatusOpcode() 54 case bluetooth::hci::OpCode::ACCEPT_CONNECTION_REQUEST: in IsCommandStatusOpcode() 55 case bluetooth::hci::OpCode::REJECT_CONNECTION_REQUEST: in IsCommandStatusOpcode() 56 case bluetooth::hci::OpCode::CHANGE_CONNECTION_PACKET_TYPE: in IsCommandStatusOpcode() 57 case bluetooth::hci::OpCode::AUTHENTICATION_REQUESTED: in IsCommandStatusOpcode() 58 case bluetooth::hci::OpCode::SET_CONNECTION_ENCRYPTION: in IsCommandStatusOpcode() 59 case bluetooth::hci::OpCode::CHANGE_CONNECTION_LINK_KEY: in IsCommandStatusOpcode() [all …]
|
D | l2c_api.cc | 29 static bluetooth::shim::legacy::L2cap shim_l2cap; 34 uint16_t bluetooth::shim::L2CA_Register(uint16_t client_psm, in L2CA_Register() 72 void bluetooth::shim::L2CA_Deregister(uint16_t client_psm) { in L2CA_Deregister() 83 uint16_t bluetooth::shim::L2CA_AllocatePSM(void) { in L2CA_AllocatePSM() 87 uint16_t bluetooth::shim::L2CA_AllocateLePSM(void) { in L2CA_AllocateLePSM() 91 void bluetooth::shim::L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() 102 uint16_t bluetooth::shim::L2CA_ErtmConnectReq(uint16_t psm, in L2CA_ErtmConnectReq() 108 uint16_t bluetooth::shim::L2CA_ConnectReq(uint16_t psm, in L2CA_ConnectReq() 113 bool bluetooth::shim::L2CA_ErtmConnectRsp(const RawAddress& p_bd_addr, in L2CA_ErtmConnectRsp() 121 bool bluetooth::shim::L2CA_ConnectRsp(const RawAddress& p_bd_addr, uint8_t id, in L2CA_ConnectRsp() [all …]
|
/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::HciLayerFacadeModule>(); in StartStack() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | acl_connection_handler.h | 37 bool CreatePendingConnection(bluetooth::hci::Address addr, 39 bool HasPendingConnection(bluetooth::hci::Address addr) const; 40 bool CancelPendingConnection(bluetooth::hci::Address addr); 43 bool CreatePendingLeConnection(bluetooth::hci::AddressWithType addr); 44 bool HasPendingLeConnection(bluetooth::hci::AddressWithType addr) const; 45 bool CancelPendingLeConnection(bluetooth::hci::AddressWithType addr); 47 uint16_t CreateConnection(bluetooth::hci::Address addr, 48 bluetooth::hci::Address own_addr); 49 uint16_t CreateLeConnection(bluetooth::hci::AddressWithType addr, 50 bluetooth::hci::AddressWithType own_addr); [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); 34 int add_rfc_sdp_rec(const char* name, bluetooth::Uuid uuid, int scn); 37 int get_reserved_rfc_channel(const bluetooth::Uuid& uuid);
|
/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 …]
|
D | ParcelableTest.aidl | 8 import android.bluetooth.AdvertiseData; 9 import android.bluetooth.AdvertiseSettings; 10 import android.bluetooth.BluetoothGattCharacteristic; 11 import android.bluetooth.BluetoothGattDescriptor; 12 import android.bluetooth.BluetoothGattIncludedService; 13 import android.bluetooth.BluetoothGattService; 14 import android.bluetooth.ScanFilter; 15 import android.bluetooth.ScanResult; 16 import android.bluetooth.ScanSettings; 17 import android.bluetooth.UUID;
|
/system/bt/gd/proto/ |
D | Android.bp | 2 name: "bluetooth-protos-lite", 8 "bluetooth/metrics/bluetooth.proto", 9 "bluetooth/bluetoothKeystore/keystore.proto", 21 "bluetooth/metrics/bluetooth.proto", 22 "bluetooth/bluetoothKeystore/keystore.proto", 35 "bluetooth/metrics/bluetooth.proto", 36 "bluetooth/bluetoothKeystore/keystore.proto", 40 "com.android.bluetooth.updatable",
|
/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");
|
D | heart_rate_server.cc | 32 using android::bluetooth::IBluetoothLeAdvertiser; 33 using android::bluetooth::BluetoothGattService; 38 : public android::bluetooth::BnBluetoothLeAdvertiserCallback { 41 android::sp<android::bluetooth::IBluetooth> bt) in CLIBluetoothLeAdvertiserCallback() 46 if (status != bluetooth::BLE_STATUS_SUCCESS) { in OnAdvertiserRegistered() 59 std::vector<uint8_t> data{0x03, bluetooth::kEIRTypeComplete16BitUuids, in OnAdvertiserRegistered() 61 0x02, bluetooth::kEIRTypeTxPower, in OnAdvertiserRegistered() 64 data.push_back(bluetooth::kEIRTypeCompleteLocalName); in OnAdvertiserRegistered() 69 bluetooth::AdvertiseSettings settings( in OnAdvertiserRegistered() 70 bluetooth::AdvertiseSettings::MODE_LOW_POWER, timeout, in OnAdvertiserRegistered() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_le_scanner_binder_server.h | 33 using android::bluetooth::BnBluetoothLeScanner; 34 using android::bluetooth::IBluetoothLeScannerCallback; 36 namespace bluetooth { 47 public bluetooth::LowEnergyScanner::Delegate { 49 explicit BluetoothLeScannerBinderServer(bluetooth::Adapter* adapter); 59 const android::bluetooth::ScanSettings& settings, 60 const std::vector<android::bluetooth::ScanFilter>& filters, 64 void OnScanResult(bluetooth::LowEnergyScanner* scanner, 65 const bluetooth::ScanResult& result) override; 74 std::shared_ptr<bluetooth::LowEnergyScanner> GetLEScanner(int scanner_id); [all …]
|
D | bluetooth_a2dp_source_binder_server.h | 31 namespace bluetooth { 40 public android::bluetooth::BnBluetoothA2dpSource, 41 public bluetooth::A2dpSource::Delegate { 43 explicit BluetoothA2dpSourceBinderServer(bluetooth::Adapter* adapter); 50 const android::sp<android::bluetooth::IBluetoothA2dpSourceCallback>& 55 const std::vector<android::bluetooth::BluetoothA2dpCodecConfig>& 65 const std::vector<android::bluetooth::BluetoothA2dpCodecConfig>& 75 bluetooth::A2dpCodecConfig codec_config, 76 const std::vector<bluetooth::A2dpCodecConfig>& codecs_local_capabilities, 77 const std::vector<bluetooth::A2dpCodecConfig>& [all …]
|
D | bluetooth_binder_server.h | 45 using android::bluetooth::BnBluetooth; 46 using android::bluetooth::IBluetoothA2dpSink; 47 using android::bluetooth::IBluetoothA2dpSource; 48 using android::bluetooth::IBluetoothAvrcpControl; 49 using android::bluetooth::IBluetoothAvrcpTarget; 50 using android::bluetooth::IBluetoothCallback; 51 using android::bluetooth::IBluetoothGattClient; 52 using android::bluetooth::IBluetoothGattServer; 53 using android::bluetooth::IBluetoothLeAdvertiser; 54 using android::bluetooth::IBluetoothLeScanner; [all …]
|
D | bluetooth_gatt_server_binder_server.h | 27 using android::bluetooth::BnBluetoothGattServer; 28 using android::bluetooth::IBluetoothGattServerCallback; 32 namespace bluetooth { 42 public bluetooth::GattServer::Delegate { 44 explicit BluetoothGattServerBinderServer(bluetooth::Adapter* adapter); 49 const ::android::sp<::android::bluetooth::IBluetoothGattServerCallback>& 55 const ::android::bluetooth::BluetoothGattService& service, 68 void OnCharacteristicReadRequest(bluetooth::GattServer* gatt_server, 72 void OnDescriptorReadRequest(bluetooth::GattServer* gatt_server, 76 void OnCharacteristicWriteRequest(bluetooth::GattServer* gatt_server, [all …]
|
D | bluetooth_le_advertiser_binder_server.h | 33 using android::bluetooth::BnBluetoothLeAdvertiser; 34 using android::bluetooth::IBluetoothLeAdvertiserCallback; 36 namespace bluetooth { 47 explicit BluetoothLeAdvertiserBinderServer(bluetooth::Adapter* adapter); 58 const android::bluetooth::AdvertiseData& advertise_data, 59 const android::bluetooth::AdvertiseData& scan_response, 60 const android::bluetooth::AdvertiseSettings& settings, 71 std::shared_ptr<bluetooth::LowEnergyAdvertiser> GetLEAdvertiser( 75 void OnRegisterInstanceImpl(bluetooth::BLEStatus status, 77 bluetooth::BluetoothInstance* instance) override; [all …]
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetooth.aidl | 17 package android.bluetooth; 19 import android.bluetooth.IBluetoothCallback; 20 import android.bluetooth.IBluetoothLowEnergy; 21 import android.bluetooth.IBluetoothLeAdvertiser; 22 import android.bluetooth.IBluetoothLeScanner; 23 import android.bluetooth.IBluetoothGattClient; 24 import android.bluetooth.IBluetoothGattServer; 25 import android.bluetooth.IBluetoothA2dpSink; 26 import android.bluetooth.IBluetoothA2dpSource; 27 import android.bluetooth.IBluetoothAvrcpControl; [all …]
|