OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Changed Locale in ServiceInfo to a list."
Robert Greenwalt [Sat, 10 Jun 2017 00:10:33 +0000 (00:10 +0000)]
Merge "Changed Locale in ServiceInfo to a list."
am: a1df5b25e6

Change-Id: I7477fa88ae9cc83605d2172294bf2ecbcafc567e

7 years agoMerge "Changed Locale in ServiceInfo to a list."
Robert Greenwalt [Sat, 10 Jun 2017 00:03:56 +0000 (00:03 +0000)]
Merge "Changed Locale in ServiceInfo to a list."

7 years agoMerge "Update documentation for streaming methods"
Hall Liu [Fri, 9 Jun 2017 21:58:50 +0000 (21:58 +0000)]
Merge "Update documentation for streaming methods"
am: 186a588d57

Change-Id: I44825b99a968b110bb23373d59aa0bb5ecaf7eac

7 years agoMerge "Update documentation for streaming methods"
Hall Liu [Fri, 9 Jun 2017 21:44:27 +0000 (21:44 +0000)]
Merge "Update documentation for streaming methods"

7 years agoMerge "Add IApnSourceService.aidl"
Jordan Liu [Fri, 9 Jun 2017 17:33:56 +0000 (17:33 +0000)]
Merge "Add IApnSourceService.aidl"
am: 1d5d409f6f

Change-Id: Id76c6c83d18482594730f7e584231f7f4714b46d

7 years agoMerge "Add IApnSourceService.aidl"
Jordan Liu [Fri, 9 Jun 2017 17:25:08 +0000 (17:25 +0000)]
Merge "Add IApnSourceService.aidl"

7 years agoMerge "Revert "Instrument captive portal login activity""
Hugo Benichi [Fri, 9 Jun 2017 11:40:01 +0000 (11:40 +0000)]
Merge "Revert "Instrument captive portal login activity""
am: 2921320517

Change-Id: Iacae406a0998bb91c84b73a66ff383dfa8038665

7 years agoMerge "Revert "Instrument captive portal login activity""
Hugo Benichi [Fri, 9 Jun 2017 11:31:21 +0000 (11:31 +0000)]
Merge "Revert "Instrument captive portal login activity""

7 years agoRevert "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 11:30:05 +0000 (11:30 +0000)]
Revert "Instrument captive portal login activity"

This reverts commit f867da14eaa194cb53b0726b50e570268e70f1d7.

Change-Id: Ic900c91ed87c2d65c151f8386954bd7b74128348

7 years agoMerge "Convert IControlsTethering from interface into callback"
Erik Kline [Fri, 9 Jun 2017 09:16:01 +0000 (09:16 +0000)]
Merge "Convert IControlsTethering from interface into callback"
am: 5b9d362b60

Change-Id: I911548e994761778cf5434b2513d433eeaccd4f3

7 years agoMerge "Convert IControlsTethering from interface into callback"
Erik Kline [Fri, 9 Jun 2017 09:06:39 +0000 (09:06 +0000)]
Merge "Convert IControlsTethering from interface into callback"

7 years agoMerge "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 06:50:52 +0000 (06:50 +0000)]
Merge "Instrument captive portal login activity"
am: b213053def

Change-Id: Ic8205b609f8c6e0bc04eac17c3bcbe7df0508207

7 years agoMerge "New Metrics constants for captive portal related UI"
Hugo Benichi [Fri, 9 Jun 2017 06:47:47 +0000 (06:47 +0000)]
Merge "New Metrics constants for captive portal related UI"
am: aac9aff5dc

Change-Id: Ib55742148a08ae21f01539939e41699cdb581ca2

7 years agoMerge "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 06:39:19 +0000 (06:39 +0000)]
Merge "Instrument captive portal login activity"

7 years agoMerge "New Metrics constants for captive portal related UI"
Hugo Benichi [Fri, 9 Jun 2017 06:38:09 +0000 (06:38 +0000)]
Merge "New Metrics constants for captive portal related UI"

7 years agoInstrument captive portal login activity
Hugo Benichi [Mon, 5 Jun 2017 05:52:24 +0000 (14:52 +0900)]
Instrument captive portal login activity

