Commit Graph

640958 Commits

Author SHA1 Message Date
Ilya Matyukhin
e1b53af498 Consolidate registration of HIDL and AIDL HALs
This CL establishes a single flow of registration for both HIDL and
AIDL HALs. The registration of both is done on a separate thread to
avoid blocking system server. Previously, only AIDL registration was
done on a separate thread.

Bug: 184677066
Test: atest CtsBiometricsTestCases
Test: atest AuthServiceTest
Test: atest Fingerprint21Test
Test: atest Face10Test

Change-Id: I4442db15a7b690bb34c6eb7e8793ab4411cbd6d2
2021-04-26 16:40:36 -07:00
Lucas Dupin
6f97c0a8bf Fix notification top clipping
Test: scroll through notifications on shade locked and shade
Fixes: 185683835
Change-Id: I7b104a98565cf7bb85190f69d042d9fd592f721c
2021-04-26 16:38:54 -07:00
Treehugger Robot
11dd83b88e Merge "Fix NullPointer Exception in testharness command" am: 881c4ad3e2 am: 079af6fd19
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674567

Change-Id: I2d3bc56809eb5e4f3e7e2cf8916fb40d4cbf78ff
2021-04-26 23:35:33 +00:00
Bill Lin
e3e06447cb Revert "1/ Add onStartTransition() callback for SYSUI_STATE_ONE_HANDED_ACTIVE"
This reverts commit 3e20856215.

Reason for revert: test for b/186197537

Change-Id: Ifd17094f0231b0d6efcf1318cbc86560c5a8f6d1
2021-04-26 23:35:09 +00:00
TreeHugger Robot
47b04e7473 Merge "DefaultPermissionGrant: Add UWB_RANGING to NEARBY_DEVICES group" into sc-dev 2021-04-26 23:26:57 +00:00
Mady Mellor
b858b41f12 Merge "Make bubble scrim be dark always" into sc-dev 2021-04-26 23:21:45 +00:00
Adam Bookatz
33e17a9933 Revert "Prepare AttributionSource to expose to native"
Revert "Prepare AttributionSource to expose to native - native"

Revert submission 14225527-bug-158792096-04/16/21-1

Reason for revert: b/186467053
Reverted Changes:
I16740cc2d:Prepare AttributionSource to expose to native - na...
I4e050e78b:Prepare AttributionSource to expose to native

Change-Id: I83e4091231241c2211edf5745735f4ee993c6680
2021-04-26 23:20:46 +00:00
Treehugger Robot
079af6fd19 Merge "Fix NullPointer Exception in testharness command" am: 881c4ad3e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674567

Change-Id: I88cbc7392fcdfc8dcdac005ae636d3ada57c28c5
2021-04-26 23:11:10 +00:00
Peter Kalauskas
e17c554970 Merge "Use falsing manager on click to open user switcher" into sc-dev 2021-04-26 23:04:40 +00:00
Joy Babafemi
a1463dbeee [automerger skipped] Merge "UWB: Add getAdapterState System API" am: f9169bbb09 am: ab258666f3 am: 797448660d -s ours
am skip reason: skip tag Change-Id I9a7472be2c7cf835cda8910261ba641bf2345b27 with SHA-1 7f91676147 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685209

Change-Id: Ia992c2e505483531207ae70a4cd8193df638c1e2
2021-04-26 22:56:52 +00:00
Treehugger Robot
fa48e29267 Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am: e7a1ee828d am: 2c363d2dd9 am: b3527b07f1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686987

Change-Id: I6b75be9fdb78c43a1f6732b1f5c6737da16da432
2021-04-26 22:56:18 +00:00
chaviw
0cad605aa1 Added takeScreenshot of a Window to UiAutomation
Added a way to capture just a window instead of the entire screen
to make tests easier.

Test: Builds
Bug: 185390632

Change-Id: I5138777bc87cdabcd2d8f574b1758509fc887c56
2021-04-26 17:54:54 -05:00
Peter Kalauskas
92cbfe135f Merge "Update user icon when dark theme toggled" into sc-dev 2021-04-26 22:48:07 +00:00
Kurt Dresner
de22e15615 Make PROJECTION_TYPE_ALL=-1 so that all bits are on.
Bug: 175130323
Bug: 186462292
Change-Id: I591c22c36760ea3162928fa4c80726a206e86214
2021-04-26 22:47:26 +00:00
Joy Babafemi
797448660d Merge "UWB: Add getAdapterState System API" am: f9169bbb09 am: ab258666f3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685209

