OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" am: c5680c9b05
Stanley Tng [Fri, 21 Apr 2017 01:30:21 +0000 (01:30 +0000)]
Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" am: c5680c9b05
am: 16609dfe18

Change-Id: I9c9c500bab98168da48d69cc7e4c93a33b8571bd

7 years agoMerge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)"
Stanley Tng [Fri, 21 Apr 2017 01:25:00 +0000 (01:25 +0000)]
Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)"
am: c5680c9b05

Change-Id: I63e35a957feb76517fb7559ecb6ac114109341ee

7 years agoMerge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)"
Treehugger Robot [Fri, 21 Apr 2017 01:16:31 +0000 (01:16 +0000)]
Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)"

7 years agoAllow the Bluetooth MAC address to be updated asynchronously (2/3)
Stanley Tng [Tue, 18 Apr 2017 05:35:45 +0000 (22:35 -0700)]
Allow the Bluetooth MAC address to be updated asynchronously (2/3)

There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.

Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug: 36709382

Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a

7 years agoMerge "Validates Intrinsic Blur only takes 2D Allocations" am: b44f4d2f51
Yang Ni [Thu, 20 Apr 2017 22:53:05 +0000 (22:53 +0000)]
Merge "Validates Intrinsic Blur only takes 2D Allocations" am: b44f4d2f51
am: 0962a6e83c

Change-Id: I0b3c582cc9627567b4942eead98cdb0a2406d7c6

7 years agoMerge "Validates Intrinsic Blur only takes 2D Allocations"
Yang Ni [Thu, 20 Apr 2017 22:47:34 +0000 (22:47 +0000)]
Merge "Validates Intrinsic Blur only takes 2D Allocations"
am: b44f4d2f51

Change-Id: Ib2f8f8206fb77fad99c67d48b839231108e8d0cc

7 years agoMerge "Validates Intrinsic Blur only takes 2D Allocations"
Yang Ni [Thu, 20 Apr 2017 22:37:20 +0000 (22:37 +0000)]
Merge "Validates Intrinsic Blur only takes 2D Allocations"

7 years agoMerge "Convert libinputservice to Android.bp" am: a070e55e34
Colin Cross [Thu, 20 Apr 2017 18:20:43 +0000 (18:20 +0000)]
Merge "Convert libinputservice to Android.bp" am: a070e55e34
am: 4ad5543b38

Change-Id: Ie902bac8bbca5663241a1d7651693930e06e8bf4

7 years agoMerge "Convert libinputservice to Android.bp"
Colin Cross [Thu, 20 Apr 2017 18:12:45 +0000 (18:12 +0000)]
Merge "Convert libinputservice to Android.bp"
am: a070e55e34

Change-Id: Iec35b80b29b3802f3cc4323eea5ece37bb445977

7 years agoMerge "Convert libinputservice to Android.bp"
Treehugger Robot [Thu, 20 Apr 2017 17:59:45 +0000 (17:59 +0000)]
Merge "Convert libinputservice to Android.bp"

7 years agoMerge "DO NOT MERGE. SystemUI: Display RAT icon when data is off" am: a0cef3c9c1...
Wenting Xiong [Thu, 20 Apr 2017 16:57:31 +0000 (16:57 +0000)]
Merge "DO NOT MERGE. SystemUI: Display RAT icon when data is off" am: a0cef3c9c1  -s ours
am: 8bb42caffb  -s ours

Change-Id: I44fad7c2f04f01257cdc2873243657cac744bf22

7 years agoMerge "DO NOT MERGE. SystemUI: Display RAT icon when data is off"
Wenting Xiong [Thu, 20 Apr 2017 16:51:41 +0000 (16:51 +0000)]
Merge "DO NOT MERGE. SystemUI: Display RAT icon when data is off"
am: a0cef3c9c1  -s ours

Change-Id: I5da0dee9e45352370b6b38c6995be080415d5588

7 years agoMerge "DO NOT MERGE. SystemUI: Display RAT icon when data is off"
Treehugger Robot [Thu, 20 Apr 2017 16:39:36 +0000 (16:39 +0000)]
Merge "DO NOT MERGE. SystemUI: Display RAT icon when data is off"

7 years agoMerge "Switch to WifiManager.{start,stop}SoftAp()" am: 275edcb940
Erik Kline [Thu, 20 Apr 2017 15:54:32 +0000 (15:54 +0000)]
Merge "Switch to WifiManager.{start,stop}SoftAp()" am: 275edcb940
am: 11fdd1769b

