OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix deprecated range_x calls." am: 87cafe8f33
Martijn Coenen [Wed, 16 Nov 2016 10:07:54 +0000 (10:07 +0000)]
Merge "Fix deprecated range_x calls." am: 87cafe8f33
am: d03b17c29a

Change-Id: I70280eb85b9430c23f6b2681375cbcfa9da2dd38

7 years agoMerge "Fix deprecated range_x calls."
Martijn Coenen [Wed, 16 Nov 2016 10:00:23 +0000 (10:00 +0000)]
Merge "Fix deprecated range_x calls."
am: 87cafe8f33

Change-Id: Idfbc4e3475cea7e56b3ac72afd61e1e981ef4e5d

7 years agoMerge "Fix deprecated range_x calls."
Martijn Coenen [Wed, 16 Nov 2016 09:48:30 +0000 (09:48 +0000)]
Merge "Fix deprecated range_x calls."

7 years agoMerge "CountDownTimer: not skip onTick()" am: 224d9e48fa
Hidenari Koshimae [Wed, 16 Nov 2016 08:18:30 +0000 (08:18 +0000)]
Merge "CountDownTimer: not skip onTick()" am: 224d9e48fa
am: 9997fcc72c

Change-Id: Ie09949fbc23ad87e159e063a59983a1a6bff98f8

7 years agoMerge "CountDownTimer: not skip onTick()"
Hidenari Koshimae [Wed, 16 Nov 2016 08:10:54 +0000 (08:10 +0000)]
Merge "CountDownTimer: not skip onTick()"
am: 224d9e48fa

Change-Id: I7ade5d057e73f53867747c00fcfc5882a57a2f4c

7 years agoMerge "CountDownTimer: not skip onTick()"
Treehugger Robot [Wed, 16 Nov 2016 07:55:26 +0000 (07:55 +0000)]
Merge "CountDownTimer: not skip onTick()"

7 years agoMerge "Fixed the issue when some apps were gone and couldn't be installed successfull...
longhai [Wed, 16 Nov 2016 03:11:09 +0000 (03:11 +0000)]
Merge "Fixed the issue when some apps were gone and couldn't be installed successfully after updating from KK to M via OTA." am: 1813ae0159
am: 2be54fde72

Change-Id: I14e1d5aa6bda143e2a87bba1ea65b8384c44e3a1

7 years agoMerge "Fixed the issue when some apps were gone and couldn't be installed successfull...
longhai [Wed, 16 Nov 2016 03:04:38 +0000 (03:04 +0000)]
Merge "Fixed the issue when some apps were gone and couldn't be installed successfully after updating from KK to M via OTA."
am: 1813ae0159

Change-Id: Iae1a0cd25495206d596aed7d68ce7936071f9c6e

7 years agoMerge "Fixed the issue when some apps were gone and couldn't be installed successfull...
Treehugger Robot [Wed, 16 Nov 2016 02:54:25 +0000 (02:54 +0000)]
Merge "Fixed the issue when some apps were gone and couldn't be installed successfully after updating from KK to M via OTA."

7 years agoMerge changes from topic 'HS2 API Cleanup' am: 41fd0f1faf
Peter Qiu [Wed, 16 Nov 2016 00:18:36 +0000 (00:18 +0000)]
Merge changes from topic 'HS2 API Cleanup' am: 41fd0f1faf
am: afb8f37711

Change-Id: I413a4e86233f103767c24b636212faf3fba3dcf9

7 years agowifi: remove unused hidden Hotspot 2.0 Release 1 API am: 1c3054ea87
Peter Qiu [Wed, 16 Nov 2016 00:16:30 +0000 (00:16 +0000)]
wifi: remove unused hidden Hotspot 2.0 Release 1 API am: 1c3054ea87
am: 1b39c61ce7

Change-Id: Ia81a0d8b77a6031670b89f97d21fc29be9631fb3

7 years agowifi: remove hidden unused Hotspot 2.0 Release 2 APIs am: a38558b539
Peter Qiu [Wed, 16 Nov 2016 00:14:46 +0000 (00:14 +0000)]
wifi: remove hidden unused Hotspot 2.0 Release 2 APIs am: a38558b539
am: a9a9a9bb8d

Change-Id: I5be1220539e5a22e4f0d4e3d52ac85c608ccb950

7 years agoMerge changes from topic 'HS2 API Cleanup'
Peter Qiu [Wed, 16 Nov 2016 00:04:44 +0000 (00:04 +0000)]
Merge changes from topic 'HS2 API Cleanup'
am: 41fd0f1faf

