Commit Graph

21527 Commits

Author SHA1 Message Date
TreeHugger Robot
f16a3537b6 Merge "[Magnifier-55] Add API for content clamping" 2018-11-16 21:45:40 +00:00
Oleg Kibirev
2d281dfe63 Merge "Add a PowerManager @SystemApi to start a dream" 2018-11-16 21:38:34 +00:00
TreeHugger Robot
e2dc21e1a3 Merge "Exposing canSuspendPackage as SystemApi" 2018-11-16 21:05:46 +00:00
TreeHugger Robot
14805a777d Merge "[WPA3] Make WPA3/OWE capability query API public 2/2" 2018-11-16 18:27:33 +00:00
Xiangyu/Malcolm Chen
544a84e01c Merge "Remove parentSubId and define API to set groupSubId" 2018-11-16 18:05:16 +00:00
Mihai Popa
3e1aed1272 [Magnifier-55] Add API for content clamping
The CL adds API to customize the bounds relative to a view where the
magnifier content is allowed to be copied from.

Bug: 72211470
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I3016a34929acf029f5251d03812f17e4da4cb948
2018-11-16 16:29:44 +00:00
Chong Zhang
258274714d Merge "Retrieve CA_Descriptor private data for scrambled stream" 2018-11-16 15:30:00 +00:00
Ecco Park
33ac9a434e Merge "passpoint-r2: define getAllMatchingWifiConfigs(List<ScanResult>) API" 2018-11-16 15:12:48 +00:00
Ecco Park
f035a04f59 passpoint-r2: define getAllMatchingWifiConfigs(List<ScanResult>) API
This API is required to support control of Passpoint configurations with
scan results on Setting UI.
Internally, previous API is merged into new API to take a list of
ScanResult Objects instead of a single ScanResult.

Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: I1b9e1499081a8b005f10c249163185d0dc817b46
2018-11-16 03:19:21 -08:00
Gustav Sennton
413ce3b609 Merge "Add a Notifications API for contextual (smart) actions." 2018-11-16 10:22:39 +00:00
Hai Shalom
dc6f7af9a9 [WPA3] Make WPA3/OWE capability query API public 2/2
Remove owe and wpa3 methods from system-current.txt, since these methods
are now public.

Bug: 112195778
Test: No code changes
Change-Id: I76907a783f946640e0191823c52b17826d751603
2018-11-15 19:32:21 -08:00
Malcolm Chen
dc3a733062 Remove parentSubId and define API to set groupSubId
Bug: 118349116
Test: unittest
Change-Id: I539a67df8f30c2f58d87a3417f78fef8b43ff56d
2018-11-15 17:31:50 -08:00
Brad Ebinger
9ca7a38d29 Merge "Expose ProvisioningManager API for IMS configurations" am: 082bf0ccca am: 5ffd9747af
am: 81e18816f9

Change-Id: I99b9a5dec01e51426f923d24eceacd2f719c2fcd
2018-11-15 14:51:27 -08:00
Brad Ebinger
81e18816f9 Merge "Expose ProvisioningManager API for IMS configurations" am: 082bf0ccca
am: 5ffd9747af

Change-Id: I51307a4658b63823da79567130b0425bc5695555
2018-11-15 14:34:50 -08:00
Brad Ebinger
082bf0ccca Merge "Expose ProvisioningManager API for IMS configurations" 2018-11-15 22:07:29 +00:00
TreeHugger Robot
102ecc032b Merge "Expose all dangerous permission to Permission controller" 2018-11-15 21:43:30 +00:00
Oleg Kibirev
2385b5ef7e Add a PowerManager @SystemApi to start a dream
go/startdream

This is a simplier alternative to ag/5460565

Bug: 119130690
Test: Use of API from launcherX
Change-Id: I9b8e1dc04095045077c37014290120efec9dc331
2018-11-15 12:54:02 -08:00
Philip P. Moltmann
de9510d95a Expose all dangerous permission to Permission controller
The permission controller is built agains @system-api. It needs to be
able to access all dangerous system-permissions as it needs to manage
them.

Test: Built
Bug: 110953302
Change-Id: I41f5e60bf53888039fa1fd1060a27f29e9418009
2018-11-15 18:35:59 +00:00
Chen Xu
7a3a606985 Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" am: 8715c1545e am: 2db64c2f55
am: bc9e3a0d16

