Commit Graph

22334 Commits

Author SHA1 Message Date
Jimmy Chen
182bbb6dae Merge "p2p: support frequency for GroupJoin/GroupCreation with config" 2019-01-14 02:28:11 +00:00
TreeHugger Robot
485251a185 Merge "[WPA3] Rename allowedGroupMgmtCiphers to allowedGroupManagementCiphers" 2019-01-13 16:15:05 +00:00
Amruth Ramachandran
6c6528f648 Merge "Add support for LTE VoPS info" am: c43846705b am: 474ed578d1
am: 766e5d7e86

Change-Id: I80ea047797f7142b69a7cafec0bcf66aba13afd8
2019-01-12 04:39:10 -08:00
Amruth Ramachandran
766e5d7e86 Merge "Add support for LTE VoPS info" am: c43846705b
am: 474ed578d1

Change-Id: I1f7f4977d921950736c3f540ed8f68cbea0174dc
2019-01-12 04:27:04 -08:00
Amruth Ramachandran
c43846705b Merge "Add support for LTE VoPS info" 2019-01-12 12:02:19 +00:00
TreeHugger Robot
fd1e036205 Merge "Add EXTRA_PERMISSION_GROUP_NAME" 2019-01-12 04:29:33 +00:00
Amruth Ramachandran
a46bc5c266 Add support for LTE VoPS info
LTE VoPS support contains:
    isVopsSupported: This indicates if camped network support VoLTE services.
    isEmcBearerSupported: This indicates if camped network support VoLTE emergency bearers.

Bug:112194535
Test: atest
Change-Id: I6ab186d0423b857daaf579a75a852b230783eb39
2019-01-11 16:33:51 -08:00
Hai Zhang
85b762c9c8 Add home and emergency role names.
This change adds the names of the home and emergency roles, which will
be used by Settings.

Bug: 110557011
Test: build
Change-Id: I40bb0e021232acff62a32e0bdc24a04ff9ec6ba8
2019-01-11 14:35:10 -08:00
Christine Franks
cf42497af1 Merge "Move global grayscale to ColorDisplayService" 2019-01-11 20:35:09 +00:00
Winson Chung
fb922e9bac Merge changes from topic "prediction_suggestion_services"
* changes:
  Initial commit of Content Suggestions (overview long press) Manager.
  Adding initial implementation of Prediction client/service API
2019-01-11 20:21:19 +00:00
TreeHugger Robot
e433ab6ee8 Merge "Add ApplicationInfo.isEncrpytionAware() as a system API." 2019-01-11 19:57:48 +00:00
Hall Liu
b8d605bc29 Merge "Propagate some SIP INVITE header fields on a MT call" am: a24ced9e9b
am: fb1c1a61db

Change-Id: I85abf94a108439da8a0858778f5fccc10cf2a415
2019-01-11 11:46:07 -08:00
Hall Liu
a24ced9e9b Merge "Propagate some SIP INVITE header fields on a MT call" 2019-01-11 19:17:35 +00:00
Chen Xu
26c60d6d69 Merge "precisedataState refactor part 3" am: 2351fa8b8f
am: f7f229bc1d

Change-Id: Iad8b0677d1853957582c20a86c242bff3512f869
2019-01-11 11:02:38 -08:00
Grace Chen
bf59b843f4 Merge "Add profile class in SubscriptionInfo database" am: 1403b61c05
am: ec0c47f5e7

Change-Id: I7778eac7340eafc2ff80dedc6064c4d655e58f15
2019-01-11 10:55:38 -08:00
Svetoslav Ganov
9a788837ef Merge "Historical app ops." 2019-01-11 18:48:55 +00:00
Chen Xu
2351fa8b8f Merge "precisedataState refactor part 3" 2019-01-11 18:11:37 +00:00
Treehugger Robot
1403b61c05 Merge "Add profile class in SubscriptionInfo database" 2019-01-11 18:04:44 +00:00
Christine Franks
09c229e6bb Move global grayscale to ColorDisplayService
Bug: 111215474
Test: atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: I9b72d53b2614f225422f15f3b4018383d75071cd
2019-01-11 09:36:48 -08:00
Roshan Pius
7fb5c3b75c WifiManager: Mark NetworkSuggestionsStatusCode hidden
The intdef interfaces should be hidden according to API council
guidelines.

Bug: 122518129
Test: make api-stubs-docs-update-current-api
Change-Id: I46d38341fab7136ed053445eb92a065abc3a2a26
2019-01-11 15:41:05 +00:00
Hyundo Moon
72994d482e Merge changes I185d3723,Id674576a
* changes:
  Introduce SessionCallbackLink
  Introduce ControllerCallbackLink
2019-01-11 11:51:16 +00:00
Jin Seok Park
4900d0e4ff Merge "Unhide Session2Command" 2019-01-11 06:58:00 +00:00
Sooraj Sasindran
88a17f3b67 Merge "Define entry and exit threshold for opportunistic" am: d748f78231
am: d7f69a3de7

