Commit Graph

283835 Commits

Author SHA1 Message Date
Etan Cohen
756216fdf9 Merge "[AWARE] Add data-path security configuration (PMK)" am: eff6f4fc43
am: b50d958c4a

Change-Id: I99cdde15f3ea9dc4630ccd09a242f3a1148d33bb
2017-03-01 17:49:32 +00:00
Etan Cohen
b50d958c4a Merge "[AWARE] Add data-path security configuration (PMK)"
am: eff6f4fc43

Change-Id: I90b6324a903b6307c084c891d7eba75957e13886
2017-03-01 17:45:42 +00:00
Etan Cohen
eff6f4fc43 Merge "[AWARE] Add data-path security configuration (PMK)" 2017-03-01 17:39:15 +00:00
Tyler Gunn
63700b7a8f resolve merge conflicts of 81a28efd1b to stage-aosp-master
am: b455f0deed

Change-Id: Idca0886e3d6e4f1a5eaeeec98e6c7ed46985a29f
2017-03-01 16:51:27 +00:00
Tyler Gunn
b455f0deed resolve merge conflicts of 81a28efd1b to stage-aosp-master
Change-Id: Ic4c1ca055db8e70db49d9fc91dfc705da6136a5d
2017-03-01 08:44:32 -08:00
Tyler Gunn
81a28efd1b Merge "Support confirmation of international calls while on WFC only." 2017-03-01 16:08:40 +00:00
Etan Cohen
954111a252 [AWARE] Add data-path security configuration (PMK)
Add API to optionally provide a pairwise master key (PMK)
to configure security on a data-path.

Clarify the default API to mean open (unencrypted) data-path.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I43fe704547f2921b3207f215e42d253837aa04e9
2017-03-01 07:35:35 -08:00
Nathan Harold
3ddaf3e6b0 Merge "Add API Surface for creating IpSec Transforms" am: 7645fa2816
am: 0a6305d5dd

Change-Id: Ie1798e4d7dda91a970db40e078016fcbcf89149f
2017-03-01 14:17:46 +00:00
Nathan Harold
0a6305d5dd Merge "Add API Surface for creating IpSec Transforms"
am: 7645fa2816

Change-Id: Ibe70a60c5c5808a7877145cccefcc1f11bfacc51
2017-03-01 14:12:55 +00:00
Treehugger Robot
7645fa2816 Merge "Add API Surface for creating IpSec Transforms" 2017-03-01 14:05:48 +00:00
Erik Kline
83385ed04a Merge "Fix dead lock in Tethering state machine" am: 355dbae680
am: 0703f03953

Change-Id: I233d796cf67a71ebc43970f949930de46a0ddb3f
2017-03-01 11:50:41 +00:00
Erik Kline
0703f03953 Merge "Fix dead lock in Tethering state machine"
am: 355dbae680

Change-Id: Idd08726f3eeebba49a9ad909464377af67600d30
2017-03-01 11:46:10 +00:00
Erik Kline
355dbae680 Merge "Fix dead lock in Tethering state machine" 2017-03-01 11:40:03 +00:00
Erik Kline
02310829cf Merge "Also test for additional NetworkCallback calls" am: dff6c5c30d
am: 47d8385184

Change-Id: I19ff91b1397abe20920bbae8aa6c976c6bcac0ba
2017-03-01 11:08:06 +00:00
Erik Kline
47d8385184 Merge "Also test for additional NetworkCallback calls"
am: dff6c5c30d

Change-Id: I00b3f7be06bde167872d0cdefe940cda5e138846
2017-03-01 11:03:08 +00:00
Treehugger Robot
dff6c5c30d Merge "Also test for additional NetworkCallback calls" 2017-03-01 10:55:35 +00:00
Erik Kline
1d3db32708 Also test for additional NetworkCallback calls
Specifcally:
    - onCapabilitiesChanged
    - onLinkPropertiesChanged
    - onNetworkSuspended

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131

Change-Id: Ie0f7c8ac21313b11980bb335c89ecde6fd8e311c
2017-03-01 18:24:36 +09:00
Nathan Harold
330e1089da Add API Surface for creating IpSec Transforms
This CL adds an API to set up an IPSec Security Association
and Security Policy to perform Transport-Mode and Tunnel-Mode encapuslation
of IP Packets.

Bug: 30984788
Bug: 34811752
Test: 34812052, 34811227
Change-Id: Ic9f63c7bb366302a24baa3e1b79020210910ac0a
2017-02-28 22:01:20 -08:00
George Burgess IV
0d0ccb0c19 Merge "Fix memory-leak warnings from the static analyzer" am: 2006bfc9ad
am: 43fd84a03c

