OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Change selection strategy for ACTION_DISMISS_TIMER"
Christine Franks [Mon, 22 Jan 2018 23:23:25 +0000 (23:23 +0000)]
Merge "Change selection strategy for ACTION_DISMISS_TIMER"

6 years agoMerge "camera: Add OIS data keys"
TreeHugger Robot [Mon, 22 Jan 2018 23:22:30 +0000 (23:22 +0000)]
Merge "camera: Add OIS data keys"

6 years agoMerge "Avoid processing the log event when there is no config."
TreeHugger Robot [Mon, 22 Jan 2018 23:14:53 +0000 (23:14 +0000)]
Merge "Avoid processing the log event when there is no config."

6 years agoMerge "Changed onGetScores() to return null instead of throwing exception."
TreeHugger Robot [Mon, 22 Jan 2018 22:46:22 +0000 (22:46 +0000)]
Merge "Changed onGetScores() to return null instead of throwing exception."

6 years agoMerge "Bring back the date!"
TreeHugger Robot [Mon, 22 Jan 2018 22:38:16 +0000 (22:38 +0000)]
Merge "Bring back the date!"

6 years agoMerge "WifiManager: mark WPS related API calls deprecated"
Oscar Shu [Mon, 22 Jan 2018 22:35:30 +0000 (22:35 +0000)]
Merge "WifiManager: mark WPS related API calls deprecated"

6 years agoMerge "Allow Recents in current user to access APIs in its child profile"
TreeHugger Robot [Mon, 22 Jan 2018 22:09:19 +0000 (22:09 +0000)]
Merge "Allow Recents in current user to access APIs in its child profile"

6 years agoMerge "Add the assisted dialing carrier config."
TreeHugger Robot [Mon, 22 Jan 2018 21:56:25 +0000 (21:56 +0000)]
Merge "Add the assisted dialing carrier config."

6 years agoMerge "Use encoder id as insecure DP encoder random seed"
Ricky Wai [Mon, 22 Jan 2018 21:47:38 +0000 (21:47 +0000)]
Merge "Use encoder id as insecure DP encoder random seed"

6 years agoMerge "Disable tuner"
TreeHugger Robot [Mon, 22 Jan 2018 21:47:18 +0000 (21:47 +0000)]
Merge "Disable tuner"

6 years agoMerge "Turn on new time zone picker flag by default."
Joachim Sauer [Mon, 22 Jan 2018 21:34:59 +0000 (21:34 +0000)]
Merge "Turn on new time zone picker flag by default."

6 years agoMerge "Fix NPE when creating remote animations"
TreeHugger Robot [Mon, 22 Jan 2018 21:21:44 +0000 (21:21 +0000)]
Merge "Fix NPE when creating remote animations"

6 years agoMerge "Fix up slice service listener management"
TreeHugger Robot [Mon, 22 Jan 2018 21:20:30 +0000 (21:20 +0000)]
Merge "Fix up slice service listener management"

6 years agoMerge "Atom: ScheduledJobStateChanged"
TreeHugger Robot [Mon, 22 Jan 2018 21:19:23 +0000 (21:19 +0000)]
Merge "Atom: ScheduledJobStateChanged"

6 years agoMerge "Wifi: Add scanning, activity time and API"
Siddharth Ray [Mon, 22 Jan 2018 21:11:59 +0000 (21:11 +0000)]
Merge "Wifi: Add scanning, activity time and API"

6 years agoMerge "Make various members private in PerformBackupTask."
Oscar Key [Mon, 22 Jan 2018 21:07:49 +0000 (21:07 +0000)]
Merge "Make various members private in PerformBackupTask."

6 years agoMerge "address carrier id api review feedback"
Chen Xu [Mon, 22 Jan 2018 20:52:16 +0000 (20:52 +0000)]
Merge "address carrier id api review feedback"

6 years agoMerge "Add PH flag for P power model"
TreeHugger Robot [Mon, 22 Jan 2018 20:34:44 +0000 (20:34 +0000)]
Merge "Add PH flag for P power model"