Change-Id: I9edc56b0b4a4bf382ea567bcb1eeeff47da8e5ff
2019-01-10 22:56:58 -08:00
Treehugger Robot
d748f78231 Merge "Define entry and exit threshold for opportunistic" 2019-01-11 06:34:28 +00:00
TreeHugger Robot
3bf407f536 Merge "Add classification to MotionEvent" 2019-01-11 06:28:13 +00:00
Hyundo Moon
c451a82527 Introduce SessionCallbackLink
In order to avoid direct AIDL usages in framework, this CL introduces a
new public class SessionCallbackLink which can prevent usages of
ISessionCallback.

Bug: 122336924
Test: make update-api -j / make -j
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest
Change-Id: I185d372335104067b6f4ed512fcd2f3b3925642f
2019-01-11 15:18:03 +09:00
TreeHugger Robot
2383c6bfc9 Merge "Add profile class in SubscriptionInfo database" 2019-01-11 06:09:36 +00:00
Hyundo Moon
8cd0ae9041 Introduce ControllerCallbackLink
In order to avoid direct AIDL usages in framework, this CL introduces a
new public class ControllerCallbackLink which can prevent usages of
ISessionControllerCallback.

Bug: 122337578
Test: make update-api -j / make -j
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest
Change-Id: Id674576aa071b7fdbd0082bf6189fef2af2d919b
2019-01-11 14:42:14 +09:00
Svet Ganov
8455ba2341 Historical app ops.
This change is the main check in for the historical app op feature.
The idea is to store a historical data about past app op rejections,
accesses, and durations per op for any UID state indefinitely.

Keeping all operations on record is not practical as app ops are
very frequently performed. To address this we are storing aggregated
data as snapshots where we store for every UID and its packages
how many times each op was accessed, rejected, lasted as an aggregate.

To allow history scaling indefinitely we are taking a logarithmic
approach with only the most recent state stored in memory and all
preceding state stored on disk. State on disk is stored in separate
files where each preceding file, i.e. for an older period, would
cover X times longer period with X number of snapshots covering
X times longer period. Initially X is ten but can be tweaked. For
example, the first file could contain data for ten days with daily
snapshots, while the file for older period would have data
for a hundred days with snapshots every ten days, etc.

The implementation is optimized for fast history update and no impact
on system runtime performance and minimizing memory footprint. We
are lazily persisting state to disk on a dedicated thread as this is
slow. We are also reading the relevant historical files on a query
as this is very rare as opposed to state updates.

The base snapshot interval, i.e. snapshot time span, in the initial
iteration and the logarithmic step are configurable. These can be
changed dynamically and the history would be rewriten to take this
into account.

Test: atest CtsAppOpsTestCases

bug:111061782

Change-Id: I55c32c79911ba12b2ace58d2a782b8df1e6bff60
2019-01-10 19:31:31 -08:00
Jiuyu Sun
5f08027714 Merge "Allow privileged carrier app to update subscription nickname." 2019-01-11 03:01:12 +00:00
Grace Chen
5be6e9cb27 Add profile class in SubscriptionInfo database
Bug: 116732485
Test: Basic telephony sanity

Change-Id: I28a6d64c90db94ef0735f4d97f430560b733e797
Merged-In: I28a6d64c90db94ef0735f4d97f430560b733e797
2019-01-10 18:49:08 -08:00
Shuo Qian
18d6d78847 Merge "Add Emergency Uniform Resource Number (URN)" 2019-01-11 02:37:25 +00:00
TreeHugger Robot
c6536e4de6 Merge changes from topic "cc_virtual_id"
* changes:
  New, minor ContentCapture APIs for virtual views management.
  Implemented missing methods on android.view.contentcapture.ViewNode
2019-01-11 02:09:45 +00:00
Felipe Leme
2057c38a17 New, minor ContentCapture APIs for virtual views management.
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.CustomViewActivityTest
Test: atest CtsContentCaptureServiceTestCases # sanity check
Test: atest FrameworksCoreTests:android.view.contentcapture.ContentCaptureSessionTest
Test: m update-api
Bug: 117944706

Change-Id: I08bed441c6cc15673296f392e333c78018b14f65
2019-01-11 02:09:37 +00:00
Felipe Leme
6aae482ca4 Merge "Defined a new ContentCapture API: ContentCaptureService.onUserDataRemovalRequest" 2019-01-11 02:09:20 +00:00
Hai Zhang
14ea9efdfe Add ApplicationInfo.isEncrpytionAware() as a system API.
applicationInfo.isDirectBootAware() ||
applicationInfo.isPartiallyDirectBootAware() was used by Settings
to determine whether to show a confirmation message for setting a
direct boot unaware app to be some default app (e.g. SMS). Since
we are moving default app into roles in PermissionController, we
need this as a system API.