Also add CAPTIVE_PORTAL_LOGIN_ACTIVITY_SSL_ERROR constants to
metrics_constants.proto for counting ssl error pages shown by the
captive portal login activity.

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: manually tested with captive portal testing setup while watching
      event logs: adb logcat -b events | grep captiveportallogin
        06-08 16:25:20.279 21558 21558 I sysui_action: [1004,com.android.captiveportallogin]
        06-08 17:01:04.052 21558 21558 I sysui_action: [1007,com.android.captiveportallogin]

Merged-In: Ia05853506d424ad4cb2c11770ae7718fbef3f01c

(cherry picked from commit c61dc92fc0619d101c4b789f6305012701cc47a0)

Change-Id: I9184f6263a003c2be28f41a550c6164c8d6ee907

7 years agoAdd IApnSourceService.aidl
Jordan Liu [Tue, 23 May 2017 20:07:07 +0000 (13:07 -0700)]
Add IApnSourceService.aidl

This service is bound to by TelephonyProvider on devices where we don't
use the apns-conf.xml file.

Bug: 37283190
Test: manual
Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508

7 years agoMerge "Add system property for hot startup method threshold"
Mathieu Chartier [Thu, 8 Jun 2017 21:54:22 +0000 (21:54 +0000)]
Merge "Add system property for hot startup method threshold"
am: a370159592

Change-Id: I271cf74364b7b9c2d16282ef6a9ab24b6d243e1e

7 years agoMerge "Add system property for hot startup method threshold"
Mathieu Chartier [Thu, 8 Jun 2017 21:44:06 +0000 (21:44 +0000)]
Merge "Add system property for hot startup method threshold"

