Commit Graph

21595 Commits

Author SHA1 Message Date
TreeHugger Robot
c61363e7a2 Merge "Add detectLanguage and suggestConversationActions to TCS" 2018-11-22 11:16:30 +00:00
David Brazdil
eaba86819f Merge "Update public API after libcore InMemoryDexClassLoader change" am: a21de6f376 am: e8fdc7a52a
am: e3ec08d1ae

Change-Id: Iea58dbf279d6623040f43a2d8dc27b8a253626d8
2018-11-22 02:55:42 -08:00
David Brazdil
e3ec08d1ae Merge "Update public API after libcore InMemoryDexClassLoader change" am: a21de6f376
am: e8fdc7a52a

Change-Id: I68034e435ce47caf2dd5bbf1f57af0b889b4fd55
2018-11-22 02:42:23 -08:00
David Brazdil
a21de6f376 Merge "Update public API after libcore InMemoryDexClassLoader change" 2018-11-22 10:09:19 +00:00
Brad Ebinger
a5019f8d8a Merge "Expose ImsMmTelManager APIs as SystemApi" am: 8a3518cc90 am: 674804fcff
am: c61177a53e

Change-Id: I5c3a1d8ece83eb9dd7eae4151b77f0d70b6b7b6a
2018-11-21 11:46:25 -08:00
Brad Ebinger
c61177a53e Merge "Expose ImsMmTelManager APIs as SystemApi" am: 8a3518cc90
am: 674804fcff

Change-Id: Ib2d83d265a977834bf6ed2fc843be61d9d6993a4
2018-11-21 11:21:58 -08:00
Dianne Hackborn
07d5fc8691 Merge "Add new API to performing grouping and ordering of bindings." 2018-11-21 19:16:53 +00:00
Brad Ebinger
8a3518cc90 Merge "Expose ImsMmTelManager APIs as SystemApi" 2018-11-21 18:59:33 +00:00
Dianne Hackborn
a631d56cf3 Add new API to performing grouping and ordering of bindings.
This will allow apps to better manage many isolated processes,
telling the system how they are grouped together (so should be
managed as one related entity within the LRU cache) and fine-tune
the ordering within that group.

The API is not yet tested...  though in theory it is implemented.
But the implementation done for that also fixes a *lot* of problems
with activity LRU management that, even without groups, should
make the ordering of processes in the LRU list much more consistently
match how recently the user has interacted with it.

Also clean up some of the new dumpsys output in the activity manager:
move the new sections to before the process output (so it is still
easy to see the process state at the end of the output), and add and
document the command line options for controlling them.  And add a
new "lru" section that gives a clear view of what is going on with
the raw LRU list.

An upcoming change will add tests for the new grouping functionality,
and probably some fixes resulting from that.

Test: atest CtsAppTestCases:ServiceTest
Bug: 111434506
Change-Id: I1f6b6b9de66ccde1573e1a0e9615e8c5f8e6c0d7
2018-11-21 09:13:21 -08:00
Neil Fuller
f35dd4fa6c Merge "API for retrieving time zone IDs by country" am: 4492ec573a
am: b5ab9c2e1f

Change-Id: I69b477e36d760e5d06c232fc7fd0891d98dd52b6
2018-11-21 07:55:55 -08:00
Tony Mak
0be540b227 Add detectLanguage and suggestConversationActions to TCS
BUG: 111406942
BUG: 111437455

Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/TextClassifierTest.java

Change-Id: Iee9c970ebbec6590906907d67be3dd4021c1b4b2
2018-11-21 15:36:11 +00:00
Neil Fuller
4492ec573a Merge "API for retrieving time zone IDs by country" 2018-11-21 15:18:27 +00:00
Louis Pullen-Freilich
e4205126ee Merge "Deprecates framework Preference classes" 2018-11-21 14:42:43 +00:00
David Brazdil
12a95bafe7 Update public API after libcore InMemoryDexClassLoader change
Bug: 35458580
Test: compiles
Change-Id: I7debcedac0a6e8b2cfaa8b2dca5f88aebdd32910
2018-11-21 11:17:38 +00:00
Eran Messeri
fdf99084ed Merge "Grant Device IDs access to Profile Owner" 2018-11-21 07:26:40 +00:00
Jeff Sharkey
b071c47451 Merge "Define roles for Gallery and Music apps." 2018-11-21 05:05:13 +00:00
Jack Yu
af2218bde6 Merge "Move hidden APIs into system APIs" am: 860d8d0d80
am: c3375240ba