Change-Id: If43782074b323a7e2da4315ca342a3706d510959

7 years agoMerge "Switch to WifiManager.{start,stop}SoftAp()"
Erik Kline [Thu, 20 Apr 2017 15:50:19 +0000 (15:50 +0000)]
Merge "Switch to WifiManager.{start,stop}SoftAp()"
am: 275edcb940

Change-Id: I697bf530da9786da4ed1405ac8b44b7bc4d097a6

7 years agoMerge "Switch to WifiManager.{start,stop}SoftAp()"
Treehugger Robot [Thu, 20 Apr 2017 15:37:29 +0000 (15:37 +0000)]
Merge "Switch to WifiManager.{start,stop}SoftAp()"

7 years agoDO NOT MERGE. SystemUI: Display RAT icon when data is off
Wenting Xiong [Tue, 7 Feb 2017 11:12:27 +0000 (19:12 +0800)]
DO NOT MERGE. SystemUI: Display RAT icon when data is off

Introduce customization and implementation to display RAT icon in status
bar even when data is off. Since some carriers require, this feature is
necessary.

Test: Test with simulated RIL
Bug: 28805511
Change-Id: I412a407b8bcfeb9b3caf265bc7e0331a88433725

7 years agoMerge "Add local-only hotspot info into tether state change broadcast" am: 4c7a999d79
Erik Kline [Thu, 20 Apr 2017 13:00:52 +0000 (13:00 +0000)]
Merge "Add local-only hotspot info into tether state change broadcast" am: 4c7a999d79
am: 6af3dd0fc3

Change-Id: Icef7c38313576219b4a55eb10648297b18597ef6

7 years agoMerge "Add local-only hotspot info into tether state change broadcast"
Erik Kline [Thu, 20 Apr 2017 12:55:48 +0000 (12:55 +0000)]
Merge "Add local-only hotspot info into tether state change broadcast"
am: 4c7a999d79

Change-Id: I911be691b15604a63aa02bf4db607ae1cd701cfe

7 years agoMerge "ConnectivityManager: remove obsolete callback types" am: 458f75ef69
Hugo Benichi [Thu, 20 Apr 2017 12:53:22 +0000 (12:53 +0000)]
Merge "ConnectivityManager: remove obsolete callback types" am: 458f75ef69
am: 23ee1621c7

Change-Id: Ib7ff014bd0b7729ca2d02956c190f368963ff632

7 years agoMerge "Add local-only hotspot info into tether state change broadcast"
Treehugger Robot [Thu, 20 Apr 2017 12:47:53 +0000 (12:47 +0000)]
Merge "Add local-only hotspot info into tether state change broadcast"

7 years agoMerge "ConnectivityManager: remove obsolete callback types"
Hugo Benichi [Thu, 20 Apr 2017 12:47:44 +0000 (12:47 +0000)]
Merge "ConnectivityManager: remove obsolete callback types"
am: 458f75ef69

Change-Id: I180b5ae5890172f14dd910ce3ef3d1c907e3475b

7 years agoMerge "ConnectivityManager: remove obsolete callback types"
Hugo Benichi [Thu, 20 Apr 2017 12:38:27 +0000 (12:38 +0000)]
Merge "ConnectivityManager: remove obsolete callback types"

7 years agoAdd local-only hotspot info into tether state change broadcast
Erik Kline [Mon, 17 Apr 2017 07:47:23 +0000 (16:47 +0900)]
Add local-only hotspot info into tether state change broadcast

Test: as follows
    - build
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manually starting tethering shows Settings and icon updates
Bug: 31466854
Bug: 32163131

Change-Id: I938074587dfeec221c5cdb43a392802ad3fc3589

7 years agoMerge "Make tetherChangePermission to be secured for AppOps permission" am: fe86a197a1
Erik Kline [Thu, 20 Apr 2017 04:47:16 +0000 (04:47 +0000)]
Merge "Make tetherChangePermission to be secured for AppOps permission" am: fe86a197a1
am: 0d1f04384f

Change-Id: I8c0d0037bace2b9a3992e78dc0f853b92a8e0484

7 years agoMerge "ConnectivityManager: unify prety printing of callback types." am: 0a4dc6a5d2
Hugo Benichi [Thu, 20 Apr 2017 04:40:34 +0000 (04:40 +0000)]
Merge "ConnectivityManager: unify prety printing of callback types." am: 0a4dc6a5d2
am: 3a0e92fada