6 years agoMerge "camera2: Add support for logical camera"
Shuzhen Wang [Mon, 22 Jan 2018 20:30:15 +0000 (20:30 +0000)]
Merge "camera2: Add support for logical camera"

6 years agoMerge "Updating JavaDocs for more spans."
TreeHugger Robot [Mon, 22 Jan 2018 20:28:25 +0000 (20:28 +0000)]
Merge "Updating JavaDocs for more spans."

6 years agoMerge "Update comment for BATTERY_TIP_CONSTANTS"
Lei Yu [Mon, 22 Jan 2018 20:21:51 +0000 (20:21 +0000)]
Merge "Update comment for BATTERY_TIP_CONSTANTS"

6 years agoMerge "Add get-harmful-app-warning shell command"
Ben Gruver [Mon, 22 Jan 2018 20:17:50 +0000 (20:17 +0000)]
Merge "Add get-harmful-app-warning shell command"

6 years agoChanged onGetScores() to return null instead of throwing exception.
Felipe Leme [Mon, 22 Jan 2018 19:53:44 +0000 (11:53 -0800)]
Changed onGetScores() to return null instead of throwing exception.

Callers (Session and AFMShellCommand) already handle null (in fact, the
signature declares it as @Nullable), so there's no point on throwing a
runtime exception...

Bug: 70939974
Test: 'adb shell cmd autofill get fc_score half kale' when service APK was not
      implementing it.

Change-Id: I37da6cd13c40545626332c272759e797b5a25924

