Commit Graph

30635 Commits

Author SHA1 Message Date
Henry Fang
d7b5f4399a Merge "Add test api for CTS to test resource lost event" into rvc-dev am: bc93009274
Change-Id: I4786e76cd24c014f7e1c3d00b9f5cba0a4d0715d
2020-04-03 20:29:05 +00:00
Henry Fang
1eef1d2f26 Add test api for CTS to test resource lost event
bug: 152343262
Test: Manual
Change-Id: I5660cea3e57771c8a09f57ed88723064bb592c30
2020-04-03 17:39:13 +00:00
Amith Yamasani
c8cc71a091 Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev am: 040563da5f
Change-Id: Idd633967cc9eb5f16d7dbf29de9f2ea6efb09e1e
2020-04-03 14:28:23 +00:00
Amith Yamasani
040563da5f Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev 2020-04-03 14:13:43 +00:00
Lorenzo Colitti
d7c9d9fbfe Merge "Added a new capability for temporarily unmetered network." into rvc-dev am: 0edabc5e4e
Change-Id: I4d43b28d25529d4dd9e4304c4edf95edb5c5110b
2020-04-03 05:07:20 +00:00
Jack Yu
30be5e5d3d Added a new capability for temporarily unmetered network.
Added a new network capability TEMOPORARILY_NOT_METERED to support
the case that a network can temporarily become unmetered. This
allows carriers to deploy unmetered 5G network. When devices
camp on 5G network, this capability will be dynamically added
to the network and will be removed once leaving 5G coverage.

Bug: 153081494
Test: Manual
Change-Id: I10e26cb0852e67f614e7b9c4e49f95e078602e21
2020-04-02 19:28:41 -07:00
Yvonne Jiang
70a62376d0 Mark secondary lockscreen API as SystemApi.
It is currently not meant for use by general enterprise device admins.

Bug: 152478326

Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest KeyguardUpdateMonitorTest
Test: atest AdminSecondaryLockScreenControllerTest
Change-Id: I6d60bc35a4e8f74b1da55b042582a2f2fa89d57f
2020-04-02 08:41:04 +00:00
Wale Ogunwale
1bdc601c4f Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130
Change-Id: I2bbb327fede2bb789669e55f8dedb586e4384999
2020-04-01 13:43:41 +00:00
Wale Ogunwale
adf116ec95 Add TestApi interfaces for window organizers
Enables testing the API surfaces from CTS.

Bug: 149338177
Test: they pass!
Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a
2020-04-01 13:25:23 +00:00
Feng Cao
526ddca90c Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33
Change-Id: I6f20690be1dd45b240ee382b70ea9de8fcaf79a8
2020-04-01 02:50:05 +00:00
Feng Cao
edb332c645 Replace Nullable bundle with NonNull and use Bundle.EMPTY
Test: atest InlineSuggestionsRequestTest
Bug: 152525467

Change-Id: Ie510e08ced8be4cc8df486f1acfa6eb330d194ef
2020-03-31 14:50:51 -07:00
TreeHugger Robot
075cf8e503 Merge "Add sample flags to MediaParser" into rvc-dev am: aa9d95ed9f
Change-Id: If207e3c60358f2fa137fcfe98b53a262b9b5119b
2020-03-31 20:12:08 +00:00
TreeHugger Robot
aa9d95ed9f Merge "Add sample flags to MediaParser" into rvc-dev 2020-03-31 19:42:44 +00:00
Michael Wright
9dc277395f Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59
Change-Id: I3f1e6601a5871ec0ddaa0c0de742f028f7dae7fd
2020-03-31 18:02:20 +00:00
Michael Wright
ca87d86d59 Merge "Remove registerSection API with optional Executor" into rvc-dev 2020-03-31 17:54:36 +00:00
Santiago Seifert
c648f4eccb Add sample flags to MediaParser
Bug: 152757624
Test: atest CtsMediaParserTestCases
Change-Id: I080b759656e160aba2c378fe72790b1a9d10ad81
2020-03-31 15:52:59 +01:00
Mike Ma
1b75683d4f Remove registerSection API with optional Executor
This patch addresses an issue from API review:
registerSection cannot have an optional Executor

registerSection is an unreleased API in R, therefore can be hard
removed.

