Commit Graph

12554 Commits

Author SHA1 Message Date
Jeffrey Huang
77db950964 Merge "Rename writeToProto to be dumpDebug" 2019-12-06 18:53:15 +00:00
TreeHugger Robot
dd07c25872 Merge "Fixing window dump timing out on wallpaper service" 2019-12-05 21:15:42 +00:00
Jeffrey Huang
cb78285b81 Rename writeToProto to be dumpDebug
We want to eventually migrate some of these APIs to be @SystemApi for mainline modules.
The #dumpDebug name is more appropriate than #writeToProto.

Bug: 142279786
Test: Manual
Change-Id: I60793e91cedf6b720d4ecef6a8484f4fed4ff30f
2019-12-05 11:28:11 -08:00
David Su
76210c4275 Merge "AsyncChannel: Migrate Slog to Log to enable Jarjaring" 2019-12-05 18:22:03 +00:00
Anna Trostanetski
5ec4ac7d81 Merge "Add descriptions to compat changes." am: b38db5afe0 am: d54f52b9ea
am: 76ba40cc64

Change-Id: I970da1371374bb8893e833d4c8d7629613214888
2019-12-05 04:39:49 -08:00
Anna Trostanetski
76ba40cc64 Merge "Add descriptions to compat changes." am: b38db5afe0
am: d54f52b9ea

Change-Id: I72ebf645c756df7aab326669f5ac5e5edbbcc640
2019-12-05 04:36:25 -08:00
Anna Trostanetski
b38db5afe0 Merge "Add descriptions to compat changes." 2019-12-05 12:22:27 +00:00
David Su
6cfef54b71 AsyncChannel: Migrate Slog to Log to enable Jarjaring
AsyncChannel & AsyncService both use Slog, which is
@hide, so jarjar'ing them would still lead to @hide API
usages.
Migrate to Log, which is public, so that AsyncChannel &
AsyncService can be jarjar'ed.

Bug: 145409537
Test: compiles
Change-Id: Ic0b9e8d66d575925cb1972e20721dd53c85307e6
2019-12-04 18:00:03 -08:00
David Su
a0bead651f Merge changes from topics "android-os-connectivity-wifiactivityenergyinfo", "requestactivityinfo"
* changes:
  Move WifiActivityEnergyInfo to android.os.connectivity
  BatteryStats: Move WifiActivityEnergyInfo to android.os.connectivity
  Statsd: Move WifiActivityEnergyInfo to android.os.connectivity
  Formalize WifiManager#requestActivityInfo as @SystemApi
  BatteryStats: Formalize WifiManager#requestActivityInfo
  Statsd: Formalize WifiManager#requestActivityInfo
2019-12-05 01:19:27 +00:00
Peter Wang
cead28dcee Merge "[Telephony Mainline] Expose hidden APIs and consts" am: 415143daf5
am: cfffdedc87