6 years agoMerge "Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd...
Android Build Merger (Role) [Mon, 22 Jan 2018 20:16:34 +0000 (20:16 +0000)]
Merge "Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91 am: 03eb67c287"

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91
Andreas Gampe [Mon, 22 Jan 2018 20:14:49 +0000 (20:14 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91
am: 03eb67c287

Change-Id: Ib3b8b14907253b3438588fda8b5059f61b5594cf

6 years agoMerge "Add pending system update info system APIs."
TreeHugger Robot [Mon, 22 Jan 2018 20:12:43 +0000 (20:12 +0000)]
Merge "Add pending system update info system APIs."

6 years agoCheck for surface validity to avoid native crash
Jorim Jaggi [Mon, 22 Jan 2018 16:03:59 +0000 (17:03 +0100)]
Check for surface validity to avoid native crash

If the surface gets destroyed, return -1 to indicate such that
the client can abort the animation, instead of crashing.

Test: With Launcher in multi-window
Change-Id: I4ab11557c40ed843a4c2e985a53cc2247b18b5fd

6 years agoMerge "Rename create/delete transform methods" am: 7ee26e72cf am: 5b71c4a0a5
Benedict Wong [Mon, 22 Jan 2018 20:03:48 +0000 (20:03 +0000)]
Merge "Rename create/delete transform methods" am: 7ee26e72cf am: 5b71c4a0a5
am: 5b3e788908

Change-Id: Ie07b0b608b3dfcbfc4228a15e26fe6f6559315f9

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0
Andreas Gampe [Mon, 22 Jan 2018 20:01:18 +0000 (20:01 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0
am: 878abd8e91

Change-Id: I862a822ef7600030f7b435fe9b9368961cf4694b

6 years agoMerge "Don't use user-tagged Uris in slice callbacks"
TreeHugger Robot [Mon, 22 Jan 2018 20:00:30 +0000 (20:00 +0000)]
Merge "Don't use user-tagged Uris in slice callbacks"

6 years agoMerge "Camera: codegen spec update"
Yin-Chia Yeh [Mon, 22 Jan 2018 19:55:20 +0000 (19:55 +0000)]
Merge "Camera: codegen spec update"

6 years agoMerge "Rename create/delete transform methods" am: 7ee26e72cf
Benedict Wong [Mon, 22 Jan 2018 19:53:15 +0000 (19:53 +0000)]
Merge "Rename create/delete transform methods" am: 7ee26e72cf
am: 5b71c4a0a5

Change-Id: I16bfb511ac2d6094e246f79d51fe4520d3e765cd

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader"
Andreas Gampe [Mon, 22 Jan 2018 19:48:28 +0000 (19:48 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader"
am: 940c0341f0

Change-Id: I0c9179b373040e7d4f54a5ad9835d14624012999

6 years agoMerge "Rename create/delete transform methods"
Benedict Wong [Mon, 22 Jan 2018 19:44:43 +0000 (19:44 +0000)]
Merge "Rename create/delete transform methods"
am: 7ee26e72cf

Change-Id: I76576d1f3193fcbb3680fb29893cf696ea7a41fe

6 years agoMerge "Skip user restriction tests when synchronizing PDB"
TreeHugger Robot [Mon, 22 Jan 2018 19:37:50 +0000 (19:37 +0000)]
Merge "Skip user restriction tests when synchronizing PDB"

6 years agoAdd the assisted dialing carrier config.
Eric Erfanian [Wed, 17 Jan 2018 23:27:39 +0000 (15:27 -0800)]
Add the assisted dialing carrier config.

This is used to activate the feature and show the settings.

Remove @hide from the public APIS.

Design doc:
go/assisted-dialing-dd-v1

Test: manual
Bug: 63934304
Change-Id: I09ea52720bf2439537e2f4ad32afb14f5df25f71

6 years agoMerge "Unhide printing policy API."
Vladislav Kuzkokov [Mon, 22 Jan 2018 19:16:48 +0000 (19:16 +0000)]
Merge "Unhide printing policy API."

6 years agoMerge "Use generic native routing event handler in MediaRecorder."
TreeHugger Robot [Mon, 22 Jan 2018 19:12:42 +0000 (19:12 +0000)]
Merge "Use generic native routing event handler in MediaRecorder."

6 years agoFix NPE when creating remote animations
Jorim Jaggi [Mon, 22 Jan 2018 19:01:21 +0000 (20:01 +0100)]
Fix NPE when creating remote animations

Test: go/wm-smoke
Bug: 72302602
Change-Id: Ifbae370ea559a9fda5ca442ceef0f6db8229466b

6 years agoMerge "Add StaticLayoutPerfTest for drawing"
TreeHugger Robot [Mon, 22 Jan 2018 19:07:30 +0000 (19:07 +0000)]
Merge "Add StaticLayoutPerfTest for drawing"

6 years agoMerge "Use proper user id."
Andrew Sapperstein [Mon, 22 Jan 2018 18:59:10 +0000 (18:59 +0000)]
Merge "Use proper user id."

6 years agoUse encoder id as insecure DP encoder random seed
Ricky Wai [Mon, 22 Jan 2018 18:54:13 +0000 (18:54 +0000)]
Use encoder id as insecure DP encoder random seed

Originally all apps that use insecure DP encoder will generate
the same result in IRR encoder as IRR is purely rely on random generator,
hence all apps will return the same IRR result in encodeBoolean() for
insecure encoder.

Now we change insecure encoder to use encoder id as random generator seed,
so different app will have different deterministic insecure encoder result.

Also, this CL fixes some existing failed tests.

Bug: 63908748
Test: runtest frameworks-services -p com.android.server.net.watchlist PASS
Test: bit FrameworksPrivacyLibraryTests:android.privacy.RapporEncoderTest PASS
Test: bit FrameworksPrivacyLibraryTests:android.privacy.LongitudinalReportingEncoderTest PASS
Change-Id: Iab84a2932d8f84da1dd2f880d2c1567dcbf1e090

6 years agoWifi: Add scanning, activity time and API
Siddharth Ray [Thu, 14 Dec 2017 23:15:28 +0000 (15:15 -0800)]
Wifi: Add scanning, activity time and API

Addition of Wifi Scanning time to Aggregate BatteryStats

Addition of Wifi Active time to BatteryStats (aggregate)

Addition of API to obtain Wifi battery stats for power drain diagnostics.

BUG:67213886

Test: Manual
Change-Id: I4f4c27ba839017d44feca685a4fae2f130d31765

6 years agoUpdating JavaDocs for more spans.
Florina Muntenescu [Sun, 21 Jan 2018 11:49:20 +0000 (11:49 +0000)]
Updating JavaDocs for more spans.

Test: N/A
Bug:72092996
Change-Id: I2706465d3d61117b0b5b9e6a013f213988c92521

6 years agoMerge "Debug: Add attachJvmtiAgent with classloader"
Treehugger Robot [Mon, 22 Jan 2018 18:22:07 +0000 (18:22 +0000)]
Merge "Debug: Add attachJvmtiAgent with classloader"

6 years agoMerge "Add broadcast action for carrier setup"
Qingxi Li [Mon, 22 Jan 2018 18:18:15 +0000 (18:18 +0000)]
Merge "Add broadcast action for carrier setup"

6 years agoMerge "Expand error codes in messages"
Fyodor Kupolov [Mon, 22 Jan 2018 18:04:30 +0000 (18:04 +0000)]
Merge "Expand error codes in messages"

6 years agoMerge "Add setting/experiment for small battery devices to have all forced app standb...
Nancy Zheng [Mon, 22 Jan 2018 17:59:35 +0000 (17:59 +0000)]
Merge "Add setting/experiment for small battery devices to have all forced app standby enabled except for when the device is charging."

6 years agoMerge "Rename create/delete transform methods"
Benedict Wong [Mon, 22 Jan 2018 17:57:15 +0000 (17:57 +0000)]
Merge "Rename create/delete transform methods"

6 years agoMerge "Screenshots - add edit action and remove delete."
TreeHugger Robot [Mon, 22 Jan 2018 17:55:13 +0000 (17:55 +0000)]
Merge "Screenshots - add edit action and remove delete."

6 years agoDisable tuner
Jason Monk [Mon, 22 Jan 2018 17:54:15 +0000 (12:54 -0500)]
Disable tuner

 - Turn off the affordance that enables the tuner
 - Bump the tuner version db and disable the tuner

Test: manual
Change-Id: Id2d2a4005ff88ca94c7abed5f4a6b3c71d46b9ef

6 years agoMerge "Unhide audio offload for android.media.AudioTrack"
Jean-Michel Trivi [Mon, 22 Jan 2018 17:29:01 +0000 (17:29 +0000)]
Merge "Unhide audio offload for android.media.AudioTrack"

6 years agoMerge "Added @NonNull to Instrumentation.startActivitySync"
TreeHugger Robot [Mon, 22 Jan 2018 17:02:28 +0000 (17:02 +0000)]
Merge "Added @NonNull to Instrumentation.startActivitySync"

6 years agoMerge "Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet"
Ricky Wai [Mon, 22 Jan 2018 16:51:24 +0000 (16:51 +0000)]
Merge "Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet"

6 years agoMerge "QS visual updates for P"
TreeHugger Robot [Mon, 22 Jan 2018 16:48:59 +0000 (16:48 +0000)]
Merge "QS visual updates for P"

6 years agoMerge "Initial support for camera cutout in CollapsedStatusBar"
TreeHugger Robot [Mon, 22 Jan 2018 16:39:25 +0000 (16:39 +0000)]
Merge "Initial support for camera cutout in CollapsedStatusBar"

6 years agoMerge "base: core: java: android: security: keymaster: Synced with updates to keymast...
Allen Webb [Mon, 22 Jan 2018 16:29:59 +0000 (16:29 +0000)]
Merge "base: core: java: android: security: keymaster: Synced with updates to keymaster HAL."

6 years agoBring back the date!
Evan Laird [Mon, 22 Jan 2018 16:29:12 +0000 (11:29 -0500)]
Bring back the date!

QS shows the date once more. This time it'll be on the top, just next to
the time. Tapping on the date will bring the user to alarms for now
because there is no public AlarmClock action that will bring the user to
the main clock tab in DeskClock

Test: visual
Change-Id: I4d0eb049e98d4bea0f59ef0a7b7da17907c52b67
Fixes: 71357632

6 years agoFix up slice service listener management
Jason Monk [Mon, 22 Jan 2018 01:54:00 +0000 (20:54 -0500)]
Fix up slice service listener management

 - Make them indexed off binders so they can be tracked properly
 - Add death listener to update pinned state when a listener dies.

Test: cts + uiservicestests
Bug: 68378571
Change-Id: Ia80f9354e1a4b13790721e28da6c913e8cd311b2

6 years agoDon't use user-tagged Uris in slice callbacks
Jason Monk [Sun, 21 Jan 2018 22:11:57 +0000 (17:11 -0500)]
Don't use user-tagged Uris in slice callbacks

Test: uiservicestests
Bug: 68751119
Change-Id: I440400b20bb6d89d5e066efab420a6afee0ad123

6 years agoMake various members private in PerformBackupTask.
Oscar Key [Mon, 22 Jan 2018 15:16:06 +0000 (15:16 +0000)]
Make various members private in PerformBackupTask.

Test: None. No functional changes.
Change-Id: Ia35bdd7637887b4c02a71e96e9037842078fdba4

6 years agoScreenshots - add edit action and remove delete.
Alison Cichowlas [Sat, 20 Jan 2018 00:16:31 +0000 (19:16 -0500)]
Screenshots - add edit action and remove delete.

Test: Manually verified new notification action.
Bug: 65386835
Change-Id: Ia71ffc202970e32062d4c3561db9ab1da9137bf2

6 years agoTurn on new time zone picker flag by default.
Joachim Sauer [Mon, 22 Jan 2018 15:52:26 +0000 (15:52 +0000)]
Turn on new time zone picker flag by default.

Changes the default value of the settings_zone_picker_v2 to true to
allow more wide spread testing of the new zone picker.

Bug: 62255208
Test: manual
Change-Id: I6755a527ffa38835c126e4598be37b1d7035d0df

6 years agoAllow Recents in current user to access APIs in its child profile
Tony Mak [Mon, 22 Jan 2018 15:34:46 +0000 (15:34 +0000)]
Allow Recents in current user to access APIs in its child profile

At this point, we just need to whitelist Recents for these:
isDeviceLocked
loadTaskDescriptionIcon
getActivityInfo

However, I think in the long run, it may need more than that, so I
modified AMS.handleIncomingUser accordingly. PKMS does not use
handleIncomingUser and hence isRecentsAccessingChildProfiles is
introduced there.

Fix: 71722266

Test: Manual
1. Setup work profile
2. Launch some work and personal apps
3. Swipe up to see the new Recents
3. Can see recent apps are rendered correctly with icons badged
   accordingly.
4. Can switch to the task
5. Can remove task

Change-Id: I56b5f6091c232fc8327e01de472467d630570030

6 years agoMerge "Disable IpConnectivityMetricsTest."
Lorenzo Colitti [Mon, 22 Jan 2018 15:09:57 +0000 (15:09 +0000)]
Merge "Disable IpConnectivityMetricsTest."

6 years agoMerge "Attempt to fix ANR's"
TreeHugger Robot [Mon, 22 Jan 2018 15:09:21 +0000 (15:09 +0000)]
Merge "Attempt to fix ANR's"

6 years agoAdded @NonNull to Instrumentation.startActivitySync
Wale Ogunwale [Mon, 22 Jan 2018 14:54:48 +0000 (06:54 -0800)]
Added @NonNull to Instrumentation.startActivitySync

Per API council recommendation.

Change-Id: Ib45381278a2bf7f3d1d2c68b84422a645bd706e3
Fixes: 71584604
Test: N/A

6 years agoMerge "Revert "Add accessibility support for tooltips""
Artem Iglikov [Mon, 22 Jan 2018 13:56:10 +0000 (13:56 +0000)]
Merge "Revert "Add accessibility support for tooltips""

6 years agoMerge "Revert "Reject apks targeting deprecated sdk""
Przemyslaw Szczepaniak [Mon, 22 Jan 2018 13:47:15 +0000 (13:47 +0000)]
Merge "Revert "Reject apks targeting deprecated sdk""

6 years agoSkip user restriction tests when synchronizing PDB
Andrew Scull [Fri, 19 Jan 2018 16:56:22 +0000 (16:56 +0000)]
Skip user restriction tests when synchronizing PDB

Some legacy user restrictions are tests when update the OEM lock bit in
the persistent data block. Those tests should be skipped when
synchronising the bit to the HAl's authoritative state. Before this
change, opening developer options on a freshly flashed and wipe device
would raise a SecurityException.

Test: Open developer options on a device using the vendor lock
Change-Id: I1481c9e9af3c4d2127ef606a797d3cf94b7b1ee5

6 years agoMerge "Implement binder native side for IArcVideoBridge"
TreeHugger Robot [Mon, 22 Jan 2018 12:42:53 +0000 (12:42 +0000)]
Merge "Implement binder native side for IArcVideoBridge"

6 years agoDisable IpConnectivityMetricsTest.
Lorenzo Colitti [Mon, 22 Jan 2018 03:50:58 +0000 (12:50 +0900)]
Disable IpConnectivityMetricsTest.

This test has been failing for a while, and we are do not have
bandwidth to fix it during the next week.

Test: make -j64 FrameworksNetTests RUN_ERROR_PRONE=true
Test: atest FrameworksNetTests:IpConnectivityMetricsTest
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/IpConnectivityMetricsTest.java
Change-Id: I59d73c1773e160a726996f3ab4ad20312decc127

6 years agoAttempt to fix ANR's
Jorim Jaggi [Mon, 22 Jan 2018 11:49:04 +0000 (12:49 +0100)]
Attempt to fix ANR's

There seems to be some cases where we change the app visibility
but somehow we miss setting the client visiblity. This usually
shouldn't happen: Client visibility gets set to visible already
in AppWindowContainerController.setVisibility if the token is
hidden or the activity is stopped. However, there seems to be some
edge case where we don't update the client visibility to true.

We started observing monkey ANR's with
I8deb6a97ca1c3d8f4a70a6e045f45a6bc16604bb, but the idea of that CL
was to only change the behavior when becoming invisible, i.e.
defer client visibility until animation is done. This CL reverts
the opposite path back to the original behavior when becoming
visible, most probably fixing the client visibility / AWT.mHidden
inconsistency.

I'm not entirely sure why missing setting client visibility has
caused ANR's, but seems likely given the ANR message:

"Input dispatching timed out (Waiting because no window has focus
but there is a focused application that may eventually add a
window when it finishes starting up.)"

And the client visibility / AWT.mHidden inconsistency is observed
in the window manager dump during every single ANR.

Test: go/wm-smoke
Test: Hope for the best
Change-Id: Ie0c51fa5f3347ba1a2a4652188265d8fb69e6e11
Fixes: 72160186

6 years agoFix dumpsys network_watchlist NPE when watchlist xml is not ready yet
Ricky Wai [Fri, 19 Jan 2018 23:54:12 +0000 (23:54 +0000)]
Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet

Bug: 63908748
Test: dumpsys network_watchlist won't cause NPE anymore
Change-Id: I4e15516cc3b0efa113a00acc90179f7008fc1525

6 years agoRevert "Reject apks targeting deprecated sdk"
Przemyslaw Szczepaniak [Fri, 19 Jan 2018 11:16:16 +0000 (11:16 +0000)]
Revert "Reject apks targeting deprecated sdk"

This reverts commit ab223112d1a163e641e7c1adb6429e27e37675a6.

Reason for revert: Android P will only show a warning dialog for
deprecated apks.

Test: -
Change-Id: Iff792b9d371cffbb0ba0d2ba53a4758a9779b1c7

6 years agoImplement binder native side for IArcVideoBridge
Hirokazu Honda [Tue, 16 Jan 2018 07:11:28 +0000 (16:11 +0900)]
Implement binder native side for IArcVideoBridge

Bug: 63828247
Test: C2VDAComponent_test
Change-Id: I9b17c91512c32ec3119ff9420cc96c17027b2b8b

6 years agoRevert "Add accessibility support for tooltips"
Artem Iglikov [Sun, 21 Jan 2018 13:04:41 +0000 (13:04 +0000)]
Revert "Add accessibility support for tooltips"

This reverts commit 4365cef6ddca2503524853a62655e226636831de.

Reason for revert: Cannot access views by resource-id via uiautomator

Bug: 72271943

Change-Id: I5e07a8c5775aa79df0c240b2133daaf62f6d460b

6 years agoMerge "Add more information to incident header. Especially add config keys to check...
TreeHugger Robot [Mon, 22 Jan 2018 09:20:52 +0000 (09:20 +0000)]
Merge "Add more information to incident header. Especially add config keys to check if the report is uploadable."

6 years agoMerge "Policy transparency for mandatory backups."
TreeHugger Robot [Mon, 22 Jan 2018 09:17:50 +0000 (09:17 +0000)]
Merge "Policy transparency for mandatory backups."

6 years agoMerge "Add status/navigation bar existing check before create input consumer."
TreeHugger Robot [Mon, 22 Jan 2018 08:24:27 +0000 (08:24 +0000)]
Merge "Add status/navigation bar existing check before create input consumer."

6 years agoMerge "Check attached to window before calling addTransientView."
TreeHugger Robot [Mon, 22 Jan 2018 08:11:17 +0000 (08:11 +0000)]
Merge "Check attached to window before calling addTransientView."

6 years agoAdd more information to incident header. Especially add config keys
Yi Jin [Wed, 10 Jan 2018 19:34:26 +0000 (11:34 -0800)]
Add more information to incident header. Especially add config keys
to check if the report is uploadable.

Move incidentheader.proto to libincident so statds is able to include a lite
proto class for incident header.

Change IncidentReportArgs to add the proto object instead of serialized
bytes to prevent caller gives meaningless data.

Bug: 70241842
Test: push config to statsd and verify incidentd generate the report
with correct header.

Change-Id: If95b655be71047b019b229e5903a08f3c21a1f29

6 years agocamera2: Add support for logical camera
Shuzhen Wang [Mon, 27 Nov 2017 01:24:56 +0000 (17:24 -0800)]
camera2: Add support for logical camera

- Add physicalCameraId in OutputConfiguration
- Add static metadata for logical camera

Test: LogicalCameraDeviceTest CTS test
Bug: 64691172
Change-Id: I1b3ea005796d07e361cc3d1b04aa6e5ca26643f4

6 years agoMerge "Remove unneeded reference to SkRasterizer"
TreeHugger Robot [Sun, 21 Jan 2018 23:04:21 +0000 (23:04 +0000)]
Merge "Remove unneeded reference to SkRasterizer"

6 years agoRemove unneeded reference to SkRasterizer
Leon Scroggins III [Sun, 21 Jan 2018 21:03:04 +0000 (16:03 -0500)]
Remove unneeded reference to SkRasterizer

Bug: skbug.com/7500
Test: No change in behavior, no new tests.

Should fix the Skia roll.

Change-Id: I880eb93bf9c1b8bb29649b3dfd1b82e2c3178e78

6 years agoMake StatsdDogfood build again.
Yao Chen [Sun, 21 Jan 2018 20:50:18 +0000 (12:50 -0800)]
Make StatsdDogfood build again.

Test: manual
Change-Id: I14614c060cf0bfb49809315b3ef0482d8a64a1a5

6 years agoMerge "Add tests for NotificationGutsManager"
TreeHugger Robot [Sun, 21 Jan 2018 19:35:21 +0000 (19:35 +0000)]
Merge "Add tests for NotificationGutsManager"

6 years agoMerge "Update output chooser for calls"
TreeHugger Robot [Sun, 21 Jan 2018 19:30:26 +0000 (19:30 +0000)]
Merge "Update output chooser for calls"

6 years agoMerge "No camera for idle uids - framework"
TreeHugger Robot [Sun, 21 Jan 2018 19:27:26 +0000 (19:27 +0000)]
Merge "No camera for idle uids - framework"

6 years agoMerge "Revert "Revert "Slices permission model"""
Jason Monk [Sun, 21 Jan 2018 18:53:04 +0000 (18:53 +0000)]
Merge "Revert "Revert "Slices permission model"""

6 years agoUse proper user id.
Andrew Sapperstein [Sun, 21 Jan 2018 17:45:05 +0000 (09:45 -0800)]
Use proper user id.

Responding to comments from previous review that came in
post submit.

Bug: 6370335370640329
Test: manual
Change-Id: I0565683472f7c9597db8ec314cb374e550ec2353

6 years agoRevert "Revert "Slices permission model""
Jason Monk [Sun, 21 Jan 2018 15:10:35 +0000 (10:10 -0500)]
Revert "Revert "Slices permission model""

This reverts commit 1214c878a839d99b1b29c8c31fc93af2ba949338.

Test: boot device
Bug: 72270082
Bug: 68751119
Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742

6 years agoMerge changes from topic "multipath-datausage"
Lorenzo Colitti [Sun, 21 Jan 2018 16:07:29 +0000 (16:07 +0000)]
Merge changes from topic "multipath-datausage"

* changes:
  Add the defaultNetwork element to the netstats.proto.
  Add getDefaultNetwork to the NetworkStats public API.

6 years agoMerge "Revert "Slices permission model""
TreeHugger Robot [Sun, 21 Jan 2018 13:14:37 +0000 (13:14 +0000)]
Merge "Revert "Slices permission model""

6 years agoRevert "Slices permission model"
Artem Iglikov [Sun, 21 Jan 2018 10:43:48 +0000 (10:43 +0000)]
Revert "Slices permission model"

This reverts commit f762496b7f51f7b00bcb624ecac94a0d72d0b711.

Reason for revert: continuous crash, blocks LON from working on master

Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore
Bug: 72270082
Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01

6 years agoNo camera for idle uids - framework
Svet Ganov [Sat, 13 Jan 2018 06:08:40 +0000 (22:08 -0800)]
No camera for idle uids - framework

If a UID is idle (being in the background for more than
cartain amount of time) it should not be able to use the
camera. If the UID becomes idle we generate an eror and
close the cameras for this UID. If an app in an idle UID
tries to use the camera we immediately generate an error.
Since apps already should handle these errors it is safe
to apply this policy to all apps to protect user privacy.

Test: Pass - cts-tradefed run cts -m CtsCameraTestCases
      Added - CameraTest#testCameraAccessForIdleUid

Change-Id: If6ad1662f2af6592b6aca1aeee4bd481389b5e00

6 years agoMerge "Slices permission model"
TreeHugger Robot [Sun, 21 Jan 2018 03:31:27 +0000 (03:31 +0000)]
Merge "Slices permission model"

6 years agoMerge "Send valid and invalid rotation proposal changes to SysUI"
Mike Digman [Sun, 21 Jan 2018 02:23:43 +0000 (02:23 +0000)]
Merge "Send valid and invalid rotation proposal changes to SysUI"

6 years agoSlices permission model
Jason Monk [Wed, 17 Jan 2018 22:50:29 +0000 (17:50 -0500)]
Slices permission model

 - Launcher/assistant get access to all slices
 - Apps with uri access to access a specific slice
 - Apps without access get a permission granting slice
 - If the user authorizes access to the slice for the app
   then the app will be granted access to the app's slices
   (this happens through a temp grant in the service, and a
   full uri grant from the app the next time it binds)
 - Add a hint that apps to add to allow them to return different
   slices depending on the caller, this allows custom permission
   checks.

Test: runtest --path frameworks/base/services/tests/uiservices
Bug: 68751119
Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214

6 years agoMerge "Update SysUI tuner so rotation button can be added/removed"
Mike Digman [Sun, 21 Jan 2018 00:56:44 +0000 (00:56 +0000)]
Merge "Update SysUI tuner so rotation button can be added/removed"