Change-Id: Id2b577a021a3163d9f489235bf7f76c5f5ae527e
2017-03-01 01:58:36 +00:00
George Burgess IV
43fd84a03c Merge "Fix memory-leak warnings from the static analyzer"
am: 2006bfc9ad

Change-Id: I2efd6e42c72d3163505a23e8a95e45526a5ef642
2017-03-01 01:53:27 +00:00
Treehugger Robot
2006bfc9ad Merge "Fix memory-leak warnings from the static analyzer" 2017-03-01 01:45:52 +00:00
Hall Liu
f000639f82 Merge "Add @hide to RttAudioMode IntDef" am: 22af0f3377
am: c284379659

Change-Id: I892dd9f7c070aade5962b53277a860a55ed237ea
2017-03-01 01:05:58 +00:00
Hall Liu
c284379659 Merge "Add @hide to RttAudioMode IntDef"
am: 22af0f3377

Change-Id: Ifdfdf7ced2f88188314475c99dd58cdf886f014d
2017-03-01 01:01:29 +00:00
Hall Liu
22af0f3377 Merge "Add @hide to RttAudioMode IntDef" 2017-03-01 00:51:38 +00:00
George Burgess IV
18f307aed3 Fix memory-leak warnings from the static analyzer
Warnings:
frameworks/base/core/jni/android_view_InputChannel.cpp:145:5: warning:
Potential memory leak
jobject serverChannelObj =
android_view_InputChannel_createInputChannel(env,
^~~~~~~~~~~~~~~~~~~~~~~~
frameworks/base/core/jni/android_view_InputChannel.cpp:151:5: warning:
Potential memory leak
jobject clientChannelObj =
android_view_InputChannel_createInputChannel(env,
^~~~~~~~~~~~~~~~~~~~~~~~

The warnings were complaining about that we might leak
nativeInputChannel, in android_view_InputChannel_createInputChannel,
since we're allocating it as an arg and not always putting it somewhere.

Bug: None
Test: Builds without warnings
Change-Id: I62163adee5d420ad78c8d4c74aafefc8a58f765b
2017-03-01 00:08:04 +00:00
Hall Liu
07094df24a Add @hide to RttAudioMode IntDef
IntDefs apparently require an @hide annotation to avoid breaking CTS
tests. Adding it here.

Change-Id: Ifd748b55e68091132571df7e74fdb797bd6a83fc
Test: CTS
Fix: 35808951
2017-02-28 15:18:31 -08:00
Brad Ebinger
81f7d06a5e Merge "Send the IMS_SERVICE_UP intent when it is STATE_READY" am: b987777f20
am: 59282ad8df

Change-Id: I9637f55a80f89afa89111b5889b69987aba3e20a
2017-02-28 22:55:55 +00:00
Brad Ebinger
59282ad8df Merge "Send the IMS_SERVICE_UP intent when it is STATE_READY"
am: b987777f20

Change-Id: I6c33449b917b6d0c2a3396eea40065c2b0bc6862
2017-02-28 22:50:38 +00:00
Brad Ebinger
b987777f20 Merge "Send the IMS_SERVICE_UP intent when it is STATE_READY" 2017-02-28 22:44:56 +00:00
Tyler Gunn
ef5a401b7e Support confirmation of international calls while on WFC only.
Add new carrier config which enables a confirmation message when the user
dials an international number while on WFC only.

Add new @hide PhoneNumberUtils method which is used to determine if a
number dialed is an international number.

Test: Manual, unit.
Bug: 33272455
Merged-In: Ia7ffe10eee7d782ddc3355db616af0a48f19556e
Change-Id: Ia7ffe10eee7d782ddc3355db616af0a48f19556e
2017-02-28 13:08:22 -08:00
Andre Eisenbach
5c44929f79 Merge "Bluetooth: fix enable log: display 24h time" am: 17cb857301
am: add7c533c6

Change-Id: Ib10e76a44ee4ea10294b65ba01d2b028df6afe50
2017-02-28 19:29:07 +00:00
Andre Eisenbach
add7c533c6 Merge "Bluetooth: fix enable log: display 24h time"
am: 17cb857301

Change-Id: Ic9ba7b27e9ad997a6f8ba0ae6e4794903ef7806a
2017-02-28 19:14:58 +00:00
Andre Eisenbach
17cb857301 Merge "Bluetooth: fix enable log: display 24h time" 2017-02-28 19:04:13 +00:00
Marie Janssen
6837ead33d Bluetooth: fix enable log: display 24h time
Test: adb bugreport at 1pm, observe 13:xx:yy instead of 01:xx:yy
Change-Id: I172dcc63f0f43563ec692349a9434f63c55eac25
2017-02-28 19:02:21 +00:00
Brad Ebinger
e0a7345c6a Send the IMS_SERVICE_UP intent when it is STATE_READY
The ImsService must send the IMS_SERVICE_UP intent when it
signals that it is in the STATE_READY state and
IMS_SERVICE_DOWN when it is STATE_INITIALIZING or
STATE_NOT_AVAILABLE.

Also, add READ_PRIVILEGED_PHONE_STATE check

Bug: 35736451
Test: Unit tests added in frameworks/opt/telephony
Change-Id: I03d4398cf7008cf8c51b78d99eb029aa99c63f62
2017-02-28 10:56:14 -08:00
Amin Shaikh
a9bace4f2c Merge "Setting for RecommendedNetworkEvaluator cache TTL" am: 924878a752
am: 8bd0af0210

Change-Id: Ia18ef46b48d701eafad4c29988fca90d70005573
2017-02-28 17:16:35 +00:00
Amin Shaikh
8bd0af0210 Merge "Setting for RecommendedNetworkEvaluator cache TTL"
am: 924878a752

Change-Id: I945898d88baa26f210cd0d86cdf064844af6f92e
2017-02-28 17:11:35 +00:00
Treehugger Robot
924878a752 Merge "Setting for RecommendedNetworkEvaluator cache TTL" 2017-02-28 17:05:45 +00:00
Paul Lawrence
310c26ee6d Merge "Move seccomp policy logic to bionic" am: ef64558393
am: da6d5f702d

Change-Id: I474f127d2924190e1154cc9d3f1afdfa064154ae
2017-02-28 15:47:48 +00:00
Paul Lawrence
da6d5f702d Merge "Move seccomp policy logic to bionic"
am: ef64558393

Change-Id: I9c9e6c9cc1f8b1617a0c7e627b94d0d643f22a3e
2017-02-28 15:41:57 +00:00
Treehugger Robot
ef64558393 Merge "Move seccomp policy logic to bionic" 2017-02-28 15:36:08 +00:00
Amin Shaikh
21496f6ee1 Setting for RecommendedNetworkEvaluator cache TTL
Bug: 19948759
Bug: 33694078
Test: runtest frameworks-core
Change-Id: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
Merged-In: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
2017-02-27 21:49:05 -08:00
Brad Ebinger
055adc457a Merge "Adds read/modify permission checks to ImsService" am: 3e64003641
am: 175213e1ee

Change-Id: Ia55e5751b222e3e95780e16821e832f760b2d7c5
2017-02-27 21:30:19 +00:00
Brad Ebinger
175213e1ee Merge "Adds read/modify permission checks to ImsService"
am: 3e64003641

Change-Id: Ia4cb2c789a13658de86c0a36648a09e7abceb621
2017-02-27 21:26:50 +00:00
Brad Ebinger
3e64003641 Merge "Adds read/modify permission checks to ImsService" 2017-02-27 21:19:18 +00:00
Julius D'souza
5792d09b3d DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on. am: 106f1443c1 -s ours
am: 8beca4cc6f

Change-Id: I798681141b035eb3f29ab4824f2807cdb21010d9
2017-02-27 19:18:11 +00:00
Julius D'souza
8beca4cc6f DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on.
am: 106f1443c1  -s ours

Change-Id: I8541342d3466e4e1d686b3faa890830edadba940
2017-02-27 19:14:07 +00:00
Etan Cohen
07864e35c8 Merge "[AWARE] Remove (hide) sendMessage with retryCount API" am: f81911bcd2
am: 97bf0f5e9b

Change-Id: Ib62285494ffee7a4c35bc3583417e0cacc0d5d83
2017-02-27 18:46:11 +00:00
Etan Cohen
97bf0f5e9b Merge "[AWARE] Remove (hide) sendMessage with retryCount API"
am: f81911bcd2

Change-Id: I3791ee5fbd0c16de6156b0ad36e50091eea498f9
2017-02-27 18:42:05 +00:00
Etan Cohen
f81911bcd2 Merge "[AWARE] Remove (hide) sendMessage with retryCount API" 2017-02-27 18:33:35 +00:00