OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8
Tyler Gunn [Wed, 8 Feb 2017 22:01:07 +0000 (22:01 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider." am: c164b159f8
am: e55b11573e

Change-Id: Iffef42c4050bbda451e9cd99cb90589060b105bd

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider."
Tyler Gunn [Wed, 8 Feb 2017 21:56:39 +0000 (21:56 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider."
am: c164b159f8

Change-Id: I3abbb1de951f65c226a6849f34946880e9f650ff

7 years agoMerge "Change prototype for "setCamera" in IMS VideoProvider."
Treehugger Robot [Wed, 8 Feb 2017 21:46:43 +0000 (21:46 +0000)]
Merge "Change prototype for "setCamera" in IMS VideoProvider."

7 years agoMerge changes If970d851,I5bd11574 am: 3c054697fc
Roshan Pius [Wed, 8 Feb 2017 21:01:12 +0000 (21:01 +0000)]
Merge changes If970d851,I5bd11574 am: 3c054697fc
am: 65eef762a9

Change-Id: I02a05b3b327b79f9b344db0a3b5d5c96b49bcd5a

7 years agoWifiManager: API upates for O am: fb441f5009
Roshan Pius [Wed, 8 Feb 2017 21:00:24 +0000 (21:00 +0000)]
WifiManager: API upates for O am: fb441f5009
am: aabb1c7ecf

Change-Id: I0ff9ca3f59b4d10e41fd2d3a38329cc7f71844cf

7 years agoWifiConfiguration: Remove priority field am: 45491113ed
Roshan Pius [Wed, 8 Feb 2017 20:59:17 +0000 (20:59 +0000)]
WifiConfiguration: Remove priority field am: 45491113ed
am: 51641c20b2

Change-Id: I820420e7c38aac3ddff2441cf40dc367b483c0ff

7 years agoMerge changes If970d851,I5bd11574
Roshan Pius [Wed, 8 Feb 2017 20:50:02 +0000 (20:50 +0000)]
Merge changes If970d851,I5bd11574
am: 3c054697fc

Change-Id: I2794ca0e7dfaaf10a47862a4646483772a530b5e

7 years agoWifiManager: API upates for O
Roshan Pius [Wed, 8 Feb 2017 20:49:57 +0000 (20:49 +0000)]
WifiManager: API upates for O
am: fb441f5009

Change-Id: I00207a5219d97c49b1231610ad78f7ec4cbe0b96

7 years agoWifiConfiguration: Remove priority field
Roshan Pius [Wed, 8 Feb 2017 20:49:13 +0000 (20:49 +0000)]
WifiConfiguration: Remove priority field
am: 45491113ed

Change-Id: I2dd6f7f7b1912259b646a715049164b48334d5b4

7 years agoMerge changes If970d851,I5bd11574
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

7 years agoMerge "[Debug]: Add timeout for dumpNativeBacktraceToFile." am: b6f7a85b85
songjinshi [Wed, 8 Feb 2017 20:22:26 +0000 (20:22 +0000)]
Merge "[Debug]: Add timeout for dumpNativeBacktraceToFile." am: b6f7a85b85
am: ec69bd0aa3

Change-Id: Idfe455733dd12bf82c31cb505681e4fa89d57bfb

7 years agoMerge "[Debug]: Add timeout for dumpNativeBacktraceToFile."
songjinshi [Wed, 8 Feb 2017 20:18:13 +0000 (20:18 +0000)]
Merge "[Debug]: Add timeout for dumpNativeBacktraceToFile."
am: b6f7a85b85

Change-Id: Iea79127b2c7d823844406f677a98fea54043f4cb

7 years agoMerge "[Debug]: Add timeout for dumpNativeBacktraceToFile."
Treehugger Robot [Wed, 8 Feb 2017 20:11:22 +0000 (20:11 +0000)]
Merge "[Debug]: Add timeout for dumpNativeBacktraceToFile."

7 years agoDO NOT MERGE Guard against null entries in process list during updateOomAdjLocked
Erik Wolsheimer [Wed, 8 Feb 2017 19:46:50 +0000 (19:46 +0000)]
DO NOT MERGE Guard against null entries in process list during updateOomAdjLocked
am: 84aa5a864f

Change-Id: I9b5c9b25a9bd4ad5b51f7d0c7004c7275ce1e460

7 years agoMerge "Replace com.android.internal.util.Predicate with java.util.function.Predicate...
Paul Duffin [Wed, 8 Feb 2017 18:30:17 +0000 (18:30 +0000)]
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate" am: 78a20be77a
am: 9e99b9ee45

Change-Id: I289950cff0cdc6b5ad301936c7b55eadee5fd0f8

7 years agoMerge "Expand seccomp whitelist" am: fd77a331eb
Paul Lawrence [Wed, 8 Feb 2017 18:29:08 +0000 (18:29 +0000)]
Merge "Expand seccomp whitelist" am: fd77a331eb
am: 1201ce98dd

Change-Id: I87fa2d6962ebb288c8c79488cfaf73485fca7bbf

7 years agoMerge "Add support for wait-on-handlers command." am: da6d683caa
Tyler Gunn [Wed, 8 Feb 2017 18:27:37 +0000 (18:27 +0000)]
Merge "Add support for wait-on-handlers command." am: da6d683caa
am: a3b4985ad4

Change-Id: I80669c442c53a49687974851dccf0c9c9b500e96

7 years agoMerge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
Paul Duffin [Wed, 8 Feb 2017 18:14:50 +0000 (18:14 +0000)]
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
am: 78a20be77a

Change-Id: I6f32dc27f70e4c22d25ec6bd2eec715700ebbd89

7 years agoMerge "Expand seccomp whitelist"
Paul Lawrence [Wed, 8 Feb 2017 18:10:28 +0000 (18:10 +0000)]
Merge "Expand seccomp whitelist"
am: fd77a331eb

Change-Id: I824c984b907e43248d6eba6259f31f4aab7d64db

7 years agoMerge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
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"

7 years agoMerge "Expand seccomp whitelist"
Paul Lawrence [Wed, 8 Feb 2017 17:57:41 +0000 (17:57 +0000)]
Merge "Expand seccomp whitelist"

7 years agoMerge "Add support for wait-on-handlers command."
Tyler Gunn [Wed, 8 Feb 2017 17:17:30 +0000 (17:17 +0000)]
Merge "Add support for wait-on-handlers command."
am: da6d683caa

Change-Id: I71bee35ec1bf6ff4100f6515ea87dcc89312a689

7 years agoWifiManager: API upates for O
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

7 years agoWifiConfiguration: Remove priority field
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

7 years agoExpand seccomp whitelist
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

7 years agoMerge "Add support for wait-on-handlers command."
Tyler Gunn [Wed, 8 Feb 2017 16:09:09 +0000 (16:09 +0000)]
Merge "Add support for wait-on-handlers command."

7 years agoMerge "Fix problem with JavaDoc" am: 8f33fcdc4b
Paul Duffin [Wed, 8 Feb 2017 11:35:19 +0000 (11:35 +0000)]
Merge "Fix problem with JavaDoc" am: 8f33fcdc4b
am: 4929aafc1d

Change-Id: I08c9f20c34a2952105854d107b442884dba220b1

7 years agoMerge "Fix problem with JavaDoc"
Paul Duffin [Wed, 8 Feb 2017 11:31:15 +0000 (11:31 +0000)]
Merge "Fix problem with JavaDoc"
am: 8f33fcdc4b

Change-Id: I25fd01b35a2c1299304401a1333f737ee9252317

7 years agoMerge "Fix problem with JavaDoc"
Treehugger Robot [Wed, 8 Feb 2017 11:21:28 +0000 (11:21 +0000)]
Merge "Fix problem with JavaDoc"

7 years agoFix 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

7 years agoDO NOT MERGE Guard against null entries in process list during updateOomAdjLocked
Erik Wolsheimer [Wed, 8 Feb 2017 04:54:20 +0000 (20:54 -0800)]
DO NOT MERGE Guard against null entries in process list during updateOomAdjLocked

BUG: 34312358
Change-Id: I9b303d443b082bba8b440e6e1ef68b050a970386

7 years agoChange prototype for "setCamera" in IMS VideoProvider.
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

7 years agoMerge changes from topic 'Passpoint API Rename' am: 93d66c83cf
Peter Qiu [Tue, 7 Feb 2017 23:47:46 +0000 (23:47 +0000)]
Merge changes from topic 'Passpoint API Rename' am: 93d66c83cf
am: 322c9a9ec5

Change-Id: I91231f6c6ad804997071f81f0d3998f1d8231a73

7 years agohotspot2: expose Passpoint APIs as public am: bffe405e1f
Peter Qiu [Tue, 7 Feb 2017 23:40:45 +0000 (23:40 +0000)]
hotspot2: expose Passpoint APIs as public am: bffe405e1f
am: b898025e8c

Change-Id: I10d77f87722d5b21004df1394b1b5d9e82b78976

7 years agohotspot2: fix class/function/variable names to comply with API guideline am: da8a67e8a6
Peter Qiu [Tue, 7 Feb 2017 23:39:50 +0000 (23:39 +0000)]
hotspot2: fix class/function/variable names to comply with API guideline am: da8a67e8a6
am: 7fec249699

Change-Id: Ib37832f30b5174f52e71ef2e3f796c669ba7bda9

7 years agohotspot2: rename classes to comply with API guideline am: a77809766c
Peter Qiu [Tue, 7 Feb 2017 23:38:36 +0000 (23:38 +0000)]
hotspot2: rename classes to comply with API guideline am: a77809766c
am: c4f4a1ac9e

Change-Id: I00cda97fa573cb7dcb3ac8501ead6b34b91f1b1e

7 years agoMerge changes from topic 'Passpoint API Rename'
Peter Qiu [Tue, 7 Feb 2017 23:38:35 +0000 (23:38 +0000)]
Merge changes from topic 'Passpoint API Rename'
am: 93d66c83cf

Change-Id: Ibff6d79c8ca51b760932909e89b21e8c843acc89

7 years agohotspot2: expose Passpoint APIs as public
Peter Qiu [Tue, 7 Feb 2017 23:32:08 +0000 (23:32 +0000)]
hotspot2: expose Passpoint APIs as public
am: bffe405e1f

Change-Id: I86065439f5902b6ce7b0ceec3f295e14f0dff47f

7 years agohotspot2: fix class/function/variable names to comply with API guideline
Peter Qiu [Tue, 7 Feb 2017 23:31:02 +0000 (23:31 +0000)]
hotspot2: fix class/function/variable names to comply with API guideline
am: da8a67e8a6

Change-Id: I48f7b3ab747c0323aec5208c7a0afa123ff68729

7 years agohotspot2: rename classes to comply with API guideline
Peter Qiu [Tue, 7 Feb 2017 23:30:19 +0000 (23:30 +0000)]
hotspot2: rename classes to comply with API guideline
am: a77809766c

Change-Id: Iaaf34a5ec744775e472d1b3eb8673ebf610b1c61

7 years agoMerge changes from topic 'Passpoint API Rename'
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

7 years agoMerge "Expand seccomp whitelist" am: 10e7aed13f
Paul Lawrence [Tue, 7 Feb 2017 23:03:32 +0000 (23:03 +0000)]
Merge "Expand seccomp whitelist" am: 10e7aed13f
am: 0ab0d47516

Change-Id: Id7512df1f0df56f73352c82a3ad55eb5360ebd91

7 years agoMerge "Expand seccomp whitelist"
Paul Lawrence [Tue, 7 Feb 2017 22:59:34 +0000 (22:59 +0000)]
Merge "Expand seccomp whitelist"
am: 10e7aed13f

Change-Id: I8060b31a8ac20ddd77b7139c5a3bbd8d146dbc27

7 years agoMerge "Expand seccomp whitelist"
Paul Lawrence [Tue, 7 Feb 2017 22:50:43 +0000 (22:50 +0000)]
Merge "Expand seccomp whitelist"

7 years agoMerge "Perform camera permission and app ops check when setting camera for VT." am...
Brad Ebinger [Tue, 7 Feb 2017 22:37:31 +0000 (22:37 +0000)]
Merge "Perform camera permission and app ops check when setting camera for VT." am: ed5c217fc0
am: 3d6f878b75

Change-Id: I0ed577718d9ffd72ec7668889d4da4db0060cb5f

7 years agoMerge "Perform camera permission and app ops check when setting camera for VT."
Brad Ebinger [Tue, 7 Feb 2017 22:33:05 +0000 (22:33 +0000)]
Merge "Perform camera permission and app ops check when setting camera for VT."
am: ed5c217fc0

Change-Id: I0fd4ed2260a9654e2889121022192f62f86a3d0c

7 years agoMerge "Perform camera permission and app ops check when setting camera for VT."
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."

7 years agohotspot2: expose Passpoint APIs as public
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

7 years agohotspot2: fix class/function/variable names to comply with API guideline
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

7 years agohotspot2: rename classes to comply with API guideline
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

7 years ago[Debug]: Add timeout for dumpNativeBacktraceToFile.
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>
7 years agoReplace com.android.internal.util.Predicate with java.util.function.Predicate
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

7 years agoExpand seccomp whitelist
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

7 years agoAdd support for wait-on-handlers command.
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

7 years agoMerge "Fixes Treble marshaling of strings embedded in structures from Java" am: 97fca...
Andreas Huber [Tue, 7 Feb 2017 00:12:13 +0000 (00:12 +0000)]
Merge "Fixes Treble marshaling of strings embedded in structures from Java" am: 97fca8c035
am: 0bae9b1406

Change-Id: I0eb29e3e80243a958aa2520924ea9ad859034cdf

7 years agoMerge "Add a mechanism to configure the default A2DP codec priorities" am: acf34d8b62
Pavlin Radoslavov [Tue, 7 Feb 2017 00:10:21 +0000 (00:10 +0000)]
Merge "Add a mechanism to configure the default A2DP codec priorities" am: acf34d8b62
am: cd6e0ee19d

Change-Id: I6fb8a3a35451cf2d1e228466ef4a4d4e89d1d4ca

7 years agoMerge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e
Jason Monk [Tue, 7 Feb 2017 00:09:14 +0000 (00:09 +0000)]
Merge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e
am: 4e82bf6c51

Change-Id: I39d311e1b455a7a3e53ac8c1b12d1d67b07972ee

7 years agoMerge "Remove uncessary dependency of libhwui" am: df36be5f17
Miao Wang [Tue, 7 Feb 2017 00:08:05 +0000 (00:08 +0000)]
Merge "Remove uncessary dependency of libhwui" am: df36be5f17
am: eebd7d7970

Change-Id: I3e7b282340259eaad71569e8a15f5028852852ee

7 years agoMerge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" am: 84f97e21b2
Jack Yu [Tue, 7 Feb 2017 00:04:04 +0000 (00:04 +0000)]
Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" am: 84f97e21b2
am: 7eac8ec7c1

Change-Id: I8fdb5f13a50a0965cb2fbfd15212bc26e076054c

7 years agoMerge "Self managed CS implementation." am: d736a6b2c2
Tyler Gunn [Tue, 7 Feb 2017 00:01:04 +0000 (00:01 +0000)]
Merge "Self managed CS implementation." am: d736a6b2c2
am: 6bd991b3d2

Change-Id: Id406ceb476573d3cebc12ce27652d814dd679733

7 years agoMerge "Fixes Treble marshaling of strings embedded in structures from Java"
Andreas Huber [Mon, 6 Feb 2017 23:45:53 +0000 (23:45 +0000)]
Merge "Fixes Treble marshaling of strings embedded in structures from Java"
am: 97fca8c035

Change-Id: Iac2492ccc736b83d6ae46022b643fd229c2c307e

7 years agoMerge "Fixes Treble marshaling of strings embedded in structures from Java"
Treehugger Robot [Mon, 6 Feb 2017 23:41:27 +0000 (23:41 +0000)]
Merge "Fixes Treble marshaling of strings embedded in structures from Java"

7 years agoMerge "Add a mechanism to configure the default A2DP codec priorities"
Pavlin Radoslavov [Mon, 6 Feb 2017 23:12:23 +0000 (23:12 +0000)]
Merge "Add a mechanism to configure the default A2DP codec priorities"
am: acf34d8b62

Change-Id: I8a97b344bb09f4bded076ea81875b3b78dc50bea

7 years agoMerge "Hotspot Tile: longclick should open Tethering settings"
Jason Monk [Mon, 6 Feb 2017 23:03:24 +0000 (23:03 +0000)]
Merge "Hotspot Tile: longclick should open Tethering settings"
am: 96c4f1a21e

Change-Id: I42b701c8d390333f6d121bea2ee6c3284e646e9c

7 years agoMerge "Add a mechanism to configure the default A2DP codec priorities"
Treehugger Robot [Mon, 6 Feb 2017 22:59:50 +0000 (22:59 +0000)]
Merge "Add a mechanism to configure the default A2DP codec priorities"

7 years agoMerge "Prevent division-by-zero error when calculating battery capacity." into cw...
Aaron Whyte [Mon, 6 Feb 2017 22:57:30 +0000 (22:57 +0000)]
Merge "Prevent division-by-zero error when calculating battery capacity." into cw-f-dev
am: 50fa8ad424

Change-Id: I3306d389c19a42130bda31cb61bc846207b76c35

7 years agoPrevent division-by-zero error when calculating battery capacity.
Ying Wai (Daniel) Fan [Mon, 6 Feb 2017 22:57:23 +0000 (22:57 +0000)]
Prevent division-by-zero error when calculating battery capacity.
am: 415f8b32e8

Change-Id: I1337db6391a9511df52560e8edb8a09260e27c5f

7 years agoMerge "Remove uncessary dependency of libhwui"
Miao Wang [Mon, 6 Feb 2017 22:56:58 +0000 (22:56 +0000)]
Merge "Remove uncessary dependency of libhwui"
am: df36be5f17

Change-Id: I5ccce1f195a43ff00b9bd7fc350d7ae915c566d7

7 years agoMerge "Hotspot Tile: longclick should open Tethering settings"
Jason Monk [Mon, 6 Feb 2017 22:53:58 +0000 (22:53 +0000)]
Merge "Hotspot Tile: longclick should open Tethering settings"

7 years agoMerge "Prevent division-by-zero error when calculating battery capacity." into cw...
Aaron Whyte [Mon, 6 Feb 2017 22:49:32 +0000 (22:49 +0000)]
Merge "Prevent division-by-zero error when calculating battery capacity." into cw-f-dev

7 years agoPerform camera permission and app ops check when setting camera for VT.
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

7 years agoMerge "Remove uncessary dependency of libhwui"
Miao Wang [Mon, 6 Feb 2017 22:47:15 +0000 (22:47 +0000)]
Merge "Remove uncessary dependency of libhwui"

7 years agoMerge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"
Jack Yu [Mon, 6 Feb 2017 22:47:05 +0000 (22:47 +0000)]
Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"
am: 84f97e21b2

Change-Id: Ib35393c60b0800d21507bd5d8ffe35345e6e6926

7 years agoMerge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"
Treehugger Robot [Mon, 6 Feb 2017 22:41:10 +0000 (22:41 +0000)]
Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged"

7 years agoMerge "Self managed CS implementation."
Tyler Gunn [Mon, 6 Feb 2017 22:40:39 +0000 (22:40 +0000)]
Merge "Self managed CS implementation."
am: d736a6b2c2

Change-Id: I9c1a84cade87a208f2e509fb0f32457c64014147

7 years agoMerge "Self managed CS implementation."
Tyler Gunn [Mon, 6 Feb 2017 22:32:13 +0000 (22:32 +0000)]
Merge "Self managed CS implementation."

7 years agoMerge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices....
Brad Ebinger [Mon, 6 Feb 2017 22:15:07 +0000 (22:15 +0000)]
Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." am: ed839943e0
am: b9f4a2d6c1

Change-Id: I0b1850f074b1a014277c485b1ee6b5b5577fb9cd

7 years agoMerge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
Brad Ebinger [Mon, 6 Feb 2017 22:10:26 +0000 (22:10 +0000)]
Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
am: ed839943e0

Change-Id: Ib8ed5dbf927300503aba1d97af25703b380c56a4

7 years agoRenamed voiceNetworkStateChanged and dataNetworkStateChanged
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

7 years agoMerge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
Brad Ebinger [Mon, 6 Feb 2017 22:03:29 +0000 (22:03 +0000)]
Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."

7 years agoAdd a mechanism to configure the default A2DP codec priorities
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

7 years agoMerge "Expand whitelist" am: 006065fee4
Paul Lawrence [Mon, 6 Feb 2017 20:57:23 +0000 (20:57 +0000)]
Merge "Expand whitelist" am: 006065fee4
am: bff26f4bf1

Change-Id: I2ad973c64c858b11628348965e9593f9f85c6dbe

7 years agoMerge "Expand whitelist"
Paul Lawrence [Mon, 6 Feb 2017 20:52:49 +0000 (20:52 +0000)]
Merge "Expand whitelist"
am: 006065fee4

Change-Id: I8e370c7afddc4911e3860d62809fd007bac40a0b

7 years agoMerge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba
Ricardo Loo [Mon, 6 Feb 2017 20:50:57 +0000 (20:50 +0000)]
Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba
am: b06c3ed79e

Change-Id: Ied57792600e4c832455178fab58c73fa51a32d97

7 years agodocs: Update gluUnProject parameter description. am: 232c4900ac
Ricardo Loo [Mon, 6 Feb 2017 20:49:52 +0000 (20:49 +0000)]
docs: Update gluUnProject parameter description. am: 232c4900ac
am: cb6a5fc0f3

Change-Id: If34955950f76c9ae8a488f57e7e2d3145bd55543

7 years agoMerge "docs: Update gluUnProject parameter description." into nyc-mr1-dev
Ricardo Loo [Mon, 6 Feb 2017 20:45:27 +0000 (20:45 +0000)]
Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev
am: 19dae584ba

Change-Id: I401682a35913ed936d124f7265e3e9338335ccee

7 years agodocs: Update gluUnProject parameter description.
Ricardo Loo [Mon, 6 Feb 2017 20:45:23 +0000 (20:45 +0000)]
docs: Update gluUnProject parameter description.
am: 232c4900ac

Change-Id: I087f08225229483798997096be428ef89f61d0bb

7 years agoMerge "Expand whitelist"
Treehugger Robot [Mon, 6 Feb 2017 20:43:01 +0000 (20:43 +0000)]
Merge "Expand whitelist"

7 years agoMerge "docs: Update gluUnProject parameter description." into nyc-mr1-dev
Ricardo Loo [Mon, 6 Feb 2017 20:37:43 +0000 (20:37 +0000)]
Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev

7 years agoFramework fixes to support VoLTE conf calls via RemoteConnectionServices.
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

7 years agoRemove uncessary dependency of libhwui
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)

7 years agoFixes Treble marshaling of strings embedded in structures from Java
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

7 years agoMerge "Use correct APIs to detect conditions for round scrollbars." into cw-f-dev
Agnieszka Madurska [Mon, 6 Feb 2017 19:37:10 +0000 (19:37 +0000)]
Merge "Use correct APIs to detect conditions for round scrollbars." into cw-f-dev
am: 16edc46ca3

Change-Id: I9060baf17df88095df52f6f06ff1c678eb314e1f

7 years agoUse correct APIs to detect conditions for round scrollbars.
Aga Madurska [Mon, 6 Feb 2017 19:37:04 +0000 (19:37 +0000)]
Use correct APIs to detect conditions for round scrollbars.
am: 99485ef841

Change-Id: I8aaa6bf17e253f6178b96c6743ff7779d5f3b7ef

7 years agoMerge "Use correct APIs to detect conditions for round scrollbars." into cw-f-dev
Agnieszka Madurska [Mon, 6 Feb 2017 19:30:27 +0000 (19:30 +0000)]
Merge "Use correct APIs to detect conditions for round scrollbars." into cw-f-dev

7 years agoMerge changes from topic 'debuggerd_ambient' am: 0784e51163
Josh Gao [Mon, 6 Feb 2017 19:01:58 +0000 (19:01 +0000)]
Merge changes from topic 'debuggerd_ambient' am: 0784e51163
am: ce0722f344

Change-Id: I16e66ebc770f0dbe0bcfea088648ad61e1818dd3

7 years agoMerge changes from topic 'debuggerd_ambient'
Josh Gao [Mon, 6 Feb 2017 18:53:04 +0000 (18:53 +0000)]
Merge changes from topic 'debuggerd_ambient'
am: 0784e51163

Change-Id: I842b682377d92f1b140fe442073d7b97d5090208

7 years agozygote: make all capabilities inheritable. am: 45dab78e98
Josh Gao [Mon, 6 Feb 2017 18:52:20 +0000 (18:52 +0000)]
zygote: make all capabilities inheritable. am: 45dab78e98
am: 0f2a0b9908

Change-Id: I864b02533e461c332ad8c8e6c5b931a5dfa9485f

7 years agoRevert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a
Josh Gao [Mon, 6 Feb 2017 18:51:21 +0000 (18:51 +0000)]
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a
am: c75e4153cf

Change-Id: Id936d8fde31c69ed04df81486f441244339a2065

7 years agozygote: make all capabilities inheritable.
Josh Gao [Mon, 6 Feb 2017 18:44:46 +0000 (18:44 +0000)]
zygote: make all capabilities inheritable.
am: 45dab78e98

Change-Id: I1983899a771bb82f644c75c0fe3e38342aab8402