Commit Graph

566326 Commits

Author SHA1 Message Date
Wonsik Kim
5d41bf1b65 Merge "MediaCodec: minor revision of APIs for vendor parameters" 2021-04-13 02:23:35 +00:00
Josh Gao
e1b4e1d594 Merge "Increase DropBox size to 10MiB." 2021-04-12 21:51:07 +00:00
Wonsik Kim
66ee5e4b75 MediaCodec: minor revision of APIs for vendor parameters
- add hashCode() and equals() to ParameterDescriptor
- clarify documentation for subscribe/unsubscribe APIs

Bug: 184537653
Test: atest CtsMediaTestCases:MediaCodecTest
Change-Id: Ie98d2d29eccd94f26ecf6763ae47cee942fc08f8
2021-04-12 14:46:30 -07:00
Paul Duffin
f277259089 Merge "Move global hidden API flags generation to platform_bootclasspath" 2021-04-12 18:43:31 +00:00
Roland Levillain
304329d202 Merge "Fix typo in documentation of ZygoteCommandBuffer.nativeForkRepeatedly." 2021-04-12 15:59:04 +00:00
Paul Duffin
8a8b0e9525 Merge "Enforce formatting of bp files on repo upload" 2021-04-12 15:16:21 +00:00
Jeff Sharkey
ad62c97749 Merge "Update OWNERS for core/tests/coretests/src/android/app/admin" 2021-04-12 14:25:04 +00:00
Lorenzo Colitti
cd54a8bf4b Merge "Add debug logging to requestRouteToHostAddress." 2021-04-12 14:24:58 +00:00
Chiachang Wang
a0445d3546 Merge "Rename APIs in NetworkAgentConfig.Builder" 2021-04-12 14:10:46 +00:00
Paul Hu
b82fad9aa9 Merge "Remove TcpRepairWindow from module-lib API" 2021-04-12 13:40:12 +00:00
Roland Levillain
904ec85b61 Fix typo in documentation of ZygoteCommandBuffer.nativeForkRepeatedly.
Test: none (documentation change)
Change-Id: I3373f33b1d3a292f79129048733f7ecacb5c4907
2021-04-12 13:37:03 +00:00
Treehugger Robot
b36f38b8aa Merge "CEC: Implement handleReportArcInitiate method" 2021-04-12 11:08:22 +00:00
Paul Duffin
81af1f503c Move global hidden API flags generation to platform_bootclasspath
The global hidden API flags generation has moved from the singleton to
the platform_bootclasspath module type so this change provides the
paths to the additional hidden API flag configuration as part of the
definition of the platform-bootclasspath module.

Bug: 177892522
Test: verified that the out/soong/hiddenapi/... files are unchanged
      by this change
Change-Id: Id82b45d2abd6ca2efcfd730689b1eda92d55978e
2021-04-12 11:05:08 +01:00
Paul Duffin
661c3e3e8b Enforce formatting of bp files on repo upload
Test: modified an incorrectly formatted .bp file and attempted to
      upload just to make sure it was rejected.
Change-Id: Ib51cedb8b24d61c416a53a447a909314cc0e91c3
2021-04-12 10:44:16 +01:00
Anton Hansson
e93771bfca Merge "Dist android-non-updatable.jar for sdk" 2021-04-12 09:31:09 +00:00
Chiachang Wang
e9f341c20f Rename APIs in NetworkAgentConfig.Builder
As API review feedback, rename disableProvisioningNotification()
to setEnabledProvisioningNotification and disableNat64Detection()
to setEnabledNat64Detection. Also, update code in caller side
accordingly.

Bug: 184735772
Test: make update-api ; atest FrameworksNetTests
Change-Id: If7305634863d1503c967e5593ebd0c8af2174bea
2021-04-12 17:27:47 +08:00
Anton Hansson
e4d95a9e15 Merge "Compile android-non-updatable separately" 2021-04-12 08:30:18 +00:00
paulhu
2cbed30cde Remove TcpRepairWindow from module-lib API
Both TcpRepairWindow and TcpKeepaliveController(user) are in the
connectivity module, so TcpRepairWindow doesn't need to be
the module-lib API. Thus, remove TcpRepairWindow from
module-lib API.