Fixes: 148867197
Test: Build
Change-Id: Icdb8b97f7fa3f1880aa3039dbbe82f8331a45202
2020-03-30 17:13:39 -07:00
TreeHugger Robot
30438ad6c2 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343
Change-Id: Icc26b7446d88911ba40e5b0a3d888370af7d1c8e
2020-03-30 22:45:36 +00:00
TreeHugger Robot
da50240343 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev 2020-03-30 22:24:30 +00:00
Michael Wright
d4922dbf83 Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e
Change-Id: I68e991a45ac39a98b2aa74cd5cd914f21e10149f
2020-03-30 21:15:23 +00:00
Michael Wright
603713009e Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev 2020-03-30 20:58:43 +00:00
Michael Wright
eec778ccdd Remove replaced PreciseDataConnectionState methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
PreciseDataConnectionState had a couple methods that fell into this
category that had yet to be removed.

Bug: 152787887
Test: builds
Change-Id: Ib175b2530791cec7e31684a1d3f318c95e27f707
2020-03-30 20:39:27 +00:00
Michael Wright
b6ffb2293e Remove replaced BubbleMetadata methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
BubbleMetadata had a few methods that fell into this category that had
yet to be removed.

Bug: 152761169
Test: build
Change-Id: Ic9f8d600721e15119fc28d308ff1bc444d61e399
2020-03-30 19:02:37 +01:00
Jeff Sharkey
19b826429f Merge "Add ability to execute per-connection SQL." into rvc-dev am: 071e55a03a
Change-Id: I7889d286fee519f690a8e39c43dbcd01702e0c5a
2020-03-30 16:23:26 +00:00
Jeff Sharkey
071e55a03a Merge "Add ability to execute per-connection SQL." into rvc-dev 2020-03-30 15:58:19 +00:00
Adam He
4a71b59fad Merge "Migrate android.view.inline to android.widget.inline" into rvc-dev am: 5a3a3f2239
Change-Id: I13f89011cf76e1c15d374c04f9285b96995d917f
2020-03-30 07:00:52 +00:00
Adam He
5a3a3f2239 Merge "Migrate android.view.inline to android.widget.inline" into rvc-dev 2020-03-30 06:53:35 +00:00
Adam He
f27433af0f Migrate android.view.inline to android.widget.inline
Old APIs are kept and marked as @hide + @removed to maintain
compatibility.

Bug: 151262653
Test: manual verification
Change-Id: Ia50a1f87c194211be5256e948d43fb54c1cbf941
2020-03-29 17:29:32 -07:00
Anton Hansson
36b5a37236 Revert "Add new class with APIs of varying visibility" am: 59292377d4
Change-Id: Ief4ab185ade186089e38c3a8976f6ed7681d969a
2020-03-28 17:14:14 +00:00
Anton Hansson
582cb38829 Merge "Revert "Add new class with APIs of varying visibility"" into rvc-dev 2020-03-28 16:52:49 +00:00
Jeff Sharkey
62dd7c25ac Add ability to execute per-connection SQL.
Developers have been able to register custom collators using syntax
like "SELECT icu_load_collation()", but collators are registered per
database connection.

Since we don't expose any details APIs for interacting with connection
pools directly, developers can end up with flaky behavior as their
queries rotate through the pool of connections, as only a subset of
connections will have their collation registered.

This solve this, we add a new execPerConnectionSQL() method to
ensure that a given statement is executed on all current and future
database connections.

Bug: 152005629
Test: atest CtsDatabaseTestCases:android.database.sqlite.cts.SQLiteDatabaseTest
Change-Id: I459fb7b18660d2a04eec92d1e9cc410d769e361d
2020-03-27 20:47:18 -06:00
TreeHugger Robot
3f1e7189b9 Merge "Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult" into rvc-dev am: ddcf560b4e
Change-Id: Ie934fdda3129c45adfa3613641a6bbfb3c4e5ffc
2020-03-28 00:05:40 +00:00
TreeHugger Robot
ddcf560b4e Merge "Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult" into rvc-dev 2020-03-28 00:03:49 +00:00
Chalard Jean
1a4d936802 Merge changes from topics "api-fix-networkagent", "networkprovider_api", "satisfiedby" into rvc-dev am: 996492f866
Change-Id: I041fa5232ac2f653f0ff9070b9bcd924345f9987
2020-03-27 22:56:26 +00:00
Chalard Jean
996492f866 Merge changes from topics "api-fix-networkagent", "networkprovider_api", "satisfiedby" into rvc-dev
* changes:
  Rename satisfiedBy into canBeSatisfiedBy
  Address further API council comments.
  Update the NetworkProvider API for council comments
