OSDN Git Service
Jean-Michel Trivi [Thu, 5 Apr 2018 22:46:06 +0000 (15:46 -0700)]
AudioFocusRequest: getOnAudioFocusChangeListener in test API
Bug:
77651038
Test: CTS AudioFocusTest
Change-Id: I071057f1ed0ed6c56c16182a48191d763d408ae1
TreeHugger Robot [Fri, 6 Apr 2018 22:52:43 +0000 (22:52 +0000)]
Merge "AudioPresentation: Replace @VisibleForTesting with @TestApi" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:35:56 +0000 (22:35 +0000)]
Merge "Adds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:23:39 +0000 (22:23 +0000)]
Merge changes from topic "hid-device-app-name" into pi-dev
* changes:
Show Bluetooth HID Device connection status in Settings
Bluetooth: Add hidden API to get current user of HID Device (1/3)
TreeHugger Robot [Fri, 6 Apr 2018 22:06:04 +0000 (22:06 +0000)]
Merge "Added nullability annotations to API" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 21:45:50 +0000 (21:45 +0000)]
Merge "Run layout when exiting window" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 21:44:28 +0000 (21:44 +0000)]
Merge "Early wake-up for transitions (2/2)" into pi-dev
Patrick Baumann [Fri, 6 Apr 2018 20:53:25 +0000 (13:53 -0700)]
Adds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL
Test: manual - launch installed instant app from command line
Change-Id: I0e8532a683e3a68d2c81df222aab673d09c286ed
Fixes:
75967669
TreeHugger Robot [Fri, 6 Apr 2018 21:13:44 +0000 (21:13 +0000)]
Merge "Remove clip to padding on the home button parent parent layout" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:57:25 +0000 (20:57 +0000)]
Merge "Improving jank tests diagnostics" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:52:22 +0000 (20:52 +0000)]
Merge "Watch all networks for job invalidation signals." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:45:21 +0000 (20:45 +0000)]
Merge "Hearing Aid: change get/set active device (3/3)" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:43:40 +0000 (20:43 +0000)]
Merge "Fix another animation leak" into pi-dev
Tej Singh [Fri, 6 Apr 2018 20:42:22 +0000 (20:42 +0000)]
Merge "Add proto output of statsd stats in adb" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:41:01 +0000 (20:41 +0000)]
Merge "Turning on proto dumping for stack traces." into pi-dev
Nader Jawad [Fri, 6 Apr 2018 20:40:46 +0000 (20:40 +0000)]
Merge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCacheDrawing as intermediate caching layers are obsolete since hardware accelerated rendering was introduced in API 11" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:40:31 +0000 (20:40 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Selim Cinek [Fri, 6 Apr 2018 19:56:09 +0000 (12:56 -0700)]
Added nullability annotations to API
Certain methods where left out in the new APIs
Change-Id: Ide1e2f387a4918f2134254d862eeff06bfd3a730
Fixes:
74409592
Test: only non-semantic changes
Mikhail Naganov [Fri, 6 Apr 2018 20:04:14 +0000 (13:04 -0700)]
AudioPresentation: Replace @VisibleForTesting with @TestApi
This is to fix CTS tests failures.
Bug:
77715867
Test: make
Change-Id: I99a5ff8fab208a0e1f2e889cb7ad256e6ba08437
Oscar Shu [Fri, 6 Apr 2018 20:17:40 +0000 (20:17 +0000)]
Merge changes Ic0515cec,If547bd96 into pi-dev
* changes:
metrics: identifying dfs from non dfs scans
metrics: watchdog connection delay field
TreeHugger Robot [Fri, 6 Apr 2018 19:54:20 +0000 (19:54 +0000)]
Merge "WifiConfiguration: Remove a bunch of unused fields" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 19:44:52 +0000 (19:44 +0000)]
Merge "Update NetworkScoreService to use SystemService" into pi-dev
Mike Ma [Fri, 6 Apr 2018 19:32:20 +0000 (19:32 +0000)]
Merge "Fix ambient display time unit error" into pi-dev
Vadim Tryshev [Thu, 5 Apr 2018 20:50:38 +0000 (13:50 -0700)]
Improving jank tests diagnostics
When there were 0 total frames, ProfileData generates something like:
Janky frames: 0 (nan%)
Then the test fails to parse it, and ends up with a mysterious
"Failed to parse NUM_JANKY" diag (see the bug).
Making the case 0/0 a 0%.
Bug:
77528721
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.LauncherJankTests#testOpenAllAppsContainer
Change-Id: Ib65b80dc689f7b6ee06b108114ffd7de9d739721
TreeHugger Robot [Fri, 6 Apr 2018 19:02:41 +0000 (19:02 +0000)]
Merge "Fix support for rendering status icons" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:48:27 +0000 (18:48 +0000)]
Merge "Add new WifiWake metrics" into pi-dev
Xiangyu/Malcolm Chen [Fri, 6 Apr 2018 18:32:12 +0000 (18:32 +0000)]
Merge "Marking some hidden API as TestApi." into pi-dev
Andy Hung [Fri, 6 Apr 2018 18:19:48 +0000 (18:19 +0000)]
Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:17:11 +0000 (18:17 +0000)]
Merge "Update battery strings to respect user 24 hour setting" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:16:36 +0000 (18:16 +0000)]
Merge "WifiConfiguration: Modify time display in toString" into pi-dev
Fyodor Kupolov [Fri, 6 Apr 2018 17:57:10 +0000 (17:57 +0000)]
Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev
David Brazdil [Fri, 6 Apr 2018 17:42:05 +0000 (17:42 +0000)]
Merge changes Idca52b94,I82ae308d into pi-dev
* changes:
Sort hidden API light grey
Add more hidden API to light grey
Brad Stenning [Fri, 6 Apr 2018 17:28:08 +0000 (10:28 -0700)]
Fix support for rendering status icons
Bug:
77698170
Test: Manual on big dog
Change-Id: Ibabc56408cfa8cbd48baac40ada63c976631170b
Lei Yu [Fri, 6 Apr 2018 17:19:19 +0000 (17:19 +0000)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:17:39 +0000 (17:17 +0000)]
Merge "Move the alarm status icon to the first position." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Switch to Saturated color mode when Accessibility transforms are active" into pi-dev
Nader Jawad [Thu, 5 Apr 2018 23:34:47 +0000 (16:34 -0700)]
Removed call to setWillNotCacheDrawing and deprecated it as well as
willNotCacheDrawing as intermediate caching layers are obsolete since
hardware accelerated rendering was introduced in API 11
ImageView's current implementation of setScaleType would manually
disable it's cache if the ScaleType provided was CENTER. This was end up
not drawing the ImageView if View.LAYER_TYPE_SOFTWARE was configured on
the ImageView as the cache no longer existed. Removed the logic to
conditionally disable the drawing cache and marked
setWillNotCacheDrawing/willNotCacheDrawing as hardware accelerated
rendering makes these facilities obsolete
Fixes:
77653694
Fixes:
72139649
Test: Created a test application with an ImageView and manually set a
ScaleType of CENTER and forced the ImageView to render in a software
layer to confirm that it would render properly with a drawable of the
test application's launcher icon
Change-Id: Ie73b1e0708a265e3cc2cc74ed13539f4219dbd7d
(cherry picked from commit
2ac86880d6888b0508cdb7d6b2f22a1329a66560)
Mehdi Alizadeh [Thu, 29 Mar 2018 00:34:24 +0000 (17:34 -0700)]
Update NetworkScoreService to use SystemService
Bug:
29118511
Test: runtests.sh
Test: Ran integration tests
Test: Verified wifi assistant still works (Uses NetworkScorer).
Change-Id: I50a6bd5ab59fc69fcb331102ad80ec4bb0988c70
TreeHugger Robot [Fri, 6 Apr 2018 17:06:44 +0000 (17:06 +0000)]
Merge "media: Populate Image scaling mode in reader and writer" into pi-dev
Winson Chung [Fri, 6 Apr 2018 16:45:02 +0000 (16:45 +0000)]
Merge "Generalize the recents animation to work with non-home activity." into pi-dev
Selim Cinek [Fri, 6 Apr 2018 15:59:34 +0000 (15:59 +0000)]
Merge "Migrated the Person class to its own file" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:48:43 +0000 (15:48 +0000)]
Merge "Added gamma correction to autobrightness." into pi-dev
Pankaj Kanwar [Fri, 6 Apr 2018 15:40:39 +0000 (15:40 +0000)]
Merge "Update Javadoc to clarify which calls are logged." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:31:24 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 15:31:21 +0000 (15:31 +0000)]
Merge "Inherit packageName/windowAnimations on TaskSnapshotSurface" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:31:20 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 15:22:03 +0000 (17:22 +0200)]
Run layout when exiting window
Such that a layout with canAffectSystemUiFlags() return false
happens immediately after starting the exit animation.
Test: Open dialog on top of light bar app, close dialog, observe
icons changing color in sync with window animation
Test: go/wm-smoke
Fixes:
77690715
Change-Id: I8c255a34f91c47261c1d14174f620142a2c49eb7
Lucas Dupin [Fri, 6 Apr 2018 15:21:07 +0000 (15:21 +0000)]
Merge "Trigger new frame after display is ready to turn on" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:18:46 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:18:42 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 15:18:25 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
David Brazdil [Fri, 6 Apr 2018 15:12:39 +0000 (15:12 +0000)]
Merge "Add more API on hiddenapi-light-greylist.txt" into pi-dev
David Brazdil [Fri, 6 Apr 2018 15:11:09 +0000 (16:11 +0100)]
Sort hidden API light grey
Previous changes kept the file unsorted
Bug:
64382372
Test: make
Change-Id: Idca52b9476cda1eabb8dc2a90d6e8182e1a58b32
David Brazdil [Fri, 6 Apr 2018 15:10:44 +0000 (16:10 +0100)]
Add more hidden API to light grey
Bug:
77487572
Test: make
Change-Id: I82ae308d26542e7e72e174e9531f2de80e182e26
TreeHugger Robot [Fri, 6 Apr 2018 14:55:00 +0000 (14:55 +0000)]
Merge "Add deprecation notice to Linkify MAP_ADDRESSES" into pi-dev
Amin Shaikh [Fri, 6 Apr 2018 14:50:23 +0000 (10:50 -0400)]
Move the alarm status icon to the first position.
Change-Id: I0330af8ae721421454c9e02216344d4841868d63
Bug:
74985733
Fixes:
77689775
Test: visual
Jorim Jaggi [Fri, 6 Apr 2018 14:46:20 +0000 (14:46 +0000)]
Merge "Wait for unknown vis to resolve before forcing keyguard orientation" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 14:38:16 +0000 (14:38 +0000)]
Merge "Add Polish keycharactermap" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 14:27:18 +0000 (14:27 +0000)]
Merge "Fix typo in comments." into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 14:02:07 +0000 (16:02 +0200)]
Inherit packageName/windowAnimations on TaskSnapshotSurface
Such that when the starting window gets picked for the animation,
we can resolve the animation as well.
Test: Long press home, "Home settings", press home, repeat
Test: go/wm-smoke
Change-Id: I81cd022ccd13a720f7ba7a037cb686126cb36722
Fixes:
77688444
Nicolas Geoffray [Fri, 6 Apr 2018 13:57:25 +0000 (13:57 +0000)]
Merge "Light grey MethodHandles$Lookup;-><init>" into pi-dev
Bill Yi [Fri, 6 Apr 2018 13:47:23 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4ce56eab007e4d30a0e74f1d5951b819c4f7e36d
TreeHugger Robot [Fri, 6 Apr 2018 13:45:32 +0000 (13:45 +0000)]
Merge "Treat hidden API exemptions as whitelist." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 13:37:06 +0000 (13:37 +0000)]
Merge "Listen for bluetooth audio changes in system ui." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 13:30:33 +0000 (13:30 +0000)]
Merge changes from topic "gpuprio" into pi-dev
* changes:
Add ThreadedRendererCompat for Launcher use
Add ability to change context priority of RT GL context
Jorim Jaggi [Fri, 6 Apr 2018 13:11:47 +0000 (15:11 +0200)]
Wait for unknown vis to resolve before forcing keyguard orientation
If TRANSIT_UNOCCLUDE is set it may only be so because we are
starting another activity that occludes the Keyguard.
UnknownVisibilityController knows about this, so ask it and wait
with forcing Keyguard orientation if needed.
Test: Take image from secure camera in landscape, press on the
photo, ensure no rotations
Test: Dismiss alarm in landscape, observe no rotations
Fixes:
68819499
Change-Id: If143ce43f620d77d62f5812950a040e531cc0a02
Jorim Jaggi [Fri, 6 Apr 2018 13:07:20 +0000 (13:07 +0000)]
Merge "Update anim to spec" into pi-dev
Mathew Inwood [Fri, 6 Apr 2018 12:53:45 +0000 (13:53 +0100)]
Fix typo in comments.
Keep the nitpickers happy.
Test: m
Bug:
77517571
Change-Id: I70374c05df3e366b5a0ce3bbb103dce28f48d4b8
Rubin Xu [Fri, 6 Apr 2018 12:54:24 +0000 (12:54 +0000)]
Merge "Tweak SystemUpdatePolicy APIs" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 12:45:23 +0000 (12:45 +0000)]
Merge "Add new hidden APIs to light grey" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 12:37:19 +0000 (12:37 +0000)]
Merge "Remove WebView.getLooper()." into pi-dev
Mathew Inwood [Fri, 6 Apr 2018 12:32:42 +0000 (12:32 +0000)]
Merge "Replace ALL_LISTS policy with JUST_WARN." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 12:28:09 +0000 (12:28 +0000)]
Merge "Revert "Remove deprecated RecoveryController API."" into pi-dev
Nicolas Geoffray [Fri, 6 Apr 2018 12:22:40 +0000 (13:22 +0100)]
Light grey MethodHandles$Lookup;-><init>
bug:
77520086
Test: m
Change-Id: I539d7222af01c0163ab14946248465f1105f578d
Jorim Jaggi [Thu, 5 Apr 2018 12:36:53 +0000 (14:36 +0200)]
Add ThreadedRendererCompat for Launcher use
Bug:
75985430
Change-Id: Ia9a7c68cdff8a3263aa75f1178cb90bf4cf6f3de
Jorim Jaggi [Wed, 4 Apr 2018 21:07:35 +0000 (23:07 +0200)]
Add ability to change context priority of RT GL context
Test: Use method, observe GPU preemption behavior
Bug:
75985430
Change-Id: Idc08d37f8c95f52c5aab7edf09c0cbff72b8482d
Bill Yi [Fri, 6 Apr 2018 12:04:06 +0000 (05:04 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I01e238c2e50777eb025e8ba17f9e7a5fa056adc9
Emilian Peev [Fri, 6 Apr 2018 11:55:00 +0000 (12:55 +0100)]
media: Populate Image scaling mode in reader and writer
"ImageReader" and "ImageWriter" must pass information about the
specific buffer scaling mode.
Bug:
76022384
Test: Manual using application,
Camera CTS
Change-Id: I116f00cbf3b1487d8e44661e8fd15e2aa16e6e0d
Bill Yi [Fri, 6 Apr 2018 11:57:22 +0000 (04:57 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I630d9ca9ab17fb374c2f550466139e5ac00a2685
David Brazdil [Fri, 6 Apr 2018 11:41:23 +0000 (12:41 +0100)]
Add new hidden APIs to light grey
Bug:
77598425
Test: make
Change-Id: I0f7b992b62afd0590b95281bcb240899074a5fce
Jorim Jaggi [Thu, 22 Mar 2018 22:20:36 +0000 (23:20 +0100)]
Early wake-up for transitions (2/2)
On some devices it's very likely that we fall into GL comp during
app transitions. However, SF offsets are chosen in a way such that
the time to finish a frame is just too tight to be completely jank
free when hitting GL composition in SurfaceFlinger. Thus, we
introduce the concept of a separate early offset, and wakeup
SurfaceFlinger at that time if we think that hitting GL comp is
likely, or we already hit GL comp in the last frame.
Test: Open app, check vsync offsets in systrace
Test: Open many dialogs/apps to fall into GPU comp.
Bug:
75985430
Change-Id: I461fdcd573583f3ea0348c8b23cc9945d33f8976
Jorim Jaggi [Thu, 5 Apr 2018 14:45:41 +0000 (16:45 +0200)]
Update anim to spec
Test: Close translucent activity
Change-Id: I6854fa02f6ffafdcffe3804090cfc88c7d84edc9
Fixes:
72396815
Mathew Inwood [Thu, 5 Apr 2018 12:56:39 +0000 (13:56 +0100)]
Treat hidden API exemptions as whitelist.
Update docs accordingly.
Test: m
Bug:
64382372
Change-Id: Ief8daf3badeb046b0461a3ebcd289e242d559070
David Brazdil [Fri, 6 Apr 2018 10:41:15 +0000 (10:41 +0000)]
Merge "Add more API to hiddenapi-vendor-list.txt" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 10:39:52 +0000 (10:39 +0000)]
Merge "Add new APIS to light grey." into pi-dev
Robert Berry [Fri, 6 Apr 2018 10:13:16 +0000 (10:13 +0000)]
Revert "Remove deprecated RecoveryController API."
This reverts commit
0d55aa387a4ec65899fc82a1391e5533c85c3edb.
Reason for revert: aps_sidecar binary is still using some of these @removed APIs. Although HEAD of auth_folsom is fixed, aps_sidecar burned in framework is old.
Bug:
77629807
Change-Id: I2f03c7d12de30cc2eebd91bb65646caaa00fcd1d
Bill Yi [Fri, 6 Apr 2018 10:09:30 +0000 (03:09 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I34ed36fb830a86346ebe45632272d5570fb0064d
David Brazdil [Fri, 6 Apr 2018 09:54:05 +0000 (10:54 +0100)]
Add more API on hiddenapi-light-greylist.txt
Bug:
64382372
Bug:
77266422
Test: make
Change-Id: If6c753e58d613c8f0c76367bc93eb4c3f500650c
Bill Yi [Fri, 6 Apr 2018 09:49:55 +0000 (02:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I43f7c0fa22dc570954994a6153ce2648ffcf191f
Nicolas Geoffray [Fri, 6 Apr 2018 09:44:49 +0000 (09:44 +0000)]
Merge "Revert "Whitelist com.android.perftests.core in am instrument."" into pi-dev
Nicolas Geoffray [Fri, 6 Apr 2018 09:44:07 +0000 (09:44 +0000)]
Merge "Exempt two performance tests from hidden API checks." into pi-dev
David Brazdil [Fri, 6 Apr 2018 09:08:56 +0000 (10:08 +0100)]
Add more API to hiddenapi-vendor-list.txt
Bug:
64382372
Bug:
77278525
Test: make
Change-Id: Ibfeb2c6238e6e992a88a3c056b74c02c85887fad
Nicolas Geoffray [Fri, 6 Apr 2018 09:32:37 +0000 (10:32 +0100)]
Add new APIS to light grey.
bug:
77498122
Test: m
Change-Id: I1562f1f12a966a66c066036ef3b46264af50f054
TreeHugger Robot [Fri, 6 Apr 2018 08:23:07 +0000 (08:23 +0000)]
Merge "Adding more APIs to greylist Test: None" into pi-dev
Stephen [Wed, 4 Apr 2018 15:30:02 +0000 (08:30 -0700)]
Adding more APIs to greylist
Test: None
bug:
74066078
Change-Id: I029754dba43f83d6aff941c02ba1caa7fdd1e18c
Nicolas Geoffray [Fri, 6 Apr 2018 08:20:33 +0000 (09:20 +0100)]
Exempt two performance tests from hidden API checks.
Bug:
64382372
Bug:
74963051
Bug:
76162083
Test: m
Change-Id: I50f2c8993cfb8fc7b78dc8c87b2cd8d9ee92d98e
Erik Kline [Fri, 6 Apr 2018 06:48:25 +0000 (06:48 +0000)]
Merge "Move the logic of (re)evaluation of Private DNS" into pi-dev
Lucas Dupin [Fri, 6 Apr 2018 05:20:44 +0000 (22:20 -0700)]
Trigger new frame after display is ready to turn on
Making sure that a frame will be pushed after the display is ready to
turn on by invaliding the clock after a delay.
Also removed unecessary binder call.
Test: cover prox sensor and wait 1 minute. repeat ~10 times
Change-Id: Ic1b8006781e5486822a5ab65b71b3c44980f2f16
Fixes:
71913808
TreeHugger Robot [Fri, 6 Apr 2018 05:13:33 +0000 (05:13 +0000)]
Merge "Extract exif data from mp4 extractor if available" into pi-dev
Rebecca Silberstein [Fri, 6 Apr 2018 04:42:36 +0000 (04:42 +0000)]
Merge "WifiManager: allow setWifiApConfiguration to return false" into pi-dev