OSDN Git Service

android-x86/frameworks-base.git
6 years agoUpdate comments and bump batterystats version to 30.
zhouwenjie [Thu, 11 Jan 2018 23:21:27 +0000 (15:21 -0800)]
Update comments and bump batterystats version to 30.

Bug: 70808931
Bug: 31866283
Test: build Android
Change-Id: I8238c3135e79442ede97b87933dab85d8ff71134

6 years agoMerge "Implement harmful app warning at activity launch"
Ben Gruver [Thu, 11 Jan 2018 22:20:38 +0000 (22:20 +0000)]
Merge "Implement harmful app warning at activity launch"

6 years agoMerge "Log attribution to statsd for pushed atoms."
TreeHugger Robot [Thu, 11 Jan 2018 21:57:40 +0000 (21:57 +0000)]
Merge "Log attribution to statsd for pushed atoms."

6 years agoMerge "make statsd run in its own uid"
TreeHugger Robot [Thu, 11 Jan 2018 21:53:00 +0000 (21:53 +0000)]
Merge "make statsd run in its own uid"

6 years agoMerge "A11y support for titles of "panes""
Phil Weaver [Thu, 11 Jan 2018 21:36:44 +0000 (21:36 +0000)]
Merge "A11y support for titles of "panes""

6 years agoMerge "Add PhoneWindowManager proto definitions"
TreeHugger Robot [Thu, 11 Jan 2018 21:31:08 +0000 (21:31 +0000)]
Merge "Add PhoneWindowManager proto definitions"

6 years agoMerge "Improve correctness of SkiaCanvas::drawLayoutOnPath"
TreeHugger Robot [Thu, 11 Jan 2018 21:28:25 +0000 (21:28 +0000)]
Merge "Improve correctness of SkiaCanvas::drawLayoutOnPath"

