xref: /aosp_15_r20/frameworks/base/core/java/android/os/vibrator/flags.aconfig (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package: "android.os.vibrator"
2container: "system"
3
4flag {
5    namespace: "haptics"
6    name: "haptic_feedback_vibration_oem_customization_enabled"
7    description: "Enables OEMs/devices to customize vibrations for haptic feedback"
8    # Make read only. This is because the flag is used only once, and this could happen before
9    # the read-write flag values propagate to the device.
10    is_fixed_read_only: true
11    bug: "291128479"
12}
13
14flag {
15    namespace: "haptics"
16    name: "adaptive_haptics_enabled"
17    description: "Enables the adaptive haptics feature"
18    bug: "305961689"
19}
20
21flag {
22    namespace: "haptics"
23    name: "cancel_by_appops"
24    description: "Cancels ongoing vibrations when the appops mode changes to disallow them"
25    bug: "230745615"
26    is_fixed_read_only: true
27    metadata {
28        purpose: PURPOSE_BUGFIX
29    }
30}
31
32flag {
33    namespace: "haptics"
34    name: "vibration_xml_apis"
35    is_exported: true
36    description: "Enabled System APIs for vibration effect XML parser and serializer"
37    bug: "347273158"
38    metadata {
39        purpose: PURPOSE_FEATURE
40    }
41}
42
43flag {
44    namespace: "haptics"
45    name: "vendor_vibration_effects"
46    is_exported: true
47    description: "Enabled System APIs for vendor-defined vibration effects"
48    bug: "345454923"
49    metadata {
50        purpose: PURPOSE_FEATURE
51    }
52}
53
54flag {
55    namespace: "haptics"
56    name: "throttle_vibration_params_requests"
57    description: "Control the frequency of vibration params requests to prevent overloading the vendor service"
58    bug: "355320860"
59    metadata {
60      purpose: PURPOSE_BUGFIX
61    }
62}
63
64flag {
65    namespace: "haptics"
66    name: "vibration_attribute_ime_usage_api"
67    is_exported: true
68    description: "A public API for IME usage vibration attribute"
69    bug: "332661766"
70    metadata {
71        purpose: PURPOSE_FEATURE
72    }
73}
74
75flag {
76    namespace: "haptics"
77    name: "fix_audio_coupled_haptics_scaling"
78    description: "Fix the audio-coupled haptics scaling to use same function as VibrationEffect"
79    bug: "356144312"
80    metadata {
81      purpose: PURPOSE_BUGFIX
82    }
83}
84
85flag {
86    namespace: "haptics"
87    name: "load_haptic_feedback_vibration_customization_from_resources"
88    description: "Load haptic feedback vibrations customization from resources."
89    is_fixed_read_only: true
90    bug: "295142743"
91    metadata {
92        purpose: PURPOSE_FEATURE
93    }
94}
95
96flag {
97    namespace: "haptics"
98    name: "haptic_feedback_input_source_customization_enabled"
99    description: "Enabled the extended haptic feedback customization by input source."
100    bug: "331819348"
101    is_fixed_read_only: true
102    metadata {
103        purpose: PURPOSE_FEATURE
104    }
105}
106
107flag {
108    namespace: "haptics"
109    name: "haptics_scale_v2_enabled"
110    description: "Enables new haptics scaling function across all usages"
111    bug: "345186129"
112    metadata {
113        purpose: PURPOSE_FEATURE
114    }
115}
116
117flag {
118    namespace: "haptics"
119    name: "normalized_pwle_effects"
120    is_exported: true
121    description: "Enables functionality to create PWLE effects using advanced and simple APIs"
122    bug: "341052318"
123    metadata {
124        purpose: PURPOSE_FEATURE
125    }
126}
127
128flag {
129    namespace: "haptics"
130    name: "primitive_composition_absolute_delay"
131    is_exported: true
132    description: "Enables functionality to create primitive compositions with absolute delays"
133    bug: "373357740"
134    metadata {
135        purpose: PURPOSE_FEATURE
136    }
137}
138
139flag {
140    namespace: "haptics"
141    name: "vibration_pipeline_enabled"
142    description: "Enables functionality to pipeline vibration effects to avoid cancelling short vibrations"
143    bug: "344494220"
144    metadata {
145        purpose: PURPOSE_FEATURE
146    }
147}
148