Change-Id: I8602091b25698e194ab0e6d860689edce85012d5
2018-11-15 09:58:00 -08:00
Chen Xu
4ed9b6da82 Merge "new System API for sim voice activation state." am: 16533c35d3 am: b332c39954
am: c078fd99dd

Change-Id: Iadf3b3a21a1c20b18ef07ee3ca54ccf7c61ba981
2018-11-15 09:49:33 -08:00
Chen Xu
bc9e3a0d16 Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" am: 8715c1545e
am: 2db64c2f55

Change-Id: I9eca28cd2d5388424dd432e4fb1ae15a49e00107
2018-11-15 09:44:06 -08:00
Chen Xu
c078fd99dd Merge "new System API for sim voice activation state." am: 16533c35d3
am: b332c39954

Change-Id: I18346531c31e9a8a593da18c1d07ee33f1650784
2018-11-15 09:36:07 -08:00
Chen Xu
8715c1545e Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" 2018-11-15 16:59:44 +00:00
Chen Xu
16533c35d3 Merge "new System API for sim voice activation state." 2018-11-15 16:59:03 +00:00
Hai Shalom
cc10721c48 Merge changes I3691ab5a,Ic79e533a
* changes:
  [WPA3] Make WPA3/OWE capability query API public
  [WPA3] Filter unsupported networks from scan results
2018-11-15 16:40:53 +00:00
Nathan Harold
0f671a507f Merge "Add Executor Support for PhoneStateListener" am: 7fe6f36f16 am: cda6f2b422
am: 095c04a3c2

Change-Id: Iabea3672f0af87ac728e0f541a3b624ca2686035
2018-11-15 05:53:03 -08:00
TreeHugger Robot
ee89dd9c6e Merge "Moved USER_SETUP_PERSONALIZATION_* values to Settings$Secure." 2018-11-15 01:55:24 +00:00
Suprabh Shukla
1f1de70fad Exposing canSuspendPackage as SystemApi
Exposing canSuspendPackage so apps with SUSPEND_APPS can query whether a
package is considered too critical to suspend by the system.

Test: atest GtsSuspendAppsTestCases

Fixes: 117968270
Change-Id: I9c316dae7e7a7259d28e271c3901465244d6c93d
2018-11-14 17:15:39 -08:00
Hai Shalom
67e4303380 [WPA3] Make WPA3/OWE capability query API public
Make isWpa3SaeSupported, isWpa3SuiteBSupported and isOweSupported
methods public.

Bug: 112195778
Test: atest WifiManagerTest
Change-Id: I3691ab5a5c8c280b9ad6b07e3969b76801d3a5c9
2018-11-14 15:16:59 -08:00
Holly Jiuyu Sun
a35ed85d6c Merge "Catch SecurityException in EuiccCardController and trigger callback." am: ee59e69b8b
am: 2334034cbf

Change-Id: Ida176f5dc7eade5edb050bbfb03664649f0ad0af
2018-11-14 15:01:42 -08:00
Treehugger Robot
ee59e69b8b Merge "Catch SecurityException in EuiccCardController and trigger callback." 2018-11-14 22:30:54 +00:00
Nathan Harold
095c04a3c2 Merge "Add Executor Support for PhoneStateListener" am: 7fe6f36f16
am: cda6f2b422

Change-Id: I18e9592b3d6ea165be83c4468f624c166086193d
2018-11-14 13:44:04 -08:00
TreeHugger Robot
70b7c3df85 Merge "Implemented WebView.onProvideContentCaptureStructure()" 2018-11-14 20:59:24 +00:00
Gustav Sennton
1463d83d4e Add a Notifications API for contextual (smart) actions.
With this CL we add a new semantic action to Notification.Action to
represent contextual actions - i.e. actions specific to the current
notification. Contextual actions will be displayed differnently to
regular actions.

If the app itself does not provide smart replies or smart actions the
framework will generate smart replies and actions and put those in the
notification.

The UI for smart actions will be added in a separate CL.

With this CL we also remove a couple of unnecessary fields, namely:
NotificationInflater.mSmartActions
NotificationInflater.AsyncInflationTask.mSmartActions
the actions stored in these fields are stored in
NotificationData.Entry anyway.

Bug: 119010281
Test: write an app adding an Action with the new semantic type and
ensure that (contextual) action doesn't show up with the other actions.
Test: atest SystemUITests

