Commit Graph

468813 Commits

Author SHA1 Message Date
Valerie Hau
4345673369 Merge "Move BLAST flag to WindowManagerService" 2020-02-10 20:13:42 +00:00
Derek Sollenberger
4db7bd28e7 Consolidate AssetManager calls in Font/FontFamily
The Font/FontFamily classes use private API calls in native
code to get the contents of an Asset.  These calls need to
be made on public APIs in order to isolate the graphics module
from the rest of the system.  Public Java APIs already exist so
this CL refactors the code to use those methods.

Test: CtsTextTestCases
Bug: 147136234
Change-Id: I35a6558b597684e59279d7a841669c5f909d5152
2020-02-10 20:05:31 +00:00
Fabian Kozynski
f677ea859c Remove plugin reference in QS
Test: build
Change-Id: I2bcae943a7bb252172ff96353e092334a2e5d529
2020-02-10 15:02:51 -05:00
TreeHugger Robot
dfa78d37da Merge "Bootup brightnedd and dark theme" 2020-02-10 20:01:36 +00:00
Automerger Merge Worker
6c0f623a01 [automerger skipped] Merge "Clear calling identity when executing the callback" am: 9fc2483fb4 am: 245423f31f am: 3f1f75ad07 -s ours
am skip reason: Change-Id Ie50315e3fd287559ed516a24de09af6707c03d2f with SHA-1 86de2275b4 is in history

Change-Id: I731fea95bf2d77fb8bdef0ace6f00f05e9ea2033
2020-02-10 19:54:06 +00:00
Jorim Jaggi
6043739952 Merge "Refine logic about controlling transient bars" 2020-02-10 19:51:32 +00:00
TreeHugger Robot
ad12755b10 Merge "Change names of stopTune and stopScan" 2020-02-10 19:49:17 +00:00
Yu-Han Yang
519694b50a Add fullTracking to registerGnssMeasurementsCallback (implementation)
- Currently enableFullTracking has a toggle in Developer Option.
This change adds a system API for the same functionality.
- If at least one of <enableFullTracking in Developer Option> and
<enableFullTracking from the system API> is true, full tracking is
enabled when registering a GnssMeasurement callback.
- For multiple GnssMeasurement callbacks, full tracking is enabled
if *at least* one callback has fullTracking enabled. Removing a callback
might trigger restarting the measurement collection if the aggregated
requirement has changed.

Bug: 147387008

Test: atest GnssMeasurementsProviderTest
      atest GnssManagerServiceTest
      atest GnssMeasurementRegistrationTest

Change-Id: Iedf03edd7053aa0089cfea0d5c0357322f68d9c4
2020-02-10 11:44:20 -08:00
Soonil Nagarkar
ad1c960744 Merge "Add location notification and target sdk checks" 2020-02-10 19:43:06 +00:00
Automerger Merge Worker
3f1f75ad07 Merge "Clear calling identity when executing the callback" am: 9fc2483fb4 am: 245423f31f
Change-Id: I3fec2d846f8af1880266a4bf7c98f5b06674b04c
2020-02-10 19:41:55 +00:00
TreeHugger Robot
5fec6a937f Merge "Add a test folder for tuner framework" 2020-02-10 19:39:31 +00:00
TreeHugger Robot
e39ec317ca Merge "Allow cross-profile interaction when called from the system process." 2020-02-10 19:34:53 +00:00
Automerger Merge Worker
245423f31f Merge "Clear calling identity when executing the callback" am: 9fc2483fb4
Change-Id: Ibbb2de1d198f3ce17cbeb81dd10fdb9e592435ad
2020-02-10 19:27:38 +00:00
George Burgess IV
dd5275dcc4 incfs: fix uninitialized values
Clang's static analyzer is flagging uninitialized struct fields that
we're passing around. In particular, it's not happy that we pass this
partially-initialized struct to a pure-virtual method. I tend to agree
that this may cause issues.

Assuming zero-init gives us reasonable values for all of:

IncFsNewFileParams{}.verification.rootHash
IncFsNewFileParams{}.verification.additionalData
IncFsNewFileParams{}.verification.signature

