Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4530b433 authored by Muhammad Qureshi's avatar Muhammad Qureshi
Browse files

Add bluetooth module

Bug: 145952197
Test: m Bluetooth
Change-Id: I2a4b2ef3370dde416691a54e848c6a15fd3a0204
Merged-In: I2a4b2ef3370dde416691a54e848c6a15fd3a0204
parent b11e00d6
Loading
Loading
Loading
Loading
+46 −24
Original line number Original line Diff line number Diff line
@@ -75,9 +75,9 @@ message Atom {
    // Pushed atoms start at 2.
    // Pushed atoms start at 2.
    oneof pushed {
    oneof pushed {
        // For StatsLog reasons, 1 is illegal and will not work. Must start at 2.
        // For StatsLog reasons, 1 is illegal and will not work. Must start at 2.
        BleScanStateChanged ble_scan_state_changed = 2;
        BleScanStateChanged ble_scan_state_changed = 2 [(log_from_module) = "bluetooth"];
        ProcessStateChanged process_state_changed = 3;
        ProcessStateChanged process_state_changed = 3;
        BleScanResultReceived ble_scan_result_received = 4;
        BleScanResultReceived ble_scan_result_received = 4 [(log_from_module) = "bluetooth"];
        SensorStateChanged sensor_state_changed = 5;
        SensorStateChanged sensor_state_changed = 5;
        GpsScanStateChanged gps_scan_state_changed = 6;
        GpsScanStateChanged gps_scan_state_changed = 6;
        SyncStateChanged sync_state_changed = 7;
        SyncStateChanged sync_state_changed = 7;
@@ -141,7 +141,8 @@ message Atom {
        AppDied app_died = 65;
        AppDied app_died = 65;
        ResourceConfigurationChanged resource_configuration_changed = 66;
        ResourceConfigurationChanged resource_configuration_changed = 66;
        BluetoothEnabledStateChanged bluetooth_enabled_state_changed = 67;
        BluetoothEnabledStateChanged bluetooth_enabled_state_changed = 67;
        BluetoothConnectionStateChanged bluetooth_connection_state_changed = 68;
        BluetoothConnectionStateChanged bluetooth_connection_state_changed =
                68 [(log_from_module) = "bluetooth"];
        GpsSignalQualityChanged gps_signal_quality_changed = 69;
        GpsSignalQualityChanged gps_signal_quality_changed = 69;
        UsbConnectorStateChanged usb_connector_state_changed = 70;
        UsbConnectorStateChanged usb_connector_state_changed = 70;
        SpeakerImpedanceReported speaker_impedance_reported = 71;
        SpeakerImpedanceReported speaker_impedance_reported = 71;
@@ -216,9 +217,12 @@ message Atom {
        RescuePartyResetReported rescue_party_reset_reported = 122;
        RescuePartyResetReported rescue_party_reset_reported = 122;
        SignedConfigReported signed_config_reported = 123;
        SignedConfigReported signed_config_reported = 123;
        GnssNiEventReported gnss_ni_event_reported = 124;
        GnssNiEventReported gnss_ni_event_reported = 124;
        BluetoothLinkLayerConnectionEvent bluetooth_link_layer_connection_event = 125;
        BluetoothLinkLayerConnectionEvent bluetooth_link_layer_connection_event =
        BluetoothAclConnectionStateChanged bluetooth_acl_connection_state_changed = 126;
                125 [(log_from_module) = "bluetooth"];
        BluetoothScoConnectionStateChanged bluetooth_sco_connection_state_changed = 127;
        BluetoothAclConnectionStateChanged bluetooth_acl_connection_state_changed =
                126 [(log_from_module) = "bluetooth"];
        BluetoothScoConnectionStateChanged bluetooth_sco_connection_state_changed =
                127 [(log_from_module) = "bluetooth"];
        AppDowngraded app_downgraded = 128;
        AppDowngraded app_downgraded = 128;
        AppOptimizedAfterDowngraded app_optimized_after_downgraded = 129;
        AppOptimizedAfterDowngraded app_optimized_after_downgraded = 129;
        LowStorageStateChanged low_storage_state_changed = 130;
        LowStorageStateChanged low_storage_state_changed = 130;
@@ -242,23 +246,40 @@ message Atom {
        BiometricSystemHealthIssueDetected biometric_system_health_issue_detected = 148;
        BiometricSystemHealthIssueDetected biometric_system_health_issue_detected = 148;
        BubbleUIChanged bubble_ui_changed = 149;
        BubbleUIChanged bubble_ui_changed = 149;
        ScheduledJobConstraintChanged scheduled_job_constraint_changed = 150;
        ScheduledJobConstraintChanged scheduled_job_constraint_changed = 150;
        BluetoothActiveDeviceChanged bluetooth_active_device_changed = 151;
        BluetoothActiveDeviceChanged bluetooth_active_device_changed =
        BluetoothA2dpPlaybackStateChanged bluetooth_a2dp_playback_state_changed = 152;
                151 [(log_from_module) = "bluetooth"];
        BluetoothA2dpCodecConfigChanged bluetooth_a2dp_codec_config_changed = 153;
        BluetoothA2dpPlaybackStateChanged bluetooth_a2dp_playback_state_changed =
        BluetoothA2dpCodecCapabilityChanged bluetooth_a2dp_codec_capability_changed = 154;
                152 [(log_from_module) = "bluetooth"];
        BluetoothA2dpAudioUnderrunReported bluetooth_a2dp_audio_underrun_reported = 155;
        BluetoothA2dpCodecConfigChanged bluetooth_a2dp_codec_config_changed =
        BluetoothA2dpAudioOverrunReported bluetooth_a2dp_audio_overrun_reported = 156;
                153 [(log_from_module) = "bluetooth"];
        BluetoothDeviceRssiReported bluetooth_device_rssi_reported = 157;
        BluetoothA2dpCodecCapabilityChanged bluetooth_a2dp_codec_capability_changed =
        BluetoothDeviceFailedContactCounterReported bluetooth_device_failed_contact_counter_reported = 158;
                154 [(log_from_module) = "bluetooth"];
        BluetoothDeviceTxPowerLevelReported bluetooth_device_tx_power_level_reported = 159;
        BluetoothA2dpAudioUnderrunReported bluetooth_a2dp_audio_underrun_reported =
        BluetoothHciTimeoutReported bluetooth_hci_timeout_reported = 160;
                155 [(log_from_module) = "bluetooth"];
        BluetoothQualityReportReported bluetooth_quality_report_reported = 161;
        BluetoothA2dpAudioOverrunReported bluetooth_a2dp_audio_overrun_reported =
        BluetoothDeviceInfoReported bluetooth_device_info_reported = 162;
                156 [(log_from_module) = "bluetooth"];
        BluetoothRemoteVersionInfoReported bluetooth_remote_version_info_reported = 163;
        BluetoothDeviceRssiReported bluetooth_device_rssi_reported =
        BluetoothSdpAttributeReported bluetooth_sdp_attribute_reported = 164;
                157 [(log_from_module) = "bluetooth"];
        BluetoothBondStateChanged bluetooth_bond_state_changed = 165;
        BluetoothDeviceFailedContactCounterReported
        BluetoothClassicPairingEventReported bluetooth_classic_pairing_event_reported = 166;
                bluetooth_device_failed_contact_counter_reported = 158 [(log_from_module) = "bluetooth"];
        BluetoothSmpPairingEventReported bluetooth_smp_pairing_event_reported = 167;
        BluetoothDeviceTxPowerLevelReported bluetooth_device_tx_power_level_reported =
                159 [(log_from_module) = "bluetooth"];
        BluetoothHciTimeoutReported bluetooth_hci_timeout_reported =
                160 [(log_from_module) = "bluetooth"];
        BluetoothQualityReportReported bluetooth_quality_report_reported =
                161 [(log_from_module) = "bluetooth"];
        BluetoothDeviceInfoReported bluetooth_device_info_reported =
                162 [(log_from_module) = "bluetooth"];
        BluetoothRemoteVersionInfoReported bluetooth_remote_version_info_reported =
                163 [(log_from_module) = "bluetooth"];
        BluetoothSdpAttributeReported bluetooth_sdp_attribute_reported =
                164 [(log_from_module) = "bluetooth"];
        BluetoothBondStateChanged bluetooth_bond_state_changed =
                165 [(log_from_module) = "bluetooth"];
        BluetoothClassicPairingEventReported bluetooth_classic_pairing_event_reported =
                166 [(log_from_module) = "bluetooth"];
        BluetoothSmpPairingEventReported bluetooth_smp_pairing_event_reported =
                167 [(log_from_module) = "bluetooth"];
        ScreenTimeoutExtensionReported screen_timeout_extension_reported = 168;
        ScreenTimeoutExtensionReported screen_timeout_extension_reported = 168;
        ProcessStartTime process_start_time = 169;
        ProcessStartTime process_start_time = 169;
        PermissionGrantRequestResultReported permission_grant_request_result_reported =
        PermissionGrantRequestResultReported permission_grant_request_result_reported =
@@ -280,7 +301,8 @@ message Atom {
        BiometricEnrolled biometric_enrolled = 184;
        BiometricEnrolled biometric_enrolled = 184;
        SystemServerWatchdogOccurred system_server_watchdog_occurred = 185;
        SystemServerWatchdogOccurred system_server_watchdog_occurred = 185;
        TombStoneOccurred tomb_stone_occurred = 186;
        TombStoneOccurred tomb_stone_occurred = 186;
        BluetoothClassOfDeviceReported bluetooth_class_of_device_reported = 187;
        BluetoothClassOfDeviceReported bluetooth_class_of_device_reported =
                187 [(log_from_module) = "bluetooth"];
        IntelligenceEventReported intelligence_event_reported =
        IntelligenceEventReported intelligence_event_reported =
            188 [(log_from_module) = "intelligence"];
            188 [(log_from_module) = "intelligence"];
        ThermalThrottlingSeverityStateChanged thermal_throttling_severity_state_changed = 189;
        ThermalThrottlingSeverityStateChanged thermal_throttling_severity_state_changed = 189;