OSDN Git Service
Kevin Chyn [Thu, 17 Jan 2019 19:54:40 +0000 (11:54 -0800)]
Update Biometric Atoms
Framework will add logging in the next CL
Bug:
120161047
Bug:
117060268
Bug:
121072756
Bug:
121071984
Test: Builds
Change-Id: I673d8af8be78be11b5eac249c47847ebeca2cd2e
Jeff Sharkey [Sun, 27 Jan 2019 03:03:48 +0000 (03:03 +0000)]
Merge "Get CtsProviderTestCases building against API."
Jeff Sharkey [Fri, 25 Jan 2019 18:15:38 +0000 (11:15 -0700)]
Get CtsProviderTestCases building against API.
To help confirm that we're actually testing developer-visible
behaviors, we need to build against public APIs, since there have
been plenty of examples in this suite of "testing" hidden API
behaviors, which are then misleading to developers.
Bug:
120429729
Test: atest cts/tests/tests/provider/
Exempt-From-Owner-Approval: Trivial API annotations
Change-Id: I07fe33e54f611a6060217f0706fb99b809961f4d
Tej Singh [Sun, 27 Jan 2019 02:32:37 +0000 (02:32 +0000)]
Merge "APIs for registering config activation broadcasts"
Howard Ro [Sun, 27 Jan 2019 02:00:30 +0000 (02:00 +0000)]
Merge "Add WatchdogRollbackOccurred atom"
TreeHugger Robot [Sun, 27 Jan 2019 01:07:13 +0000 (01:07 +0000)]
Merge "Hide new ColorSpace APIs"
Yu-Han Yang [Sun, 27 Jan 2019 00:45:39 +0000 (16:45 -0800)]
Merge "Add yuhany@ and aadmal@ to OWNERS" am:
223d681503 am:
f4fcb2fde2
am:
1b52797fbe
Change-Id: I3c46a08c0eb762a4f4fa35d13241b57a72ae5260
Yu-Han Yang [Sun, 27 Jan 2019 00:35:13 +0000 (16:35 -0800)]
Merge "Add yuhany@ and aadmal@ to OWNERS" am:
223d681503
am:
f4fcb2fde2
Change-Id: Iec8b42c25146a1444ef2c5e5d3b30877922307a9
TreeHugger Robot [Sun, 27 Jan 2019 00:29:28 +0000 (00:29 +0000)]
Merge "Fix hardware protected path for SDK ImageReader."
Yu-Han Yang [Sun, 27 Jan 2019 00:25:12 +0000 (16:25 -0800)]
Merge "Add yuhany@ and aadmal@ to OWNERS"
am:
223d681503
Change-Id: Ibf7c18fc2936bc0b854b914f41e41966a4485466
TreeHugger Robot [Sun, 27 Jan 2019 00:12:28 +0000 (00:12 +0000)]
Merge "Amend flagFlipUpdateOccurred atom"
Treehugger Robot [Sun, 27 Jan 2019 00:08:17 +0000 (00:08 +0000)]
Merge "Add yuhany@ and aadmal@ to OWNERS"
Peiyong Lin [Sat, 26 Jan 2019 22:10:16 +0000 (22:10 +0000)]
Merge "Add Display.getPreferredWideGamutColorSpace()."
Peiyong Lin [Sat, 26 Jan 2019 22:09:13 +0000 (22:09 +0000)]
Merge "Eliminate the usage of ConfigStore."
Joe Onorato [Sat, 26 Jan 2019 19:24:44 +0000 (19:24 +0000)]
Merge "[bit] Use aapt2 instead of aapt, and don't also adb install apps on the system partition"
Joe Onorato [Sat, 26 Jan 2019 19:22:03 +0000 (19:22 +0000)]
Merge "[bit] Cache the build variables so we don't have to run make to figure them out unless the environment has changed."
Hongming Jin [Sat, 26 Jan 2019 19:19:18 +0000 (19:19 +0000)]
Merge "Add API to SmsManager to allow apps to authenticate user account through sms without requesting sms permissions."
Joe Onorato [Fri, 14 Dec 2018 23:46:27 +0000 (15:46 -0800)]
[bit] Use aapt2 instead of aapt, and don't also adb install apps on the system partition
Test: bit services
Change-Id: I7d44ffbb2745b1a6265bbc77f24f885e5f1d3981
Joe Onorato [Mon, 14 Jan 2019 23:30:05 +0000 (15:30 -0800)]
[bit] Cache the build variables so we don't have to run make to figure them out unless the environment has changed.
Test: bit GooglePermissionControllerTest:*
Change-Id: Ie79226026477df22115ed1146875b82c2255bdef
Soonil Nagarkar [Sat, 26 Jan 2019 16:39:28 +0000 (16:39 +0000)]
Merge "Fix potential deadlock in ServiceWatcher"
Richard Uhler [Sat, 26 Jan 2019 07:31:28 +0000 (07:31 +0000)]
Merge changes Ic2bb4798,I2a409de2,I88a50a0e,Ia69342a4,Ia6548e4d, ...
* changes:
Use "commit" instead of "execute" for rollbacks.
Rename PACKAGE_ROLLBACK_EXECUTED to ROLLBACK_COMMITTED.
Remove unused RollbackManager APIs.
Use RollbackManager.getAvailableRollbacks in RollbackTest
Use new RollbackManager API in RollbackPackageHealthObserver.
Add RollbackManager.getAvailableRollbacks API.
Include all relevant packages in RollbackInfo.
Kevin Chyn [Sat, 26 Jan 2019 04:27:00 +0000 (04:27 +0000)]
Merge changes from topics "cc-implicit-2", "cc-implicit"
* changes:
Deprecate CC and add BP#buildIntent()
Revert "Add plumbing for setRequireConfirmation to CC"
TreeHugger Robot [Sat, 26 Jan 2019 04:19:41 +0000 (04:19 +0000)]
Merge "Support multi-ABI in tests."
TreeHugger Robot [Sat, 26 Jan 2019 04:09:32 +0000 (04:09 +0000)]
Merge "Remove RuntimePermPresSvc#onRevokeRuntimePerm"
TreeHugger Robot [Sat, 26 Jan 2019 03:57:13 +0000 (03:57 +0000)]
Merge "Hide distracting pkg notifications"
TreeHugger Robot [Sat, 26 Jan 2019 02:21:44 +0000 (02:21 +0000)]
Merge "Add closing div tag for ContentResolver javadoc"
Nick Kralevich [Sat, 26 Jan 2019 02:10:33 +0000 (18:10 -0800)]
Merge "more O_CLOEXEC" am:
350f48328b am:
51aec2267c
am:
8d26cdbd34
Change-Id: I2624180a9284beced0677de070b600c21fa24ae6
Kevin Chyn [Fri, 25 Jan 2019 00:32:38 +0000 (16:32 -0800)]
Deprecate CC and add BP#buildIntent()
To ensure future BP builder changes don't require a 1:1 addition to the
CC API, we're deprecating CC and moving the API to BP.
Since CDC is an activity, and BP can't receive onActivityResult from CDC,
we need to have BiometricService launch CDC. CDC will return auth/reject
results to BiometricService using a private protected aidl method, which
can then forward the reuslt to BP/app.
Bug:
111461540
Test: builds
Test: demo app, receives correct callbacks
Change-Id: I7111ca2842534a596302fe0eb7338fbfaca72eec
Nick Kralevich [Sat, 26 Jan 2019 02:02:23 +0000 (18:02 -0800)]
Merge "more O_CLOEXEC" am:
350f48328b
am:
51aec2267c
Change-Id: I36d95d214a9b07c474b8a8c5fdb6dbf15c4cf535
Tej Singh [Tue, 22 Jan 2019 19:33:51 +0000 (11:33 -0800)]
APIs for registering config activation broadcasts
Creates a StatsManager API to register a pending intent that is invoked
whenever the active status of any of any config sent by that uid
changes.
ag/
6112554 and further cls are needed to properly send back the pending
intent.
Bug:
123372077
Test: build success on blueline-eng. More thorough testing should be
done once ag/
6112554 is submitted.
Change-Id: I36985c9820d4e7ac178064924190af88ea822254
Nick Kralevich [Sat, 26 Jan 2019 01:51:51 +0000 (17:51 -0800)]
Merge "more O_CLOEXEC"
am:
350f48328b
Change-Id: I14c8a19b241e29ad4a9bd74d8ed904aa2ef7e5b3
Kevin Chyn [Fri, 25 Jan 2019 00:06:46 +0000 (00:06 +0000)]
Revert "Add plumbing for setRequireConfirmation to CC"
This reverts commit
d75a03b722cceee137c7834117569d7e36eeac73.
Reason for revert: Adding functionality differently
Change-Id: I90ac64c89566589797f1ad0bf69fefee3fbd04e1
Kevin Chyn [Sat, 26 Jan 2019 01:47:06 +0000 (01:47 +0000)]
Merge "Add additional acquired constants"
Treehugger Robot [Sat, 26 Jan 2019 01:32:15 +0000 (01:32 +0000)]
Merge "more O_CLOEXEC"
Yohei Yukawa [Sat, 26 Jan 2019 01:27:03 +0000 (17:27 -0800)]
Take CLONE_TO_MANAGED_PROFILE into account in InputMethodSettings
This is a preparation to clone SHOW_IME_WITH_HARD_KEYBOARD to profile
users.
With this CL, InputMethodSettings takes CLONE_TO_MANAGED_PROFILE into
account when writing secure settings. The point is that when a secure
settings key is in Settings.Secure.CLONE_TO_MANAGED_PROFILE, the value
needs to be written into the profile parent's settings, not the
current user's one. In this way, InputMethodSettings doesn't need to
be updated when a new entry is added to / removed from
CLONE_TO_MANAGED_PROFILE.
This CL does not change Settings.Secure.CLONE_TO_MANAGED_PROFILE hence
there should be no behavior change.
Bug:
123379418
Test: make -j checkbuild
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Ieefefb8630ddef3b247ebb865a604e5c72dfb49c
Peiyong Lin [Thu, 17 Jan 2019 00:18:22 +0000 (16:18 -0800)]
Add Display.getPreferredWideGamutColorSpace().
Add Display.getPreferredWideGamutColorSpace() to return the preferred wide
color space that the rendering and composition pipeline prefers.
BUG:
120904891
Test: atest android.display.cts.DisplayTest#testGetPreferredWideGamutColorSpace
Change-Id: I1bcd9db72689a734b2a7c097b99a01464810994a
Steven Moreland [Sat, 26 Jan 2019 00:52:39 +0000 (00:52 +0000)]
Merge "framework.jar: Include all radio HIDL libs."
Howard Ro [Fri, 18 Jan 2019 00:52:16 +0000 (16:52 -0800)]
Add WatchdogRollbackOccurred atom
This is going to be logged when a module is rolled back by watchdog for
causing any crash/problem.
Bug:
122808286
Test: not needed for now but will be tested when StatsLog.write is
triggered.
Change-Id: I1a7461b160206ab41e76621759e8dfb78ea0833b
Soonil Nagarkar [Fri, 25 Jan 2019 01:42:49 +0000 (17:42 -0800)]
Fix potential deadlock in ServiceWatcher
Bug:
123363078
Test: manually
Change-Id: I9ac83c37c0c00170f95b505bdac68bb5db6e0283
Daniel Solomon [Thu, 24 Jan 2019 03:33:00 +0000 (19:33 -0800)]
Hide new ColorSpace APIs
A previous change added two new public ColorSpace APIs. These APIs are
being used only by ColorDisplayService for specific purposes, so for now
make them hidden.
Bug
116516917
Change-Id: Ib644d356a84d4122173ea4cafbac88bd63b1afcd
Hongming Jin [Thu, 17 Jan 2019 20:11:59 +0000 (12:11 -0800)]
Add API to SmsManager to allow apps to authenticate user account through
sms without requesting sms permissions.
Bug:
111210542
Test: atest android.telephony.cts.SmsManagerTest
Change-Id: I9b176032d7b2bf578dd1a64745bf4a1e13008a7a
Evan Rosky [Fri, 25 Jan 2019 23:15:36 +0000 (23:15 +0000)]
Merge changes from topics "sf_task_id", "sf_metadata"
* changes:
Add task-id to the task-level surface
Add metadata store to surfaces
Nick Kralevich [Fri, 25 Jan 2019 23:05:34 +0000 (15:05 -0800)]
Merge "even more O_CLOEXECs!" am:
bb5b645454 am:
6130adad16
am:
8da21b7b21
Change-Id: Ia4e37933ee5742f74e7d58e4eaca71f89954aa00
Nick Kralevich [Fri, 25 Jan 2019 22:54:25 +0000 (14:54 -0800)]
Merge "even more O_CLOEXECs!" am:
bb5b645454
am:
6130adad16
Change-Id: Id1538b24d3d213711ad014634071957d5834016f
Nick Kralevich [Fri, 25 Jan 2019 22:43:37 +0000 (14:43 -0800)]
Merge "even more O_CLOEXECs!"
am:
bb5b645454
Change-Id: I8435d69b72dbbbc881bbd43c7a640f3460e5777a
TreeHugger Robot [Fri, 25 Jan 2019 22:42:06 +0000 (22:42 +0000)]
Merge "Add api to change charging state update delay"
Treehugger Robot [Fri, 25 Jan 2019 22:32:40 +0000 (22:32 +0000)]
Merge "even more O_CLOEXECs!"
Jean-Michel Trivi [Fri, 25 Jan 2019 22:31:09 +0000 (22:31 +0000)]
Merge "AudioDeviceBroker in audio service"
Mathieu Chartier [Fri, 25 Jan 2019 22:24:48 +0000 (14:24 -0800)]
[automerger skipped] Merge "[view compilation] Add separate compilation property" am:
9343b88b43 am:
84d59ddcf9
am:
9ff145b7f5 -s ours
am skip reason: change_id Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6 with SHA1
9e7a5f6078 is in history
Change-Id: I6167f0e950a9e405f3eaa7a4dc42d57225321cc5
Khushal [Fri, 25 Jan 2019 22:12:14 +0000 (14:12 -0800)]
Fix hardware protected path for SDK ImageReader.
Ensure IGraphicBufferConsumer is marked protected for ImageReader if
the client requests AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT usage.
BUG: crbug.com/889328
Test: Manual testing.
Change-Id: Ibf898aed08ce6d1030aa8eeb4b240a63c4032058
TreeHugger Robot [Fri, 25 Jan 2019 22:16:00 +0000 (22:16 +0000)]
Merge "Add whitelist setting to proto dump util"
Olivier Gaillard [Fri, 25 Jan 2019 22:15:33 +0000 (22:15 +0000)]
Merge "Add pullers for debugging."
Mathieu Chartier [Fri, 25 Jan 2019 22:14:21 +0000 (14:14 -0800)]
Merge "[view compilation] Add separate compilation property" am:
9343b88b43
am:
84d59ddcf9
Change-Id: I56ace17117e711fec7adca82d53929a3dd3f4770
Abhijeet Kaur [Fri, 25 Jan 2019 22:08:00 +0000 (22:08 +0000)]
Merge "Add e2e tests for getstagedsessions for apex"
Mathieu Chartier [Fri, 25 Jan 2019 22:05:20 +0000 (14:05 -0800)]
Merge "[view compilation] Add separate compilation property"
am:
9343b88b43
Change-Id: I2944873c615c6278507a39a78a5c0dec2f4104df
TreeHugger Robot [Fri, 25 Jan 2019 22:03:49 +0000 (22:03 +0000)]
Merge "De-duplicate entries written with AAPT2 convert"
Lucas Dupin [Fri, 25 Jan 2019 21:55:51 +0000 (21:55 +0000)]
Merge "Do not sleep if someone is paying attention"
Mathieu Chartier [Fri, 25 Jan 2019 21:48:38 +0000 (21:48 +0000)]
Merge "[view compilation] Add separate compilation property"
Mathieu Chartier [Thu, 24 Jan 2019 19:13:35 +0000 (11:13 -0800)]
[view compilation] Add separate compilation property
Add separate compilation pm.precompile_layouts property for
precompiled layouts that controls compilation. Previously
this was controlled by view.precompiled_layout_enabled.
Movitation:
Enable view compilation without loading to get extra coverage.
(cherry picked from commit
9e7a5f6078536c7090269303bfbdbbaabda7b056)
Bug:
111895153
Test: manual
Exempt-From-Owner-Approval: Previously approved by owner
Merged-In: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6
Change-Id: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6
Nandana Dutt [Fri, 25 Jan 2019 21:41:18 +0000 (13:41 -0800)]
Merge "Follow API guidelines in BugreportManager" am:
37aee80c76 am:
0dcbf78430
am:
99d137b32a
Change-Id: Ibb61ae2f4f633744229b4b619205f396d2c3f8a8
Nandana Dutt [Fri, 25 Jan 2019 21:29:23 +0000 (13:29 -0800)]
Merge "Follow API guidelines in BugreportManager" am:
37aee80c76
am:
0dcbf78430
Change-Id: I2664d2de3d1ad770faa9681275c030f976c90a21
Nandana Dutt [Fri, 25 Jan 2019 21:17:45 +0000 (13:17 -0800)]
Merge "Follow API guidelines in BugreportManager"
am:
37aee80c76
Change-Id: I2bb33876a9318cc347600726e9277cf71db9c75d
Josh Tsuji [Fri, 25 Jan 2019 21:14:40 +0000 (21:14 +0000)]
Merge changes Ic00e9b8f,I59cf13ae
* changes:
Ignore two tests that sporadically fail due to DynamicAnimation quirks.
Ensure the cutout is not null before trying to use it.
TreeHugger Robot [Fri, 25 Jan 2019 21:13:38 +0000 (21:13 +0000)]
Merge "IWYU"
Treehugger Robot [Fri, 25 Jan 2019 21:04:55 +0000 (21:04 +0000)]
Merge "Follow API guidelines in BugreportManager"
Joshua Tsuji [Fri, 25 Jan 2019 21:01:26 +0000 (16:01 -0500)]
Ignore two tests that sporadically fail due to DynamicAnimation quirks.
Will test locally to try to reproduce the issue and fix the tests, but in the meantime I don't want to be blocking presubmit.
Test: Just adding @Ignore
Change-Id: Ic00e9b8f47be5ff5cc4d20c92bc415ee5adafba2
Brad Ebinger [Fri, 25 Jan 2019 21:02:02 +0000 (21:02 +0000)]
Merge "Add new ImsException to better handle ImsService errors"
George Hodulik [Fri, 25 Jan 2019 20:56:34 +0000 (20:56 +0000)]
Merge "Use App Prediction Service to get share suggestions."
Joshua Tsuji [Fri, 25 Jan 2019 16:37:49 +0000 (11:37 -0500)]
Ensure the cutout is not null before trying to use it.
Test: manual
Change-Id: I59cf13aed53a5d8a61e5dc65500764ecdddc9c39
Ray Essick [Fri, 25 Jan 2019 20:43:33 +0000 (20:43 +0000)]
Merge changes from topic "mediametrics_stable_0118"
* changes:
mediaplayer2 uses the new mediametrics C apis
Further work on libmediametrics stable API
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:40:52 +0000 (12:40 -0800)]
Merge "Remove IpClient wrapper" am:
427f0c36d5 am:
62e8b4eb5c
am:
7439853dce
Change-Id: I0aa8e1ad1f4ee79f901409de0f021b3d58b8e879
Yu-Han Yang [Fri, 18 Jan 2019 22:32:34 +0000 (14:32 -0800)]
Add yuhany@ and aadmal@ to OWNERS
Test: OWNERS update only
Change-Id: I97c6eb451448534b8a99f7d5bd8ca0313b8d9b83
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:28:47 +0000 (12:28 -0800)]
Merge "Remove IpClient wrapper" am:
427f0c36d5
am:
62e8b4eb5c
Change-Id: I6b6eb186475228e6b6b6c1994ec4444a9160e19c
TreeHugger Robot [Fri, 25 Jan 2019 20:21:48 +0000 (20:21 +0000)]
Merge "In NotificationRecord, clean out adjustments once they've been applied."
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:15:20 +0000 (12:15 -0800)]
Merge "Remove IpClient wrapper"
am:
427f0c36d5
Change-Id: Ia1dfa96b2e929d2481519147dea7f5375aebd53c
Treehugger Robot [Fri, 25 Jan 2019 19:58:36 +0000 (19:58 +0000)]
Merge "Remove IpClient wrapper"
TreeHugger Robot [Fri, 25 Jan 2019 19:56:08 +0000 (19:56 +0000)]
Merge "Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage."
Roshan Pius [Fri, 25 Jan 2019 19:55:56 +0000 (19:55 +0000)]
Merge changes from topic "ui_attribution_suggestion_specifier_2"
* changes:
WifiManager: Remove @SystemApi tag for settings APIs
WifiInfo: App attribution for suggestion/request
Roshan Pius [Thu, 24 Jan 2019 23:26:39 +0000 (15:26 -0800)]
WifiManager: Remove @SystemApi tag for settings APIs
Bug:
123314904
Test: make system-api-stubs-docs-update-current-api
Change-Id: Id9f088b3a9bbeeb74d5f5bcd3070743943b0c6e6
Roshan Pius [Wed, 23 Jan 2019 23:39:52 +0000 (15:39 -0800)]
WifiInfo: App attribution for suggestion/request
Add a field to store package name for suggestion/specifier package name.
Storing these info in WifiInfo is the convention being followed
for ephemeral networks in WifiTracker.
Bug:
115504887
Bug:
113878056
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Iab6ab93a2a281011499adfff3163c35058600706
TreeHugger Robot [Fri, 25 Jan 2019 19:10:34 +0000 (19:10 +0000)]
Merge changes I789db896,I19e91f0f
* changes:
iorap: Handle binder failures by gracefully attempting to reconnect
iorap: Update AppLaunchEvent binder calls to use protobuf
Jean-Michel Trivi [Fri, 14 Sep 2018 23:01:28 +0000 (16:01 -0700)]
AudioDeviceBroker in audio service
New AudioDeviceBroker class running in audio service.
Has dedicated message loop for handling audio device
connections and disconnections.
New helper classes for AudioDeviceBroker:
- BtHelper for Bluetooth
- AudioDeviceInventory to manage list of devices
Bug:
112863932
Test: media CTS + audio CTS Verifier
Change-Id: I3e8f662a9d82fa7245695888e14fac7f4fc6e728
Android Build Merger (Role) [Fri, 25 Jan 2019 18:32:35 +0000 (18:32 +0000)]
Merge "Merge "Track change of some java.nio.Buffer methods to nonfinal." am:
38a641d29f am:
5fdb4eb6ef am:
5cb69db85c"
Tobias Thierer [Fri, 25 Jan 2019 18:30:33 +0000 (10:30 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal." am:
38a641d29f am:
5fdb4eb6ef
am:
5cb69db85c
Change-Id: I6e2f82dd543d9d685240a902a782eb2ccda4a19a
Olivier Gaillard [Tue, 22 Jan 2019 15:03:41 +0000 (15:03 +0000)]
Add pullers for debugging.
These pullers return deterministic values so we'll be able to confirm
to validate the data easily server side locally.
For instance,
- the diff of the elapsed_clock_millis field should always be equal to the bucket size
- the diff of pull_count should always be one unless we hit the cache
Test: manual
Change-Id: I4fab30df287e90f8691740d90d87b67022b9c420
Lucas Dupin [Thu, 17 Jan 2019 02:52:30 +0000 (18:52 -0800)]
Do not sleep if someone is paying attention
Test: atest AttentionDetectorTest
Test: manual; let device sleep because of timeout (without attention)
Test: manual; let device sleep after maximum attention timeout
Test: manual; touch screen multiple times to avoid timeout
Bug:
111939367
Change-Id: Iafeea7569f84fce08888bc5b6d74ba02fb13fd04
Matthew Fritze [Fri, 25 Jan 2019 18:27:03 +0000 (18:27 +0000)]
Merge "Add NFC Settings Panel API"
Nick Kralevich [Fri, 25 Jan 2019 18:24:42 +0000 (10:24 -0800)]
even more O_CLOEXECs!
Bug:
120983106
Test: device boots and no obvious problems.
Change-Id: If13fc115187f36a4c577d74a7f138fa62a7316de
George Hodulik [Fri, 18 Jan 2019 19:27:03 +0000 (11:27 -0800)]
Use App Prediction Service to get share suggestions.
Bug:
111701043
Test: Manual test with an AppPredictionService that just queries ShortcutManager.
Change-Id: I7faa904d0446e9045017d2dd893dd6b4dbee85a1
Joel Fernandes [Fri, 25 Jan 2019 18:14:17 +0000 (10:14 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am:
9c4b6532b2 am:
1f90d94383
am:
0ed2ad08f9
Change-Id: Iaef1c7ffb34cd3b9a76a6eb10bc0db633c3f4e78
Nick Kralevich [Fri, 25 Jan 2019 18:08:58 +0000 (10:08 -0800)]
more O_CLOEXEC
Bug:
120983106
Test: device boots and no obvious problems.
Change-Id: Ia7a426304a8e7fc41d7d8388dbb858b790d98cf1
Joel Fernandes [Fri, 25 Jan 2019 18:07:11 +0000 (10:07 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am:
8a52fda1fa am:
187fcc9fad
am:
b199e12fe5
Change-Id: I90ff44942114da48426286ad36d58b7ff1379e41
Mike Reed [Fri, 25 Jan 2019 18:04:14 +0000 (13:04 -0500)]
IWYU
Trying to land https://skia-review.googlesource.com/c/skia/+/185460
Test: make
Change-Id: Ia1dd2fb6911d3e562e9c68e8ad03136f96b2d7c0
Tobias Thierer [Fri, 25 Jan 2019 18:03:11 +0000 (10:03 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal." am:
38a641d29f
am:
5fdb4eb6ef
Change-Id: I08059da73d48200b3a0b1c3612ddb5cca9be7ac2
Colin Cross [Fri, 25 Jan 2019 18:00:16 +0000 (18:00 +0000)]
Merge "Mark session as ready on APEXd after verification"
Joel Fernandes [Fri, 25 Jan 2019 17:57:50 +0000 (09:57 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am:
9c4b6532b2
am:
1f90d94383
Change-Id: Ic714757588429fb0ef97b6c1967e1768a773e847
Joel Fernandes [Fri, 25 Jan 2019 17:52:35 +0000 (09:52 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am:
8a52fda1fa
am:
187fcc9fad
Change-Id: I6ce4a5a92e5ec90521d20d9a32d14556c32163ff
Felipe Leme [Wed, 23 Jan 2019 01:59:48 +0000 (17:59 -0800)]
Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage.
onProvideContentCaptureStructure() doesn't take much for only 1 view, but it's called for all views
the first time the view hiearchy is laid off, which could acccumulative delay the
initial layout. Hence, we're postponing it to a later stage - it might still cost a
lost frame (or more), but that jank cost would only happen after the 1st layout.
Using this change, the impact on cold-dropcache-test dropped about 50% (from ~2ms to ~1ms).
Bug:
123307965
Bug:
121039624
Test: atest ContentCaptureSession
Test: atest google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-test
Change-Id: I68b98b2894d23309af90d87cc99280f133557252
Tobias Thierer [Fri, 25 Jan 2019 17:44:49 +0000 (09:44 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal."
am:
38a641d29f
Change-Id: I64062e2c6aafeeb0757ed8ad97666601e93e9735
Suren Baghdasaryan [Fri, 25 Jan 2019 17:42:19 +0000 (09:42 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""" am:
113fbed900 -s ours am:
a2052d9f7d -s ours
am:
70650f9bc0 -s ours
am skip reason: subject contains skip directive
Change-Id: I0466abc8bda771981e65ab79e63896140f59880f