Bug: 110557011
Bug: 122270890
Test: build
Change-Id: I8bfc2b4e07239b6b9b1b9948dede3748b6ae974c
2019-01-11 02:02:11 +00:00
Jin Seok Park
b2b5049077 Unhide Session2Command
Bug: 122435992
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandTest
Change-Id: I109fd5383689c211b4019514e498022e2717ea53
2019-01-11 10:44:18 +09:00
Winson Chung
3fb0f258d3 Initial commit of Content Suggestions (overview long press) Manager.
Test: compile
Bug: 120865921
Change-Id: I9f8310112bedc883406f0f50a99041f542036fd9
2019-01-10 16:35:13 -08:00
shilu
b7ec9a0c9a Propagate some SIP INVITE header fields on a MT call
These fields can be used for Spoof call detection in the Dialer

Bug: 115537553
Test: compile and test on device
Change-Id: Ib92043536e0fc43e40efc53189a28c4e58064ddc
2019-01-10 15:59:06 -08:00
Sunny Goyal
54e91344e2 Adding initial implementation of Prediction client/service API
Test: Build sample app, ensure that app prediction service gets client
      requests
Bug: 111701043
Change-Id: I33aceb2de31552b2d740dc333559d68728753e40
Signed-off-by: Winson Chung <winsonc@google.com>
2019-01-10 15:53:25 -08:00
Soonil Nagarkar
48273286e5 Merge "Use LOCATION_MODE to control location" 2019-01-10 22:47:48 +00:00
Soonil Nagarkar
90da1ab3d2 Use LOCATION_MODE to control location
Completely deprecate LOCATION_PROVIDERS_ALLOWED (but still support it).
Adds additional locking and @GuardedBy annotations where appropriate,
and some minor code cleanup is copied from previous CLs.

Bug: 118885128
Test: Manual + CTS
Change-Id: I3c0b4b2354a4c2b6a120fc467af60cb3409dd671
2019-01-10 14:43:43 -08:00
sqian
03bde886e5 Add Emergency Uniform Resource Number (URN)
Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
2019-01-10 12:54:04 -08:00
Hai Shalom
69139f4cb6 [WPA3] Rename allowedGroupMgmtCiphers to allowedGroupManagementCiphers
Following API Council review:
Rename allowedGroupMgmtCiphers to allowedGroupManagementCiphers in all instances
in order to be consistend with existing members.

Bug: 122616519
Test: atest com.android.server.wifi
Change-Id: I5e24a97308c2c6150ecedbd60ea90c50c20e3760
2019-01-10 12:45:49 -08:00
Tyler Gunn
d7acc5a49f Merge "Call Screening / Caller ID API Changes" 2019-01-10 19:12:38 +00:00
Felipe Leme
62e45b0c4b Defined a new ContentCapture API: ContentCaptureService.onUserDataRemovalRequest
Test: m update-api

Bug: 121289354
Bug: 117944706

Change-Id: Ie317c170b49cdf6671dd0c4eadf02380cd737bf0
2019-01-10 10:34:02 -08:00
vincentpeng
be09f2801e WallpaperColor's ColorHint API go for @SystemApi
Making color hint's relative api @SystemApi.
For pre-installed live wallpaper apps, change to @SystemApi so:

1. apps can be build with gradle build tools.
   (e.g.: PixelLiveWallpaper for app bundle feature).
2. apps can calculate and pass color hint information to interested system components.
   (Such as passing dark text support to SystemUi)

Fixes: 111395593

Test: make system sdk and check if the wallpaper apps can compile with android_system.jar.
Test: check whether the wallpaper apps can pass correct color hint after build (dark text).

Change-Id: I2ecf6ff77ff7a823949c6e3253a077e6eba9683a
2019-01-10 14:34:26 +00:00
chen xu
896e3d4580 precisedataState refactor part 3
1. expose DataFailCause to systemAPI
2. expose PreciseDataState to systemAPI
3. change string apntype to bitmask.
4. change string dataFaiLcause to intdef

Bug: 119891533
Change-Id: Ife380a5063f44f80d41f60ffaecc5185f2f5b16b
(cherry picked from commit 16e24cd5de)
Merged-in: Ife380a5063f44f80d41f60ffaecc5185f2f5b16b
2019-01-09 22:49:42 -08:00
Jack He
17d71033ab Merge "Deprecate BluetoothHealth APIs" am: c792b78f71
am: 672b984fa6

Change-Id: I60d6429fc07cf4a2dccf5773a5c18016523d2762
2019-01-09 21:05:45 -08:00
Jack He
6b73b32c7a Deprecate BluetoothHealth APIs
* Mark all BluetoothHealth related APIs as deprecated
* Make BluetoothAdapter#getProfileProxy(context, BluetoothProfile.HEALTH)
  always return false
* Remove all logic behind BluetoothHealth APIs and add deprecation error log
* Health Device Profile (HDP) and MCAP protocol has been largely
  replaced by BLE. New applications should use Bluetooth Low Energy
  instead of legacy Bluetooth Health Device Profile

Bug: 111562841
Test: make, unit test, use Bluetooth
Change-Id: If99a9d79e9e1b89b75b9b74bd3b1c965247a1892
Merged-In: If99a9d79e9e1b89b75b9b74bd3b1c965247a1892
(cherry picked from commit 2be70a11a2)
2019-01-09 18:09:21 -08:00