Change-Id: Ibe6fa27d99791e57b1253a9dc990de0706b52fb6
2018-11-20 19:04:24 -08:00
Jack Yu
860d8d0d80 Merge "Move hidden APIs into system APIs" 2018-11-21 02:40:30 +00:00
TreeHugger Robot
a8d438fdd3 Merge "Add role initialization to RoleControllerService." 2018-11-21 01:27:56 +00:00
Hai Zhang
8e60a8fd1b Add role initialization to RoleControllerService.
This change adds RoleManager.setRoleNamesFromController() to allow
RoleControllerService to initialize the roles for a user. This change
also fixes the persistence of roles by calling writeAsyncLocked().

Bug: 110557011
Test: build
Change-Id: I921b6aa691478ca4c0dd1a75fc929a96ce1e7df5
2018-11-20 15:14:58 -08:00
TreeHugger Robot
39a498066f Merge "Add mechanism to send assist data to a IntelligenceService" 2018-11-20 22:55:57 +00:00
Brad Ebinger
fd88080d22 Expose ImsMmTelManager APIs as SystemApi
Bug: 116493310
Bug: 112538960
Bug: 112866475
Test: Telephony unit tests
Change-Id: I698d9ab6000dc2e2e9be8d614e94d59b3a8e3028
2018-11-20 13:59:37 -08:00
Dichen Zhang
197f242110 Merge "Make AudioManager.generateAudioSessionId() static" 2018-11-20 21:50:59 +00:00
Jack Yu
8f707bb8e5 Merge "Move hidden APIs into system APIs" 2018-11-20 18:56:32 +00:00
Winson Chung
fbbb158da6 Add mechanism to send assist data to a IntelligenceService
- Proxy requested assist data from swipe up through the the
  IntelligenceServiceManager to AiAi for each activity that we receive
  assist data for (the AssistDataReceiver to be removed later once AiAi
  implements the new IntelligenceService interface).

Bug: 117268952
Test: Build dummy intelligence service, ensure that we get capture event
      on swipe up.

Change-Id: Iec29792932d30e94a702bd5079711c6615d0738a
2018-11-20 10:08:59 -08:00
Mihai Popa
a5c84f2980 Merge "[Magnifier-57] Add API to set overlay" 2018-11-20 11:14:28 +00:00
Neil Fuller
6caa954ead API for retrieving time zone IDs by country
New method has been requested by Setup Wizard.

Test: CTS: run cts-dev -m CtsUtilTestCases -t android.util.cts.TimeUtilsTest
Bug: 116544863
Merged-In: I31a9e3d07d5c3fbc8ba1d9c9b398cb2661aa71f9
Change-Id: I31a9e3d07d5c3fbc8ba1d9c9b398cb2661aa71f9
(cherry picked from commit f9bb2d8f02)
2018-11-20 10:59:18 +00:00
Neil Fuller
9347978d5f Merge "API for retrieving time zone IDs by country" 2018-11-20 09:33:24 +00:00
Zimuzo Ezeozue
621a683ea7 Merge "Add privileged API to control keyguard secure notifications" 2018-11-20 04:50:52 +00:00
Felipe Leme
2eadd14d5a Merge "Minor changes on IntelligenceManager APIs." 2018-11-20 00:09:31 +00:00
TreeHugger Robot
5a31e0e77d Merge "Add Intent#EXTRA_CONTENT_QUERY." 2018-11-19 22:52:11 +00:00
Jack Yu
4f956e0fca Move hidden APIs into system APIs
To allow vendor code to construct LinkAddress, which is
one of the parameter in the system API DataCallResponse.

Test: Build
Bug: 73659459
Merged-In: I3e203781d3a03285fa0e047cc8837ccb4a09016a
Change-Id: I3e203781d3a03285fa0e047cc8837ccb4a09016a
2018-11-19 14:40:13 -08:00
Jack Yu
b400507670 Move hidden APIs into system APIs
To allow vendor code to construct LinkAddress, which is
one of the parameter in the system API DataCallResponse.