Change-Id: Ie639f2c9685f19ef00ddb4ac937e6e9576998b80

7 years agoMerge "Make tetherChangePermission to be secured for AppOps permission"
Erik Kline [Thu, 20 Apr 2017 04:38:16 +0000 (04:38 +0000)]
Merge "Make tetherChangePermission to be secured for AppOps permission"
am: fe86a197a1

Change-Id: Iee0af54745c3341b2aeeee05690e0377cb807ad9

7 years agoMerge "ConnectivityManager: unify prety printing of callback types."
Hugo Benichi [Thu, 20 Apr 2017 04:35:22 +0000 (04:35 +0000)]
Merge "ConnectivityManager: unify prety printing of callback types."
am: 0a4dc6a5d2

Change-Id: Ifa2d9455b666c068b13973eb1dee2bfb97b7d446

7 years agoMerge "Make tetherChangePermission to be secured for AppOps permission"
Erik Kline [Thu, 20 Apr 2017 04:28:52 +0000 (04:28 +0000)]
Merge "Make tetherChangePermission to be secured for AppOps permission"

7 years agoMerge "ConnectivityManager: unify prety printing of callback types."
Hugo Benichi [Thu, 20 Apr 2017 04:28:43 +0000 (04:28 +0000)]
Merge "ConnectivityManager: unify prety printing of callback types."

7 years agoConvert libinputservice to Android.bp
Colin Cross [Thu, 20 Apr 2017 00:00:07 +0000 (17:00 -0700)]
Convert libinputservice to Android.bp

See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: I3cd2bb05ec89c40ebd1240e352a19f99d00dc114
Merged-In: I3cd2bb05ec89c40ebd1240e352a19f99d00dc114
(cherry picked from commit 3fc8f2df3098a5bb8191cca43b4dc4cf3bba160b)

7 years agoConnectivityManager: remove obsolete callback types
Hugo Benichi [Thu, 23 Mar 2017 13:40:44 +0000 (22:40 +0900)]
ConnectivityManager: remove obsolete callback types

This patch also:
  - suppresses callback triggers from ConnectivityService for these
    obsolete callback types.
  - marginally refactors callCallbackForRequest().

Test: runtest frameworks-net
Change-Id: Idfb75640732943c599de4975f252f706d21ad594

7 years agoConnectivityManager: unify prety printing of callback types.
Hugo Benichi [Wed, 22 Mar 2017 08:07:57 +0000 (17:07 +0900)]
ConnectivityManager: unify prety printing of callback types.

And also remove some small code duplication (checkNotNull).

Test: built, flashed, runtest frameworks-net
Change-Id: Id6c13bca9d12f70b88806032e0a4fa198efbedc6

7 years agoMerge "Expose LE advertiser address for easier PTS tests (1/6)" am: f2e6988350
Jakub Pawlowski [Wed, 19 Apr 2017 21:44:50 +0000 (21:44 +0000)]
Merge "Expose LE advertiser address for easier PTS tests (1/6)" am: f2e6988350
am: fc99848b96

Change-Id: Ie3ded1b0237b56bb4c81ad7a51c50b82267bc536

7 years agoMerge "Expose LE advertiser address for easier PTS tests (1/6)"
Jakub Pawlowski [Wed, 19 Apr 2017 21:39:11 +0000 (21:39 +0000)]
Merge "Expose LE advertiser address for easier PTS tests (1/6)"
am: f2e6988350

Change-Id: I5b494f00fb88381a7caf95aa206e2fcd373c7129

7 years agoMerge "Expose LE advertiser address for easier PTS tests (1/6)"
Jakub Pawlowski [Wed, 19 Apr 2017 21:33:43 +0000 (21:33 +0000)]
Merge "Expose LE advertiser address for easier PTS tests (1/6)"

7 years agoExpose LE advertiser address for easier PTS tests (1/6)
Jakub Pawlowski [Wed, 19 Apr 2017 13:52:08 +0000 (06:52 -0700)]
Expose LE advertiser address for easier PTS tests (1/6)