Bug: 172183305
Test: m update-api
Change-Id: I8fde726f8ad73637e6deab69ea83b3699bb2cf45
2021-04-12 14:26:55 +08:00
Chiachang Wang
ad274e531a Merge "Remove throws RuntimeException from APIs" 2021-04-12 02:57:51 +00:00
SongFerng Wang
7d07fce12b Merge "Call waiting support USSD function" 2021-04-12 02:45:10 +00:00
Tianjie Xu
d5547af728 Merge "Expose error code for RoR reboot system API" 2021-04-09 22:07:29 +00:00
Brad Ebinger
0a99b6c48b Merge "Rename closeDialog to cleanupSession" 2021-04-09 21:54:45 +00:00
Treehugger Robot
25807e2f86 Merge "Retire ro.kernel.android.checkjni from AndroidRuntime.cpp" 2021-04-09 21:52:02 +00:00
Treehugger Robot
ab750baa0c Merge "Separate the emulator specific part of ClipboardService.java" 2021-04-09 20:23:27 +00:00
Roman Kiryanov
d395df7024 Retire ro.kernel.android.checkjni from AndroidRuntime.cpp
this property is deprecated and emulator now
populates `dalvik.vm.checkjni` to use instead.

Bug: 182291166
Test: getprop dalvik.vm.checkjni
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ie94b0d6c2e48b731d9cfe0ead380e0f52f662f37
2021-04-09 12:46:34 -07:00
Brad Ebinger
913b325c8b Rename closeDialog to cleanupSession
The current name of SipDelegate[Connection]#closeDialog assumes
there will only be one SIP dialog per SIP session and does not
adequately cover the case where a SIP INVITE has forked and
generated multiple dialogs for the same call-id.

Instead, rename closeDialog to cleanupSession, which is more
accurate and should be called after all SIP dialogs associated
with the SIP session represented by the call-id have closed.

Bug: 184858064
Test: atest CtsTelephonyTestCases
Change-Id: I438dbc45dffbaf33e0cf36ddc61008fd8c18209c
2021-04-09 19:28:10 +00:00
Cody Kesting
7910a79651 Merge "Remove location-permission check from VcnStatusCallbacks." 2021-04-09 16:35:43 +00:00
Aravind Angadi
78527ccd26 CEC: Implement handleReportArcInitiate method
Bug: 159901363
Test: None

Change-Id: Ibdff6d2c83d945f487312a14b577ace0636d7b02
Merged-In: Ibdff6d2c83d945f487312a14b577ace0636d7b02
2021-04-09 16:30:33 +00:00
Lorenzo Colitti
579c0040ed Add debug logging to requestRouteToHostAddress.
Results in:

04-10 00:52:44.887  1511  2362 D ConnectivityService: requestRouteToHostAddress /192.0.2.3 [101 CELLULAR] ok=true

Bug: 182963397
Test: atest ConnectivityManagerLegacyTest
Change-Id: I4eeb17dd9096705d959516018aedb9173ff97023
2021-04-10 01:04:05 +09:00
James Mattis
7fe91d40f1 Merge "Adding log history for setOemNetworkPreference()" 2021-04-09 15:59:10 +00:00
Anton Hansson
6b35a8ac47 Merge "Separate out lists of modules from build rules" 2021-04-09 15:34:36 +00:00
Anton Hansson
a410891802 Dist android-non-updatable.jar for sdk
So that it is recorded when we finalize the SDK.

Bug: 184839599
Test: (cd out/dist; diff -r apistubs /tmp/apistubs-before)
    Only in apistubs/android/module-lib: android-non-updatable.jar
    Only in apistubs/android/public: android-non-updatable.jar
    Only in apistubs/android/system: android-non-updatable.jar
    Only in apistubs/android/test: android-non-updatable.jar
Change-Id: I8fe2d46b4574e602f258ab6f941e07443dfdd2a7
2021-04-09 13:41:11 +01:00
Anton Hansson
a4748cd10d Compile android-non-updatable separately
The java stubs for android-non-updatable were previously only compiled
into the "main android stubs" target. This change refactors the build so
that we compile android-non-updatable stubs as a separate jar file. That
jar is then statically included into the main android stubs, making it
effectively a noop for the existing stub.

This has the benefit of making it possible to finalize the
android-non-updatable when the rest of the SDK artifacts are frozen,
so that we can later re-create android.jar with a mix of different
android-non-updatable and module stubs.