Bug: None
Test: TreeHugger
Change-Id: I61e556cd8c0e68cdaebd50b0a7be5d5e0a4fd8ff
2020-02-10 11:26:40 -08:00
Julia Reynolds
48a1f98428 Merge "Update inline conversation controls" 2020-02-10 19:24:46 +00:00
Yiwei Zhang
59cdc901ff SFStats: track lateAcquired and badDesiredPresent frames from the field
Bug: 135478131
Test: statsd_testdrive 10063
Change-Id: I414ddb1eb0c58367025ff62743c091e0b6a42ec0
2020-02-10 11:24:21 -08:00
Aran Ink
3651c2018d Merge "Only attach long-press handlers to LongPressActions." 2020-02-10 19:24:03 +00:00
TreeHugger Robot
28345b2cba Merge "Incremental install via adb." 2020-02-10 19:22:46 +00:00
Mathieu Chartier
98e621e805 Add OWNERS file for BootImageProfileTest
Make it easier to find owners if the test becomes flaky.

Bug: 148649139
Test: manual
Change-Id: Ib8afcb027c92a376ab042f0cf7f9731edc17b7e0
2020-02-10 11:22:27 -08:00
Julia Reynolds
004d45a945 Delete files properly when history disabled
Delete the files, then the directory

Test: turn history off, check folder on device
Bug: 137396965
Change-Id: Ic69adf6d08219cab186c131147192f5d1ea1ee91
2020-02-10 14:19:42 -05:00
Jiashen Wang
9fc2483fb4 Merge "Clear calling identity when executing the callback" 2020-02-10 19:17:47 +00:00
Steven Thomas
890e80dbd1 Merge "Fix IllegalArgumentException from Surface.release()" 2020-02-10 19:11:08 +00:00
TreeHugger Robot
0b71efbcfe Merge "Check for stackBounds nullness in showMenu." 2020-02-10 19:10:02 +00:00
Lee Shombert
a6574308c7 Binder caches for Bluetooth
* A cache for isOffloadedFilteringSupported().

* A cache for getProfileConnectionState().

Bug: 140788621

Test: A special build that puts the PropertyInvalidatedCache in
verification mode was loaded on the device.  Then one iteration of MPTS
was executed.  No cache inconsistencies were found and no SELinux
violations (associated with the binder cache) were found.  The number of
cache misses was approximately 15% of the total binder calls.  A second
test was run in which bluetooth headphones were connected and
disconnected.  Then bluetooth itself was disabled and then enabled.  The
caches were invalidated as expected and no errors were uncovered.

Change-Id: Icfad1071725e2d1e320fd252a49f0c4ae8ce6ad0
2020-02-10 11:07:18 -08:00
Automerger Merge Worker
eb0ae6c230 [automerger skipped] Merge "Dedup stub jar build rules" am: e20dcd3c8d am: d2a895ab45 am: 316f8dab7c -s ours
am skip reason: Change-Id I90292cafaac1dcc64d642db072ce4880fcdb87cb with SHA-1 08b48bb91f is in history

Change-Id: Ie3022c38848c0d8a310aec149a74823d25baae5c
2020-02-10 19:02:46 +00:00
Nick Kralevich
31afcd536a Remove testTokenize
The _tokenize function was deleted in external/sqlite
commit c52a17358593062a7eb75a023c115df9ad89563b

Bug: 148829241
Bug: 139186193
Test: atest DatabaseGeneralTest
Change-Id: I37993fcda22736582375e13f093bd4a81aa8b1a4
2020-02-10 10:52:50 -08:00
Automerger Merge Worker
316f8dab7c Merge "Dedup stub jar build rules" am: e20dcd3c8d am: d2a895ab45
Change-Id: I47231fa9a3d1ab58593b4db5b07f4546e6c07c94
2020-02-10 18:51:46 +00:00
Jay Aliomer
03906f0e10 Merge "Dark theme helper" 2020-02-10 18:50:11 +00:00
Automerger Merge Worker
d2a895ab45 Merge "Dedup stub jar build rules" am: e20dcd3c8d
Change-Id: I085a44ce5d2b0dee920dab158551a6c90a8d1f31
2020-02-10 18:37:49 +00:00
shubang
e9ee4d9ec4 Add a test folder for tuner framework
Test: make;
Change-Id: I9859c6d5382a5779b6e7a87cc46edde81da9d8e0
2020-02-10 18:33:41 +00:00
Trung Lam
998c6ad176 Merge "Add persistence of ConversationInfo during device reboot." 2020-02-10 18:33:24 +00:00
Trung Lam
dd240c3020 Merge "Add protobufs for PeopleService data persistence." 2020-02-10 18:32:51 +00:00
joshmccloskey
a8f15a5d2e Configure BiometricPrompt to use AuthService.
BioetricPrompt was incorrectly using BiometricService directly. After
adding a few minor modifications, BiometricPrompt correctly goes through
AuthService.

Test: Verified that BiometricPromptDemo apk is able to authenticate.
Test: Verified that BiometricPromptDemo apk is able to cancel
authenticatoins.
Bug: 141025588