Test: Build
Bug: 73659459
Change-Id: I3e203781d3a03285fa0e047cc8837ccb4a09016a
2018-11-19 14:37:44 -08:00
TreeHugger Robot
c8a685abf9 Merge "Add MATCH_APEX flag to getInstalledPackages." 2018-11-19 22:00:19 +00:00
Hongming Jin
c796e17aa8 Merge "Add AppOps entries for read sms operation for financial apps." 2018-11-19 21:47:12 +00:00
Dichen Zhang
2d767d2f8b Make AudioManager.generateAudioSessionId() static
Bug: 119775358
Test: MediaPlayer2Test
Change-Id: Ie4fe5088c9d5f2c3bae251ed8cb0fa2e0a7038f8
2018-11-19 13:14:57 -08:00
Mihai Popa
1ddabb2c80 [Magnifier-57] Add API to set overlay
The CL adds an API to customize what overlay will be drawn on the top of
the magnifier content. Our default is to draw a 5% white overlay to make
magnifiers distinguishable in dark contexts.

Bug: 72211470
Test: manual testing
Change-Id: I1a356813960a60f49e068c6135ded9d41429d57c
2018-11-19 19:01:46 +00:00
Louis Pullen-Freilich
b9596fa128 Deprecates framework Preference classes
The AndroidX Preference Library is the recommended way to build settings
screens moving forward.

Bug: b/114357488
Test: n/a
Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
2018-11-19 18:58:44 +00:00
Dario Freni
cb7a68d29a Add MATCH_APEX flag to getInstalledPackages.
If set, PackageManager will query apexservice and ask for activated
packages.

Test: wrote a small app to test the new query.
Bug: 117589375
Change-Id: I498bd97896f3eab65c88e9684874a30713be585e
2018-11-19 18:51:21 +00:00
TreeHugger Robot
5798ef6a96 Merge "public eSIM APIs created in Android P" 2018-11-19 18:26:23 +00:00
Amin Shaikh
710d123010 Add Intent#EXTRA_CONTENT_QUERY.
Fixes: 119269845
Test: make
Change-Id: I849d0ca62a222b8cabb8cb0e71eb6b016026cc0c
2018-11-19 12:51:13 -05:00
David Brazdil
984d991e3b Merge "Create AppComponentFactory.instantiateClassLoader API" 2018-11-19 17:35:26 +00:00
TreeHugger Robot
271339ffdf Merge "API: Make implicit APIs from type usage explicit" 2018-11-19 17:21:27 +00:00
Roshan Pius
b8054120f8 Merge "AndroidManifest.xml: Add new network permission for managed provisioning" 2018-11-19 16:08:12 +00:00
Jeff Sharkey
8233860046 Define roles for Gallery and Music apps.
The new storage work in Q will extend capabilities to the default
Gallery and default Music apps, and we'll be implementing the
management of those default apps using the new roles feature.

This change starts by defining these roles using a relaxed definition
that only uses the existing CATEGORY_APP_* intent filters.

Bug: 119713234
Test: manual
Change-Id: I9bd32b57313cf712ce7441bcadef702dac866a3f
2018-11-19 09:05:03 -07:00
TreeHugger Robot
ba1c017456 Merge "Support set/get carrier id from ApnSetting" 2018-11-19 02:35:28 +00:00
Roshan Pius
eb9f8195db Merge changes from topics "abort_network_request", "untrused_network", "on_match_scan_results", "network_suggestions_impl"
* changes:
  WifiManager: Add abort callback for network request
  WifiNetworkAgentSpecifier: Allow satisfiedBy call for 2 instances
  WifiConfiguration: Add a field to mark network as trusted
  WifiManager: Send list of matching scan results for network request
  WifiManager: Implement network suggestion API
  wifi(API): Send directed broadcast post connection for suggestions
2018-11-17 03:52:04 +00:00
Andy Hung
9e950d937b Merge changes from topic "getAudioAttributes"
* changes:
  AudioTrack: Add getAudioAttributes public method
  AudioTrack: Fix import order lint warnings
2018-11-16 23:21:51 +00:00
Jordan Liu
64b4925059 Merge "Expose ApnService as a SystemApi and use subId arg" 2018-11-16 23:01:43 +00:00
TreeHugger Robot
992cd354fc Merge "passpoint-r2: define getMatchingOsuProviders(List<ScanResult>) API" 2018-11-16 22:32:53 +00:00