Change-Id: I9ee831e08fa9391867cb2e501624cb3c328cff38
2021-04-26 22:47:08 +00:00
Treehugger Robot
881c4ad3e2 Merge "Fix NullPointer Exception in testharness command" 2021-04-26 22:46:57 +00:00
Dmitri Plotnikov
840f73e773 Merge "Use POWER_COMPONENT_ constants instead of TIME_COMPONENT_... constants" into sc-dev 2021-04-26 22:44:26 +00:00
TreeHugger Robot
220012556a Merge "Add information to EXTRA_AUDIO_INJECT_SOURCE" into sc-dev 2021-04-26 22:41:49 +00:00
Treehugger Robot
b3527b07f1 Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am: e7a1ee828d am: 2c363d2dd9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686987

Change-Id: Ic1476fb8459e57ef85121555f5d472be439bebbc
2021-04-26 22:39:29 +00:00
TreeHugger Robot
de1232b368 Merge "Add examples for EXTRA_PERMISSION_GROUP_NAME and EXTRA_ATTRIBUTION_TAGS" into sc-dev 2021-04-26 22:39:10 +00:00
TreeHugger Robot
400dc92ebe Merge "Fix Magnifier position updates" into sc-dev 2021-04-26 22:27:40 +00:00
Joy Babafemi
ab258666f3 Merge "UWB: Add getAdapterState System API" am: f9169bbb09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685209

Change-Id: I7b9024ece370bcab9b48de188d538168867653a2
2021-04-26 22:27:29 +00:00
Suprabh Shukla
1d5ea8c336 Adding metrics to alarm manager
Push atoms:
 - Every time an alarm is scheduled, we push some attributes of the
 alarm and the reason why such an alarm was allowed. This will help
 audit spammy behavior from apps that misuse alarm API, e.g.
 apps that have SCHEDULE_EXACT_ALARM.
 - Every time an alarm batch is delivered, we log the size of the batch
 and whether or not it was a wakeup batch. This is the essential measure
 of alarm manager's batching efficiency.

Pulled atoms:
 - Logging general stats on pending alarms every once in a while.

Test: atest CtsAlarmManagerTestCases
atest FrameworksMockingServicesTests:com.android.server.alarm

statsd-testdrive 377 378 10106

Bug: 161497385
Bug: 171306433
Bug: 177556103
Change-Id: Ib13c9c380b641d318c6b8777996aa37f9b3d1bfc
2021-04-26 15:13:41 -07:00
Treehugger Robot
2c363d2dd9 Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am: e7a1ee828d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686987

Change-Id: Ia847f44823612fdf31c930eeb8cd5ca7c33ddd35
2021-04-26 22:10:31 +00:00
Chong Zhang
0621358a52 trancoding: lazy-start transcoding service
bug: 186387244
test: atest MediaTranscodeManagerTest; unit tests
Change-Id: I354f32d062b9a46ddfc9f86d5f79c778809799a4
2021-04-26 22:06:25 +00:00
Dave Mankoff
9d3897adf5 Ensure that the FalsingManager skips falsing when appropriate.
Copies the logic from isFalseTouch to isFalseTap and isFalseDoubleTap.

