Commit Graph

21390 Commits

Author SHA1 Message Date
Chen Xu
059810b73e Merge "separate URL for WFC settings" 2018-11-08 01:35:46 +00:00
Evan Rosky
38e1cb73f5 Merge changes from topic "wm_move_disp_to_hier_2"
* changes:
  Move some display logic into hierarchy [2/2]
  Move some display logic into hierarchy [1/2]
2018-11-08 01:15:27 +00:00
Jie Song
ccf59d6f21 Merge "Revert "Adds new atomic install API"" 2018-11-07 23:14:45 +00:00
Jie Song
7e1c9d75bc Revert "Adds new atomic install API"
This reverts commit 44da627fd5.

Reason for revert: <fix build>

Change-Id: I6f9ae2fc7606547e6bf6f9d8d6c2fc309b5a4538
2018-11-07 22:59:18 +00:00
Shuzhen Wang
89d277a982 Merge "Camera: Add support for recommended stream configurations" 2018-11-07 22:54:02 +00:00
TreeHugger Robot
0f60a8defc Merge "Adds new atomic install API" 2018-11-07 21:23:08 +00:00
chen xu
4eec415f5f separate URL for WFC settings
we have @SystemAPI exposed in ImsMMTelManager#getVoWiFiModeSetting
and ImsMMTelManager#getVoWiFiRoamingModeSetting and vtEnabled.
We should expose @System URI allowing listeners to be notified
on settings changes.

Bug: 118631333
Test: telephony unit test
Change-Id: Idc8a6a71ed69135644371c122c93916ef4db0b51
2018-11-07 11:53:55 -08:00
Jiuyu Sun
151046ad9f Merge "Catch SecurityException in EuiccCardController and trigger callback." 2018-11-07 19:29:11 +00:00
Hai Shalom
7212090a3e Merge changes from topic "SAE-OWE support"
* changes:
  [WPA3] Fix WifiConfigurtionTest to support OWE as open network
  [WPA3] Add new types for WPA3/OWE and device capabilities API
2018-11-07 18:28:13 +00:00
Jorim Jaggi
05ac00c630 Merge changes from topic "windowinsets-api"
* changes:
  WindowInsets: Annotate nullability
  WindowInsets: Add Builder
  WindowInsets: reimplement WindowInsets on top of Insets
  WindowInsets: make WindowInsets.inset() public
2018-11-07 16:35:06 +00:00
TreeHugger Robot
a5b5f30996 Merge "WifiManager: Mark isScanAlwaysAvailable() deprecated" 2018-11-07 06:20:10 +00:00
Shuzhen Wang
68e8199c64 Merge "Camera: Unhide and update Y8 format spec" 2018-11-07 05:54:39 +00:00
Seigo Nonaka
11d5f41618 Merge "Introduce new API for specifying user font fallback" 2018-11-07 03:45:07 +00:00
TreeHugger Robot
ea87b1fa7c Merge "Add AppOpsManager.opToDefaultMode() as system API." 2018-11-07 02:43:27 +00:00
Evan Rosky
e747c3e4e1 Move some display logic into hierarchy [2/2]
Move display update logic from WM into ATM hierarchy by letting
ActivityStack watch for relevant changes and calculate bounds
accordingly and removing configuration updates from WM side
outside of calls from the display-level controller (like how
the other levels work).

One of the main display-changes to account for is rotation. To
make this work without drastically modifying things was to leave
display freeze/startSeamless in WM but move the actual rotation
to ATM while handling SEND_NEW_CONFIGURATION. This prevents
changes to the wm-side hierarchy outside of ATMS's control.

To facilitate this extra communication between ATMS and WM,
this adds rotation into WindowConfiguration. This makes rotation
available to the hierarchy update for policies that care about it
(things like split). It will also replace TaskStack's mRotation
in an upcoming CL and should also let us remove the one-off
variable for landscape->seascape orientation changes (needs
some more research though).

Bug: 113900640
Test: go/wm-smoke + relevant am/wm servicestests
Change-Id: I12c79cc5eb94d48d846f1cf27765c9f9f6741435
2018-11-06 18:39:37 -08:00
Brad Ebinger
e1219c73ef Merge "Expose mRestrictCause as a @SystemApi" am: 37d8de2b2a am: f40eeb4a18
am: 5671e61407

Change-Id: Id06585c73f8423a5e2e21412f360cc9b4c3e0982
2018-11-06 15:37:37 -08:00
Brad Ebinger
5671e61407 Merge "Expose mRestrictCause as a @SystemApi" am: 37d8de2b2a
am: f40eeb4a18

