SnoopLogger: Debug enhancements added settings

Bug: 247859568
Tag: #feature
Test: make RunSettingsRoboTests3
Test: make RunSettingsRoboTests4

Change-Id: I132a1558ea67400d9c10dda523456f99eb815b92
Merged-In: I132a1558ea67400d9c10dda523456f99eb815b92
This commit is contained in:
Jakub Rotkiewicz
2022-12-19 15:47:03 +00:00
parent b0ddc1833d
commit 5a1b8a11a6
17 changed files with 1187 additions and 43 deletions

View File

@@ -80,6 +80,26 @@
android:entries="@array/bt_hci_snoop_log_entries"
android:entryValues="@array/bt_hci_snoop_log_values" />
<Preference
android:key="snoop_logger_filters_dashboard"
android:title="@string/snoop_logger_filters_dashboard_title"
android:fragment=
"com.android.settings.development.snooplogger.SnoopLoggerFiltersDashboard" />
<ListPreference
android:key="bt_hci_snoop_log_filter_pbap"
android:title="@string/bt_hci_snoop_log_filter_pbap_title"
android:dialogTitle="@string/bt_hci_snoop_log_filter_summary"
android:entries="@array/bt_hci_snoop_log_profile_filter_entries"
android:entryValues="@array/bt_hci_snoop_log_profile_filter_values" />
<ListPreference
android:key="bt_hci_snoop_log_filter_map"
android:title="@string/bt_hci_snoop_log_filter_map_title"
android:dialogTitle="@string/bt_hci_snoop_log_filter_summary"
android:entries="@array/bt_hci_snoop_log_profile_filter_entries"
android:entryValues="@array/bt_hci_snoop_log_profile_filter_values" />
<com.android.settingslib.RestrictedSwitchPreference
android:key="oem_unlock_enable"
android:title="@string/oem_unlock_enable"

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The Android Open Source Project
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.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/snoop_logger_filters_dashboard_title" >
<PreferenceCategory
android:key="snoop_logger_filters_category"
android:layout="@layout/preference_category_no_label"
android:title="@string/bt_hci_snoop_log_filters_dashboard_summary"
settings:controller=
"com.android.settings.development.snooplogger.SnoopLoggerFiltersPreferenceController" />
</PreferenceScreen>