Minor fixes and notes regarding the setting of refractory periods and
anomaly alarms.
Also changes the anomaly alarms from inexact to exact.
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.AnomalyDetectionTests
Change-Id: Ia4f4c84dd647ebbbad4bab66164cd7709f8628e8
The dialog was asked to essentially self-voice its
transitions a couple of years back. This isn't consistent
with our general guidelines for a11y, and isn't easy to
support. Rather than updating the messages, which will
still leave this dialog inconsistent with others, I'm
just deleting the extra code.
Just setting the dialog's title to the correct string is
enough for GAR, so I've added that back in.
Bug: 73170352
Test: Confirming with TestBack that the correct title is
sent to accessibility services when the window appears.
Change-Id: If219f86e43fa262604a09226a02bdd4c08ae4c1a
The key change is to revamp how we parse/store/match a log event, especially how we match repeated
field and attribution nodes, and how we construct dimensions and compare them.
+ We use a integer to encode the field of a log element. And also encode the FieldMatcher into an
integer and a bit mask. The log matching becomes 2 integer operations.
+ Dimension is stored as encoded field and value pair. Checking if 2 dimensions are equal is then
becoming checking if the underlying integers are equal. The integers are stored contiguously
in memory, so it's much faster than previous tree structure.
Start review from FieldValue.h
Test: statsd_test + new unit tests
Bug: 72659059
Change-Id: Iec8daeacdd3f39ab297c10ab9cd7b710a9c42e86
If a user has previously explicitly set the importance of
a notification, assume the user sentiment is postive regardless of what
the assistant suggests.
Test: runtest systemui, runtest systemui-notification
Change-Id: I646f0878fb5bb2a28ba17fd0ec11c8cdb64b611d
Fixes: 73231297
APIs seen in use by common apps.
Bug: 73211878
Bug: 73211350
Bug: 73211163
Bug: 73211208
Bug: 73103890
Bug: 73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d
Now users cannot toggle off dnd from the volume dialog
since the ringer (volume footer) will be disabled if it's muted by dnd
Test: manual
Change-Id: I7d4dd552e0f791ee52135272d8d0837899abe152
Fixes: 72711020
This allows SettingsLib to test against the latest framework changes.
Also replaced TestConfig with traditional robolectric.properties.
Also reworked the test runner to avoid using deprecated API.
Bug: 73173204
Test: make -j56 RunSettingsLibRoboTests
Change-Id: Iebe130d6542ed7096147e3fff61f9cfd76aad948
This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.
Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.
Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b
Around transport and agent failures. Caught a few possible errors, check
TODOs.
Test: m -j RunFrameworksServicesRoboTests
Change-Id: I9d04f4253511032473885ce6c0856c52639f2957