1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
19    <androidx.preference.SwitchPreference
20        android:key="@string/pref_key_tracing_on"
21        android:title="@string/record_trace" />
22    <androidx.preference.SwitchPreference
23        android:key="@string/pref_key_apps"
24        android:title="@string/trace_debuggable_applications"
25        android:defaultValue="true" />
26    <androidx.preference.MultiSelectListPreference
27        android:key="@string/pref_key_tags"
28        android:title="@string/categories" />
29    <Preference
30        android:key="restore_default_tags"
31        android:persistent="false"
32        android:title="@string/restore_default_categories" />
33    <androidx.preference.ListPreference
34        android:key="@string/pref_key_buffer_size"
35        android:title="@string/buffer_size"
36        android:entries="@array/buffer_size_names"
37        android:entryValues="@array/buffer_size_values"
38        android:defaultValue="@string/default_buffer_size"/>
39    <Preference
40        android:key="clear_saved_traces"
41        android:summary="@string/clear_saved_traces_summary"
42        android:persistent="false"
43        android:title="@string/clear_saved_traces" />
44    <androidx.preference.PreferenceCategory
45        android:key="long_trace_category"
46        android:orderingFromXml="true" >
47        <androidx.preference.SwitchPreference
48            android:key="@string/pref_key_long_traces"
49            android:title="@string/long_traces"
50            android:summary="@string/long_traces_summary"
51            android:defaultValue="false" />
52        <androidx.preference.ListPreference
53            android:key="@string/pref_key_max_long_trace_size"
54            android:title="@string/max_long_trace_size"
55            android:dependency="@string/pref_key_long_traces"
56            android:entries="@array/long_trace_size_names"
57            android:entryValues="@array/long_trace_size_values"
58            android:defaultValue="@string/default_long_trace_size"/>
59        <androidx.preference.ListPreference
60            android:key="@string/pref_key_max_long_trace_duration"
61            android:title="@string/max_long_trace_duration"
62            android:dependency="@string/pref_key_long_traces"
63            android:entries="@array/long_trace_duration_names"
64            android:entryValues="@array/long_trace_duration_values"
65            android:defaultValue="@string/default_long_trace_duration"/>
66    </androidx.preference.PreferenceCategory>
67    <androidx.preference.PreferenceCategory
68        android:orderingFromXml="true" >
69        <androidx.preference.SwitchPreference
70            android:key="@string/pref_key_quick_setting"
71            android:title="@string/show_quick_settings_tile"
72            android:defaultValue="false" />
73    </androidx.preference.PreferenceCategory>
74</androidx.preference.PreferenceScreen>
75