Change-Id: I59adcd2b31bdf0f7258b424d55f6e96913c729dc
2018-11-06 15:22:43 -08:00
Brad Ebinger
37d8de2b2a Merge "Expose mRestrictCause as a @SystemApi" 2018-11-06 22:54:10 +00:00
Hai Zhang
c595f112db Add AppOpsManager.opToDefaultMode() as system API.
PermissionController needs to know the default mode of an app op and
adjust it in case a background permission is fixed to revoked while a
foreground permission is not for a pre-M app, because simply resetting
the app op to its default mode might break the fixed state of the
background permission.

This change also removes AppOpsManager.resetUidMode() since it was
introduced for the same use case in PermissionController but cannot
handle the above case cleanly.

Bug: 110557011
Test: build
Change-Id: I53b1b375381a46b7dbece3cddaac460352d0336d
2018-11-06 14:49:54 -08:00
Roshan Pius
4e415edecd WifiManager: Mark isScanAlwaysAvailable() deprecated
This API is useful for the apps to decide when they can issue a scan
request. Since WifiManager.startScan() is deprecated, this should be
too. There is no functionality change for now, just a warning
that this will go away along with startScan().

Bug: 74448981
Test: `make api-stubs-docs-update-current-api`
Change-Id: I5310dc53dae244d7a99319bbde111254e9097a14
2018-11-06 13:46:30 -08:00
Patrick
44da627fd5 Adds new atomic install API
This change adds the new atomic install system API to
PackageInstaller and plumbs it through to PackageManager. It also
adds support for committing multiple sessions via command line.

Bug: 109941548
Test: Manually install 2 apps from command line
Change-Id: I71d77026a55a40c76925e55e6956fb76efe16224
2018-11-06 21:16:11 +00:00
Seigo Nonaka
c1b6ab69c6 Introduce new API for specifying user font fallback
Bug: 111133573
Test: atest TypefaceCustomFallbackBuilderTest
Change-Id: I0345824ecd475e43dbb5e5451f647020c4b53a83
2018-11-06 10:56:30 -08:00
Hai Shalom
6adbc58858 [WPA3] Add new types for WPA3/OWE and device capabilities API
Add new types for WPA3: SAE and Suite-B-192, and Enhanced open: OWE.
Added a new API to get the device key management capabilities, because
not all devices using latest HAL have WPA3/OWE support. Updated
current.txt and system-current.txt accordingly.

Bug: 112195778
Test: atest com.android.server.wifi

Change-Id: Idceb28dd8663349013243f69b8f20c0c8606581c
2018-11-06 10:11:07 -08:00
Roshan Pius
d84d668d45 Merge changes from topic "network_request_match_callback"
* changes:
  WifiManager: Network request match callback registration
  wifi(API): NetworkSpecifier for Wifi NetworkAgent
  wifi(API): Mark old API's deprecated
  wifi(API): New API surface for network suggestion
  wifi(API): New API surface for connection via NetworkRequest
2018-11-06 17:42:58 +00:00
Shuo Qian
729518824d Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" am: 1a517ba852 am: aea5d0afcc
am: c3e1c08d03

Change-Id: I4bee4db8615f8ad37d11331ad8b0b20b70abb8c9
2018-11-05 19:47:43 -08:00
Shuo Qian
c3e1c08d03 Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" am: 1a517ba852
am: aea5d0afcc

Change-Id: Id631e020519573ee0bb280838684f390c8d26b75
2018-11-05 19:26:55 -08:00
Shuo Qian
1a517ba852 Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" 2018-11-06 03:06:20 +00:00
Shuo Qian
5e80484991 Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"
This reverts commit c3380f767a.

Reason for revert: b/119055885

Change-Id: I47e6dd038d97a9d5a48d36b53f9e75e356a1e409
2018-11-06 00:18:16 +00:00
Felipe Leme
05083b019f Merge "Initial APIs for Intelligence Service." 2018-11-05 21:48:54 +00:00
Seigo Nonaka
0a2786cc5d Merge "Refactor Typeface construction logic" 2018-11-05 21:09:23 +00:00
John Reck
f2c351abb4 Merge "Make RenderNode public API" 2018-11-05 20:54:57 +00:00
Vadim Tryshev
12c9815347 Merge "Exposing intent action for DWB properties as an API" 2018-11-05 18:42:30 +00:00
Brad Ebinger
f5544c3e92 Expose mRestrictCause as a @SystemApi
Bug: 117555643
Test: Telephony unit tests
Change-Id: I60a7028d79f7e5fa676cc12a427c6d2a8cd3961e
2018-11-05 10:33:00 -08:00
TreeHugger Robot
ba52b2b24f Merge "Audio: Add Dolby MAT format" 2018-11-05 18:32:18 +00:00
Felipe Leme
1dfa9a0195 Initial APIs for Intelligence Service.
A.K.A: "The thing's hollow — it goes on forever — and — oh my God! —
        it's full of TODOs!"