Change-Id: I26b52ec69d769591243c65caaec8066f1744d7a7
2019-12-04 15:55:20 -08:00
Peter Wang
415143daf5 Merge "[Telephony Mainline] Expose hidden APIs and consts" 2019-12-04 23:39:50 +00:00
Chen Xu
c2c774a606 Merge "expose APIs for mainline telephony-sdk" 2019-12-04 18:02:28 +00:00
atrost
23886e7b2c Add descriptions to compat changes.
Capture the comment above a definition of a compat change and make it
the description.
Next: make sure existing changes use supported format (only /**
comments, only above the annotations), and use in developer UI.

Bug: 144927670
Test: atest com.android.server.compat.CompatConfigTest
Change-Id: Ib23f341baa171599654c351693e4b0ddf4b2515c
2019-12-04 17:17:16 +00:00
Fabian Kozynski
fc94a3523c Merge "Remove all Privacy chip classes." 2019-12-04 16:34:58 +00:00
TreeHugger Robot
b11f93129c Merge "Persist PiP size to be restored on re-entry" 2019-12-03 21:44:59 +00:00
David Su
979b56b992 BatteryStats: Move WifiActivityEnergyInfo to android.os.connectivity
Move WifiActivityEnergyInfo out of the Wifi Mainline
module so that it can use @hide PowerProfile.

Bug: 145244073
Test: compiles
Change-Id: I1a08d200031f0d596bc5265c06ebdcd14f2a8b81
2019-12-03 12:21:31 -08:00
Peter Wang
98598bfe16 [Telephony Mainline] Expose hidden APIs and consts
Exposing constants that were originally hidden

Test: build
Bug: 140908357
Change-Id: I12b8d338a58c0ffe294137171b8bac7d80a0b776
Merged-In: I12b8d338a58c0ffe294137171b8bac7d80a0b776
2019-12-03 19:12:47 +00:00
Peter Wang
a69b9fa4b0 Merge "[Telephony Mainline] Expose hidden APIs and consts" 2019-12-03 18:49:11 +00:00
David Su
991a94d4b3 BatteryStats: Clean up WifiActivityEnergyInfo
Bug: 145244073
Test: compiles
Change-Id: I2c7c7c7b87cf674f0e3ca95bf3d4ee827657cb7a
2019-12-02 15:15:52 -08:00
Chen Xu
8713b167a9 expose APIs for mainline telephony-sdk
Those telephony SDK internal classes are referenced
by non-updatable framework/base classes.

Bug: 140908357
Change-Id: I943e2a2ca4ac1cb637cc237e580bd5cfca88a516
2019-12-02 15:00:03 -08:00
TreeHugger Robot
ca0a066ccc Merge "Reset mTrackingReportedValues in endSample()" 2019-12-02 19:29:25 +00:00
Hui Yu
c7d49e01dd Reset mTrackingReportedValues in endSample()
Otherwise, when next SamplingTimer.update() is called, it will take
zero as start time.

Bug: 142466892
Test: NA.

Change-Id: I04625fadd8fd8bab3ba83b8e7cd10737ad34e60b
2019-12-02 16:52:15 +00:00
Songchun Fan
f4c2c56121 Merge "[incremental] Manager, Storage and changes to Package Manager Service" 2019-11-28 07:38:50 +00:00
Songchun Fan
d1b41d49eb [incremental] Manager, Storage and changes to Package Manager Service
Checking in basic high-level classes and their interactions with
package manager service.

Incremental Manager manages IncrementalStorage instances. Both are
backed by Incremental Service.

Package Manager Service uses Incremental Manager to handle file
operaions on Incremental File System, such as renaming and cleanup.

Also adding place holders for native library handling.

Test: builds
Change-Id: I78b64f795de480e109aeaffe61272a413a6b4be5
2019-11-27 15:47:29 -08:00
Peter Wang
a2b38c875f [Telephony Mainline] Expose hidden APIs and consts
Exposing constants that were originally hidden

Test: build
Bug: 140908357
Change-Id: I12b8d338a58c0ffe294137171b8bac7d80a0b776
2019-11-27 14:01:12 -08:00
Mathieu Chartier
6eed08baf4 Merge "Use resetJitCounters for boot image profiling" am: ce9a776f1d am: 39cbd1fb92
am: bdf17fb2b3

Change-Id: I7e7b4f59d26c25671d71cb4d53403a7726af2e19
2019-11-27 11:12:36 -08:00
Mathieu Chartier
bdf17fb2b3 Merge "Use resetJitCounters for boot image profiling" am: ce9a776f1d
am: 39cbd1fb92

Change-Id: If463c8e74cc45d8fdb36df68c2ad713370fa1e28
2019-11-27 11:07:02 -08:00
Mathieu Chartier
39cbd1fb92 Merge "Use resetJitCounters for boot image profiling"
am: ce9a776f1d

Change-Id: I34fb1ede64028805865f2d1c051db8d99791e804
2019-11-27 11:01:04 -08:00
Mathieu Chartier
ce9a776f1d Merge "Use resetJitCounters for boot image profiling" 2019-11-27 18:55:38 +00:00
Hugo Benichi
f97a443e67 Merge "BitUtils: support packing/unpacking negative long values" am: 9e5de85e21 am: 04cad88eee
am: 039b4745a7

Change-Id: Iaa8c4084f0754781ea3e6a0a9202d9e102d5f074
2019-11-27 07:58:33 -08:00
Hugo Benichi
039b4745a7 Merge "BitUtils: support packing/unpacking negative long values" am: 9e5de85e21
am: 04cad88eee

Change-Id: If85ad67169295e8725d654966c4d0f42439f10c4
2019-11-27 07:52:49 -08:00
Hugo Benichi
04cad88eee Merge "BitUtils: support packing/unpacking negative long values"
am: 9e5de85e21

Change-Id: Ibd0c4756fb0f888a506111bb2f33c60debe33d57
2019-11-27 07:46:56 -08:00
Treehugger Robot
9e5de85e21 Merge "BitUtils: support packing/unpacking negative long values" 2019-11-27 15:34:46 +00:00
Hugo Benichi
7157c8e7af BitUtils: support packing/unpacking negative long values
Bug: None
Test: Compiled. New unit tests.
Change-Id: Ia543285e206b0bbc7d64458da10e68a951f9eec1
2019-11-27 11:00:32 +09:00
Mathieu Chartier
d886cfe2bc Use resetJitCounters for boot image profiling
For boot image profiling, use resetJitCounters instead of disabling
preloading. This improves startup for the configuration by up to
20%.

Bug: 139883463
Bug: 142564450
Test: atest BootImageProfileTest
Change-Id: I11274ae623d3f0032e68f6f205447ad4d200620b
2019-11-26 15:03:19 -08:00
TreeHugger Robot
509428e9d7 Merge "Resolve boot unaware for suspension details activity" 2019-11-26 18:38:16 +00:00
Suprabh Shukla
fcca8a8382 Resolve boot unaware for suspension details activity
The neutral button starting ACTION_SHOW_SUSPENDED_APP_DETAILS should
still be shown when the profile is locked. The user will be directed to
unlock if they choose to start the activity.

Test: Manual, on a device with a wellbeing app:
1. Create a managed profile with a secure lock.
2. Suspend any app using the wellbeing app.
3. Reboot.
4. Without unlocking the profile, tap the suspended app's launcher icon.
5. A neutral button should be shown.
6. Tapping on the neutral button should redirect the user to a lock
screen.

Bug: 144837297
Change-Id: Ifa1d71d2e540a3d6df5bd9f429eb433be14c3024
2019-11-25 15:26:43 -08:00
Sunny Goyal
78fbe06a5e Fixing window dump timing out on wallpaper service
Bug: 64101886
Test: Verified window dump finishes instantly
Change-Id: I446c834d10f1b491703159b06f4efda0342322ed
2019-11-25 14:30:18 -08:00
Mathieu Chartier
7770a00eb8 Merge "Pass runtimeFlags to postForkSystemServer" am: d9bcf56448
am: b541162122

Change-Id: Ia5a036407ecac6e2b178f67b199214d93abf0010
2019-11-25 13:45:59 -08:00
Mathieu Chartier
b541162122 Merge "Pass runtimeFlags to postForkSystemServer"
am: d9bcf56448

Change-Id: Ib37dbd13b9b50c4aa072e90fa010320d0208207d
2019-11-25 13:39:18 -08:00
Mathieu Chartier
742981eca3 Pass runtimeFlags to postForkSystemServer
Flags are now required by ART.

(cherry-picked from commit 2cb0a4d860)
Bug: 139883463
Bug: 144383344
Test: showmap `pid system_server` and verify
Test: atest BootImageProfileTest
Merged-In: I9416ef888557bf0bc0ec7c83f7af1979cac351f8
Change-Id: I9416ef888557bf0bc0ec7c83f7af1979cac351f8
2019-11-25 13:32:02 -08:00
Fabian Kozynski
228e310d19 Remove all Privacy chip classes.
Test: atest SystemUITests
Test: atest HistoricalAppopsTest
Test: adb shell device_config privacy permissions_hub_enabled true
Fixes: 144801684
Change-Id: I9c79ac6ac75b0197af0bfb6595b99a458916b761
2019-11-25 15:38:38 -05:00
Mark Tabry
c4755ff9a0 Merge "Add AIDL interface and puller implementation for automotive devices." into qt-qpr1-dev-plus-aosp 2019-11-25 18:31:34 +00:00
Mathieu Chartier
d74687f679 Merge "Pass runtimeFlags to postForkSystemServer" 2019-11-25 18:06:51 +00:00
Dan Sandler
486ad0d659 Action chips in share sheet. (DO NOT MERGE)
am: 0d3e358628

Change-Id: I0df785ea4279811fe4f556f67dde8e3c6cef98b0
2019-11-25 05:28:10 -08:00
Sergej Salnikov
f2c2a1b595 Merge "Delete SearchManager.launchAssistService and convert SearchManager.launchAssist into @SystemApi method that handles both phone and TV devices." 2019-11-25 12:08:08 +00:00
Dan Sandler
0d3e358628 Action chips in share sheet. (DO NOT MERGE)
Move the Copy button to a new row of chips below the
(now larger) preview. Optionally, if a proximity-sharing
service is installed, show that chip as well.

Bug: 143229724
Fixes: 144290152
Test: atest SystemUITests frameworks/base/core/tests/coretests
Change-Id: I0d6457df85bc937f72ca97da6b4b84b634a90daf
2019-11-24 23:39:49 +00:00
TreeHugger Robot
cd79af4eec Merge "Initial IME inline suggestions APIs" 2019-11-23 01:21:02 +00:00
Felipe Leme
5c9f648edd Merge "Fixes usage of WallpaperManager to make it optional." into qt-qpr1-dev
am: 659f477f65

Change-Id: I6946b0001c524dff8d11b2889e8b30d6a059218d
2019-11-22 16:16:59 -08:00
TreeHugger Robot
659f477f65 Merge "Fixes usage of WallpaperManager to make it optional." into qt-qpr1-dev 2019-11-23 00:05:20 +00:00