Commit Graph

13330 Commits

Author SHA1 Message Date
Feng Cao
b6ad7232ad Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33 am: 12a7be983b
Change-Id: I478331739048158a4091f744560f9f7f57ebdb26
2020-04-01 02:54:10 +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
Michael Wright
9dcb5d8580 Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59 am: 9603b8bc42
Change-Id: I5e3335e159bf86c28de886c30f2dafc3dce5b7f9
2020-03-31 18:16:40 +00:00
Michael Wright
ca87d86d59 Merge "Remove registerSection API with optional Executor" into rvc-dev 2020-03-31 17:54:36 +00: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
93636ae765 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343 am: 0480d926a2
Change-Id: I61f9d33d17a74b643d2b29443ba72a5ac6acc64c
2020-03-30 22:51:13 +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
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
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
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
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
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
Chalard Jean
b0e1e7ec3e Address further API council comments.
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I8a785ae0e74e659c317deaaa28c203356c7766ed
2020-03-27 17:57:24 +09:00
Chalard Jean
14caf974db Update the NetworkProvider API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: I6b086572cfc72a0727f4510351cff0e74cbc4302
2020-03-27 17:53:05 +09:00
Chalard Jean
42f3597b11 Merge changes from topic "networkagent_api" into rvc-dev am: 33accffcef
Change-Id: If16fd956e2d694fa36492cc1a1512a9d12dee3dd
2020-03-27 06:23:56 +00:00
Chalard Jean
33accffcef Merge changes from topic "networkagent_api" into rvc-dev
* changes:
  Update NetworkAgentConfig API for council comments
  Update the NetworkAgent API for council comments
2020-03-27 06:20:37 +00:00
Kenny Root
504e8996ec Merge "Resume-on-Reboot: change SystemApi calls slightly" into rvc-dev am: f377275542
Change-Id: I79e21f446ab9379bd7e4db207afbd2bcb4bf613c
2020-03-27 05:28:14 +00:00
Kenny Root
f377275542 Merge "Resume-on-Reboot: change SystemApi calls slightly" into rvc-dev 2020-03-27 05:14:10 +00:00
Andy Hung
120c1c4db7 Address Audio Java API feedback
Test: atest AudioTrackTest#testCodecFormatChangedListener
Test: atest AudioTrackTest#testTunerConfiguration
Test: atest AudioMetadataTest
Test: atest EnumDevicesTest
Bug: 152348569
Change-Id: I1c702781f6d3189b98c6b91a14f084333ce16848
2020-03-26 17:11:47 -07:00
Ricardo Correa
535d528a35 Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev am: cc25d392fe
Change-Id: Ia603d14c71cb565a082f471a8b1c04a76a47f900
2020-03-26 22:25:06 +00:00
Ricardo Correa
cc25d392fe Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev 2020-03-26 22:23:54 +00:00
Todd Kennedy
c7015d2d3a Merge "Define permission for installer API v2" into rvc-dev am: fb590035e1
Change-Id: I5376646dced63767daf99c02dfe55ece0be2c086
2020-03-26 22:03:57 +00:00
Todd Kennedy
fb590035e1 Merge "Define permission for installer API v2" into rvc-dev 2020-03-26 21:50:17 +00:00
Nicholas Ambur
1e43767f10 remove SoundTrigger public member variables
Bug: 150127026
Test: boot and verify soundtrigger hotword is functional

Change-Id: I04061cdb3eba02aac0f08de96f957e2b74c70a12
2020-03-26 19:44:31 +00:00
Kenny Root
625bcd2eeb Resume-on-Reboot: change SystemApi calls slightly
In response to feedback, remove boolean returns and rely on exceptions
to provide detail descriptions.

Test: make # using a test app that calls the API using old signature
Test: atest FrameworksServicesTests:RecoverySystemServiceTest
Bug: 150205125
Change-Id: I95930078df9c88194f21b38ff7d96b425db47d56
2020-03-26 12:23:11 -07:00
Ricardo Correa
acdc827501 Revert "Include an AppOp to allow dialer role app to record and play audio into calls"
This reverts commit e96b5668b3.