Change-Id: Icd192fe2273b0474729dd4e413e0a6c2d75ff0fa
2018-11-14 20:52:01 +00:00
Mihai Popa
e412842b4c Merge "[Magnifier-53] Add API around outofbounds behavior" 2018-11-14 19:06:38 +00:00
Dianne Hackborn
35513466a3 Merge "Implement naming of isolated service bindings." 2018-11-14 18:46:30 +00:00
Mihai Popa
1903cab178 [Magnifier-53] Add API around outofbounds behavior
The CL adds a public API to enable customizing magnifier's behavior when
the coordinates passed to #show would position the magnifier outside the
main application window.

Bug: 72211470
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I9de26e446354d0ad987a4509089fbec4ee5ef7d3
2018-11-14 14:23:03 +00:00
Sooraj Sasindran
4e3eb8084a Merge "API to switch preferred data" 2018-11-14 02:09:56 +00:00
Felipe Leme
1b0e7e816c Implemented WebView.onProvideContentCaptureStructure()
Bug: 117944706
Test: m -j update-api

Change-Id: I2ad56873bae314b7bf66aa123a8ae47eecb7af2e
2018-11-13 16:22:25 -08:00
Dianne Hackborn
27b4d94a07 Implement naming of isolated service bindings.
This allows clients to run multiple instances of the same
manifest service declaration.  It only works for isolated
services, to avoid too much abuse temptation.  This is part
of the "Chrome site isolation" work, to allow chrome to have
many more render processes running and help it manage them.

Bug: 111434506
Test: atest CtsAppTestCases:ServiceTest
Change-Id: I22e65758678a07075ed32ed6463082ddf846d3a4
2018-11-13 16:03:02 -08:00
Nathan Harold
7581efdb9d Add Executor Support for PhoneStateListener
Support an Executor so that PhoneStateListener
can invoke callbacks not only on a user's preferred
Looper but also on a preferred Handler or in another
thread management scheme.

PhoneStateListener uses an odd pattern for its API,
so to support the historical use cases of having the
internal callback instance be instantiated during
object construction, the Executor needs to be passed
in to the PhoneStateListener during construction. This
also permits the listen() method in TelephonyManager to
avoid odd situations of having a version with an
Executor be passed in when requesting to stop listening
for events.

Bug: 118350385
Test: atest PhoneStateListenerTest
      atest PhoneStateListenerExecutorTest
Change-Id: I8eeb2e156f6d67d192d17586e6aa5579ff6d675d
2018-11-13 15:08:56 -08:00
Brad Ebinger
0d36ed248f Expose ProvisioningManager API for IMS configurations
Bug: 117648104
Test: Manual
Change-Id: I71ef979cee6467fd3d70fe70e4b899dbee70e2ae
2018-11-13 12:49:28 -08:00
Salvador Martinez
5980543478 Merge changes from topic "dynamic_power_saver"
* changes:
  Create APIs to interact with DynamicPowerSaver
  Create new battery saver mode
2018-11-13 20:23:03 +00:00
TreeHugger Robot
1eec951795 Merge "Added moar ContentCapture APIs (and their initial implementation)." 2018-11-13 19:40:40 +00:00
Tyler Gunn
743ad8a78c Merge "Unsupported app usage API cleanup" am: a2b2183a24 am: ff98c6d69f
am: 940dd816a3

Change-Id: I571ad85a3e643459c3040ee4ccb3e3e2d84c741a
2018-11-13 10:34:43 -08:00
Tyler Gunn
940dd816a3 Merge "Unsupported app usage API cleanup" am: a2b2183a24
am: ff98c6d69f

Change-Id: I3bbf9b130374b2f387de56034d22e2cf6248a9ac
2018-11-13 10:18:44 -08:00
Hui Yu
81f977753a Merge "Add UsageStats events for foreground service start/stop." 2018-11-13 18:16:19 +00:00
Tyler Gunn
a2b2183a24 Merge "Unsupported app usage API cleanup" 2018-11-13 17:49:01 +00:00
Salvador Martinez
812ea7554b Create APIs to interact with DynamicPowerSaver
This creates the PowerManager APIs that allow apps with the
appropriate permissions to interact with Dynamic Power Saver.

Bug: 111450127
Test: WIP
Change-Id: I5b9483fa0fba81a4ade622b1f3dbaec580b68a67
2018-11-13 09:33:50 -08:00
vichang
321d0727c4 Merge "Expose Transliterator API" am: 6274341f10 am: 170fa7c300
am: 816a0c8a3a

Change-Id: I96cb201e20e00341ed1f8e63f242dc435b398eea
2018-11-13 08:46:01 -08:00