Commit Graph

22343 Commits

Author SHA1 Message Date
TreeHugger Robot
a5e892f577 Merge "Add native flag namespace for input" 2019-01-14 17:00:41 +00:00
Issei Suzuki
9178eee8b1 Merge "Add inheritShowWhenLocked System API to activity." 2019-01-14 14:34:45 +00:00
Julia Reynolds
413ba846b3 Don't allow importance updates for oem locked channels
Test: atest, make sure missed call notifications are no
longer demoted by aosp notification assistant
Change-Id: I80728bae67501d64359e0dac02dca928c34a7e95
Fixes: 122657004
2019-01-14 14:03:55 +00:00
Issei Suzuki
74e1eb2220 Add inheritShowWhenLocked System API to activity.
Let an activity show on top of the lock screen if the activity behind
this can be shown on top of the screen. This is pre-requisite for
showing permission dialog on top of the lock screen only when it makes
sence.

Bug: 109754623
Test: atest server.am.KeyguardTests
Change-Id: Ideaa2b77519649a70c682bc95277e451e149adad
2019-01-14 13:42:24 +01:00
TreeHugger Robot
2baff48b21 Merge "API review correction: rename NAS.onActionClicked -> onActionInvoked." 2019-01-14 12:05:20 +00:00
TreeHugger Robot
fc02cf7f50 Merge "Unhide Session2CommandGroup" 2019-01-14 06:46:23 +00:00
Jin Seok Park
42dd015a86 Unhide Session2CommandGroup
Bug: 122436036
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandGroupTest
Change-Id: I8a3e3fed9c5e5fc900e4c6dfc80ac1a346860321
2019-01-14 12:02:04 +09:00
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
Siarhei Vishniakou
39a1a98020 Add native flag namespace for input
For experiment flag testing, add input_native_boot flag in DeviceConfig

Test: presubmit
Bug: 120794829
Change-Id: I1ee76cb1210379bd5c04c19de71c777948c2dad3
2019-01-11 10:33:26 -08: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
Gustav Sennton
ced1d00d82 API review correction: rename NAS.onActionClicked -> onActionInvoked.
Bug: 120842160
Test: build Android
Change-Id: I0d673871a6d673eaca60aedf452fa68fd9855954
2019-01-11 17:57:50 +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