7 years agoMerge "Bluetooth: fix connectGatt overload invocations"
Jakub Pawlowski [Thu, 8 Jun 2017 21:12:26 +0000 (21:12 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations"
am: 404e9f209f

Change-Id: I01699795f733fbf46af10ba25afd8cb3feecc9ea

7 years agoMerge "Bluetooth: fix connectGatt overload invocations"
Jakub Pawlowski [Thu, 8 Jun 2017 20:59:33 +0000 (20:59 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations"

7 years agoBluetooth: fix connectGatt overload invocations
Jakub Pawlowski [Wed, 7 Jun 2017 20:45:33 +0000 (13:45 -0700)]
Bluetooth: fix connectGatt overload invocations

Test: sl4a GattOverBrEdrTest
Bug: 62387078
Change-Id: I5bfb87683e25f8862587e8000eb4c9bb6ff14f99

7 years agoMerge "Allow disabling GL preload even if gfxdriver isn't updatable"
Jesse Hall [Thu, 8 Jun 2017 15:41:46 +0000 (15:41 +0000)]
Merge "Allow disabling GL preload even if gfxdriver isn't updatable"
am: 9cf8c281d2

Change-Id: I025787589009c11bd5477777105b2a5ab2c5f592

7 years agoMerge "Allow disabling GL preload even if gfxdriver isn't updatable"
Jesse Hall [Thu, 8 Jun 2017 15:34:42 +0000 (15:34 +0000)]
Merge "Allow disabling GL preload even if gfxdriver isn't updatable"

7 years agoConvert IControlsTethering from interface into callback
Erik Kline [Tue, 6 Jun 2017 10:24:21 +0000 (19:24 +0900)]
Convert IControlsTethering from interface into callback

Additionally:
    - add updateLinkProperties() method to new callback
    - skeletally connect LinkProperties updates through
      to OffloadController

TODOs liberally sprinkled through out.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Change-Id: I631d17b26be153534551a1615931fc98b598b953

7 years agoMerge "Move findPreferredUpstreamType into UNM"
Erik Kline [Thu, 8 Jun 2017 12:11:59 +0000 (12:11 +0000)]
Merge "Move findPreferredUpstreamType into UNM"
am: 32703994fe

Change-Id: I20e90906e72bc8bba9f0f535d54ba430f96191ff

7 years agoMerge "Move findPreferredUpstreamType into UNM"
Treehugger Robot [Thu, 8 Jun 2017 12:02:59 +0000 (12:02 +0000)]
Merge "Move findPreferredUpstreamType into UNM"

7 years agoMove findPreferredUpstreamType into UNM
Erik Kline [Mon, 5 Jun 2017 07:02:02 +0000 (16:02 +0900)]
Move findPreferredUpstreamType into UNM

This changes the way in which available networks are found. Previously
Tethering asked ConnectivityService for NetworkInfo and checked for
whether or not it was in state CONNECTED.

Here we use the fact that ConnectivityService will not call UNM's
callbacks' onAvailable() methods until the networks in question have
become connected.

Test: as follows
    - built
    - flashed
    - booted
    - runtest framework-net passed
Bug: 32163131

Change-Id: I97abe225fdd3accb38bd9168f545445b761a90d8

7 years agoMerge "Framework: Remove SamplingProfiler"
Andreas Gampe [Thu, 8 Jun 2017 03:16:54 +0000 (03:16 +0000)]
Merge "Framework: Remove SamplingProfiler"
am: d2ecee2506

Change-Id: Iccba75c67041593131bec64e518a1bd968cb1bb0

7 years agoMerge "Framework: Remove SamplingProfiler"
Treehugger Robot [Thu, 8 Jun 2017 03:05:57 +0000 (03:05 +0000)]
Merge "Framework: Remove SamplingProfiler"

7 years agoAdd system property for hot startup method threshold
Mathieu Chartier [Thu, 8 Jun 2017 00:34:22 +0000 (17:34 -0700)]
Add system property for hot startup method threshold

The property is dalvik.vm.hot-startup-method-samples, setting this
controls how many startup samples are required before methods are
marked as hot in the profile.

Test: adb shell setprop dalvik.vm.hot-startup-method-samples 12
Test: adb shell setprop dalvik.vm.extra-opts -verbose:profiler
Test: adb logcat | grep Profile

Bug: 36457259

(cherry picked from commit 5eee004b926dc0fc02640de09c9d9a7f8fe1f052)

Change-Id: Ibf8075aafc6e5bd2ba10385973b26faee3d807df

7 years agoMerge "Embms download setup"
Hall Liu [Thu, 8 Jun 2017 01:26:28 +0000 (01:26 +0000)]
Merge "Embms download setup"
am: da5b77fa9b

Change-Id: I18b378fd0c999e40e3dc8cf9d1248414489880c6

7 years agoMerge "Embms download setup"
Hall Liu [Thu, 8 Jun 2017 01:20:48 +0000 (01:20 +0000)]
Merge "Embms download setup"

7 years agoEmbms download setup
Hall Liu [Fri, 19 May 2017 22:28:09 +0000 (15:28 -0700)]
Embms download setup

Add MbmsDownloadReceiver and MbmsTempFileProvider to facilitate MBMS
download.
Fill in the download method in MbmsDownloadManager

Test: testapps
Change-Id: Ibb30f3b2b9d14b9df6b53c06916c21e3ca3a42c6

7 years agoFramework: Remove SamplingProfiler
Andreas Gampe [Fri, 2 Jun 2017 00:17:23 +0000 (17:17 -0700)]
Framework: Remove SamplingProfiler

Remove the very old and unsupported SamplingProfilerIntegration. This
CL removes the code parts.

Bug: 37272346
Test: m
Test: Device boots
Merged-In: I64d77244b5816ef1f605d19530b96be38f5c1bc6
Change-Id: I64d77244b5816ef1f605d19530b96be38f5c1bc6

7 years agoMerge "Add additional mocking for Context innards"
Erik Kline [Wed, 7 Jun 2017 09:40:37 +0000 (09:40 +0000)]
Merge "Add additional mocking for Context innards"
am: a65aa77c1c

Change-Id: I7f780c05c46b00457b194bfb13df5814735f0809

7 years agoMerge "Add additional mocking for Context innards"
Treehugger Robot [Wed, 7 Jun 2017 09:32:02 +0000 (09:32 +0000)]
Merge "Add additional mocking for Context innards"

7 years agoAdd additional mocking for Context innards
Erik Kline [Wed, 7 Jun 2017 07:33:19 +0000 (16:33 +0900)]
Add additional mocking for Context innards

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - cherry-picked to master and verified there as well
Bug: 32163131
Bug: 32561414

Change-Id: I0b5b1b12d55547d08c332c7d274f19f0023a7b07

7 years agoMerge "Captive portal login shows specific network name"
Hugo Benichi [Wed, 7 Jun 2017 08:35:51 +0000 (08:35 +0000)]
Merge "Captive portal login shows specific network name"
am: 01fb05cf62

Change-Id: I205b37d204250d7fc188b2d7d23593d22d03b89d

7 years agoMerge "Captive portal login shows specific network name"
Hugo Benichi [Wed, 7 Jun 2017 08:11:20 +0000 (08:11 +0000)]
Merge "Captive portal login shows specific network name"

7 years agoCaptive portal login shows specific network name
Hugo Benichi [Thu, 1 Jun 2017 03:58:49 +0000 (12:58 +0900)]
Captive portal login shows specific network name

Bug: 62274222
Bug: 38197949
Bug: 36532213
Test: manually tested by triggering the captive portal login activity
Change-Id: I31439b13a87a78982560828f9ea8a3a57591471b

7 years agoMerge "Revert "Captive portal login shows specific network name""
Hugo Benichi [Wed, 7 Jun 2017 03:32:09 +0000 (03:32 +0000)]
Merge "Revert "Captive portal login shows specific network name""
am: 7f423d00dd

Change-Id: I0d77f19cadbf5905215ae576e66057a259f2348e

7 years agoMerge "Revert "Captive portal login shows specific network name""
Hugo Benichi [Wed, 7 Jun 2017 03:23:16 +0000 (03:23 +0000)]
Merge "Revert "Captive portal login shows specific network name""

7 years agoRevert "Captive portal login shows specific network name"
Hugo Benichi [Wed, 7 Jun 2017 03:22:20 +0000 (03:22 +0000)]
Revert "Captive portal login shows specific network name"

This reverts commit 8032ff32ff9c2b6684bd365059f88a858272b633.

Several branches are broken because of this.

Change-Id: I2d9f8b1cc8f93ed8de7d1e01d49c7cd29417820d

7 years agoMerge "Captive portal login shows specific network name"
Hugo Benichi [Wed, 7 Jun 2017 02:42:36 +0000 (02:42 +0000)]
Merge "Captive portal login shows specific network name"
am: ea7322d17e

Change-Id: I48abfa9523854ea3f30883e92d6d3011d41c6a66

7 years agoMerge "Captive portal login shows specific network name"
Hugo Benichi [Wed, 7 Jun 2017 02:33:02 +0000 (02:33 +0000)]
Merge "Captive portal login shows specific network name"

7 years agoMerge "QS: Remove listeners only if added"
Gabriele M [Tue, 6 Jun 2017 18:49:15 +0000 (18:49 +0000)]
Merge "QS: Remove listeners only if added"
am: bede96729c

Change-Id: I53250273e39889b6b772dc12bbdbbc0c9606fd47

7 years agoAllow disabling GL preload even if gfxdriver isn't updatable
Jesse Hall [Thu, 13 Apr 2017 22:44:24 +0000 (15:44 -0700)]
Allow disabling GL preload even if gfxdriver isn't updatable

Bug: 34611670
Test: set ro.zygote.disable_gl_preload=1, shell start,
      confirm GL driver isn't loaded in zygote process
      by checking /proc/<pid>/maps

Change-Id: Ieb739bd7eba365917684cf830d78c15fea06f8cf
(cherry picked from commit 5d911fe6bb8f05a69b208fafeb3f6bd4b13f06ad)

7 years agoMerge "QS: Remove listeners only if added"
Treehugger Robot [Tue, 6 Jun 2017 18:36:25 +0000 (18:36 +0000)]
Merge "QS: Remove listeners only if added"

7 years agoQS: Remove listeners only if added
Gabriele M [Mon, 5 Jun 2017 15:55:03 +0000 (17:55 +0200)]
QS: Remove listeners only if added

handleDestroy() calls setListening(false) unconditionally. This
causes an error if no listener was never added. Check if we added
a listener and then try to remove it.

Change-Id: Iefe8aacbe87ba1c2c19c9e77cf132fc7c84798f9

7 years agoMerge "Added android.test.mock and android.test.mock.sdk targets"
Paul Duffin [Tue, 6 Jun 2017 07:49:39 +0000 (07:49 +0000)]
Merge "Added android.test.mock and android.test.mock.sdk targets"
am: 46f8d427c4

Change-Id: I93ecb5e95337b84c2746b802fa88382cdd676cb8

7 years agoMerge "Added android.test.mock and android.test.mock.sdk targets"
Paul Duffin [Tue, 6 Jun 2017 07:40:17 +0000 (07:40 +0000)]
Merge "Added android.test.mock and android.test.mock.sdk targets"

7 years agoMerge "Support setting upstream parameters."
Erik Kline [Tue, 6 Jun 2017 04:54:04 +0000 (04:54 +0000)]
Merge "Support setting upstream parameters."
am: faf8d67749

Change-Id: I0be9ad265fa664f0ce6e1e098996b46c88317b97

7 years agoMerge "Support setting upstream parameters."
Treehugger Robot [Tue, 6 Jun 2017 04:43:32 +0000 (04:43 +0000)]
Merge "Support setting upstream parameters."

7 years agoSupport setting upstream parameters.
Erik Kline [Thu, 1 Jun 2017 11:11:25 +0000 (20:11 +0900)]
Support setting upstream parameters.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: Id88cae4beed7d38aec3d29a0e2f59a5c7e6a9a4e

7 years agoAdded android.test.mock and android.test.mock.sdk targets
Paul Duffin [Fri, 19 May 2017 08:05:54 +0000 (09:05 +0100)]
Added android.test.mock and android.test.mock.sdk targets

The android.test.mock will be used for any targets that require
android.test.mock classes but which do not already depend on the
sdk. It is also the library that will be added to the classpath
at runtime when an app has the following in their manifest.
    <uses-library android:name="android.test.mock"/>

The android.test.mock.sdk will be used by targets that require
android.test.mock classes and which build against the SDK. It
contains stub classes (like android.jar). It is also the library
that will be copied into the optional directory of the SDK.

(cherry picked from f74752293d1d25633aebc42c600717d0296a0820)

Bug: 30188076
Test: make checkbuild
Change-Id: If199180e1136da1927a9e7c7bcafbcfb29cf1274
Merged-In: Ia3fcd47c644b8e5a573f891571a7b3772eac63f9

7 years agoCaptive portal login shows specific network name
Hugo Benichi [Thu, 1 Jun 2017 03:58:49 +0000 (12:58 +0900)]
Captive portal login shows specific network name

Bug: 62274222
Bug: 38197949
Bug: 36532213
Test: manually tested by triggering the captive portal login activity
Change-Id: If10448dce5db0fc3c46cedba58abda26e30e2507

7 years agoNew Metrics constants for captive portal related UI
Hugo Benichi [Wed, 31 May 2017 02:11:37 +0000 (11:11 +0900)]
New Metrics constants for captive portal related UI

This patch adds 5 new constants in metrics_constants for counting
various UI interactions involving captive portals:
  - sign-in button in wifi network details card
  - captive portal login activity start up
  - captive portal login activity menu interactions (2 constants)
  - captive portal login activity auto-closes on portal dismissed

Bug: 34901696
Bug: 26303355
Test: compiled, flashed
Merged-In: I489e5f2f8ff27da60fed215fa5f51326933fd79e

(cherry pick from commit 11da42bbb63dba98515e6a3ca7c55e77cbb3c7bf)

Change-Id: Ifc553b08a65e78a630e235de087b7659a228bec8

7 years agoMerge "Minor upstream selection refactoring"
Erik Kline [Mon, 5 Jun 2017 04:28:16 +0000 (04:28 +0000)]
Merge "Minor upstream selection refactoring"
am: 12fe022fbd

Change-Id: I1984cf520c04cdc2751dca3d6029793a257a1592

7 years agoMerge "Minor upstream selection refactoring"
Treehugger Robot [Mon, 5 Jun 2017 04:19:28 +0000 (04:19 +0000)]
Merge "Minor upstream selection refactoring"

7 years agoMerge "Fix captive portal login ssl error overflow"
Hugo Benichi [Mon, 5 Jun 2017 03:59:14 +0000 (03:59 +0000)]
Merge "Fix captive portal login ssl error overflow"
am: 42409f9776

Change-Id: I71a035066c522d6e96a43dea32f07594861bdbed

7 years agoMerge "Fix captive portal login ssl error overflow"
Treehugger Robot [Mon, 5 Jun 2017 03:47:58 +0000 (03:47 +0000)]
Merge "Fix captive portal login ssl error overflow"

7 years agoMinor upstream selection refactoring
Erik Kline [Sun, 4 Jun 2017 02:36:01 +0000 (11:36 +0900)]
Minor upstream selection refactoring

Specifically:
    - relocated "tryCell" handling
    - minor logging change
    - remove unneeded checkExpectedThread()

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Change-Id: I2f5428206503fd222b959e695c26326df53038f1

7 years agoFix captive portal login ssl error overflow
Hugo Benichi [Fri, 2 Jun 2017 01:12:09 +0000 (10:12 +0900)]
Fix captive portal login ssl error overflow

This patch fixes the built-in html page shown in the captive portal
login activity when there is an ssl error. The page is now scaled
correctly with respect to the device screen, and text wraps as
expected.

This patch also cleanups the hardcoded page by:
 - formatting it for better reading,
 - inlining the "px" css rules,
 - using string concatenation instead of format for including the
   localized text.

Bug: 62269512
Bug: 36532213
Test: manually triggered the activity to load the error page
Change-Id: I9d037222798bd9d4c1736923afb71e3e14c68bcc

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager"
nharold [Fri, 2 Jun 2017 23:49:33 +0000 (23:49 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager"
am: 4f6ec3d11d

Change-Id: If2b8a92171f9d9f7d1b9aa89cf6fc90efe2f386d

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager"
nharold [Fri, 2 Jun 2017 23:40:16 +0000 (23:40 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager"

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
Brad Ebinger [Fri, 2 Jun 2017 22:19:31 +0000 (22:19 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
am: 75b7ef15f6

Change-Id: I7075ab7524d363ade4f42d7d3d33251243707e8a

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
Brad Ebinger [Fri, 2 Jun 2017 22:09:47 +0000 (22:09 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"

7 years agoChanged Locale in ServiceInfo to a list.
Robert Greenwalt [Fri, 2 Jun 2017 21:54:16 +0000 (14:54 -0700)]
Changed Locale in ServiceInfo to a list.

EMBMS advertises all the locales the content is available for.
Query currently out for how a client app selects the locale it
wants, but this change reflects what the carrier gives out for
info.

Test: builds
Change-Id: Ie2bb0f73784514d26eefb919649da761a379ea2b

7 years agoAdds ACCESS_CLASS_BLOCKED Disconnect cause
Brad Ebinger [Fri, 2 Jun 2017 17:56:40 +0000 (10:56 -0700)]
Adds ACCESS_CLASS_BLOCKED Disconnect cause

Adds the ACCESS_CLASS_BLOCKED Disconnect cause in order
to allow the dialer to take action when this happens
during a VT call.

Bug: 33821263
Test: Build
Change-Id: I9afdd90f0a8a562b626b730dbb1b03cf37776ebd

7 years agoMerge "Testra RSSI compliance"
Sooraj Sasindran [Fri, 2 Jun 2017 17:31:39 +0000 (17:31 +0000)]
Merge "Testra RSSI compliance"
am: 7466567d89

Change-Id: I8e348f6433bef87c28ac80e6778ecfd3dede6dc5

7 years agoMerge "Testra RSSI compliance"
Sooraj Sasindran [Fri, 2 Jun 2017 17:25:46 +0000 (17:25 +0000)]
Merge "Testra RSSI compliance"
am: 542ebcd3fb

Change-Id: I5c31472190dc06d1ae5c2c077248b8c8f65f54e8

7 years agoMerge "Testra RSSI compliance"
Treehugger Robot [Fri, 2 Jun 2017 17:20:30 +0000 (17:20 +0000)]
Merge "Testra RSSI compliance"

7 years agoMerge "Testra RSSI compliance"
Treehugger Robot [Fri, 2 Jun 2017 17:16:41 +0000 (17:16 +0000)]
Merge "Testra RSSI compliance"

7 years agoTestra RSSI compliance
Sooraj Sasindran [Tue, 9 May 2017 22:00:55 +0000 (15:00 -0700)]
Testra RSSI compliance

Devices that support 4 bar signal strength
indication should display the bars as follow:

4 bar   RSRP   > -90
3 bar   -90 ≥    RSRP   > -100
2 bar  -100 ≥   RSRP   > -115
1 bar   -115 ≥  RSRP   > -120
0 bar   RSRP    ≤ -120
      or No Sync to LTE Reference Signals

Bug=37187586

Change-Id: I2a76aabdf6d8ef1be3a05a90643b1e670f929bc3

7 years agoTestra RSSI compliance
Sooraj Sasindran [Fri, 12 May 2017 00:36:37 +0000 (17:36 -0700)]
Testra RSSI compliance

Devices that support 4 bar signal strength
indication should display the bars as follow:

4 bar   RSRP   > -90
3 bar   -90 ≥    RSRP   > -100
2 bar  -100 ≥   RSRP   > -115
1 bar   -115 ≥  RSRP   > -120
0 bar   RSRP    ≤ -120
      or No Sync to LTE Reference Signals

Add support for mnc 11, 71 and 72

BUG=37187586

Change-Id: Ia0a71707d1cbc20887bcc00c0519833b522b4a95

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
Erik Kline [Fri, 2 Jun 2017 05:26:49 +0000 (05:26 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
am: 3478ff8c9e

Change-Id: I489f7e6b8ca4af584879a4c9e8f00570da6e400c

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
Treehugger Robot [Fri, 2 Jun 2017 05:19:31 +0000 (05:19 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"

7 years agoHandle Wi-Fi passing explicit interface name and AP/IP mode
Erik Kline [Wed, 31 May 2017 06:53:53 +0000 (15:53 +0900)]
Handle Wi-Fi passing explicit interface name and AP/IP mode

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 31466854
Bug: 32163131
Bug: 62076211
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe

7 years agoAdd UDP Encap Socket Support to IpSecManager
Nathan Harold [Wed, 5 Apr 2017 02:37:48 +0000 (19:37 -0700)]
Add UDP Encap Socket Support to IpSecManager

-Implement the UdpEncapsulationSocket
-Convert all ManagedResources to use resourceIds
-Rework ManagedResource to track resourceIds

Bug: 30984788
Test: cts - IpSecManagerTest#testUdpEncapsulation()

Change-Id: I7b1099c487051a8d951c1485791c4b6cef2deb1d

7 years agoMerge "WifiManager: add unspecified ip mode"
Rebecca Silberstein [Fri, 2 Jun 2017 01:37:43 +0000 (01:37 +0000)]
Merge "WifiManager: add unspecified ip mode"
am: dae92faa02

Change-Id: Ia8fe528fd7cbe8076ea185d21ae7dcfd5654334c

7 years agoMerge "WifiManager: add unspecified ip mode"
Treehugger Robot [Fri, 2 Jun 2017 01:26:14 +0000 (01:26 +0000)]
Merge "WifiManager: add unspecified ip mode"

7 years agoMerge "Optimised hwui rounded corners shader"
Arun [Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)]
Merge "Optimised hwui rounded corners shader"
am: d7287c96eb

Change-Id: Idf53faac924be91d4e23da91b54c9ca08be9ad39

7 years agoMerge "Optimised hwui rounded corners shader"
Treehugger Robot [Thu, 1 Jun 2017 23:13:24 +0000 (23:13 +0000)]
Merge "Optimised hwui rounded corners shader"

7 years agoOptimised hwui rounded corners shader
Arun [Mon, 23 Jan 2017 11:59:21 +0000 (11:59 +0000)]
Optimised hwui rounded corners shader

This is a ~2x performance increase for the rounded corners shader which
was previously shader limited even on many high-end GPUs. It simplifies
the calculations by pre-dividing by the radius, which also allows to
maintain mediump/FP16 precision (this improves performance and might
improve image quality on GPUs that don't support highp e.g. Mali-400).
It also uses a conditional in the shader to save much of the work on
the vast majority of pixels which are not close to the corners.

Test: manual - visual inspection on fugu (nexus player)

Change-Id: I38f491cfb006e2991ef0b9d6b3d67d2c4d328d44

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 17:05:40 +0000 (17:05 +0000)]
Merge "Move appName inside Downloadrequest."
am: 142a392b75

Change-Id: I6512d4bc2406f23571c1d4e6425353930fb9b847

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 16:52:32 +0000 (16:52 +0000)]
Merge "Move appName inside Downloadrequest."

7 years agoMerge "Prettify the captive portal sign-in activity"
Hugo Benichi [Thu, 1 Jun 2017 13:44:19 +0000 (13:44 +0000)]
Merge "Prettify the captive portal sign-in activity"
am: 5dbdffbf81

Change-Id: I71b55fc8869471c02f470980d013951b285b3ebb

7 years agoMerge "Prettify the captive portal sign-in activity"
Treehugger Robot [Thu, 1 Jun 2017 13:34:14 +0000 (13:34 +0000)]
Merge "Prettify the captive portal sign-in activity"

7 years agoWifiManager: add unspecified ip mode
Rebecca Silberstein [Wed, 10 May 2017 05:58:01 +0000 (22:58 -0700)]
WifiManager: add unspecified ip mode

Add an unspecified IP mode that allows WifiServiceImpl to clear state
in the interface-based IP mode tracking.

Bug: 31466854
Test: frameworks/base/wifi/tests/runtests.sh
Merged-In: I0d1db7ecb9cf7edd74d95f73d88b23571b87a27f
Merged-In: Iaa1474bd24d63e957ae82745b66c7571a5f18433
Change-Id: I15485cdab95ed4308cf5c2877fba40eac82bf162
(cherry picked from commit bf4754361877ad93a92bea64407974f26eb7c494)

7 years agoPrettify the captive portal sign-in activity
Hugo Benichi [Wed, 17 May 2017 00:26:30 +0000 (09:26 +0900)]
Prettify the captive portal sign-in activity

- fuses url bar with activity header: url is now the subtitle
- url appears as text and not as editable content
- url only shows host name
- header style is the device default for Settings
- Material progress bar
- progress bar disappears at page load finished
- webview does not jump at page load finished

Bug: 62107381
Bug: 38197949
Test: tested by manually triggering the sign-in activity
Merged-In: Id75023acad04f444dbfc41de56814a09e70cc6f9

(cherry pick from commit a206649a6f66f16cc56db2f4e32b846d9b03501c)

Change-Id: I5c3e5ebac18fef6611c215d04d88ffef67b2b640

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:31:07 +0000 (09:31 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"
am: f547c4045f

Change-Id: I022a89d1fdacca4a96ea493841609c48a538370b

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:23:13 +0000 (09:23 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"

7 years agoMerge "Add a tethering offload settings kill switch"
Erik Kline [Thu, 1 Jun 2017 07:59:11 +0000 (07:59 +0000)]
Merge "Add a tethering offload settings kill switch"
am: 7cf3086f37

Change-Id: I13264b4ae23c8754b61ff46cafbb1b5f31bd14a3

7 years agoMerge "Add a tethering offload settings kill switch"
Treehugger Robot [Thu, 1 Jun 2017 07:50:35 +0000 (07:50 +0000)]
Merge "Add a tethering offload settings kill switch"

7 years agoMerge "HFP: Allow SCO audio to be forcibly connected"
Jack He [Thu, 1 Jun 2017 07:00:47 +0000 (07:00 +0000)]
Merge "HFP: Allow SCO audio to be forcibly connected"
am: 93d7c84726

Change-Id: I5f0ad1581dd76a8c95dcc52702b0462adc786528

7 years agoMerge "HFP: Allow SCO audio to be forcibly connected"
Treehugger Robot [Thu, 1 Jun 2017 06:53:25 +0000 (06:53 +0000)]
Merge "HFP: Allow SCO audio to be forcibly connected"

7 years agoMove appName inside Downloadrequest.
Robert Greenwalt [Fri, 19 May 2017 19:30:22 +0000 (12:30 -0700)]
Move appName inside Downloadrequest.

Simplifies vendor API.

Test: builds
Change-Id: I1e59e8014aa0fe1c0d46bca3347f428347fa0365

7 years agoHFP: Allow SCO audio to be forcibly connected
Jack He [Wed, 10 May 2017 00:16:01 +0000 (17:16 -0700)]
HFP: Allow SCO audio to be forcibly connected

* Normally, Android only allows SCO audio to be connected in several
  allowed cases (e.g. in call, in ringing, in virtual call state, etc)
* Sometimes, it is necessary to force a SCO audio connection (e.g.
  during PTS test)
* This change adds setForceScoAudio(boolean) hidden, system only method
  to allow such behaviour

Bug: 38040125
Test: PTS HFP tests
Change-Id: I28f295c98da5bebb837c2a5423c7acde81af73f7

7 years agoMerge "Added video calling data usage per-uid support"
Jack Yu [Wed, 31 May 2017 21:44:13 +0000 (21:44 +0000)]
Merge "Added video calling data usage per-uid support"
am: 36fdb346f2

Change-Id: I3901efbfafcfab7e076b669f0313dce860e97072