Change-Id: I29646c33a1904c6ad71f3ed2a4b02b6fe159517b
2020-02-10 10:32:49 -08:00
Automerger Merge Worker
f873dd267e [automerger skipped] Merge "Tweak module_libs stub build rules" am: a659cb4a0b am: ecf5e6718d am: e108e2696a -s ours
am skip reason: Change-Id I9f14d35ba657045e99190b7a651781a5b87d490d with SHA-1 2e2008b7a1 is in history

Change-Id: If41795e238c82c93c0f3febbda5527c0be5866c6
2020-02-10 18:30:51 +00:00
Treehugger Robot
e20dcd3c8d Merge "Dedup stub jar build rules" 2020-02-10 18:25:43 +00:00
Andrei Onea
1a0195349b Add TEST_MAPPING for gating and logging
The tests included are unit tests for the implementation (under
FrameworksServicesTests), for the corresponding TestRule
(PlatformCompatGating) and CTS tests.

Bug: 137821288
Test: cd frameworks/base/core/java/android/app/compat && atest
Test: cd frameworks/base/services/core/java/com/android/server/compat \
          && atest
Change-Id: I1a652775715f1a9738cc72725303bc78dfa17d03
2020-02-10 18:25:06 +00:00
Ruslan Tkhakokhov
88cb2d9df8 Merge "Get blocked restore keys directly from UserBMS" 2020-02-10 18:21:23 +00:00
Jerome Gaillard
b9d730d88f Merge "Build native Interpolator for host." 2020-02-10 18:16:10 +00:00
Automerger Merge Worker
e108e2696a Merge "Tweak module_libs stub build rules" am: a659cb4a0b am: ecf5e6718d
Change-Id: I4b873d54481cd1dbeb4d24c3014ef4a7fd4f72ef
2020-02-10 18:14:22 +00:00
Automerger Merge Worker
ecf5e6718d Merge "Tweak module_libs stub build rules" am: a659cb4a0b
Change-Id: Ic5d705635a06ef8b735187b2d3aa33be2d2ce9ec
2020-02-10 18:04:27 +00:00
Miranda Kephart
41745be8bb Merge "Add a dismiss button to screenshot corner flow" 2020-02-10 18:04:18 +00:00
Sooraj Sasindran
f96ddaae6b Merge "Use FLAG_UPDATED_SYSTEM_APP" 2020-02-10 18:00:52 +00:00
yingleiw
5e0f9f4b02 Revert "Partially revert "modify quick settings to adopt the accessibility state api""
This reverts commit 7a64815b74.

And added the info.setText() part in onInitializeAccessibilityNodeInfo()
in QSTileBaseView.java so that related tests are not broken.

Test: tested with quicksettings and
android.platform.test.scenario.sysui.quicksettings.ToggleWifiOn#testToggle (pass)
and android.platform.test.scenario.sysui.statusbar.NotificationIconOverflow#testNotificationOverFlow
(fails without and with my cl).

Change-Id: I611177fcbd32d35532cfcafbb2b7a73961d1ddc2
2020-02-10 09:57:50 -08:00
Anton Hansson
1021981cb6 Merge "Dedup stub jar build rules" 2020-02-10 17:57:39 +00:00
Rubin Xu
95f3c1dbc2 Throw exception when gatekeeper fails
This is a non-recoverable system internal error and let's make the
failure loud and clear.

Bug: 148159520
Test: atest com.android.server.locksettings
Change-Id: I38737113d9d06862077b873548dbdfe025578cdd
2020-02-10 17:53:36 +00:00
Treehugger Robot
a659cb4a0b Merge "Tweak module_libs stub build rules" 2020-02-10 17:52:03 +00:00
Makoto Onuki
6666041589 Merge "Revert "Finalize @SystemApi annotation for StatsFrameworkInitializer"" 2020-02-10 17:27:06 +00:00
Lee Shombert
b26612a3a8 Merge "Binder cache for Bluetooth getState()." 2020-02-10 17:25:37 +00:00
Makoto Onuki
8f9c37006f Revert "Finalize @SystemApi annotation for StatsFrameworkInitializer"
This reverts commit d74a3b3ca7.

Reason for revert: Broke build(?)

Bug: 148225705


Change-Id: I46e4aec3385d178234d3ea609c190b14aca5c8a1
2020-02-10 17:24:09 +00:00
Dave Mankoff
1cf44f26d2 Merge "Report a CrashWhilePluginActiveException only if plugin disabled." 2020-02-10 17:07:36 +00:00