6 years agoMerge "Add new config for number of physical SIM slots on the device."
TreeHugger Robot [Thu, 11 Jan 2018 21:21:36 +0000 (21:21 +0000)]
Merge "Add new config for number of physical SIM slots on the device."

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1...
Greg Hackmann [Thu, 11 Jan 2018 21:15:31 +0000 (21:15 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev am: f523fe4fa7
am: 2f2cad50d5

Change-Id: Ic27001d02c252bbddc8d4778290b1d542dd9d374

6 years agoMerge "Overcome disconnect during oem override" am: 5e093d997a am: 961cc1867b
Badhri Jagan Sridharan [Thu, 11 Jan 2018 21:06:11 +0000 (21:06 +0000)]
Merge "Overcome disconnect during oem override" am: 5e093d997a am: 961cc1867b
am: afd07cb040

Change-Id: I7ae6b814093c2987d890688aefae53559072c771

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
Greg Hackmann [Thu, 11 Jan 2018 21:04:54 +0000 (21:04 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
am: f523fe4fa7

Change-Id: Ic4f2a05791a9ae375bc0acb220c48e78f7d6cea1

6 years agoMerge "Overcome disconnect during oem override" am: 5e093d997a
Badhri Jagan Sridharan [Thu, 11 Jan 2018 20:57:26 +0000 (20:57 +0000)]
Merge "Overcome disconnect during oem override" am: 5e093d997a
am: 961cc1867b

Change-Id: I2e34b0795448cee1aca306202f61e491c80bd78e

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev
TreeHugger Robot [Thu, 11 Jan 2018 20:50:20 +0000 (20:50 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks" into oc-mr1-dev

6 years agoMerge "Overcome disconnect during oem override"
Badhri Jagan Sridharan [Thu, 11 Jan 2018 20:49:49 +0000 (20:49 +0000)]
Merge "Overcome disconnect during oem override"
am: 5e093d997a

Change-Id: Ie6b379df14d67123f5644b8febeae4a7f1c22b0e

6 years agoMerge "Concise toString for A11yEvent"
TreeHugger Robot [Thu, 11 Jan 2018 20:38:49 +0000 (20:38 +0000)]
Merge "Concise toString for A11yEvent"

6 years agoImplement harmful app warning at activity launch
Ben Gruver [Thu, 7 Dec 2017 21:45:08 +0000 (13:45 -0800)]
Implement harmful app warning at activity launch

Bug: 63909431
Test: manual

Change-Id: I8a5497421cb8130af8cdd5129b0f6e1707a01e36

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 20:05:05 +0000 (20:05 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev am: d29f6f12f5
am: 2175e526a9

Change-Id: I452e8da39e029d69ba8b1be79e54c2e866946b5b

6 years agomake statsd run in its own uid
Yao Chen [Tue, 9 Jan 2018 18:33:15 +0000 (10:33 -0800)]
make statsd run in its own uid

+ Assign permission android.permission.STATSCOMPANION to statsd
+ Fixes in StatsCompanionService to allow statsd to get uid mapping

Test: manual
Change-Id: I3e6ca79eefed7f93a4588578c156321c4c278fd3

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 19:52:38 +0000 (19:52 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev
am: d29f6f12f5

Change-Id: Id99d2c524cb4080ebecff571a4117c0b319b70e8

6 years agoImprove correctness of SkiaCanvas::drawLayoutOnPath
Stan Iliev [Wed, 10 Jan 2018 21:06:04 +0000 (16:06 -0500)]
Improve correctness of SkiaCanvas::drawLayoutOnPath

Align glyph to a tangent touching SkPath in the midle of the
symbol. Previously wrong tangent crossing the path at the
beginning of the glyph was used.

Test: Ran the test app attached to the bug
Bug: 71525360
Change-Id: I310394d11e185de314f66a6b332f804188e42ed9

6 years agoMerge "Add support for notification of LTE to WIFI handover for video calls." into...
Tyler Gunn [Thu, 11 Jan 2018 19:43:12 +0000 (19:43 +0000)]
Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev

6 years agoAdd PhoneWindowManager proto definitions
Vishnu Nair [Thu, 11 Jan 2018 16:42:54 +0000 (08:42 -0800)]
Add PhoneWindowManager proto definitions

Bug: 64831661

Test: verified proto dump from winscope
Test: atest FrameworksServicesTests:com.android.server.policy.PhoneWindowManagerTest
Test: atest FrameworksServicesTests:com.android.server.policy.PhoneWindowManagerLayoutTest

Change-Id: I7b0f081d15cfc63d7565431b672bd8be81583aa5

6 years agoMerge "Allow forcing target SDK to current dev"
TreeHugger Robot [Thu, 11 Jan 2018 19:14:10 +0000 (19:14 +0000)]
Merge "Allow forcing target SDK to current dev"

6 years agoMerge "Use the public OPSTR of the BIND_ACCESSIBILITY_SERVICE app op."
Peter Visontay [Thu, 11 Jan 2018 19:12:53 +0000 (19:12 +0000)]
Merge "Use the public OPSTR of the BIND_ACCESSIBILITY_SERVICE app op."

6 years agoMerge "Wire up zram setting, system property"
Daniel Colascione [Thu, 11 Jan 2018 19:03:46 +0000 (19:03 +0000)]
Merge "Wire up zram setting, system property"

6 years agoMerge "Move signing data into SigningDetails container"
TreeHugger Robot [Thu, 11 Jan 2018 19:01:13 +0000 (19:01 +0000)]
Merge "Move signing data into SigningDetails container"

6 years agoMerge "Update DPMS to push active admins info to UsageStatsService."
Sudheer Shanka [Thu, 11 Jan 2018 18:45:15 +0000 (18:45 +0000)]
Merge "Update DPMS to push active admins info to UsageStatsService."

6 years agoMerge "Update statsd's user/group from root to system to avoid selinux policy violation"
TreeHugger Robot [Thu, 11 Jan 2018 18:33:30 +0000 (18:33 +0000)]
Merge "Update statsd's user/group from root to system to avoid selinux policy violation"

6 years agoMerge "Add DISALLOW_CONFIG_BRIGHTNESS."
TreeHugger Robot [Thu, 11 Jan 2018 18:32:34 +0000 (18:32 +0000)]
Merge "Add DISALLOW_CONFIG_BRIGHTNESS."

6 years agoMerge "Add OWNERS for Network Watchlist services"
Ricky Wai [Thu, 11 Jan 2018 18:14:59 +0000 (18:14 +0000)]
Merge "Add OWNERS for Network Watchlist services"

6 years agoMerge "Add EuiccCardManager and EuiccCardController."
Jiuyu Sun [Thu, 11 Jan 2018 18:09:40 +0000 (18:09 +0000)]
Merge "Add EuiccCardManager and EuiccCardController."

6 years agoMerge "Overcome disconnect during oem override"
Badhri Jagan Sridharan [Thu, 11 Jan 2018 17:53:11 +0000 (17:53 +0000)]
Merge "Overcome disconnect during oem override"

6 years agoA11y support for titles of "panes"
Phil Weaver [Thu, 4 Jan 2018 18:04:37 +0000 (10:04 -0800)]
A11y support for titles of "panes"

Panes are a distinct portion of a window. Adding APIs to
support this concept.

Bug: 62231686
Test: Adding a new CTS test to verify that this value is
communicated properly to accessibility services.

Change-Id: I6edd08ec90e40640e71f5a3df292e8f15d5bcda4

6 years agoLog attribution to statsd for pushed atoms.
Yangster-mac [Sat, 6 Jan 2018 06:30:49 +0000 (22:30 -0800)]
Log attribution to statsd for pushed atoms.

Will avoid allocating temp objects in a following CL after the new StatsLog API is in.

Test: all statsd unit test passed.
Change-Id: Id5f6a908d9d42732d83d9985b1b34b29230a7f20

6 years agoMerge "Allow custom keyguard transient message"
Lucas Dupin [Thu, 11 Jan 2018 17:23:59 +0000 (17:23 +0000)]
Merge "Allow custom keyguard transient message"

6 years agoMerge "Bluetooth in band ring"
Joseph Pirozzo [Thu, 11 Jan 2018 17:16:24 +0000 (17:16 +0000)]
Merge "Bluetooth in band ring"

6 years agoMerge "Apply IDumpstateListener changes"
TreeHugger Robot [Thu, 11 Jan 2018 17:09:44 +0000 (17:09 +0000)]
Merge "Apply IDumpstateListener changes"

6 years agoMerge "Dispatch DisplayCutout from DisplayAdapter"
TreeHugger Robot [Thu, 11 Jan 2018 16:36:31 +0000 (16:36 +0000)]
Merge "Dispatch DisplayCutout from DisplayAdapter"

6 years agoMerge "Allow IME windows to use light navigation bar"
TreeHugger Robot [Thu, 11 Jan 2018 16:02:25 +0000 (16:02 +0000)]
Merge "Allow IME windows to use light navigation bar"

6 years agoMerge "Add WindowContainer proto definitions"
TreeHugger Robot [Thu, 11 Jan 2018 15:30:00 +0000 (15:30 +0000)]
Merge "Add WindowContainer proto definitions"

6 years agoMerge "Pause activity when making visible from stopped state."
Bryce Lee [Thu, 11 Jan 2018 15:27:10 +0000 (15:27 +0000)]
Merge "Pause activity when making visible from stopped state."

6 years agoMerge "Allow modifiers to specify windowing mode and preferred display."
Bryce Lee [Thu, 11 Jan 2018 15:26:45 +0000 (15:26 +0000)]
Merge "Allow modifiers to specify windowing mode and preferred display."

6 years agoDispatch DisplayCutout from DisplayAdapter
Adrian Roos [Wed, 3 Jan 2018 17:43:27 +0000 (18:43 +0100)]
Dispatch DisplayCutout from DisplayAdapter

Adds a config resource to configure the main display's cutout and
dispatches it from the LocalDisplayAdapter.

WindowManager's DisplayContent then transforms it to match the current
rotation.

Also fixes an issue in EmulatedDisplayCutout where the Path was never
reset and changes the color to black. Also fixes the RoundedCorners
overlay such that it can layout within the cutout area.

Test: atest CoordinateTransformsTest DisplayContentTests
Bug: 65689439
Change-Id: If39c8ea3cb55c761517f270dcca292682c0918ad

6 years agoWire up zram setting, system property
Daniel Colascione [Tue, 9 Jan 2018 03:10:36 +0000 (19:10 -0800)]
Wire up zram setting, system property

The experiment framework toggles the system setting, which manipulates
the system property that init reads during boot to determine whether
we should enable zram.

Test: manual
Change-Id: I4b4f1b1673a5aa5e7f721c7dec7ebe3ea7908af2

6 years agoMerge "Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP"."
TreeHugger Robot [Thu, 11 Jan 2018 13:30:05 +0000 (13:30 +0000)]
Merge "Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP"."

6 years agoMerge changes I47ccfa99,I5db1de3e am: 08498c32f4 am: 03f3294103
Erik Kline [Thu, 11 Jan 2018 12:52:19 +0000 (12:52 +0000)]
Merge changes I47ccfa99,I5db1de3e am: 08498c32f4 am: 03f3294103
am: 805104f40f

Change-Id: Ic774b944238d6df07511df8e467d66cefcd4fa81

6 years agoMerge changes I47ccfa99,I5db1de3e am: 08498c32f4
Erik Kline [Thu, 11 Jan 2018 12:43:38 +0000 (12:43 +0000)]
Merge changes I47ccfa99,I5db1de3e am: 08498c32f4
am: 03f3294103

Change-Id: I311f6c299daf1c8d21731187d8e78e55c5767564

6 years agoMerge changes I47ccfa99,I5db1de3e
Erik Kline [Thu, 11 Jan 2018 12:31:31 +0000 (12:31 +0000)]
Merge changes I47ccfa99,I5db1de3e
am: 08498c32f4

Change-Id: I8077e06fc9eeccbb776a3b09a117c66eb9074140

6 years agoMerge changes I47ccfa99,I5db1de3e
Treehugger Robot [Thu, 11 Jan 2018 11:33:30 +0000 (11:33 +0000)]
Merge changes I47ccfa99,I5db1de3e

* changes:
  Extract DNS setting logic into DnsManager class
  Add minimal test for setting DNS properties

6 years agoRename ownership transfer related constants from "*OWNER" to "*OWNERSHIP".
arangelov [Thu, 11 Jan 2018 11:26:36 +0000 (11:26 +0000)]
Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP".

Change-Id: I70180c66d546521c95488bfbebed1b03fe69422c
Test: None

6 years agoMerge "Call PROFILE/DEVICE_OWNER_CHANGED broadcast and onTransferCompleted callback...
Antoan Angelov [Thu, 11 Jan 2018 11:18:05 +0000 (11:18 +0000)]
Merge "Call PROFILE/DEVICE_OWNER_CHANGED broadcast and onTransferCompleted callback upon a successful transfer."

6 years agoMerge "Add virtual dtor for virtual classes"
TreeHugger Robot [Thu, 11 Jan 2018 10:31:24 +0000 (10:31 +0000)]
Merge "Add virtual dtor for virtual classes"

6 years agoExtract DNS setting logic into DnsManager class
Erik Kline [Wed, 13 Dec 2017 10:40:49 +0000 (19:40 +0900)]
Extract DNS setting logic into DnsManager class

In future, managing DNS-over-TLS hostname lookup and netd programming
can be encapsulated here.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 64133961
Change-Id: I47ccfa99c30c780524c45c4af605e720ccba34a0

6 years agoAdd minimal test for setting DNS properties
Erik Kline [Thu, 11 Jan 2018 07:11:10 +0000 (16:11 +0900)]
Add minimal test for setting DNS properties

Test: as follows
Change-Id: I5db1de3ee8e179edd56c93988b821242b81c2387

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 08:43:18 +0000 (08:43 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Add a test for updateLightNavigationBarLw()"
TreeHugger Robot [Thu, 11 Jan 2018 08:26:16 +0000 (08:26 +0000)]
Merge "Add a test for updateLightNavigationBarLw()"

6 years agoMerge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0 am...
Sehee Park [Thu, 11 Jan 2018 07:04:10 +0000 (07:04 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0 am: a83bbf3516
am: 3bf5ea8778

Change-Id: Ifa7686fe91612b05e2d37321e799db5dccf13d7d

6 years agoMerge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0 am: a6c594847d
Erik Kline [Thu, 11 Jan 2018 06:56:55 +0000 (06:56 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0 am: a6c594847d
am: 473ed27a6c

Change-Id: Idb865394bc15591c8c84745c9de5662a928ed618

6 years agoMerge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0
Sehee Park [Thu, 11 Jan 2018 06:55:39 +0000 (06:55 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0
am: a83bbf3516

Change-Id: I6f712ec5774287af1740f2e74a4bc5cbca0cba6c

6 years agoMerge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0
Erik Kline [Thu, 11 Jan 2018 06:48:31 +0000 (06:48 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0
am: a6c594847d

Change-Id: Id124d26e03d3d91a234e78b5fad1aca682cf9f6d

6 years agoMerge "Add checking permission at the setDataSaverModeEnabled()"
Sehee Park [Thu, 11 Jan 2018 06:46:25 +0000 (06:46 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()"
am: 639fe64ce0

Change-Id: Ic62ff6f6b85b2df86074557ed662227b3a7fd9b1

6 years agoMerge "Move DhcpClient SM thread onto IpClient's SM thread"
Erik Kline [Thu, 11 Jan 2018 06:43:13 +0000 (06:43 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread"
am: 4a352dd5e0

Change-Id: I19f1606e017b8c4e92c4575b9e39c1b5198c31aa

6 years agoMerge "Define broadcasts for refreshing data plans."
Jeff Sharkey [Thu, 11 Jan 2018 06:31:47 +0000 (06:31 +0000)]
Merge "Define broadcasts for refreshing data plans."

6 years agoUpdate statsd's user/group from root to system to avoid selinux policy
yro [Thu, 11 Jan 2018 06:24:41 +0000 (22:24 -0800)]
Update statsd's user/group from root to system to avoid selinux policy
violation

Bug: 71537285
Bug: 69853944
Test: manual verification to check there's no sepolicy violation

Change-Id: I639cf5c9f4ac6c434c3122c4f42fdf8bdac721f6

6 years agoMerge "Add checking permission at the setDataSaverModeEnabled()"
Treehugger Robot [Thu, 11 Jan 2018 05:52:59 +0000 (05:52 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 05:52:17 +0000 (05:52 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Move DhcpClient SM thread onto IpClient's SM thread"
Treehugger Robot [Thu, 11 Jan 2018 05:48:20 +0000 (05:48 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread"

6 years agoMerge "More adjustments to the loadtest app."
TreeHugger Robot [Thu, 11 Jan 2018 05:44:52 +0000 (05:44 +0000)]
Merge "More adjustments to the loadtest app."

6 years agoMerge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock."
Dmitry Dementyev [Thu, 11 Jan 2018 05:31:47 +0000 (05:31 +0000)]
Merge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock."

6 years agoMerge "Add public ApnSetting in android.telephony." am: f9063b378b am: f68992a6a7
yuemingw [Thu, 11 Jan 2018 05:21:32 +0000 (05:21 +0000)]
Merge "Add public ApnSetting in android.telephony." am: f9063b378b am: f68992a6a7
am: e3d4b7d3d2

Change-Id: Ia4100787507887692c6aa5df4e331fba59993255

6 years agoMerge "Add public ApnSetting in android.telephony." am: f9063b378b
yuemingw [Thu, 11 Jan 2018 05:12:34 +0000 (05:12 +0000)]
Merge "Add public ApnSetting in android.telephony." am: f9063b378b
am: f68992a6a7

Change-Id: I959e4cc4f252b1a503dca11d83672257b93f97a4

6 years agoMerge "Add public ApnSetting in android.telephony."
yuemingw [Thu, 11 Jan 2018 05:06:13 +0000 (05:06 +0000)]
Merge "Add public ApnSetting in android.telephony."
am: f9063b378b

Change-Id: I6608e1666b3e078f3b5786638e9050a2d2d3b762

6 years agoMerge "Added runtime flag for forced-app-standby"
TreeHugger Robot [Thu, 11 Jan 2018 04:24:28 +0000 (04:24 +0000)]
Merge "Added runtime flag for forced-app-standby"

6 years agoMerge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08...
Lorenzo Colitti [Thu, 11 Jan 2018 04:17:51 +0000 (04:17 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08 am: 8f852c341f
am: 56dba0323a

Change-Id: I1eb98a82426d7b7e085316f8a67cdd1e81912538

6 years agoMerge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08
Lorenzo Colitti [Thu, 11 Jan 2018 04:10:01 +0000 (04:10 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08
am: 8f852c341f

Change-Id: Iab87e7ce5b62a1ff21c7aee5d0f25597713f6c65

6 years agoMerge "Refactor to InterfaceParams utility class" am: 6a91687bcd am: fe83298cd5
Erik Kline [Thu, 11 Jan 2018 04:09:49 +0000 (04:09 +0000)]
Merge "Refactor to InterfaceParams utility class" am: 6a91687bcd am: fe83298cd5
am: 2be133a54e

Change-Id: I878be7b33afcad9544515e90da4db02fe85b92cc

6 years agoMerge "Refactor to InterfaceParams utility class" am: 6a91687bcd
Erik Kline [Thu, 11 Jan 2018 04:02:15 +0000 (04:02 +0000)]
Merge "Refactor to InterfaceParams utility class" am: 6a91687bcd
am: fe83298cd5

Change-Id: Icb708a5ea7c3b41cb9d23885018b088c65ee427b

6 years agoMerge "Add public ApnSetting in android.telephony."
Treehugger Robot [Thu, 11 Jan 2018 04:01:32 +0000 (04:01 +0000)]
Merge "Add public ApnSetting in android.telephony."

6 years agoAdd virtual dtor for virtual classes
Yi Kong [Wed, 10 Jan 2018 06:31:45 +0000 (22:31 -0800)]
Add virtual dtor for virtual classes

Delete called on non-final virtual classes but non-virtual destructor.

Fixes -Wdelete-non-virtual-dtor warning.

Test: m checkbuild
Change-Id: Ia84c118db1a53f1ac846354a6023726e394a87ed

6 years agoMerge "Move more core networking tests to framework/base/tests/net."
Lorenzo Colitti [Thu, 11 Jan 2018 03:58:57 +0000 (03:58 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."
am: d6c3813c08

Change-Id: Ic1ad8ba5a4180ef6a798d4330c72920984d5040c

6 years agoMerge "Refactor to InterfaceParams utility class"
Erik Kline [Thu, 11 Jan 2018 03:55:41 +0000 (03:55 +0000)]
Merge "Refactor to InterfaceParams utility class"
am: 6a91687bcd

Change-Id: Ia8ea85890c86cf57b0bc701c2624762144af301e

6 years agoMove DhcpClient SM thread onto IpClient's SM thread
Erik Kline [Fri, 9 Jun 2017 10:20:26 +0000 (19:20 +0900)]
Move DhcpClient SM thread onto IpClient's SM thread

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - basic wifi usage nominal
Bug: 62476366
Change-Id: I9a74e001bc86972e31b7e0898711628e65d9cf7a

6 years agoDefine broadcasts for refreshing data plans.
Jeff Sharkey [Thu, 11 Jan 2018 03:47:42 +0000 (20:47 -0700)]
Define broadcasts for refreshing data plans.

We don't hand the Intent out to the Settings app, since we need to
carefully set whitelisting to allow the carrier app to wake up and
respond if it's dozing.

Define new "changed" broadcast that we'll send out whenever plans
are changed internally.

Test: builds, boots
Bug: 64133169
Change-Id: Iacdd06d8e273fd52c8fc83edab13c9c8453b28eb

6 years agoMerge "Move more core networking tests to framework/base/tests/net."
Lorenzo Colitti [Thu, 11 Jan 2018 03:09:40 +0000 (03:09 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."

6 years agoMerge changes from topic "messaging_people"
TreeHugger Robot [Thu, 11 Jan 2018 03:07:09 +0000 (03:07 +0000)]
Merge changes from topic "messaging_people"

* changes:
  Clipping to the top roundness when scrolling
  Made the notification side paddings consistent
  Changing messaging style and overall visual adoption
  Improved the MessagingStyle API with Person
  Added People to the Notification API

6 years agoAdd EuiccCardManager and EuiccCardController.
Holly Jiuyu Sun [Fri, 22 Dec 2017 02:44:59 +0000 (18:44 -0800)]
Add EuiccCardManager and EuiccCardController.

EuiccCardManager is in the same path with EuiccManager.
EuiccCardController is in the same path with EuiccController.
Use getAllProfiles() as an example interface.
The implementation of EuiccCard and its content will be added in a
follow up CL.
The new API is marked as @hide and TODO for @SystemApi.

Bug: 38206971
Test: test on phone
Change-Id: I153937c0f79bdd1a00b06b234a6e254a3f43072c

6 years agoCheck that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock.
Dmitry Dementyev [Thu, 11 Jan 2018 02:56:36 +0000 (18:56 -0800)]
Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock.

Bug: 66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I55e8518c92704655d96eb1cddf84bb7956ea5912

6 years agoMerge "Refactor to InterfaceParams utility class"
Treehugger Robot [Thu, 11 Jan 2018 02:52:00 +0000 (02:52 +0000)]
Merge "Refactor to InterfaceParams utility class"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:51:39 +0000 (02:51 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Support 4k chunk based signature algorithms"
TreeHugger Robot [Thu, 11 Jan 2018 02:43:26 +0000 (02:43 +0000)]
Merge "Support 4k chunk based signature algorithms"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:28:30 +0000 (02:28 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoAdded runtime flag for forced-app-standby
Suprabh Shukla [Tue, 9 Jan 2018 00:27:10 +0000 (16:27 -0800)]
Added runtime flag for forced-app-standby

Added a global setting which can be configured to get metrics on the
battery savings from this feature.

Test: atest \
FrameworksServicesTests:\
com.android.server.job.BackgroundRestrictionsTest

Fixes: 70579515
Change-Id: I541f2aac39847f9bf372240cafc4e0f0e5ebdc86

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:18:27 +0000 (02:18 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:05:37 +0000 (02:05 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:00:52 +0000 (02:00 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jan 2018 01:45:11 +0000 (17:45 -0800)]
Import translations. DO NOT MERGE

Change-Id: I28c45387fb290bfaa89b9cded4b213dc28261f16
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jan 2018 01:39:49 +0000 (17:39 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8582d5451340ebcfcee3abca079ed01d07f3a4cf
Auto-generated-cl: translation import

6 years agoConcise toString for A11yEvent
Eugene Susla [Tue, 2 Jan 2018 23:25:12 +0000 (15:25 -0800)]
Concise toString for A11yEvent

I found A11yEvents hard to parse in logs as they take ~3 lines on my
30" monitor, most of which denoting fields that rarely differ from default.

This CL adds an opt-in debug flag to not print default-valued fields, which
dramatically cuts down the noise when trying to parse logs.

Test: enable DEBUG in A11yManager, and observe logcat
Change-Id: I979200194ee3597c1a8501195437b4d4b8e21514

6 years agoUpdate DPMS to push active admins info to UsageStatsService.
Sudheer Shanka [Tue, 9 Jan 2018 00:28:42 +0000 (16:28 -0800)]
Update DPMS to push active admins info to UsageStatsService.

Bug: 71710099
Test: atest services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
Test: atest services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Change-Id: Ia46be9008470b0228978306b9992560fc4f2c586

6 years agoMerge "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"
TreeHugger Robot [Thu, 11 Jan 2018 01:14:35 +0000 (01:14 +0000)]
Merge "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"