Change-Id: Ic53fa2cad082484ebbbc9198511b0539dad97382

7 years agowifi: remove unused hidden Hotspot 2.0 Release 1 API
Peter Qiu [Wed, 16 Nov 2016 00:00:06 +0000 (00:00 +0000)]
wifi: remove unused hidden Hotspot 2.0 Release 1 API
am: 1c3054ea87

Change-Id: I5a13979aedb39ad347099fd25e7515b099b9ac19

7 years agowifi: remove hidden unused Hotspot 2.0 Release 2 APIs
Peter Qiu [Tue, 15 Nov 2016 23:59:20 +0000 (23:59 +0000)]
wifi: remove hidden unused Hotspot 2.0 Release 2 APIs
am: a38558b539

Change-Id: I48766f0c259693496dc9b63ad0dd287b93185787

7 years agoMerge changes from topic 'HS2 API Cleanup'
Treehugger Robot [Tue, 15 Nov 2016 23:50:16 +0000 (23:50 +0000)]
Merge changes from topic 'HS2 API Cleanup'

* changes:
  wifi: remove unused hidden Hotspot 2.0 Release 1 API
  wifi: remove hidden unused Hotspot 2.0 Release 2 APIs

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38
Neil Fuller [Tue, 15 Nov 2016 16:57:32 +0000 (16:57 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38
am: 98f03f4980

Change-Id: Ia6592370da446e43896fb56d12f734841e137d49

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting"
Neil Fuller [Tue, 15 Nov 2016 16:50:29 +0000 (16:50 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting"
am: 8631e19d38

Change-Id: I70533c5ff4ac8cdeef1b42337bb47b09c8bbf927

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting"
Neil Fuller [Tue, 15 Nov 2016 16:39:42 +0000 (16:39 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting"

7 years agoFix deprecated range_x calls.
Martijn Coenen [Mon, 14 Nov 2016 13:56:03 +0000 (14:56 +0100)]
Fix deprecated range_x calls.

Test: builds
Change-Id: I98412e51a54ef9f9e26c72ecd810dcea77aefdbb

7 years agoMerge "osu: remove calls to deprecated APIs" am: e9514808d7
Peter Qiu [Tue, 15 Nov 2016 04:23:21 +0000 (04:23 +0000)]
Merge "osu: remove calls to deprecated APIs" am: e9514808d7
am: 30874ed6ed

Change-Id: I43093bf243cb249ad892bdf94ea9781ca734e239

7 years agoMerge "osu: remove calls to deprecated APIs"
Peter Qiu [Tue, 15 Nov 2016 04:15:59 +0000 (04:15 +0000)]
Merge "osu: remove calls to deprecated APIs"
am: e9514808d7

Change-Id: If7c31b7d901ef8cc8561b7f0933d803498105e75

7 years agoMerge "osu: remove calls to deprecated APIs"
Treehugger Robot [Tue, 15 Nov 2016 03:59:57 +0000 (03:59 +0000)]
Merge "osu: remove calls to deprecated APIs"

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master
Svetoslav Ganov [Tue, 15 Nov 2016 03:28:20 +0000 (03:28 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master
am: 9f078049cf

Change-Id: I28501fc58e597c1f5e9d4da6bfaa3a015cad1260

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Tue, 15 Nov 2016 03:27:22 +0000 (03:27 +0000)]
Add WiFi toggle prompts - framework
am: 6c3032f16b

Change-Id: Ie89a9b91b8b1cd7158a743d8b5870d8f9d6f8adc

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master
TreeHugger Robot [Tue, 15 Nov 2016 03:18:21 +0000 (03:18 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724
Yifan Hong [Tue, 15 Nov 2016 03:12:43 +0000 (03:12 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724
am: 2187dc5ca1

Change-Id: If0919864026c78fed76df1554235c2acca9f2750

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
Yifan Hong [Tue, 15 Nov 2016 03:06:44 +0000 (03:06 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
am: 8cc1343724

Change-Id: If003adc06673d8e6c6db6f8a5d858dcca7aed109

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
Treehugger Robot [Tue, 15 Nov 2016 02:59:51 +0000 (02:59 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods."

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Wed, 27 Jul 2016 01:23:01 +0000 (18:23 -0700)]
Add WiFi toggle prompts - framework

If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Original-Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
Change-Id: I3fdc2b02abecaf3166614b0cb9fac3553cb7ab88
(cherry picked from commit d3663c04a721e0848dd3e9179c84ba585d91839d)

7 years agoosu: remove calls to deprecated APIs
Peter Qiu [Mon, 14 Nov 2016 23:18:09 +0000 (15:18 -0800)]
osu: remove calls to deprecated APIs

The hidden APIs WifiManager#addPasspointManagmentObject and
WifiManager#addPasspointManagementObject will removed, so remove
all callsites.

The OSU app is still under developement and is not included
in any device builds.  However, it is being built by the Treehugger
for generic AOSP builds.

So fix it to allow the API removal CLs to be submitted.

Bug: 32509661
Test: None
Merged-In: Ic405695ee8edfd0c08b831834797f163fe445595
Change-Id: If418c64e69f1836575257b9d5b2f5c4373050a31

7 years agowifi: remove unused hidden Hotspot 2.0 Release 1 API
Peter Qiu [Mon, 31 Oct 2016 22:55:15 +0000 (15:55 -0700)]
wifi: remove unused hidden Hotspot 2.0 Release 1 API

WifiManager#buildWifiConfig was used by the Hotspot 2.0 Release 1
app (WifiInstaller) for parsing Release 1 installation data into
a WifiConfiguration object.  WifiInstaller will be updated to use
the new framework API (android.net.wifi.hotspot2.ConfigBuilder)
instead. So this API is no longer needed.

Bug: 32509661
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iacee739a9ed12ea00b1b7457e22e790ef4a177da

7 years agowifi: remove hidden unused Hotspot 2.0 Release 2 APIs
Peter Qiu [Mon, 31 Oct 2016 22:13:35 +0000 (15:13 -0700)]
wifi: remove hidden unused Hotspot 2.0 Release 2 APIs

These APIs are used for installing/modifying the PerProviderSubscription
Management Object tree in XML string representation and are used only by
the unreleased Hotspot 2.0 Release 2 app (OSU app).  The OSU app will be
updated to use the new APIs which uses Parcelable objects to represent
provider configuration.

Bug: 32509661
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iff6b6e4b95b76d48201eeeb47f441b7c94f359bb

7 years agoMerge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours
Sohani Rao [Mon, 14 Nov 2016 21:21:38 +0000 (21:21 +0000)]
Merge "Add WiFi toggle prompts - framework" am: 584b5cee49  -s ours
am: 31082a0824  -s ours

Change-Id: Ib2d485f7c6904fc3890c08f34d52703b92d379b5

7 years agoMerge "Add WiFi toggle prompts - framework"
Sohani Rao [Mon, 14 Nov 2016 21:14:44 +0000 (21:14 +0000)]
Merge "Add WiFi toggle prompts - framework"
am: 584b5cee49  -s ours

Change-Id: I9dd54beb08f771be886c03fa0f8a3335f574c47c

7 years agoMerge "Add WiFi toggle prompts - framework"
Sohani Rao [Mon, 14 Nov 2016 20:59:35 +0000 (20:59 +0000)]
Merge "Add WiFi toggle prompts - framework"

7 years agoMerge "Permissions check for Wifi Display configuration" am: f5c32a411c
Sohani Rao [Mon, 14 Nov 2016 19:44:46 +0000 (19:44 +0000)]
Merge "Permissions check for Wifi Display configuration" am: f5c32a411c
am: 7342bb84cd

Change-Id: Iac379dace6fd8b01e5bb80a193f79c65ace1f9b9

7 years agoMerge "Permissions check for Wifi Display configuration"
Sohani Rao [Mon, 14 Nov 2016 19:33:31 +0000 (19:33 +0000)]
Merge "Permissions check for Wifi Display configuration"
am: f5c32a411c

Change-Id: I7a1c2d0f48728cd5e056076a2cf1499a7abb2438

7 years agoMerge "Permissions check for Wifi Display configuration"
Sohani Rao [Mon, 14 Nov 2016 19:21:57 +0000 (19:21 +0000)]
Merge "Permissions check for Wifi Display configuration"

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Wed, 27 Jul 2016 01:23:01 +0000 (18:23 -0700)]
Add WiFi toggle prompts - framework

If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

Bug: 28715749
Test: Unit Tests

Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
Merged-In: I020601e208c0736005bcabc7b7b77b96eee45b03

7 years agoPermissions check for Wifi Display configuration
Sohani Rao [Thu, 29 Sep 2016 23:20:45 +0000 (16:20 -0700)]
Permissions check for Wifi Display configuration

Wifi Display is configured using the AIDL call setMiracastMode()
and using a message over the async channel SET_WFD_INFO.
Enforce permissions on the calling uid before updating the config

Bug: 18668877
Test: Unit tests
Change-Id: I0be2d2af49070aad759f24bd31331f7df39a0422
Merged-In: I0be2d2af49070aad759f24bd31331f7df39a0422

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
Tyler Gunn [Mon, 14 Nov 2016 18:15:12 +0000 (18:15 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
am: 8b58e73c48

Change-Id: Ifdbfdb2f418297eae83a69196462dc847650e3e2

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
Tyler Gunn [Mon, 14 Nov 2016 18:08:11 +0000 (18:08 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
am: 8223dc1ae9

Change-Id: Id8c6077d099f9ef943c09242acb22173b6628c1a

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
Tyler Gunn [Mon, 14 Nov 2016 16:23:42 +0000 (16:23 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."

7 years agoCorrectly handle when the user has no explicit time_12_24 setting
Neil Fuller [Mon, 14 Nov 2016 16:06:42 +0000 (16:06 +0000)]
Correctly handle when the user has no explicit time_12_24 setting

The code would previously interpret "null" (meaning the user
hasn't touched the setting in the Settings app) as meaning
"use 12 hour format". The actual meaning of "null" is
generally accepted in the platform as
"use the locale default". For example, the Settings app does
this, as does the code in libcore.icu.LocaleData. For
locales where the default is "use 12 hour format" anyway
this wasn't obvious. However, locales like Germany should
default to  24 hour, and then the setting is displayed
incorrectly in the Settings app.

Also, German devices boot for the first time with 12 hour SHORT
and MEDIUM time formats too. After the user had explicitly set
the format the setting would be correct.

There appear to be no tests for this behavior, presumably
because of the difficulty in forcing the setting to "unset"
which would have to have to happen before the app was launched,
and the fact that CTS tests run in the US locale.

Bug: 32868036
Test: Manual testing with a device set to German
Change-Id: Ifd2e8d345f6afee467d7525d6793fc8fda37c900

7 years agoMerge "hidl: Update for IFoo::descriptor -> const char *." am: e17e68f139
Steven Moreland [Mon, 14 Nov 2016 15:22:35 +0000 (15:22 +0000)]
Merge "hidl: Update for IFoo::descriptor -> const char *." am: e17e68f139
am: 5f9ac42029

Change-Id: I29e5b04d4737dcc380ac34a0becfe633fc1d51db

7 years agoMerge "hidl: Update for IFoo::descriptor -> const char *."
Steven Moreland [Mon, 14 Nov 2016 15:15:39 +0000 (15:15 +0000)]
Merge "hidl: Update for IFoo::descriptor -> const char *."
am: e17e68f139

Change-Id: Iefe4ae60d8e7f0473f1b417ac09c5e37b082d07b

7 years agoMerge "hidl: Update for IFoo::descriptor -> const char *."
Treehugger Robot [Mon, 14 Nov 2016 15:03:31 +0000 (15:03 +0000)]
Merge "hidl: Update for IFoo::descriptor -> const char *."

7 years agoUpdate for removing read/writeEmbeddedFrom/ToParcel methods.
Yifan Hong [Sat, 12 Nov 2016 01:20:54 +0000 (17:20 -0800)]
Update for removing read/writeEmbeddedFrom/ToParcel methods.

Test: mma

Bug: 32756130

Change-Id: I179a1fbd4962e9b3be383cc25d95a6d492ef6a1f

7 years agoMerge "Bluetooth: advertising improvements" am: 82c9ba9c55
Jakub Pawlowski [Fri, 11 Nov 2016 23:58:44 +0000 (23:58 +0000)]
Merge "Bluetooth: advertising improvements" am: 82c9ba9c55
am: e3b71cd572

Change-Id: I54df9c355ac951d40b2d8e865d5f36f8875ce71f

7 years agoMerge "Respect force_mount_namespace in MountEmulatedStorage()." am: b828b6bf6c
Robert Sesek [Fri, 11 Nov 2016 23:55:18 +0000 (23:55 +0000)]
Merge "Respect force_mount_namespace in MountEmulatedStorage()." am: b828b6bf6c
am: a0d2e6f4b7

Change-Id: I4044e01b9de9bc502eda18fc34182629ca524701

7 years agoMerge "Bluetooth: BLE app tracking fixes" am: 2174731449
Marie Janssen [Fri, 11 Nov 2016 23:53:47 +0000 (23:53 +0000)]
Merge "Bluetooth: BLE app tracking fixes" am: 2174731449
am: 3d8d5dbb56

Change-Id: Ia9b8950f66f31b0d3b78f6e2f6c2314cf0b931f0

7 years agoMerge "Bluetooth: advertising improvements"
Jakub Pawlowski [Fri, 11 Nov 2016 23:48:51 +0000 (23:48 +0000)]
Merge "Bluetooth: advertising improvements"
am: 82c9ba9c55

Change-Id: I662ba0f326aa204f9f07ce88bc9d48f5b06770cb

7 years agoMerge "Respect force_mount_namespace in MountEmulatedStorage()."
Robert Sesek [Fri, 11 Nov 2016 23:44:49 +0000 (23:44 +0000)]
Merge "Respect force_mount_namespace in MountEmulatedStorage()."
am: b828b6bf6c

Change-Id: I9b4d0000c29d5e404f333d8e8c89af2425452a17

7 years agoMerge "Bluetooth: BLE app tracking fixes"
Marie Janssen [Fri, 11 Nov 2016 23:41:42 +0000 (23:41 +0000)]
Merge "Bluetooth: BLE app tracking fixes"
am: 2174731449

Change-Id: Id07abb3d5ad76b318d1b7cee6d9fb9351737b141

7 years agoMerge "Bluetooth: advertising improvements"
Jakub Pawlowski [Fri, 11 Nov 2016 23:33:14 +0000 (23:33 +0000)]
Merge "Bluetooth: advertising improvements"

7 years agoBluetooth: advertising improvements
Jakub Pawlowski [Fri, 4 Nov 2016 22:25:57 +0000 (15:25 -0700)]
Bluetooth: advertising improvements

This patch removes isPeripheralModeSupported(), hidden public method
which is always returning true. It also modify the BluetoothLeAdvertiser
to be able to use advertising instance with instance id equal 0.

Bug: 30622771
Bug: 24099160
Change-Id: Id31582621dbe56d5c3a8d4ee5cd296af66a5f026

7 years agoMerge "Respect force_mount_namespace in MountEmulatedStorage()."
Treehugger Robot [Fri, 11 Nov 2016 23:25:43 +0000 (23:25 +0000)]
Merge "Respect force_mount_namespace in MountEmulatedStorage()."

7 years agoMerge "Bluetooth: BLE app tracking fixes"
Treehugger Robot [Fri, 11 Nov 2016 23:22:55 +0000 (23:22 +0000)]
Merge "Bluetooth: BLE app tracking fixes"

7 years agoBluetooth: BLE app tracking fixes
Marie Janssen [Wed, 9 Nov 2016 20:01:24 +0000 (12:01 -0800)]
Bluetooth: BLE app tracking fixes

Simplify tracking registered BLE Apps and clear the state when we
try to recover bluetooth from starting to ON.

Test: enable and disable bluetooth an LE-only app running
Bug: 32609235
Change-Id: I3233bf8402a3c8fc4886ef21b1e9411bc78d4e2c

7 years agohidl: Update for IFoo::descriptor -> const char *.
Steven Moreland [Fri, 11 Nov 2016 20:33:41 +0000 (12:33 -0800)]
hidl: Update for IFoo::descriptor -> const char *.

Test: hidl_test, hidl_test_java
Bug: 32745840
Change-Id: I9e4dcaaf7365d03cb53a2e1e8cd6336fbc08417d

7 years agoMerge "Make AmrInputStream use MediaCodec" am: 866658261f
Marco Nelissen [Fri, 11 Nov 2016 20:16:00 +0000 (20:16 +0000)]
Merge "Make AmrInputStream use MediaCodec" am: 866658261f
am: 618c1a9ae6

Change-Id: Ic6723d4e2ce7ab401908ca955a785463612509bb

7 years agoMerge "Make AmrInputStream use MediaCodec"
Marco Nelissen [Fri, 11 Nov 2016 20:10:00 +0000 (20:10 +0000)]
Merge "Make AmrInputStream use MediaCodec"
am: 866658261f

Change-Id: Id25833efb8baa54e729bdc823e5849819c53cd64

7 years agoMerge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regene...
Jack Yu [Fri, 11 Nov 2016 19:57:55 +0000 (19:57 +0000)]
Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" am: 4469e48d5c
am: 3cfa510779

Change-Id: I65746e4959851eb4662881db4fd8d9665070da71

7 years agoMerge "Make AmrInputStream use MediaCodec"
Treehugger Robot [Fri, 11 Nov 2016 19:54:38 +0000 (19:54 +0000)]
Merge "Make AmrInputStream use MediaCodec"

7 years agoMerge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regene...
Jack Yu [Fri, 11 Nov 2016 19:51:23 +0000 (19:51 +0000)]
Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API"
am: 4469e48d5c

Change-Id: Id92b8eaeec12885af3748d1e839da1a5560e2619

7 years agoAdd CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount.
Tyler Gunn [Fri, 11 Nov 2016 19:31:28 +0000 (11:31 -0800)]
Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount.

Adding companion PhoneAccount capability which is used to indicate when a
PhoneAccount supports video calling.  That is, whether it can potentially
make video calls, but not necessarily at the current time.

This is an often requested OEM enhancement which is used to drive UX (e.g.
imagine a video calling icon showing up if the device supports video, but
only being enabled when the device is in range of a VT capable tower).

See bug for reference to design doc.

Merged-Id: I38379a3a1cf1be04c6136b89b93ee95193ee7b6f
Bug: 27328615
Test: Manual
Change-Id: I08fc18950e6d35a8a7df47ce37aa2326624b9fd3

7 years agoMerge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regene...
Jack Yu [Fri, 11 Nov 2016 19:41:46 +0000 (19:41 +0000)]
Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API"

7 years agoMake AmrInputStream use MediaCodec
Marco Nelissen [Thu, 13 Oct 2016 21:38:40 +0000 (14:38 -0700)]
Make AmrInputStream use MediaCodec

Bug: 32114618
Test: ran CTS test
Change-Id: I9fe77689bf0bcd1bc8f6c5a4d62135271c7bef8b

7 years agoMerge "fixed applyConfigurationToResourcesLocked WeakReference is null" am: 264d1f12a3
liangweikang [Fri, 11 Nov 2016 03:32:05 +0000 (03:32 +0000)]
Merge "fixed applyConfigurationToResourcesLocked WeakReference is null" am: 264d1f12a3
am: 45562df8bb

Change-Id: Ibd3818f9b37ee58c6225a9b6d7cefd486f20bdb9

7 years agoMerge "fixed applyConfigurationToResourcesLocked WeakReference is null"
liangweikang [Fri, 11 Nov 2016 03:25:41 +0000 (03:25 +0000)]
Merge "fixed applyConfigurationToResourcesLocked WeakReference is null"
am: 264d1f12a3

Change-Id: Icfaf039b078d7ce43b23bed09cd0102427c6f047

7 years agoMerge "fixed applyConfigurationToResourcesLocked WeakReference is null"
Treehugger Robot [Fri, 11 Nov 2016 03:16:42 +0000 (03:16 +0000)]
Merge "fixed applyConfigurationToResourcesLocked WeakReference is null"

7 years agoRespect force_mount_namespace in MountEmulatedStorage().
Robert Sesek [Fri, 11 Nov 2016 02:50:04 +0000 (21:50 -0500)]
Respect force_mount_namespace in MountEmulatedStorage().

In Ieb75cc3009ed26b7366213409d5fad836f597084, the unshare step was
skipped if no storage is required. But the change failed to take the force
parameter into account

Test: m
Test: angler boots
Test: fugu boots

Bug: 21643067
Change-Id: I52447f02fd25f553628564733fd6bf2523c07f7c

7 years agoMerge "In MountEmulatedStorage() don't create a mount namespace unless actually mount...
Robert Sesek [Fri, 11 Nov 2016 00:19:54 +0000 (00:19 +0000)]
Merge "In MountEmulatedStorage() don't create a mount namespace unless actually mounting." am: c0aacbe513
am: ae06fba67a

Change-Id: I644fc487b90e4292d3a53f356e92c4ddee856aaa

7 years agoMerge "In MountEmulatedStorage() don't create a mount namespace unless actually mount...
Robert Sesek [Fri, 11 Nov 2016 00:13:57 +0000 (00:13 +0000)]
Merge "In MountEmulatedStorage() don't create a mount namespace unless actually mounting."
am: c0aacbe513

Change-Id: I7199d687e2e67dd4672bcb388053c33db6b693f5

7 years agoMerge "In MountEmulatedStorage() don't create a mount namespace unless actually mount...
Treehugger Robot [Fri, 11 Nov 2016 00:02:45 +0000 (00:02 +0000)]
Merge "In MountEmulatedStorage() don't create a mount namespace unless actually mounting."

7 years agoMerge "wifi: hotspot2: add Passpoint APIs to WifiManager" am: 0295d7bd38
Peter Qiu [Thu, 10 Nov 2016 22:13:48 +0000 (22:13 +0000)]
Merge "wifi: hotspot2: add Passpoint APIs to WifiManager" am: 0295d7bd38
am: 5451f8279e

Change-Id: Ide84930e6d76e9e52716a5b31df31998b95a8a76

7 years agoMerge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManage...
Ta-wei Yen [Thu, 10 Nov 2016 22:08:35 +0000 (22:08 +0000)]
Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state" am: 0a3b6b70dd
am: 969a6eb2b8

Change-Id: I2a5d31c342efc7e3ca4f29448b24d406253c7b0f

7 years agoMerge "wifi: hotspot2: add Passpoint APIs to WifiManager"
Peter Qiu [Thu, 10 Nov 2016 22:07:11 +0000 (22:07 +0000)]
Merge "wifi: hotspot2: add Passpoint APIs to WifiManager"
am: 0295d7bd38

Change-Id: I79279f22bfc9642ed7905d099dd43555714ea815

7 years agoMerge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManage...
Ta-wei Yen [Thu, 10 Nov 2016 22:02:17 +0000 (22:02 +0000)]
Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state"
am: 0a3b6b70dd

Change-Id: I512e68bccda115ad7c58ec1f1fbfbb2c69c86578

7 years agoMerge "wifi: hotspot2: add Passpoint APIs to WifiManager"
Treehugger Robot [Thu, 10 Nov 2016 21:56:55 +0000 (21:56 +0000)]
Merge "wifi: hotspot2: add Passpoint APIs to WifiManager"

7 years agoMerge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManage...
Ta-wei Yen [Thu, 10 Nov 2016 21:46:34 +0000 (21:46 +0000)]
Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state"

7 years agoMerge "wifi: hotspot2: add support for parsing Release 1 installation file" am: 44e81...
Peter Qiu [Thu, 10 Nov 2016 20:24:06 +0000 (20:24 +0000)]
Merge "wifi: hotspot2: add support for parsing Release 1 installation file" am: 44e817fdcf
am: 861e99e815

Change-Id: Idd093095c6c7be414e284092069df1374aad9d38

7 years agoMerge "wifi: hotspot2: add support for parsing Release 1 installation file"
Peter Qiu [Thu, 10 Nov 2016 20:19:51 +0000 (20:19 +0000)]
Merge "wifi: hotspot2: add support for parsing Release 1 installation file"
am: 44e817fdcf

Change-Id: If165cadffd0ae93fb94d1883f41851f1d92d50f6

7 years agoMerge "BLE OOB Pairing - parse address type (5/5)" am: 97d9fe0a2f
Jakub Pawlowski [Thu, 10 Nov 2016 20:14:24 +0000 (20:14 +0000)]
Merge "BLE OOB Pairing - parse address type (5/5)" am: 97d9fe0a2f
am: c3cfff6ef6

Change-Id: Ia05bccadc06b202cf6ac1039b1e227bd67575bb5

7 years agoMerge "Add null check before finish SystemUI Tuner's activity" am: 5bb91bacc3
Akira Oshimi [Thu, 10 Nov 2016 20:12:34 +0000 (20:12 +0000)]
Merge "Add null check before finish SystemUI Tuner's activity" am: 5bb91bacc3
am: 08978cd0fd

Change-Id: Ibd1b9ff4be577bf5ea5596342316ea2303d93b75

7 years agoAdd createForPhoneAccountHandle() and getServicetate()
Ta-wei Yen [Thu, 10 Nov 2016 20:11:56 +0000 (12:11 -0800)]
Add createForPhoneAccountHandle() and getServicetate()
Respect TelephonyManager's subId when listening to phone state

TelecomManager perfers to use a PhoneAccountHandle to represent a
account but TelephonyManager prefers subscription IDs.

This CL added createForPhoneAccountHandle() in TelephonyManager so
telephony values can be queried from it.

Currently the ServiceState can be retrieved through registering a
PhoneStatelistener, but it is a callback which the handler cannot be
specified.

getServiceState() is added to allow the ServiceState to be polled.

While TelphonyManager has createForSubscriptionId(), listen() does not
respect the subId on the manager created from it, and will always use
the hidden subId on the listener, which is always the default subId
through public API.

After this CL, the default subId on the listener will null.
TelephonyManager use its' own subId if the listener does not set the
subId to something else.

Bug: 32637799
Bug: 32414216
Test: cts-tradefed run cts-dev --module CtsTelephonyTestCases
Change-Id: I9995e4da1573cf1f6b6e4acf2daf7a538fb60d5f

7 years agoMerge "BLE OOB Pairing - parse address type (5/5)"
Jakub Pawlowski [Thu, 10 Nov 2016 20:07:39 +0000 (20:07 +0000)]
Merge "BLE OOB Pairing - parse address type (5/5)"
am: 97d9fe0a2f

Change-Id: I935cc35d9f7f1eea5459f0091ad14dc8b200bc02

7 years agoMerge "Add null check before finish SystemUI Tuner's activity"
Akira Oshimi [Thu, 10 Nov 2016 20:06:34 +0000 (20:06 +0000)]
Merge "Add null check before finish SystemUI Tuner's activity"
am: 5bb91bacc3

Change-Id: I0e9d19f297c158ff0c6acd1aa6665e3459fa416b

7 years agoMerge "wifi: hotspot2: add support for parsing Release 1 installation file"
Treehugger Robot [Thu, 10 Nov 2016 20:06:06 +0000 (20:06 +0000)]
Merge "wifi: hotspot2: add support for parsing Release 1 installation file"

7 years agoMerge "BLE OOB Pairing - parse address type (5/5)"
Treehugger Robot [Thu, 10 Nov 2016 20:00:50 +0000 (20:00 +0000)]
Merge "BLE OOB Pairing - parse address type (5/5)"

7 years agoMerge "Add null check before finish SystemUI Tuner's activity"
Treehugger Robot [Thu, 10 Nov 2016 19:54:16 +0000 (19:54 +0000)]
Merge "Add null check before finish SystemUI Tuner's activity"

7 years agoBLE OOB Pairing - parse address type (5/5)
Jakub Pawlowski [Thu, 10 Nov 2016 00:51:09 +0000 (16:51 -0800)]
BLE OOB Pairing - parse address type (5/5)

When address type is not parsed, creating bond to devices not using
random address is impossible.

Bug: 32780409
Test: try pairing with nRF52DK using random address
Change-Id: Ie6cc1f8c008d43b2acd021b47f9bbfb1f63472e8

7 years agoMerge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections...
Andreas Huber [Thu, 10 Nov 2016 19:14:30 +0000 (19:14 +0000)]
Merge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections." am: df3d68c9b2
am: fbb980e57b

Change-Id: I7b80bbe5eed3066edfe26d83dd322114d2e4a961

7 years agoMerge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections."
Andreas Huber [Thu, 10 Nov 2016 19:08:28 +0000 (19:08 +0000)]
Merge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections."
am: df3d68c9b2

Change-Id: I56e293d16dee7503f717f3cca4902720307a2024

7 years agoMerge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections."
Treehugger Robot [Thu, 10 Nov 2016 18:58:28 +0000 (18:58 +0000)]
Merge "Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections."

7 years agowifi: hotspot2: add Passpoint APIs to WifiManager
Peter Qiu [Tue, 25 Oct 2016 18:38:01 +0000 (11:38 -0700)]
wifi: hotspot2: add Passpoint APIs to WifiManager

Add dedicated APIs for managing Passpoint configurations, since
Passpoint configurations are different from WiFi network
configurations.  A Passpoint configuration provides a credential for
authenticating to one or more WiFi networks that are operated
by the "same" service provider.

Bug: 32282711
Test: make -j32

Change-Id: I52822ab3074e2f2a3d986e3c0a24d024f2c06dca

7 years agowifi: hotspot2: add support for parsing Release 1 installation file
Peter Qiu [Mon, 24 Oct 2016 16:59:43 +0000 (09:59 -0700)]
wifi: hotspot2: add support for parsing Release 1 installation file

Bug: 32277793
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I526c5e88e504c9c843d517a1a8208bc35d8655e9

7 years agoMerge "Wifi Tx/Rx rate computation" am: bccf93311c
Randy Pan [Thu, 10 Nov 2016 16:26:23 +0000 (16:26 +0000)]
Merge "Wifi Tx/Rx rate computation" am: bccf93311c
am: 33600a3d38

Change-Id: I766decd0d68c9a2cb47d374c9a48c8eac59a6a67

7 years agoMerge "Wifi Tx/Rx rate computation"
Randy Pan [Thu, 10 Nov 2016 16:15:52 +0000 (16:15 +0000)]
Merge "Wifi Tx/Rx rate computation"
am: bccf93311c

Change-Id: I8b564af08155dcb49cf5f71d283b21091b80d3e0