OSDN Git Service
Colin Cross [Fri, 6 Jan 2017 20:21:11 +0000 (12:21 -0800)]
Add missing transitive dependencies
Add android-support-transition to DocumentsUI for
android-support-design, android-support-annotations to
ExternalStorageProvider for android-support-documents-archive, and
android support libraries to SettingsLib/common.mk.
Test: builds
Merged-In: Ib62a5dd6ee1cf39c99c9cce3a9310c35cf631fdf
Change-Id: Ib62a5dd6ee1cf39c99c9cce3a9310c35cf631fdf
Colin Cross [Thu, 22 Dec 2016 00:48:32 +0000 (16:48 -0800)]
Revert "Remove support of disabling Jack."
This reverts commit
ba068f48727dee2223b3be3b0359accb949e363d.
Test: builds
Change-Id: I2c4d64e26c2e4ceb710a39de2ee9749160d33a72
Narayan Kamath [Thu, 16 Feb 2017 17:12:48 +0000 (17:12 +0000)]
Neil Fuller [Thu, 16 Feb 2017 15:51:26 +0000 (15:51 +0000)]
Merge "TimeZoneBundleInstaller -> TimeZoneDistroInstaller"
Narayan Kamath [Thu, 16 Feb 2017 14:37:39 +0000 (14:37 +0000)]
Track libcore change
d7d594236d66c4d595f7622a264fd51.
Test: make update-api docs
Change-Id: Icfe470034b53afff60469d5bcfd58d959cea2488
Etan Cohen [Thu, 16 Feb 2017 14:15:43 +0000 (14:15 +0000)]
Merge changes from topic 'cm_request_to'
* changes:
[CM] Remove maximum timeout value for request network
[CM] Remove non-functional timeout from request network
Etan Cohen [Sun, 5 Feb 2017 18:42:27 +0000 (10:42 -0800)]
[CM] Remove maximum timeout value for request network
The request network with timeout was originally created with a
check of max timeout against a constant of 100 minutes. However,
the API was not public and did not implement a timeout. Any users
were internal and never got any onUnavailable() callback (since
timeout never triggered).
There is no reason to have a max timeout so the constant is
remove.
Bug:
31399536
Test: unit tests and CTS of ConnectivityManager
Change-Id: Icbedfb4299d75b6a7e3e43720111531f1faafd06
Treehugger Robot [Thu, 16 Feb 2017 12:59:15 +0000 (12:59 +0000)]
Merge "OBEX: Set Min maxPacketLength negotiated in CONNECT Operation."
Treehugger Robot [Thu, 16 Feb 2017 12:47:41 +0000 (12:47 +0000)]
Merge "Fix the "Alarm volume" icon is displayed incorrectly"
Hugo Benichi [Thu, 16 Feb 2017 06:54:46 +0000 (06:54 +0000)]
Merge "Captive portal: better detect empty responses"
Hugo Benichi [Wed, 11 Jan 2017 07:23:26 +0000 (16:23 +0900)]
Captive portal: better detect empty responses
The captive portal detection logic treats empty http responses with a
Content-Length of 0 as not coming from a portal.
However when the Content-Length is missing from the response header, the
empty response is not detected as such and is classified as a captive
portal answer.
When this happens for the http probe, the portal detection logic will
short circuit the detection and wrongly report a portal. The system
validates the network in such conditions only if the https probe
returns a successful connection faster than the http probe.
This patch attempts to better detect empty responses by trying to read
the first byte from the response body when the Content-Length is missing
for 200 responses.
Test: build, flashed + manual tests.
Bug:
33498325
(cherry picked from commit
cb4aa4d412c7940386df9b8dd681e0d2efebfd1d)
Change-Id: Ibb9914cba72a4dab3ae76746d8889bbf083be812
Hall Liu [Wed, 15 Feb 2017 21:41:21 +0000 (21:41 +0000)]
Merge "Add extra key for app-specified outgoing call timeout"
Badhri Jagan Sridharan [Wed, 15 Feb 2017 20:00:24 +0000 (20:00 +0000)]
Merge changes from topic 'dual_role_chargers'
* changes:
Introduce debounce to filter rapidly toggling type-c ports
Fix handling usb dialog for wall chargers.
Badhri Jagan Sridharan [Fri, 10 Feb 2017 03:45:21 +0000 (19:45 -0800)]
Introduce debounce to filter rapidly toggling type-c ports
Type-c ports can quickly toggle between connected/disconnected
states. Introduce debounce to prevent sending spurious notifications.
Bug:
34972898
Test: notification should not be queued for a pixel-c charger not connected
to the power outlet.
Change-Id: I4aa19f9f864fe5b77e65f6a07a3184d8aba1f5fc
Badhri Jagan Sridharan [Mon, 13 Feb 2017 21:14:40 +0000 (13:14 -0800)]
Fix handling usb dialog for wall chargers.
UsbPort.POWER_ROLE_SINK is orthogonal to the type of the charger
attached. POWER_ROLE_SINK would be the case for AC charging and
USB charging. Therefore query BatteryManager for the charger
type.
Bug:
34972898
Test: Charging notification should not show for pixel-c chargers.
Change-Id: I8dddcd7727b6af973bd173d2c6e325aa4be2ca3a
Hall Liu [Wed, 15 Feb 2017 02:11:11 +0000 (18:11 -0800)]
Add extra key for app-specified outgoing call timeout
Bug:
34474757
Test: manual
Change-Id: Ia93d68d6a01308b0b93b88977daf983a0ed3a22c
Hugo Benichi [Wed, 15 Feb 2017 00:53:44 +0000 (00:53 +0000)]
Merge "ConnectivityManager: fix potential NPE"
Erik Kline [Wed, 15 Feb 2017 00:38:50 +0000 (00:38 +0000)]
Merge "Split chooseUpstreamType() into two separate functions"
Erik Kline [Wed, 15 Feb 2017 00:38:31 +0000 (00:38 +0000)]
Merge "Slightly simplify mTryCell and requestUpstreamMobileConnection() usage"
Treehugger Robot [Tue, 14 Feb 2017 23:42:57 +0000 (23:42 +0000)]
Merge "Pass targetSdkVersion specifier for SELinux labeling"
Etan Cohen [Fri, 10 Feb 2017 02:16:58 +0000 (18:16 -0800)]
[CM] Remove non-functional timeout from request network
Until now the request network with timeout was non-functional
(see b/
31402633). Any caller which was using the timeout getting
the request network without a timeout.
While the timeout version has now been implemented, a max
timeout value is being removed since the large number used
(100 minutes) had no rationale for existing.
Updating the code to reflect the functionality which was
actually used - without a timeout.
Bug:
31399536
Bug:
35354391
Test: unit tests and CTS of ConnectivityManager
Change-Id: I0ebf0917a4478036a5ae532dd1e0784479057eb8
Colin Cross [Tue, 14 Feb 2017 19:03:45 +0000 (19:03 +0000)]
Merge "Use asm-5.2 prebuilt"
Michael Peck [Tue, 14 Feb 2017 17:07:04 +0000 (09:07 -0800)]
Pass targetSdkVersion specifier for SELinux labeling
Motivation:
Provide the ability to phase in new security policies by
applying them to apps with a minimum targetSdkVersion
Test: Marlin builds and boots. Apps targeting targetSdkVersion<=25
run in untrusted_app_25 domain. Apps targeting the current development
build >=26 run in the untrusted_app domain with fewer permissions. No
new denials observed during testing.
Bug:
34115651
Change-Id: Ib9f6ded9bd2f426861a6d843861b4074084253b0
Orion Hodson [Tue, 14 Feb 2017 16:02:32 +0000 (16:02 +0000)]
Merge "Import CallSite classes and BootstrapMethodError class from ojdk8u60"
Treehugger Robot [Tue, 14 Feb 2017 14:23:18 +0000 (14:23 +0000)]
Merge "[NotificationManagerService]: Fixes the thread-safe issue."
Erik Kline [Tue, 14 Feb 2017 10:03:09 +0000 (19:03 +0900)]
Split chooseUpstreamType() into two separate functions
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
Bug:
32163131
Change-Id: If892864ff59a6f38340791597c2d9e5b4022bbfa
Erik Kline [Tue, 14 Feb 2017 09:26:04 +0000 (18:26 +0900)]
Slightly simplify mTryCell and requestUpstreamMobileConnection() usage
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
Bug:
32163131
Change-Id: I46fbd176a71e61552d7d92660c1debe6487a1edf
Treehugger Robot [Tue, 14 Feb 2017 09:32:55 +0000 (09:32 +0000)]
Merge "Verify duplicate upstream notifications are ignored"
Hugo Benichi [Fri, 3 Feb 2017 05:18:44 +0000 (14:18 +0900)]
ConnectivityManager: fix potential NPE
ConnectivityManager static sCallbackHandler is referenced and directly
used in a way that is not ensuring its proper initialization.
This patch fixes this potential NPE by using getHandler() instead.
Also this patch changes sendRequestForNetwork's signature to only accept
the subtype CallbackHandler instead of Handler: without using
CallbackHandler the NetworkCallbacks are not triggered properly and
bookkeeping of sCallbacks does not happen. sendRequestForNetwork's
signature now makes this explicit.
This step prepares the addition of overloaded versions of
registerNetworkCallback and cie that takes custom Handlers.
Test: build, flashed, manually checked connectivity
Change-Id: I52e8a2cb5075e7aef7b35e30c9845cacba927d13
Erik Kline [Tue, 14 Feb 2017 06:55:00 +0000 (15:55 +0900)]
Verify duplicate upstream notifications are ignored
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest .../tethering/TetherInterfaceStateMachineTest.java passes
Bug:
32163131
Change-Id: I3c097d766fe4c416a8e3f02640809fe1199c6ef2
Erik Kline [Tue, 14 Feb 2017 06:09:21 +0000 (06:09 +0000)]
Merge "Cleanup in the face of upstream error"
Erik Kline [Mon, 13 Feb 2017 08:28:53 +0000 (17:28 +0900)]
Cleanup in the face of upstream error
If either enableNat() or startInterfaceForwarding() fail, be sure
to cleanup any commands that might have succeeded.
Most of this change is a refactoring of cleanupUpstreamIface() into
two methods, one of which (cleanupUpstreamInterface()) is reused
in error handling scenarios.
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest -x .../tethering/TetherInterfaceStateMachineTest.java passes
Bug:
32031803
Bug:
32163131
Change-Id: Ia4d56e03beeab1908d8b8c2202e94992f1aa58a4
Ningyuan Wang [Tue, 14 Feb 2017 02:13:33 +0000 (02:13 +0000)]
Merge "Create createFromByteArray() for WifiSsid"
Chen Xu [Tue, 14 Feb 2017 01:26:18 +0000 (01:26 +0000)]
Merge "Add simActivationState to PhoneStateListener"
Ningyuan Wang [Mon, 13 Feb 2017 19:26:15 +0000 (11:26 -0800)]
Create createFromByteArray() for WifiSsid
Bug:
35318006
Test: compile, unit tests
Change-Id: I0138bd67c0dec37419897318401b18ee4445a111
Colin Cross [Mon, 13 Feb 2017 20:14:29 +0000 (12:14 -0800)]
Use asm-5.2 prebuilt
Test: m -j checkbuild tests cts
Change-Id: I37d40cc2e0406679394012aacd49f7ca9e51e3f6
Treehugger Robot [Mon, 13 Feb 2017 19:49:50 +0000 (19:49 +0000)]
Merge "hotspot2: fix typo in the getter functions"
Treehugger Robot [Mon, 13 Feb 2017 11:51:20 +0000 (11:51 +0000)]
Merge "Add test coverage for cleanup bug to be fixed."
Erik Kline [Mon, 13 Feb 2017 08:12:02 +0000 (17:12 +0900)]
Add test coverage for cleanup bug to be fixed.
The test calls that need to pass but do not currently are commented out.
Test: as follows
- built (bullhead)
- flashed
- booted
- runtest -x .../tethering/TetherInterfaceStateMachineTest.java passes
Bug:
32031803
Bug:
32163131
Change-Id: I68ed476920bef882f353d8e8a54c72120bc27002
fionaxu [Mon, 14 Nov 2016 21:32:14 +0000 (13:32 -0800)]
Add simActivationState to PhoneStateListener
- new public SimActivationState
- hook with PhoneStateListener, notifying registrants when voice&data
activation state changed
Bug:
31061369
Test: existing TC runtest --path frameworks/opt/telephony/tests/telephonytests
Test: new TC runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/SimActivationTrackerTest.java
Merged-in: CHANGE-ID Ieefe2698fe6055a980d225f5ce74f52aef0daab4
Change-Id: Iac6418f66c9dad44dc7272ab19aa87f3eef232f8
Treehugger Robot [Sat, 11 Feb 2017 02:34:50 +0000 (02:34 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP"
Paul Stewart [Wed, 25 Jan 2017 22:12:14 +0000 (14:12 -0800)]
Allow EAP-SIM authentication methods under PEAP
Extend the PEAP outer method to contain EAP-SIM innner methods
so these transactions can be encrypted.
Cherry-pick of
68c63024c2ace87921c1e84a99d18dae6001c74c
Bug:
34835771
Test: Unit tests
Change-Id: I4931ed43e396c93bad0bfce1750291982f8cd146
Treehugger Robot [Fri, 10 Feb 2017 21:08:05 +0000 (21:08 +0000)]
Merge "Expand seccomp whitelist"
Paul Lawrence [Fri, 10 Feb 2017 18:07:48 +0000 (10:07 -0800)]
Expand seccomp whitelist
Bug:
34763393
Test: cts test android.os.cts.SeccompTest now passes
Change-Id: I8907074485395015a03119700543ff33fdd8e214
Yifan Hong [Fri, 10 Feb 2017 18:33:41 +0000 (18:33 +0000)]
Merge "android.os.HwBinder.getService() in Java respects VINTF."
Neil Fuller [Fri, 10 Feb 2017 17:57:50 +0000 (17:57 +0000)]
TimeZoneBundleInstaller -> TimeZoneDistroInstaller
Rename TimeZoneBundleInstaller to TimeZoneDistroInstaller
to avoid the term "Bundle".
Bug:
31008728
Test: make droid
Change-Id: Ib2408495e0a3e011ac544aa87c622878421453e9
Sooraj Sasindran [Fri, 10 Feb 2017 05:38:40 +0000 (05:38 +0000)]
Merge "Expose api to retrieve wakelock information per client"
Treehugger Robot [Fri, 10 Feb 2017 00:45:55 +0000 (00:45 +0000)]
Merge "Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit"
Sooraj Sasindran [Mon, 18 Jul 2016 18:50:50 +0000 (11:50 -0700)]
Expose api to retrieve wakelock information per client
Expose api to retrieve wakelock information per client
Provide calling package name in cell info apis
BUG=
31041780
Merged-In: Ie39fe59055eb7931bd179dd9e2537a7552c38af8
Change-Id: Ie39fe59055eb7931bd179dd9e2537a7552c38af8
Andreas Gampe [Wed, 8 Feb 2017 03:44:37 +0000 (19:44 -0800)]
Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit
Move methods where they belong.
Test: m
Test: Device boots
Merged-In: I805c6493078e960ff5b70d84dd93d2da6c7aa797
Change-Id: I805c6493078e960ff5b70d84dd93d2da6c7aa797
Paul Duffin [Thu, 9 Feb 2017 19:18:34 +0000 (19:18 +0000)]
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate""
Paul Duffin [Thu, 9 Feb 2017 14:47:53 +0000 (14:47 +0000)]
Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
This partially reverts commit
3e5fbca0c57742f28f5c7e6bda6c3500b9471b47.
Bug:
35187548
Bug:
30188076
Bug:
35089332
Test: make checkbuild
Change-Id: I7ab4279aab604e3d56003b0a59867948aebabd28
Martijn Coenen [Thu, 9 Feb 2017 08:37:29 +0000 (08:37 +0000)]
Merge "Don't generate and send reply object in oneway calls."
Martijn Coenen [Wed, 8 Feb 2017 09:22:28 +0000 (10:22 +0100)]
Don't generate and send reply object in oneway calls.
Bug:
35044790
Test: hidl_test, hidl_test_java
Change-Id: Iae8f5b071f89d2af5ca15360c6a1a0fbf8040e77
Treehugger Robot [Wed, 8 Feb 2017 21:46:43 +0000 (21:46 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider."
Peter Qiu [Wed, 8 Feb 2017 18:39:21 +0000 (10:39 -0800)]
hotspot2: fix typo in the getter functions
Bug:
34862444
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If833fb06cead7df9d631b3b12d66d05b8422d46c
Merged-In: If833fb06cead7df9d631b3b12d66d05b8422d46c
Treehugger Robot [Wed, 8 Feb 2017 20:38:12 +0000 (20:38 +0000)]
Merge changes If970d851,I5bd11574
* changes:
WifiManager: API upates for O
WifiConfiguration: Remove priority field
Treehugger Robot [Wed, 8 Feb 2017 20:11:22 +0000 (20:11 +0000)]
Merge "[Debug]: Add timeout for dumpNativeBacktraceToFile."
Paul Duffin [Wed, 8 Feb 2017 18:06:07 +0000 (18:06 +0000)]
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
Paul Lawrence [Wed, 8 Feb 2017 17:57:41 +0000 (17:57 +0000)]
Merge "Expand seccomp whitelist"
Roshan Pius [Fri, 3 Feb 2017 20:51:40 +0000 (12:51 -0800)]
WifiManager: API upates for O
Deprecate the following API's:
1. pingSupplicant() - We don't want apps trying to figure out if
wpa_supplicant is running or not. It should not be something that
apps need to know.
2. saveConfiguration() - No longer needed, we automatically persist data
when needed.
Other changes:
1. Reworded the docstrings to remove direct reference to wpa_supplicant
for network configuration related API's.
2. We no longer allow apps to modfiy network configuration of other
apps. Added a docstring explaining that in the 3 modify API's.
3. Changed the wording of enableNetwork's |disableOthers| flag.
Bug:
31146757
Test: make update-api
Change-Id: If970d85146de3532072191cb2b7ecb0d5adb2774
Roshan Pius [Tue, 24 Jan 2017 22:58:34 +0000 (14:58 -0800)]
WifiConfiguration: Remove priority field
This field is no longer used anywhere within wifi framework and hence
removing this from public API.
Bug:
28341078
Test: make update-api
Change-Id: I5bd115742ca610735b00c20f2ffab7590c5f3256
Paul Lawrence [Wed, 8 Feb 2017 16:26:56 +0000 (08:26 -0800)]
Expand seccomp whitelist
Bug:
35059702
Test: Device boots, app no longer produces SIGSYS failures
Change-Id: I020b625bd7529ad9806c0b23a1ca70bc87906dad
Tyler Gunn [Wed, 8 Feb 2017 16:09:09 +0000 (16:09 +0000)]
Merge "Add support for wait-on-handlers command."
Treehugger Robot [Wed, 8 Feb 2017 11:21:28 +0000 (11:21 +0000)]
Merge "Fix problem with JavaDoc"
Paul Duffin [Wed, 8 Feb 2017 09:14:46 +0000 (09:14 +0000)]
Fix problem with JavaDoc
Test: make checkbuild
Change-Id: Ia321e0a57ff63aa62adee16d611c063a22807176
songjinshi [Sat, 4 Feb 2017 02:47:45 +0000 (10:47 +0800)]
[NotificationManagerService]: Fixes the thread-safe issue.
Add missed sync for backup realted access.
https://code.google.com/p/android/issues/detail?id=233435
Change-Id: I8499f79f491cec545d348bc9c3204aa79ccb6706
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
Tyler Gunn [Wed, 30 Nov 2016 23:14:26 +0000 (15:14 -0800)]
Change prototype for "setCamera" in IMS VideoProvider.
Changing "setCamera" prototype to include the uid.
Test: Unit test, manual test.
Bug:
32747443
Merged-In: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
Change-Id: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
Treehugger Robot [Tue, 7 Feb 2017 23:25:02 +0000 (23:25 +0000)]
Merge changes from topic 'Passpoint API Rename'
* changes:
hotspot2: expose Passpoint APIs as public
hotspot2: fix class/function/variable names to comply with API guideline
hotspot2: rename classes to comply with API guideline
Paul Lawrence [Tue, 7 Feb 2017 22:50:43 +0000 (22:50 +0000)]
Merge "Expand seccomp whitelist"
Brad Ebinger [Tue, 7 Feb 2017 22:26:43 +0000 (22:26 +0000)]
Merge "Perform camera permission and app ops check when setting camera for VT."
Peter Qiu [Wed, 1 Feb 2017 04:08:38 +0000 (20:08 -0800)]
hotspot2: expose Passpoint APIs as public
Bug:
34862444
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I8bf5c715b9088c673e59a73a78e18f6e6b64d1d1
Peter Qiu [Thu, 2 Feb 2017 18:25:05 +0000 (10:25 -0800)]
hotspot2: fix class/function/variable names to comply with API guideline
Bug:
34862444
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworsk/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ide425c06be46bc41c8f601e732dca0543de096b1
Peter Qiu [Thu, 2 Feb 2017 18:22:16 +0000 (10:22 -0800)]
hotspot2: rename classes to comply with API guideline
This is purely a file rename operation.
Bug:
34862444
Test: None
Change-Id: I297a228f3ee7e09c9cce5ca9f677eb1db478fd46
songjinshi [Fri, 16 Dec 2016 09:48:21 +0000 (17:48 +0800)]
[Debug]: Add timeout for dumpNativeBacktraceToFile.
If the debuggerd be blocked, the watchdog and
activitymanager thread will be blocked when the
ANR or watchdog occurs,so we needed to add
timeout for dumpNativeBacktraceToFile.
Change-Id: Iab1a64328e70257025d860638d93a4fb8eaaeea2
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
Paul Duffin [Tue, 7 Feb 2017 15:04:10 +0000 (15:04 +0000)]
Replace com.android.internal.util.Predicate with java.util.function.Predicate
Bug:
35089332
Bug:
30188076
Test: make checkbuild
Merged-In: I0a5b4bf520fc39b59d8d790b01e9cff0d54e6d21
Change-Id: I58e4e35e7b7315033d893748f7c79e1ba6732f39
Paul Lawrence [Tue, 7 Feb 2017 16:18:03 +0000 (08:18 -0800)]
Expand seccomp whitelist
Bug:
34979910
Test: System boots, app runs
Change-Id: I8b60a24ac855679251e73edcdec57eb4af4a5610
Orion Hodson [Sun, 5 Feb 2017 15:18:06 +0000 (15:18 +0000)]
Import CallSite classes and BootstrapMethodError class from ojdk8u60
Minor changes to CallSite.java, with other imported unmodified.
Bug:
33191717,
30550796
Test: make docs
Change-Id: I15e6f05d49d0fcdea8d10d128a957e0d13ca2df2
Tyler Gunn [Tue, 7 Feb 2017 04:47:04 +0000 (20:47 -0800)]
Add support for wait-on-handlers command.
Add support for wait on handlers adb telecom command. Used in CTS
tests to ensure work is completed once all Telecom handlers have finished
their current work.
Test: CTS, Manual
Bug:
34159263
Change-Id: I14acc0a04710b445c172629c2327813ee73a5a55
Treehugger Robot [Mon, 6 Feb 2017 23:41:27 +0000 (23:41 +0000)]
Merge "Fixes Treble marshaling of strings embedded in structures from Java"
Treehugger Robot [Mon, 6 Feb 2017 22:59:50 +0000 (22:59 +0000)]
Merge "Add a mechanism to configure the default A2DP codec priorities"
Yifan Hong [Mon, 6 Feb 2017 20:43:08 +0000 (12:43 -0800)]
android.os.HwBinder.getService() in Java respects VINTF.
Also cleans up usage of different strings
in getService.
Test: wifi and fingerprint works.
Bug:
34691352
Change-Id: Id1f68115b15c21f70b0be8e7a1400de563d1da11
Jason Monk [Mon, 6 Feb 2017 22:53:58 +0000 (22:53 +0000)]
Merge "Hotspot Tile: longclick should open Tethering settings"
Tyler Gunn [Wed, 9 Nov 2016 18:19:23 +0000 (10:19 -0800)]
Perform camera permission and app ops check when setting camera for VT.
When a calling InCallService attempts to use the setCamera API on the
VideoCall, Telecom will perform a permission check to ensure that the
caller has the correct camera permission and passes the app-ops camera
check. A failure to set the camera will result in a callback via the
call session event API.
This got a little messy as the app ops package name needs to come from the
InCallService, and handler usage in the VideoProvider API means we had to
pass around the uid/pid of the caller, obtained before we trampoline onto
the handler.
Test: Unit tests added, manual testing performed.
Bug:
32747443
Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
Miao Wang [Mon, 6 Feb 2017 22:47:15 +0000 (22:47 +0000)]
Merge "Remove uncessary dependency of libhwui"
Treehugger Robot [Mon, 6 Feb 2017 22:41:10 +0000 (22:41 +0000)]
Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"
Tyler Gunn [Mon, 6 Feb 2017 22:32:13 +0000 (22:32 +0000)]
Merge "Self managed CS implementation."
Jack Yu [Thu, 26 Jan 2017 20:45:57 +0000 (12:45 -0800)]
Renamed voiceNetworkStateChanged and dataNetworkStateChanged
The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.
Test: Build
Merged-In: Icf20ceb3718794f7aa62650816714ac8679d101a
Change-Id: Icf20ceb3718794f7aa62650816714ac8679d101a
Brad Ebinger [Mon, 6 Feb 2017 22:03:29 +0000 (22:03 +0000)]
Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
Pavlin Radoslavov [Sun, 5 Feb 2017 23:45:06 +0000 (15:45 -0800)]
Add a mechanism to configure the default A2DP codec priorities
Previously, the relative codec priorities were hard-codec internally.
The new mechanism uses the following configurable resources in
packages/apps/Bluetooth/res/values/config.xml to re-assign the
default codec priorities per device, or to explicitly disable a codec.
- a2dp_source_codec_priority_sbc
- a2dp_source_codec_priority_aac
- a2dp_source_codec_priority_aptx
- a2dp_source_codec_priority_aptx_hd
- a2dp_source_codec_priority_ldac
Those values are assigned on startup.
Also, they can be changed per device by using an overlay:
device/<VENDOR>/<DEVICE>/overlay/packages/apps/Bluetooth/res/values/config.xml
Test: Manually streaming to a headset
Change-Id: Ic4da3a51ac73f00cbae731156cb7878c8fadee06
Treehugger Robot [Mon, 6 Feb 2017 20:43:01 +0000 (20:43 +0000)]
Merge "Expand whitelist"
Tyler Gunn [Mon, 17 Oct 2016 22:48:19 +0000 (15:48 -0700)]
Framework fixes to support VoLTE conf calls via RemoteConnectionServices.
Fixing some issues with the addExistingConnection and addConference APIs
on ConnectionService. When a connection manager relays the addition of
an existing connection or a conference to Telecom, it will assign a new
ID to the new connection/conference. Due to how RemoteCSes work, the
Connection/Conf will be added directly via TelephonyConnectionService and
also via the connection manager's connection service. Because the ID
changes, we ended up adding these twice. Conferences weren't a problem in
the GSM conference case because the TElephonyConnectionService's
ConnectionServiceWrapper didn't know of the IDs for the children of the
conference. However, due to how the existing connections work its not the
case for VoLTE conferences. To mitigate this, I'm passing the original
connection/conference ID to the connection manager via extras (ugh) and
using this to ensure that when the new existing connection/conference is
added to telecom that the same ID is used. This ensures that we can
properly de-dupe the requests from TelephonyConnectionService and the
connection manager.
Also, there was some missing code in RemoteConnectionService which would
cause it to not properly track existing connections.
Bug:
31464792
Change-Id: I436f4438fd000ea48ebea7ceb75105bd3f456e46
Miao Wang [Wed, 1 Feb 2017 01:26:52 +0000 (17:26 -0800)]
Remove uncessary dependency of libhwui
- libRS.so is not directly used. It is accessed by libRScpp.so.
Test: mm, and boot-up test on sailfish
Change-Id: I5742d2ee3b34ef09bcb997524408affce1ace8fd
(cherry picked from commit
629fd3d48ba1dbedc6e84e91a26f72fb1fba0e22)
Andreas Huber [Mon, 6 Feb 2017 19:49:26 +0000 (11:49 -0800)]
Fixes Treble marshaling of strings embedded in structures from Java
Bug:
35038064
Test: hidl_test_java
Change-Id: Ibfdeae06fdf3982d226a7fa87d4c23feeb8e766e
Josh Gao [Mon, 6 Feb 2017 18:37:54 +0000 (18:37 +0000)]
Merge changes from topic 'debuggerd_ambient'
* changes:
zygote: make all capabilities inheritable.
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
Paul Lawrence [Mon, 6 Feb 2017 18:16:38 +0000 (10:16 -0800)]
Expand whitelist
Bug:
35034743
Test: Builds, boots
Change-Id: I5ab77554d23a8498cf32953d447534742683deb8
Tyler Gunn [Tue, 31 Jan 2017 18:49:05 +0000 (10:49 -0800)]
Self managed CS implementation.
Add required AIDL changes to pass along connection fails.
Test: Manual
Bug:
34159263
Merged-In: I0a24ff786b2867aa4e19ac79959df54a04983251
Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
Jason Monk [Mon, 6 Feb 2017 15:34:37 +0000 (15:34 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent"
Narayan Kamath [Mon, 6 Feb 2017 14:09:45 +0000 (14:09 +0000)]
Merge "MethodHandles: Expose additional API."
Orion Hodson [Mon, 6 Feb 2017 10:21:53 +0000 (10:21 +0000)]
Merge "Add bytecodes for invoke-polymorphic"