Bug: 117944706
Test: m update-api && m

Change-Id: I0774a0df4f4ea0810a8c5f72a1fbcd4eef5cd09b
2018-11-05 09:22:18 -08:00
Tony Zhu
c8d935d2bb Merge "[Call Screening]Programmatically changing the default call screening app." am: 6dd64df8b3 am: 21457121f4
am: c274ac53a7

Change-Id: Ia013e710c961b8887bfaff1e8fe7af40fba26df1
2018-11-05 03:14:48 -08:00
Tony Zhu
c274ac53a7 Merge "[Call Screening]Programmatically changing the default call screening app." am: 6dd64df8b3
am: 21457121f4

Change-Id: I1b570954254b4b13e3368372e17cebd0017cfa4d
2018-11-05 03:02:57 -08:00
Tony Zhu
6dd64df8b3 Merge "[Call Screening]Programmatically changing the default call screening app." 2018-11-05 10:35:27 +00:00
Dieter Hsu
3ee2bd7d21 Merge "Improve TouchDelegate Accessibility: Explore by Touch handle hover events" 2018-11-03 22:30:13 +00:00
Jeff Sharkey
e4d87cb722 Merge "First pass at APIs for contributing new media." 2018-11-03 19:42:58 +00:00
Jeff Sharkey
c8e4924b57 First pass at APIs for contributing new media.
MediaStore has long suffered from race conditions around creation
of new media.  For example, if developers write raw files before
inserting the MediaStore item, an in-progress media scan might pick
up the file before they could insert it.  Conversely, if developers
insert the item before writing the files, backup apps get confused
about the file not existing yet.

In addition, the new storage model in Q means that apps can't write
raw files directly to disk, so they need to insert the MediaStore
item first.

To solve this collection of issues, this CL introduces first-class
APIs for contribution of new "pending" media, which includes hiding
the pending media until explicitly published.  Apps can safely
resume pending sessions if they crash and restart, which is useful
when the media item is coming from a flaky network.  Apps can also
publish progress information about pending media, such as when a
panorama is taking several seconds to process.

Bug: 115377970
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I6adee3c4ad1fb9db94906dd1293caaa1a09c6da0
2018-11-03 12:03:07 -06:00
Mihai Popa
33e8c93551 Merge "Make text handle drawables public" 2018-11-03 13:51:15 +00:00
Lifu Tang
05dfae98d6 Adds wrapper method to convert string ops to ints
Bug: 117677214
Test: compile and flash
Change-Id: I7de3d3829aa99473b415b40bbfe4078d5b5ed3b7
2018-11-03 00:32:38 -07:00
Svetoslav Ganov
79eba743ca Merge "Historical app op APIs - initial check in." 2018-11-03 04:49:45 +00:00
Kweku Adams
53de12ef0d Merge "Slight improvements to ArraySet." 2018-11-02 22:28:48 +00:00
Mikhail Naganov
98dbab1bbb Audio: Add Dolby MAT format
Dolby MAT is a transport for encapsulating Dolby TrueHD access
units, channel-based PCM or object audio PCM. Dolby MAT's
primary use case is for HDMI transmission in which MAT is
encapsulated in IEC61937 frames as per IEC61937-9 specification.

Re-format switch / case indentation for modified switch statements
to satisfy new formatting rules.

Bug: 117566604
Test: make
Change-Id: I7c4f47e39a55bfbf13dfe401cf885dff858fa464
2018-11-02 15:13:49 -07:00
John Reck
ddeaa487da Make RenderNode public API
Bug: 112709971
Test: CtsUiRenderingTestCases:.testclasses.RenderNodeTests
Change-Id: I57d64165b842d03565eda5f4d37343c4f9c45d42
2018-11-02 14:24:32 -07:00
Svet Ganov
ad0a49bc42 Historical app op APIs - initial check in.
This change adds new APIs for querying historical app ops
for a time period in the past. Since app ops are performed
quite often in some cases keeping track of every app op is
prohibitively inefficient. Therefore, we are exposing
aggregated counts for past ops.

Test: atest android.permission.cts.AppOpsTest

bug:111061782

Change-Id: I59bbf906d62cd6dcd751f2e8089242dcecd55a6c
2018-11-02 13:00:07 -07:00
Shuo Qian
f334d48a4e Merge "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)" am: f4a1945d87 am: e2c37b94d7
am: a3453996ca

Change-Id: Ic191e9e672c0ad56abfb97be288e9f80c0842a40
2018-11-02 11:44:48 -07:00
Shuo Qian
a3453996ca Merge "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)" am: f4a1945d87
am: e2c37b94d7

Change-Id: Ib9ff9b24030578568fff872dadf8abc446988c9c
2018-11-02 11:26:35 -07:00