2020-03-27 22:50:42 +00:00
Daniel Bright
ef5836157f Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult
Fully rolled back comments and signature to original state before change

Test: bootup phone
Bug: 147854704
Change-Id: I5fcd71e1569e6b0e16cff5392239b89259ee1790
2020-03-27 15:01:16 -07:00
Nicholas Ambur
f5bd2f0b5c remove SoundTrigger public member variables am: 1e43767f10
Change-Id: I7c8e9ae9196b66447aaa8fed019aaf5261d409da
2020-03-27 21:19:14 +00:00
Nicholas Ambur
95ee3d7ad5 Merge "remove SoundTrigger public member variables" into rvc-dev 2020-03-27 20:54:22 +00:00
TreeHugger Robot
cc0c490e57 Merge "Revert "Add actor attr and QueriesOverlayable styleable"" into rvc-dev am: 0bf55d7d28
Change-Id: Ia996b90814514e35c2baee413ca47b695200bd3d
2020-03-27 19:52:23 +00:00
TreeHugger Robot
0bf55d7d28 Merge "Revert "Add actor attr and QueriesOverlayable styleable"" into rvc-dev 2020-03-27 19:43:18 +00:00
Galia Peycheva
c3b45b973c Merge "Change TYPE_DREAM logic to use ACTIVITY_TYPE_DREAM" into rvc-dev am: 66b1dfe6aa
Change-Id: If4e6d21b1a68bb8609437c8ed0d67fb62d98f1ad
2020-03-27 18:37:55 +00:00
TreeHugger Robot
25bdce7fcf Merge "Moving the NO_SESSION_ID constant from ContentCaptureSession to ContentCaptureManager" into rvc-dev am: d347c7acaf
Change-Id: Icb0f2d9ce39da5e36ff34a1f10f492a9340312f5
2020-03-27 18:36:49 +00:00
Galia Peycheva
66b1dfe6aa Merge "Change TYPE_DREAM logic to use ACTIVITY_TYPE_DREAM" into rvc-dev 2020-03-27 18:34:49 +00:00
Mihir Patel
6f33b10ab5 Moving the NO_SESSION_ID constant from ContentCaptureSession to ContentCaptureManager
Bug: 150599209
Test: manual
Change-Id: I3e7b67cf92ddb6405829ec3c6ed2c491b4e77cab
2020-03-27 15:50:43 +00:00
Anton Hansson
59292377d4 Revert "Add new class with APIs of varying visibility"
This reverts commit 7d6704e4b0.

The experiment has concluded, and we don't want these APIs in
the finalized R api.

Also update the newly-arrived module txt files.

Bug: 149108482
Test: m checkapi
Change-Id: I965111b9a8ad2d3e5849bd9dfdae9c00cc471ce6
2020-03-27 15:36:06 +00:00
Jean-Michel Trivi
692393d97a Merge "Address Audio Java API feedback" into rvc-dev am: 5897ede327
Change-Id: I5bdb74c8ca6a1d2f1a846e59547f6fe9c3d2399f
2020-03-27 15:04:29 +00:00
Jean-Michel Trivi
5897ede327 Merge "Address Audio Java API feedback" into rvc-dev 2020-03-27 14:58:53 +00:00
Chalard Jean
2da4f9f9ae Rename satisfiedBy into canBeSatisfiedBy
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I076876a6662bde143ef7d315ce3767acafff93c1
2020-03-27 23:46:30 +09:00
Michael Wright
9207b46640 Merge "Make vibrator effect queries an @IntDef." into rvc-dev am: f51b6aa53a
Change-Id: I21518e842e15a242de347a0fd8bfeab772fe972f
2020-03-27 13:44:19 +00:00
Michael Wright
f51b6aa53a Merge "Make vibrator effect queries an @IntDef." into rvc-dev 2020-03-27 13:29:18 +00:00