This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: Iaf0f2fe0613de44b8430ac25e691d66a4ad44f8d

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:31:30 +0000 (18:31 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev am: 5b84ba3b15  -s ours
am: 74b8c15d2b  -s ours

Change-Id: I8f4523d90480e3b56bf223468ba42157fe6e97eb

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
Zheng Zhang [Wed, 19 Apr 2017 18:26:33 +0000 (18:26 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev
am: 5b84ba3b15  -s ours

Change-Id: Ic447d9ee4910f467e8ca6dad7d02693846e4fab8

7 years agoMerge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison...
TreeHugger Robot [Wed, 19 Apr 2017 18:21:43 +0000 (18:21 +0000)]
Merge "DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123." into cw-f-dev

7 years agoMerge "Handle shared libraries for split apks." am: 9487dff8ab
Jeff Hao [Wed, 19 Apr 2017 17:30:06 +0000 (17:30 +0000)]
Merge "Handle shared libraries for split apks." am: 9487dff8ab
am: dae160f51b

Change-Id: I3b8fd7be7bf987858df229cfd95ca8d4dc170b54

7 years agoMerge "Handle shared libraries for split apks."
Jeff Hao [Wed, 19 Apr 2017 17:21:36 +0000 (17:21 +0000)]
Merge "Handle shared libraries for split apks."
am: 9487dff8ab

Change-Id: I3414ba72ba8e3c3fc2d169a2a892c851d2577f3b

7 years agoMerge "Handle shared libraries for split apks."
Treehugger Robot [Wed, 19 Apr 2017 17:13:11 +0000 (17:13 +0000)]
Merge "Handle shared libraries for split apks."

7 years agoDO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.
Zheng Zhang [Wed, 19 Apr 2017 01:16:33 +0000 (18:16 -0700)]
DO NOT MERGE ANYWHERE: Move content from verison 123 to 122, and skip verison 123.

HFP profile config landed late in Emerald development, and was committed
as version 122 there.
When it merged to master, there were conflicts since 122 was already
taken, so it was resolved as version 123.
We didn't catch the subtle bug then:
This means Emerald devices will reset HFP profile config in error once
they upgrade to Feldspar.
Correct this by merging 122, and making 123 a no-op.

Bug: 37338202
Change-Id: Ibf4c824d27300641fd1bb15f5884baf056bd8d7e

7 years agoMerge "Read by UUID for PTS tests (1/5)" am: 7826c08e21
Jakub Pawlowski [Wed, 19 Apr 2017 16:13:50 +0000 (16:13 +0000)]
Merge "Read by UUID for PTS tests (1/5)" am: 7826c08e21
am: 0c9c0969cc

Change-Id: Ia850b9ad1d0d2e92a2c987c2c1cd24a44f7cfb3f

7 years agoMerge "Read by UUID for PTS tests (1/5)"
Jakub Pawlowski [Wed, 19 Apr 2017 16:04:45 +0000 (16:04 +0000)]
Merge "Read by UUID for PTS tests (1/5)"
am: 7826c08e21

Change-Id: I380a38460b1e00f405fdde0683c40dbc9c5b3807

7 years agoMake tetherChangePermission to be secured for AppOps permission
Tetsutoki Shiozawa [Wed, 16 Mar 2016 14:30:57 +0000 (23:30 +0900)]
Make tetherChangePermission to be secured for AppOps permission

Symptom:
AppOps verified the incorrect package of calling tether state
changing API.
It threw SecurityException by mistake.

Solution:
Pass the correct package name to enforceTetherChangePermission.

Bug: 32931147
Change-Id: Ia1167f26f556678b189a24a4a716f1a7e5cb12eb

7 years agoMerge "Read by UUID for PTS tests (1/5)"
Treehugger Robot [Wed, 19 Apr 2017 06:08:48 +0000 (06:08 +0000)]
Merge "Read by UUID for PTS tests (1/5)"

7 years agoHandle shared libraries for split apks.
Jeff Hao [Thu, 6 Apr 2017 00:09:59 +0000 (17:09 -0700)]
Handle shared libraries for split apks.

As we dexopt all the code paths of a package, we now append the code
paths to the list of shared libraries. These paths are passed as
relative paths since the apks are staged during installation, and are
not where they will be at runtime.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

Merged-In: I73823ca575560cbd445d78a6cfbfc72031943265
(cherry-picked from commit 16d4843433e024100b4ecd183f827ad5bd8772a6)

Change-Id: I943bf8234899e1b25d4eb5e98af15d9150a7a842

7 years agoMerge "Add callback for AVRCP 1.6 support" am: 58b5789cde
Jaewan Kim [Tue, 18 Apr 2017 23:40:54 +0000 (23:40 +0000)]
Merge "Add callback for AVRCP 1.6 support" am: 58b5789cde
am: 16e5c08cbd

Change-Id: Ie38c7ea468285625a6a0e88d5abfe43bb977b504

7 years agoMerge "Add callback for AVRCP 1.6 support"
Jaewan Kim [Tue, 18 Apr 2017 23:37:26 +0000 (23:37 +0000)]
Merge "Add callback for AVRCP 1.6 support"
am: 58b5789cde

Change-Id: I13633358bb5fbc0bb52808d2e9213434cc27546f

7 years agoMerge "Add callback for AVRCP 1.6 support"
Treehugger Robot [Tue, 18 Apr 2017 23:25:25 +0000 (23:25 +0000)]
Merge "Add callback for AVRCP 1.6 support"

7 years agoValidates Intrinsic Blur only takes 2D Allocations
Yang Ni [Tue, 18 Apr 2017 21:04:55 +0000 (14:04 -0700)]
Validates Intrinsic Blur only takes 2D Allocations

Bug: 24555166

Test: RSTest on x86_64 emulator
Change-Id: I0c8c970ce85989c3213fb4986e517ac0be5beb26

7 years agoMerge changes from topic 'ipsec-hide-overloads' am: fe358c6adf
nharold [Tue, 18 Apr 2017 22:02:48 +0000 (22:02 +0000)]
Merge changes from topic 'ipsec-hide-overloads' am: fe358c6adf
am: 8508bc52d2

Change-Id: I114e0175d72cdbabf47ed230b2971b57a6c210f1

7 years agoConsistenly Throw IOExceptions from IpSecManager am: 0bfb207532
Nathan Harold [Tue, 18 Apr 2017 22:01:32 +0000 (22:01 +0000)]
Consistenly Throw IOExceptions from IpSecManager am: 0bfb207532
am: 5db180bbb7

Change-Id: I85ec1413eff50887853f13fa02dcc461071fb210

7 years agoMerge changes from topic 'ipsec-hide-overloads'
nharold [Tue, 18 Apr 2017 21:51:25 +0000 (21:51 +0000)]
Merge changes from topic 'ipsec-hide-overloads'
am: fe358c6adf

Change-Id: Ia28149a13cae7b5bdcb6f41d1f6cd4d37fbaf88b

7 years agoConsistenly Throw IOExceptions from IpSecManager
Nathan Harold [Tue, 18 Apr 2017 21:50:30 +0000 (21:50 +0000)]
Consistenly Throw IOExceptions from IpSecManager
am: 0bfb207532

Change-Id: I42f4526b43a8de19178a23e5106596f94050c1d4

7 years agoRead by UUID for PTS tests (1/5)
Jakub Pawlowski [Fri, 14 Apr 2017 14:21:20 +0000 (07:21 -0700)]
Read by UUID for PTS tests (1/5)

Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ice4076d99e4694d20374ba0fdcae74d5ae841147

7 years agoAdd callback for AVRCP 1.6 support
Jaewan Kim [Fri, 3 Feb 2017 07:21:38 +0000 (16:21 +0900)]
Add callback for AVRCP 1.6 support

Bug: 33828042
Test: Build
Change-Id: Iaf5cecfa38065cfeed096929952559d7cb2e248b

7 years agoDO NOT MERGE Mask case of base or tree permission being null am: cb8a640cef
Erik Wolsheimer [Tue, 18 Apr 2017 20:09:31 +0000 (20:09 +0000)]
DO NOT MERGE Mask case of base or tree permission being null am: cb8a640cef
am: 28fc6a28aa

Change-Id: Ia0dab8845a34753ed46199462a9e12c25f9a615f

7 years agoDO NOT MERGE Mask case of base or tree permission being null
Erik Wolsheimer [Tue, 18 Apr 2017 20:03:46 +0000 (20:03 +0000)]
DO NOT MERGE Mask case of base or tree permission being null
am: cb8a640cef

Change-Id: I43289a33b8e1e6df9307cd11891feff4d739da14

7 years agoDO NOT MERGE Mask case of base or tree permission being null
Erik Wolsheimer [Tue, 18 Apr 2017 16:27:31 +0000 (09:27 -0700)]
DO NOT MERGE Mask case of base or tree permission being null

Bug: 34850544
Change-Id: I4bf9e85d7e615ccdb75752503e58d7e7f47b04c2

7 years agoMerge changes from topic 'ipsec-hide-overloads'
nharold [Tue, 18 Apr 2017 18:35:20 +0000 (18:35 +0000)]
Merge changes from topic 'ipsec-hide-overloads'

* changes:
  Hide Socket+DatagramSocket IpSecTransform methods
  Consistenly Throw IOExceptions from IpSecManager

7 years agoMerge "Flatten the transitions to tethering and hotspot." am: af5f00ee5e
Erik Kline [Tue, 18 Apr 2017 08:55:13 +0000 (08:55 +0000)]
Merge "Flatten the transitions to tethering and hotspot." am: af5f00ee5e
am: 22b9eb972e

Change-Id: Idadc3d15c58a9cc6ac28784e3d507b4d2a83755a

7 years agoMerge "Flatten the transitions to tethering and hotspot."
Erik Kline [Tue, 18 Apr 2017 08:50:09 +0000 (08:50 +0000)]
Merge "Flatten the transitions to tethering and hotspot."
am: af5f00ee5e

Change-Id: I0dd0a95e29b645d018d4d4f44696c2339f5d1127

7 years agoMerge "[AWARE] Implement custom Wi-Fi Aware network specifier" am: a9cbda5bd8
Lorenzo Colitti [Tue, 18 Apr 2017 08:40:41 +0000 (08:40 +0000)]
Merge "[AWARE] Implement custom Wi-Fi Aware network specifier" am: a9cbda5bd8
am: 1d82eb0612

Change-Id: I05548901d1fddb67775bf2079c769b6bbc2b194c

7 years agoMerge "Flatten the transitions to tethering and hotspot."
Treehugger Robot [Tue, 18 Apr 2017 08:39:40 +0000 (08:39 +0000)]
Merge "Flatten the transitions to tethering and hotspot."

7 years agoMerge "[AWARE] Implement custom Wi-Fi Aware network specifier"
Lorenzo Colitti [Tue, 18 Apr 2017 08:30:13 +0000 (08:30 +0000)]
Merge "[AWARE] Implement custom Wi-Fi Aware network specifier"
am: a9cbda5bd8

Change-Id: I1cad06f1296a9c94a9184d8424f7fc57c8f41adb

7 years agoMerge "[AWARE] Implement custom Wi-Fi Aware network specifier"
Lorenzo Colitti [Tue, 18 Apr 2017 08:22:51 +0000 (08:22 +0000)]
Merge "[AWARE] Implement custom Wi-Fi Aware network specifier"

7 years agoSwitch to WifiManager.{start,stop}SoftAp()
Erik Kline [Tue, 18 Apr 2017 05:22:25 +0000 (14:22 +0900)]
Switch to WifiManager.{start,stop}SoftAp()

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 31466854

Change-Id: I730d029128a14b936c111ae159b9708d935f4656

7 years agoHide Socket+DatagramSocket IpSecTransform methods
Nathan Harold [Tue, 18 Apr 2017 02:34:33 +0000 (19:34 -0700)]
Hide Socket+DatagramSocket IpSecTransform methods

These methods do not currently work for IPv4 sockets,
so they need to be hidden until the underlying kernel
code can be made to work properly in a dual-stack
environment.

Bug: 36073210
Test: compilation
Change-Id: Idce367f638a42da374a7f1dc5ebb8931c9555e06

7 years agoConsistenly Throw IOExceptions from IpSecManager
Nathan Harold [Tue, 18 Apr 2017 00:11:58 +0000 (17:11 -0700)]
Consistenly Throw IOExceptions from IpSecManager

Bug: 36073210
Test: api-update
Change-Id: Ia3825e85b09b6330f1326a26cf9e1cadf9dacf71

7 years agoMerge changes from topic 'vintf_check_compat_native' am: 6d033475b3
Yifan Hong [Mon, 17 Apr 2017 18:35:52 +0000 (18:35 +0000)]
Merge changes from topic 'vintf_check_compat_native' am: 6d033475b3
am: 4fccec4f81

Change-Id: Ib2691dd7d9b35d20ac71b50a090392e736b51bf7

7 years agoMerge changes from topic 'vintf_check_compat_native'
Yifan Hong [Mon, 17 Apr 2017 18:27:00 +0000 (18:27 +0000)]
Merge changes from topic 'vintf_check_compat_native'
am: 6d033475b3

Change-Id: I7cc64ab9938d17848379537b57d7092c0968c6a3

7 years agoMerge "Update api for ServiceStateProvider" am: 286b5f117d
Jordan Liu [Mon, 17 Apr 2017 18:21:56 +0000 (18:21 +0000)]
Merge "Update api for ServiceStateProvider" am: 286b5f117d
am: ea4a67ddd1

Change-Id: Ib0ac43e24dbd4b1c0f037f6f3f3bc81b9acbae62

7 years agoMerge "Update api for ServiceStateProvider"
Jordan Liu [Mon, 17 Apr 2017 18:14:23 +0000 (18:14 +0000)]
Merge "Update api for ServiceStateProvider"
am: 286b5f117d

Change-Id: I8404dad9be43a0ea41a973d289014a4fe1529ab3

7 years agoMerge changes from topic 'vintf_check_compat_native'
Yifan Hong [Mon, 17 Apr 2017 18:12:27 +0000 (18:12 +0000)]
Merge changes from topic 'vintf_check_compat_native'

* changes:
  Update for removing mount arg to VintfObject::CheckCompatibility
  Add Java API for libvintf.

7 years agoMerge "Update api for ServiceStateProvider"
Treehugger Robot [Mon, 17 Apr 2017 18:05:02 +0000 (18:05 +0000)]
Merge "Update api for ServiceStateProvider"

7 years agoMerge "WifiManager: add new methods to start softap" am: be2653d41e
Rebecca Silberstein [Mon, 17 Apr 2017 17:30:08 +0000 (17:30 +0000)]
Merge "WifiManager: add new methods to start softap" am: be2653d41e
am: 334fe54661

Change-Id: I3e0455020c5b0c1896c1994a821832e0e45ae4e6

7 years agoMerge "WifiManager: add new methods to start softap"
Rebecca Silberstein [Mon, 17 Apr 2017 17:20:42 +0000 (17:20 +0000)]
Merge "WifiManager: add new methods to start softap"
am: be2653d41e

Change-Id: Ic73c0b8f52c86f00a6d03687b37b4c02f41d4fcc

7 years agoMerge "WifiManager: add new methods to start softap"
Rebecca Silberstein [Mon, 17 Apr 2017 17:10:37 +0000 (17:10 +0000)]
Merge "WifiManager: add new methods to start softap"

7 years agoFlatten the transitions to tethering and hotspot.
Erik Kline [Thu, 13 Apr 2017 13:54:34 +0000 (22:54 +0900)]
Flatten the transitions to tethering and hotspot.

The previous version could trigger a Log.wtf() if an error occured within
ServingState.enter() that caused a transition while a tranistion was
already in flight.

Test: as follows
    - build
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 31466854

Change-Id: I66a47caf22e39ab4ad7f4ddd60940e9fe1580729

7 years agoUpdate for removing mount arg to VintfObject::CheckCompatibility
Yifan Hong [Fri, 14 Apr 2017 22:39:20 +0000 (15:39 -0700)]
Update for removing mount arg to VintfObject::CheckCompatibility

It is default to false.

Test: pass
Bug: 36814503

Change-Id: Ib06850d3355f54996b17cc6c2980a7d17af132e5

7 years agoMerge "Expose phone account register/unregister intents." am: 24299f5b06
Tyler Gunn [Sat, 15 Apr 2017 06:17:18 +0000 (06:17 +0000)]
Merge "Expose phone account register/unregister intents." am: 24299f5b06
am: b993a44272

Change-Id: Ic3f8044b7df278b33208fae671abef21ae8f55d2

7 years agoMerge "Expose phone account register/unregister intents."
Tyler Gunn [Sat, 15 Apr 2017 06:13:21 +0000 (06:13 +0000)]
Merge "Expose phone account register/unregister intents."
am: 24299f5b06

Change-Id: Ifbc60e3221bee3813e2c854305144af901067b13

7 years agoMerge "Expose phone account register/unregister intents."
Treehugger Robot [Sat, 15 Apr 2017 06:07:25 +0000 (06:07 +0000)]
Merge "Expose phone account register/unregister intents."

7 years agoExpose phone account register/unregister intents.
Tyler Gunn [Fri, 14 Apr 2017 20:43:30 +0000 (13:43 -0700)]
Expose phone account register/unregister intents.

These were previously @SystemApi.  Retaining the existing SystemAPI
behavior which sends the intents to those with a private permission.
Extending to ALSO send these intents to the default dialer app as well
using an explicit intent.

Test: Manual
Bug: 37106957
Merged-In: Ifb72870105be5ba024af196a8c3165a9afb397ab
Change-Id: Ifb72870105be5ba024af196a8c3165a9afb397ab

7 years agoMerge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE" am: 02278a5a02
Nathan Harold [Sat, 15 Apr 2017 01:59:13 +0000 (01:59 +0000)]
Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE" am: 02278a5a02
am: d50a325553

Change-Id: I6d55820dc1710035fcab839f6cae809fa44f16da

7 years agoMerge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE"
Nathan Harold [Sat, 15 Apr 2017 01:52:24 +0000 (01:52 +0000)]
Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE"
am: 02278a5a02

Change-Id: I473f438a0336b8c5183f385f062493abb53966fe

7 years agoMerge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE"
Treehugger Robot [Sat, 15 Apr 2017 01:42:58 +0000 (01:42 +0000)]
Merge "Update doc string for getForbiddenPlmns() to READ_PHONE_STATE"

7 years agoUpdate api for ServiceStateProvider
Jordan Liu [Wed, 1 Mar 2017 02:15:07 +0000 (18:15 -0800)]
Update api for ServiceStateProvider

ServiceStateProvider defines public constants in
Telephony.ServiceStateTable so update the api.

Test: flashed onto device locally
Bug: 33756364
Change-Id: I62b6b8bcfdf909aa36e44441f8672f98f581f896
Merged-In: I62b6b8bcfdf909aa36e44441f8672f98f581f896

7 years agoUpdate doc string for getForbiddenPlmns() to READ_PHONE_STATE
Nathan Harold [Fri, 14 Apr 2017 20:13:11 +0000 (13:13 -0700)]
Update doc string for getForbiddenPlmns() to READ_PHONE_STATE

For whatever reason when I chose the permission for this API I
chose the internal READ_PRIVILEGED_PHONE_STATE. Updating this to
use the equivalent public permission (since this is a public API)
requires me to use READ_PHONE_STATE

Bug: 35261110
Test: docstring only change. Compilation
Change-Id: I3647271798b33040751905c13b20da727eacfd9b

7 years agoMerge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev...
Andrew Zeng [Fri, 14 Apr 2017 20:02:57 +0000 (20:02 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev am: 2c42db20e4  -s ours
am: 812594f573

Change-Id: Ifb03ad1b13aa59e18ff658f6a0a5779d42d1d226

7 years agoMerge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev
Andrew Zeng [Fri, 14 Apr 2017 19:52:58 +0000 (19:52 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev
am: 2c42db20e4  -s ours

Change-Id: I1c4ddbf044df414cffa282d9e9aba4261b23a975

7 years agoMerge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev
Andrew Zeng [Fri, 14 Apr 2017 19:40:51 +0000 (19:40 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev

7 years agoMerge "Helper method in VideoCallImpl for testing" am: 14d27fccad
Hall Liu [Fri, 14 Apr 2017 18:43:19 +0000 (18:43 +0000)]
Merge "Helper method in VideoCallImpl for testing" am: 14d27fccad
am: 8fa1c9c899

Change-Id: I148108bcf8636d553852201b0a70e9cfc97d7d44

7 years agoMerge "Helper method in VideoCallImpl for testing"
Hall Liu [Fri, 14 Apr 2017 18:39:18 +0000 (18:39 +0000)]
Merge "Helper method in VideoCallImpl for testing"
am: 14d27fccad

Change-Id: I5e298b40a83041d759e9e5c59d51be0ec5450d11

7 years agoMerge "Helper method in VideoCallImpl for testing"
Hall Liu [Fri, 14 Apr 2017 18:30:25 +0000 (18:30 +0000)]
Merge "Helper method in VideoCallImpl for testing"

7 years agoMerge "Add PID info into ANR crash log header" am: 2fe972c822
Tsukasa Hashimoto [Fri, 14 Apr 2017 18:13:50 +0000 (18:13 +0000)]
Merge "Add PID info into ANR crash log header" am: 2fe972c822
am: 5d57502c89

Change-Id: I5fc92088c55fed713716ea516a3b22e7cf00fcb0

7 years agoMerge "Add PID info into ANR crash log header"
Tsukasa Hashimoto [Fri, 14 Apr 2017 18:09:56 +0000 (18:09 +0000)]
Merge "Add PID info into ANR crash log header"
am: 2fe972c822

Change-Id: Ib7ec151a3a4b1759022a9a663836a73087ea85ec