Bug: 184839599
Test: `m sdk dist` && diff -r out/apistubs{before,after}
Change-Id: I624e2e7ab5723eb5e27cf26dbe247aac2a799b72
2021-04-09 13:35:10 +01:00
Abhinav Aggarwal
779b5f6308 Merge "aabhinav@ leaves BR OWNERS." 2021-04-09 11:28:29 +00:00
Anton Hansson
6603593474 Separate out lists of modules from build rules
This simplifies management of the build rules across different branches
that may have different lists of modules.

Additionally, we dedupe the list of module system stubs.

Bug: 184839225
Test: m
Merged-In: Ibef1fb686305b5b1b50811b7d1c6d677d07d7177
Change-Id: Ibef1fb686305b5b1b50811b7d1c6d677d07d7177
2021-04-09 10:38:35 +01:00
Rubin Xu
3b5505f0ae Update OWNERS for core/tests/coretests/src/android/app/admin
Bug: N/A
Test: N/A
Change-Id: I940412a58f38a65035ed3fa18c67e60a4072cd5f
2021-04-09 10:25:12 +01:00
Treehugger Robot
b3cbeb79a2 Merge "UWB: Add Reason to onRangingStop()" 2021-04-09 01:33:40 +00:00
Treehugger Robot
682a98d823 Merge "Add documentation on EthernetNetworkSpecifier API" 2021-04-09 01:26:54 +00:00
Roman Kiryanov
3f7d23eff0 Separate the emulator specific part of ClipboardService.java
This way the Android Studio Emulator will be the owner
of the emulator specific code and the framework will not
see the implemetattion details.

Bug: 182436079
Test: check if emulator exchanges the clipboard with the host
Change-Id: Icdb25d51437ba0f8e98a2750b0b705c15755f106
Merged-In: Icdb25d51437ba0f8e98a2750b0b705c15755f106
2021-04-08 18:09:18 -07:00
Tianjie
559ed7f0f0 Expose error code for RoR reboot system API
The clients of resume on reboot want additional information for
reboot failures, so they can handle these failures better.
Therefore expose the reboot failure error code via SystemApi.

Bug: 183646725
Test: atest FrameworksServicesTests:RecoverySystemServiceTest;
      Do an RoR with gmscore
Change-Id: Ia02655218194a070ce02e9dae6fd62e19259c9f9
2021-04-08 17:54:29 -07:00
James Mattis
57363f541f Adding log history for setOemNetworkPreference()
Adding historical logging for the setOemNetworkPreference() calls. This
will last across reboots.

Bug: 177257940
Bug: 176494815
Test: atest FrameworksNetTests
Change-Id: I4fc35fd58ff741830aa292adc1c559b4279ad8f9
2021-04-08 17:40:06 -07:00
Remi NGUYEN VAN
3dd880eca5 Merge "Improve documentation on simulateDataStall" 2021-04-09 00:21:34 +00:00
Remi NGUYEN VAN
e067d9618c Merge "Set ParseException constructors as public" 2021-04-09 00:20:33 +00:00
Remi NGUYEN VAN
8c5ae7e37f Merge "Replace fields with getters in keepalive API" 2021-04-09 00:20:13 +00:00
Remi NGUYEN VAN
9641e3404c Merge "Add RequiresPermission to TestNetworkManager" 2021-04-09 00:19:51 +00:00
Remi NGUYEN VAN
ba77876dbd Merge "Replace IS_DEBUGGABLE with isDebuggable module API" 2021-04-09 00:19:19 +00:00
Remi NGUYEN VAN
13d7d5cde6 Merge "Use String in CaptivePortalData underlying types" 2021-04-09 00:17:59 +00:00
Benedict Wong
e19a117397 Merge changes I77e34a92,I8f13159b,Ic8ab66ff,Id9494f69
* changes:
  Dynamically set MTU based on proposed algorithms
  Create proxy NetworkAgent for testing
  Ensure teardown() only triggered on the right NetworkAgent.
  Add dump to VcnManagementService
2021-04-08 21:55:28 +00:00
Paul Duffin
a2baa71441 Merge "Remove unnecessary entries in frameworks/base/config/OWNERS" 2021-04-08 21:37:53 +00:00
Nathan Harold
271d82e966 Merge "s/enforece/enforce/" 2021-04-08 21:35:39 +00:00