Commit Graph

12 Commits

Author SHA1 Message Date
Selim Cinek
3d6ae23282 Introducing new PulseExpansionHandler for dragging down while pulsing
This also uses the same wake-up animation now when we're pulsing.

Test: atest SystemUITests
Bug: 125942236
Change-Id: I34a0eff6ecc2280aa983740e4273b344d073ca6e
2019-02-28 21:38:59 -08:00
Dave Mankoff
ad7c460115 Add device type to falsing data for normalization purposes.
Bug: 117600098
Change-Id: If921d806f09650c4a2366826e23f0159ff0daa09
Test: Manual.
2018-11-09 15:04:42 -05:00
Dave Mankoff
21beba8bcd New "FalsingPlugin" to allow for easier data collection.
Bug: 117600098
Change-Id: I67b634f84a0e168eec269f7804c5169b130db586
Test: manual testing
2018-11-07 17:07:22 -05:00
Dave Mankoff
c88d6224db Create a way to turn off unlocking on a phone.
This helps collect "True Falsing" data on phones to know
when they should not be unlocked.

Bug: 117600098
Change-Id: I07ecc00e2189300eff48c599572f7fa3f9dccdd7
Test: manual testing.
2018-10-26 13:22:14 -04:00
Jason Monk
05dd567172 Cleanup trying to move to bp
- Remove some resources that don't appear to do anything
 - Don't assume resource ids are final, because they aren't when
   compiled as a library

Test: build
Change-Id: I498bc2612d3f47df5f567c18c29e1666431e971c
2018-08-13 11:11:39 -04:00
Selim Cinek
1ed5004a61 Fixed the possibility to report rejected touch events
The functionality wasn't working properly with AOD

Bug: 71762354
Test: adb shell settings put secure data_collector_allow_rejected_touch_reports 1
Change-Id: I8a74351c65a12ef65d6f13fc60c07b191b7c04cb
2018-01-18 17:20:38 -08:00
Selim Cinek
f8c4add851 Fixed an issue where the notification could stay userlocked
When collapsing the shade while draging down (using fingerprint)
notifications would stay userlocked and would appear in a small
height instead of their regular size.

Test:  runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarWindowViewTest.java
Change-Id: Ibd97a6ce063bc2fcd76f11e010e781a61bd76b5f
Fixes: 36469584
2017-06-08 09:56:42 -07:00
Tamas Berghammer
383db5ebcc Update package names to work with the proto3 compiler
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
2016-11-08 14:06:09 +00:00
Adrian Roos
7bb38a941b HIC: Add report facility for overzealous anti-falsing
Bug: 27405075
Change-Id: I15e5d601af3c7cc067371bbe51c873d2ce15ec83
2016-07-28 12:17:57 -07:00
Winson
c0d7058b14 Referencing static interpolators.
Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
2016-01-29 11:15:43 -08:00
Blazej Magnowski
0e2ffbd48b Add FalsingManager and Classifier to SystemUI
Adds the possibility to analyze and classify touch and sensor events as
human or false touches.

Change-Id: I5079c02406d532fea38ca2d302e8606effae0696
2015-09-15 18:28:49 -07:00
Blazej Magnowski
7232332dc9 System to track touch and sensor events before unlocking the phone
Added a new component which tracks touch and sensor events and
also events like showing the bouncer tapping a notification and
others. The collection is enabled when the screen is turned on and
is disabled after the phone is unlocked. The data is saved in a
protobuf file in internal storage in a directory called
"good_touches". There is also an option to collect events which
end with the screen turning off. These are saved in the
"bad_touches" file. Everything is hidden behind the
ENABLE_ANALYTICS flag which is set by default to false and can be
turned on only if Build.IS_DEBUGGABLE is true. Also
behind the ENFORCE_BOUNCER flag the class shows the bouncer before
expanding a notification, showing quick settings or launching an
affordance from one of the bottom corners.

Change-Id: Iaeae0fb7a0d9c707daf7a270201fa5b1cd84c74a
2015-08-20 16:05:14 -07:00