Reason for revert: Feature has been postponed
Bug: 151761909

Change-Id: I7db5fb79d52b3da33b84bb07d1f612be760299c2
2020-03-26 11:57:01 -07:00
Todd Kennedy
66ed8dff37 Define permission for installer API v2
The package installer v2 APIs were marked as @SystemApi merely as
a convenience for development. These APIs may change in the next
version of Android and their usage must be strictly controlled.

Bug: 151716357
Test: Manual. Use old Shell and see that incremental installation fails with a SecurityException
Test: Manual. Request INSTALLER_V2 permission for shell and see that incremental installation succeeds
Change-Id: I9612dc145eadda20083bcc43e7a35ef3cd90aa40
2020-03-25 12:57:05 -07:00
Chalard Jean
1d2d35d049 Update NetworkAgentConfig API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: Idca9f243a5c955f4caa30921ee520e1a93b0d11a
2020-03-25 22:43:13 +09:00
Chalard Jean
f1dec6101b Update the NetworkAgent API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: I9a2691f783f4449348c3f767568e05620f0b9df5
2020-03-25 22:35:41 +09:00
Aaron Huang
838732e107 Merge "API review: make exception class and Builder final" into rvc-dev am: 9c9366b2df
Change-Id: I974be68ce205a701619a71e9ef7f43d8f8be0f8c
2020-03-25 09:47:47 +00:00
Aaron Huang
fbb485a4b3 API review: make exception class and Builder final
- InvalidPacketException exception class should be final
- NetworkCapabilities.Builder should be final

Bug: 152203926
Test: atest FrameworksNetTests
Change-Id: If9b799151aff6d41c9bcd8bb86c65a58e46bad73
2020-03-25 13:36:38 +08:00
TreeHugger Robot
b9111f939d Merge "Hide CellularBatteryStats#getTxTimeMillis." into rvc-dev am: 393c9121ce
Change-Id: I4962bef054bbb6704fd94c52c8ba64f928b6c7f6
2020-03-24 00:20:57 +00:00
TreeHugger Robot
393c9121ce Merge "Hide CellularBatteryStats#getTxTimeMillis." into rvc-dev 2020-03-24 00:09:05 +00:00
Amit Mahajan
9bfde0e1fd Hide CellularBatteryStats#getTxTimeMillis.
Will be re-exposed as SystemApi in S.

Test: TH
Bug: 152247297
Change-Id: Ifb87676fa5afd2720dd09f36f3ff67c1b215b676
2020-03-23 15:15:17 -07:00
Aaron Huang
3785a0cfa3 Merge "Remove Context.NETWORK_POLICY_SERVICE from @SystemApi" into rvc-dev am: 9f48409dd1
Change-Id: I3ae448700788772b6c5d7e33e8e01ac53fc35c1d
2020-03-23 10:15:25 +00:00
Aaron Huang
9f48409dd1 Merge "Remove Context.NETWORK_POLICY_SERVICE from @SystemApi" into rvc-dev 2020-03-23 10:09:37 +00:00
Aaron Huang
cd44942a14 Remove Context.NETWORK_POLICY_SERVICE from @SystemApi
Hide Context.NETWORK_POLICY_SERVICE as it has no usage.

Bug: 151266974
Test: make checkapi, build
Change-Id: I0586a5ef22f76fa1407219b96cb246f162f02947
2020-03-23 15:15:40 +08:00
TreeHugger Robot
e13d209646 Merge "Address API council review comment about TetheringRequest" into rvc-dev am: 9c02d0360e
Change-Id: I2a4e50e12193421464a25d9ca0705d879b5ddfa8
2020-03-23 06:19:27 +00:00
junyulai
25d643991f Address API council review comment about TetheringRequest
Test: atest TetheringTests FrameworksNetTests NetworkStackTests
Bug: 152055812
Change-Id: I0158d88e364772f9ac258bd18955edcdad266ad8
2020-03-23 12:13:57 +08:00