Fixes: 186218339
Test: atest SystemUITests && manual
Change-Id: Ic0fdcc9880eaaf3597beee9f0fa634dc49214fbd
2021-04-26 18:03:33 -04:00
Brian Osman
28fd1926c0 Merge "Update frameworks/base to use newer SkRuntimeEffect::MakeForShader" into sc-dev 2021-04-26 21:52:55 +00:00
Joy Babafemi
f9169bbb09 Merge "UWB: Add getAdapterState System API" 2021-04-26 21:52:46 +00:00
Dave Mankoff
f1baf5a31d Add falsing check to UserDetailView
Fixes: 186244970
Test: atest SystemUITests && manual
Change-Id: I3ec305009a1a094fcb4021a5b058a4f1f6f285d3
2021-04-26 17:51:23 -04:00
Jeff DeCew
2c87b91f85 Merge "Fix layout oscillation at the root of a few bugs." into sc-dev 2021-04-26 21:44:14 +00:00
Jeff DeCew
819b290c49 Merge "Fix CallStyle ranking & ensure correct features are used." into sc-dev 2021-04-26 21:43:28 +00:00
Dmitri Plotnikov
3958bb3d78 Exclude flaky test from presubmit
Bug: 185960974
Test: presubmit
Change-Id: Ied8638dff00bfe77d6fb01131f6b7936d2e9d010
2021-04-26 14:37:13 -07:00
Songchun Fan
39bcc47cee Merge "[am] add place holders for new crash stats fields" into sc-dev 2021-04-26 21:36:56 +00:00
Ben Lin
c5dbf031fe PiP: Add ResizeGestureHandlerTest.
Bug: 180525424
Test: atest PipResizeGestureHandlerTest
Change-Id: Ibfca3f9d8b5b8f50a1b79f74d2348824ac052746
2021-04-26 14:25:17 -07:00
[6;7~
91bb4412f7 Specify UID in getAuthenticatorIds
Allow the caller to get authenticator IDs for a specific UID. If
that UID is not the caller UID the USE_BIOMETRIC_INTERNAL permission
is required; this is enforced by AuthService.

Test: aosp/1686345
Bug: 163866361
Change-Id: I0eef28ecefb85f1c10a73a354d08c38087d59814
2021-04-26 14:22:25 -07:00
TreeHugger Robot
c9fcf22f2b Merge "Removed platform signing from icon pack victor" into sc-dev 2021-04-26 21:21:57 +00:00
Songchun Fan
9471be56b4 [incremental] expose more metrics fields
Exposing more data loader states as per
go/incremental-crash-reports-1-pager.

BUG: 184844615
Test: atest service.incremental_test
Test: atest android.cts.statsdatom.incremental.AppErrorAtomTests
Change-Id: I532513453411b2ccdb21311d0bc3dee0641837db
2021-04-26 14:17:36 -07:00
Treehugger Robot
e7a1ee828d Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" 2021-04-26 21:13:57 +00:00
Cecilia Hong
4d4782aab7 Merge "Add the guts control panel to Smartspace media recommendation card." into sc-dev 2021-04-26 21:11:21 +00:00
Yifan Hong
cda0412356 AndroidRuntime.h: do not include IBinder.h
IWYU

Bug: 186266747
Test: m checkbuild
Change-Id: I9ae58eb94f063fbaaf7455a13182c5d2bee96ee2
2021-04-26 14:09:38 -07:00
Alan Hurney
6aac591ea1 Load Constellation FTEU ShortCodes 20201
Load the next list of C11n FTEU ShortCodes that are getting blocked by
the Android Premium ShortCode restrictions

BUG: 185778514
Test: ShortCodes are already in operation as tested.

Signed-off-by: Alan Hurney <alahurn@google.com>
Change-Id: I593e8b4090e3e6810ba4bb7765e5836e568c2413
2021-04-26 21:08:00 +00:00
Hai Zhang
cac5c6812a Only update default home when the preferred home activity is modified.
To avoid the race condition when other preferred activities are being
configured while home role is being set.

Fixes: 178191941
Test: presubmit
Change-Id: Ie9b4c46b6d75078dd29fffe436306b10034005d2
2021-04-26 14:07:05 -07:00
Agatha Man
d56cd5e5aa Merge "Ignore public volume state change event when user is null" into sc-dev 2021-04-26 21:04:06 +00:00
Dave Mankoff
aca19ed579 Add falsing check to MultiUserSwitch
Adds MultiUserSwitchController, and perform falsing check
when it is tapped on.

Bug: 186244907
Test: atest SystemUITests && manual
Change-Id: I257fd3914f3d304e94cdd493b18fd24ffe7459d1
2021-04-26 17:00:46 -04:00
Songchun Fan
768b0f8b7a [SettingsProvider] hide ALWAYS_ON_VPN_APP
BUG: 177239818
Test: builds
Change-Id: I4ccbf8b567ea3a6ab2cfd3001a9781a4ba821416
2021-04-26 20:50:36 +00:00
Lyn Han
9c95b4e645 Merge "On shade open, show all notifications instead of one section at a time" into sc-dev 2021-04-26 20:43:05 +00:00
TreeHugger Robot
6a31678645 Merge "Fix a potential thread safety issue in VectorDrawable" into sc-dev 2021-04-26 20:41:47 +00:00
TreeHugger Robot
01887da40b Merge "Retry on unavailable." into sc-dev 2021-04-26 20:33:59 +00:00
Mady Mellor
3b68dba36f Make bubble scrim be dark always
When the scrim is lighter & the pointer triangle is also
white, it's very hard to see and will not pass GAR.

Bug: 186441337
Test: atest ScrimControllerTest
Test: manual - expand bubble in dark & light theme on top of launcher
               and on top of some other app
             => notice scrim is always dark & pointer triangle is
                slightly more visible
Change-Id: I5e5c191bb813dc272284daf11e76c02ba17dc375
2021-04-26 20:08:37 +00:00
Roshan Pius
d4fcc7c6c0 DefaultPermissionGrant: Add UWB_RANGING to NEARBY_DEVICES group
Bug: 186446119
Test: Compiles
Change-Id: I6b3c7bab50e4b9fa03df75f299af6bac37f2ec2e
2021-04-26 13:03:56 -07:00