Commit Graph

1453 Commits

Author SHA1 Message Date
Automerger Merge Worker
ec88350d1b Merge "Prune framework-all visibility" into rvc-dev am: ba71452e41 am: 6c0344b7ff am: 83ee3005f6 am: 34b3c755dc
Change-Id: I5269047e3ee8961e1303f810f1fdc80258b55224
2020-03-13 11:59:55 +00:00
Automerger Merge Worker
6c0344b7ff Merge "Prune framework-all visibility" into rvc-dev am: ba71452e41
Change-Id: I26c5d9bbdd71542ce76bcb7ad679029c48930835
2020-03-13 11:09:30 +00:00
Anton Hansson
00c2785ac4 Prune framework-all visibility
IKE doesn't need this anymore.

Bug: 149906971
Test: m
Change-Id: I29bf83efc6f6d906b5d2f3a161623ed8678acf85
2020-03-12 12:04:11 +00:00
Automerger Merge Worker
5a187253db Merge "Improve consistency of stubs for framework targets" into rvc-dev am: b992b3353b
Change-Id: I0e036c3b8ebf83ab38eec4746b715104a4df6ad7
2020-03-11 20:15:38 +00:00
Anton Hansson
e996d439aa Improve consistency of stubs for framework targets
Group all the module stubs together and use them consistently
where needed.

Bug: 151092414
Test: m
Change-Id: I0ddeb0c1a8764ac64980395eec8d5703ea4eea7e
2020-03-11 11:38:30 +00:00
Automerger Merge Worker
ed5a3c3d6b Merge "Create all variants of stubs for tethering" into rvc-dev am: b01a5d5e22 am: 1c894c44f6 am: aa7fe6b568 am: 9a3b0512ee
Change-Id: I50d96c34ab97d204bd555d1713f6937fca1f277f
2020-03-11 11:14:14 +00:00
Automerger Merge Worker
aa7fe6b568 Merge "Create all variants of stubs for tethering" into rvc-dev am: b01a5d5e22 am: 1c894c44f6
Change-Id: I4efba1a195ba7430e729b3cd030a209ab03b7cec
2020-03-11 10:44:23 +00:00
Automerger Merge Worker
9d879c6e73 Merge "Create all variants of stubs for tethering" into rvc-dev am: b01a5d5e22
Change-Id: I2d0c2b3b453ded7549e6560fc2af99807e7642fc
2020-03-11 10:32:37 +00:00
Anton Hansson
221fe90c62 Improve consistency of stubs for framework targets
Group all the module stubs together and use them consistently
where needed.

Bug: 151092414
Test: m
Change-Id: I0ddeb0c1a8764ac64980395eec8d5703ea4eea7e
Merged-In: I0ddeb0c1a8764ac64980395eec8d5703ea4eea7e
2020-03-10 13:13:41 +00:00
Anton Hansson
fe8b04583b Create all variants of stubs for tethering
Add separate publicapi, systemapi and module_libs stubs for tethering.

Bug: 147768409
Test: m
Test: m framework-tethering-stubs-{public,system,module_libs_}api
Change-Id: I0ed44691b4e7080818442a9d0eb37d874f707195
2020-03-10 13:13:36 +00:00
Automerger Merge Worker
aab8fecf7f Merge "Updates based on API council feedback." into rvc-dev am: 16c9fb8c0f am: 02f173032d am: 1a1d3b1334 am: a1b1440454
Change-Id: Iacd522478200cffaab2cb22064f8db6b269499c5
2020-03-08 22:03:04 +00:00
Automerger Merge Worker
02f173032d Merge "Updates based on API council feedback." into rvc-dev am: 16c9fb8c0f
Change-Id: Ie75cfe17f09f5db7d424d921b1408354c224d8b9
2020-03-08 21:08:34 +00:00
Automerger Merge Worker
09a539884b Merge "Uses python3 for fontTools" am: 3cab05992c am: b3ef09e5de am: a23cea2545 am: 0e3aa1501d am: 93324e13cc
Change-Id: I25002d8055dbf6004eccfb222b5d64b48fdefff1
2020-03-07 23:33:29 +00:00
Automerger Merge Worker
a23cea2545 Merge "Uses python3 for fontTools" am: 3cab05992c am: b3ef09e5de
Change-Id: I5de75b9d07bcbfd0e5ddf71023469a7a160115b0
2020-03-07 06:39:28 +00:00
Haibo Huang
715857dbda Uses python3 for fontTools
Change-Id: I33bb8881823278c990faeb1a0e119f855c9948b9
2020-03-07 02:02:19 +00:00
Jeff Sharkey
f5eebf9fe6 Updates based on API council feedback.
-- Promote generally-useful PFD API to public.
-- Add @WorkerThread annotations.
-- Add docs to explain how AUTHORITY_LEGACY works, and add explicit
START/FINISH_LEGACY_MIGRATION_CALL verbs to communicate progress.
-- Expand docs for createWriteRequest() to explain broader access
that it grants.  Expand all request methods to indicate the action
is fully completed before the result is delivered.
-- Expand docs for new generation fields to explain that version
also needs to be inspected.
-- Explicitly call out why getKindSize() is deprecated, and guide
towards better alternative.

Bug: 148867182, 148403418, 148011561, 147760276
Test: none
Change-Id: I54ff072a752497b6aba153bd4013567c269e5b19
2020-03-06 14:42:00 -07:00
Artur Satayev
67811a6367 Merge "Remove unsupportedappusage_index.csv from droidcore target." 2020-03-06 12:28:46 +00:00
Automerger Merge Worker
9d3aa9ec4f Merge "Delete unused code in stats-log-api-gen" into rvc-dev am: 4341dbb253
Change-Id: Ibb57de15c0eebb2cb5f19811b331e6b6ef9703ce
2020-03-06 09:47:01 +00:00
Automerger Merge Worker
2137c9cf69 DO NOT MERGE: Remove AppSearch from Android R. am: 0b291791c8
Change-Id: Id435f881696263aaf000422c98776420b341782b
2020-03-06 09:37:41 +00:00
Artur Satayev
7e889fb6bc Remove unsupportedappusage_index.csv from droidcore target.
out/soong/hiddenapi/hiddenapi-index.csv produced by a singleton rule replaced the target.

Test: m
Bug: 145132366
Change-Id: I29267c179f301ebcb128d615229858ced549d670
2020-03-05 22:52:59 +00:00
Automerger Merge Worker
a1812fbd93 Merge "Delete unused code in stats-log-api-gen" into rvc-dev am: 4341dbb253 am: df09d9f6cd am: 1eb7275c65 am: 7c7a5cc4c6
Change-Id: I961f4bcd99d2c16f5855cfdfa983fc5b6e3d5788
2020-03-05 22:12:13 +00:00
Automerger Merge Worker
1eb7275c65 Merge "Delete unused code in stats-log-api-gen" into rvc-dev am: 4341dbb253 am: df09d9f6cd
Change-Id: I0a60f819076b7717dafb05033837dec0da3fd6de
2020-03-05 21:54:24 +00:00
Muhammad Qureshi
4341dbb253 Merge "Delete unused code in stats-log-api-gen" into rvc-dev 2020-03-05 21:41:17 +00:00
Automerger Merge Worker
7c06a370f9 DO NOT MERGE: Remove AppSearch from Android R. am: 0b291791c8 am: 0c71d1f454
Change-Id: I330477222f2f404e83b10c88dd9e1522a698d826
2020-03-05 21:35:03 +00:00
Automerger Merge Worker
0c71d1f454 DO NOT MERGE: Remove AppSearch from Android R. am: 0b291791c8
Change-Id: I1d01c7007e1ab72eb12d33ce0a8af2c7657d0d05
2020-03-05 21:10:58 +00:00
TreeHugger Robot
8caff7dc81 Merge "DO NOT MERGE: Remove AppSearch from Android R." into rvc-dev 2020-03-05 21:09:00 +00:00
Muhammad Qureshi
4ef3c3bd26 Delete unused code in stats-log-api-gen
Bug: 145100015
Test: m
Change-Id: Idbbe35fbce0d751a5973128406596678e1ead5d3
2020-03-05 10:21:36 -08:00
Automerger Merge Worker
3785a0bca6 Merge "remove proxy binder service IIncrementalManager" into rvc-dev am: 130b6bec30
Change-Id: I0a2d6127550e1c157be809d034387c5760a19d70
2020-03-05 17:00:27 +00:00
Songchun Fan
7f051b5251 remove proxy binder service IIncrementalManager
This is no longer needed because native Incremental Service directly
uses IDataLoaderManager.

BUG: 150406132
Test: atest service.incremental_test
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: Idbde2988883becbf3eb707d42c0558774a6073e8
2020-03-04 19:50:44 -08:00
Automerger Merge Worker
1716f68245 Merge "make IDataLoaderManager and IDataLoader stable interfaces" into rvc-dev am: ecd96c2be4
Change-Id: I2c5c67d7b4547e01d50e2279c2f9aeb5b3535c14
2020-03-04 23:08:54 +00:00
Songchun Fan
6381d6193e make IDataLoaderManager and IDataLoader stable interfaces
Instead of using Bundle, explicitly specify params when initializing a data loader.

BUG: 150406132
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I2f89d3c3ea1058fdbd689da0d5cb801bf4d9a0b4
2020-03-03 21:18:30 -08:00
Automerger Merge Worker
1e517d1134 Merge "Export annotation processor via unsupportedappusage lib." am: 3ca5749952 am: 20f19aeff1
Change-Id: Ia9980e68a3f1405516187b75ce9f9154c9b8f846
2020-03-03 13:32:29 +00:00
Artur Satayev
b19903dd3d Export annotation processor via unsupportedappusage lib.
Bug: 145132366
Test: diff unsupportedappusage_index.csv
Change-Id: Ic2762ec4eabf6ec6b397d2a3e4fd360e42be566c
2020-02-28 17:29:29 +00:00
Ivan Chiang
3cb1cbdcfd Add PlatformCompat feature for DocumentUI
- Whitelist PlatformCompat permissions for DocumentsUI
- Add documents-ui-compat-config into Android.bp

Bug: 141600225
Test: build and boot to home
Test: tools/tradefederation/core/tests/run_tradefed_tests.sh \
      --class com.google.android.asit.DeviceBootTestTest
Change-Id: Iedf73faf497a4ea055b33f68dc0b7097f306791d
2020-02-27 06:57:43 +00:00
Alexander Dorokhine
0b291791c8 DO NOT MERGE: Remove AppSearch from Android R.
Test: presubmit
Bug: 150249538

Change-Id: Idb86be6586ae400552f8ceeca5c667fba8e0c43a
2020-02-25 21:15:03 -08:00
Jiyong Park
5f85c597df reduce the visibility of framework-minus-apex
statsd no longer depends on it.

Bug: 147128803
Test: m

Change-Id: Iae72b5cadf2c747a5c1a203959c6ebcd2953050c
2020-02-24 21:07:45 +09:00
Anton Hansson
b629d69db0 Merge "Re-submit "Create all variants of stubs for wifi"" into rvc-dev 2020-02-22 17:25:40 +00:00
Anton Hansson
6656c50d92 Re-submit "Create all variants of stubs for wifi"
Use sdk_version: module_current instead.

This reverts commit d20f03011f.

Bug: 147768409
Test: m
Test: build/soong/soong_ui.bash --make-mode dist ANDROID_BUILDSPEC=vendor/google/build/app_build_spec.mk
Exempt-From-Owner-Approval: clean cp
Change-Id: I36cf007a4813027721dfb6389e10cf95085f85e4
Merged-In: I36cf007a4813027721dfb6389e10cf95085f85e4
(cherry picked from commit 21f0ed2a0a)
2020-02-22 11:05:37 +00:00
Anton Hansson
a1fb6f5b1d Remove FrameworksCoreTests dep on framework-all
Make it use framework-statsd directly rather than framework-all.
Note that this is a problem on its own: the problematic tests
should be separated from the monolith tests and moved into the statsd
dir.

Also clamp down on framework-all visibility to avoid anyone else
addinga dependency on this problematic library.

Bug: 149928788
Bug: 149906971
Test: m
Exempt-From-Owner-Approval: clean cp
Change-Id: Ic819b90911220032130c3f8a01b612edd7fa3ecc
Merged-In: Ic819b90911220032130c3f8a01b612edd7fa3ecc
(cherry picked from commit 7c2f73b4ac)
2020-02-22 11:01:41 +00:00
Anton Hansson
e399f13a75 Merge "Remove ike-srcs from updatable srcs" 2020-02-21 12:15:17 +00:00
Anton Hansson
358a2d2c99 Merge "framework-wifi: Stop linking all frameworks/base/core/java AIDLs" 2020-02-21 11:01:15 +00:00
evitayan
78ed90270a Dynamically include ike-stubs in services.core.unboosted
Previously because compilation will preferentially uses the
ike-stubs statically included in framework.jar,
FrameworksIkeTests has to jarjar the ike_test.jar. Otherwise
the tests will use the ike-stubs and cannot access to the hidden
implementation.

This commit removes ike-stubs in framework-minus-apex and framework
and statically includes it in services.core.unboosted.

In this way, system server can still compile against ike.jar and
at the same time FrameworksIkeTests does not need to jarjar the
ike_test.jar anymore

Bug: 145995723
Test: build, flash, boot, loaded in system server
Test: atest FramewokrsIkeTests (passed)
Test: m mts && mts-tradefed run mts-ipsec (passed)
Change-Id: I75dabcc522e89c94c3e888f5cea22ad5ce0a77e5
Merged-In: I75dabcc522e89c94c3e888f5cea22ad5ce0a77e5
2020-02-21 06:22:12 +00:00
Les Lee
427a30c8f7 Merge "wifi: Use long to replace int for softap feature set" 2020-02-21 06:07:13 +00:00
Yan Yan
e2ff46a5e3 Merge "Dynamically include ike-stubs in services.core.unboosted" 2020-02-21 04:10:42 +00:00
Chris Ye
e078ee507e Merge "Add native Thermal Throttling API to libandroid." 2020-02-21 03:21:18 +00:00
evitayan
24c8c12926 Dynamically include ike-stubs in services.core.unboosted
Previously because compilation will preferentially uses the
ike-stubs statically included in framework.jar,
FrameworksIkeTests has to jarjar the ike_test.jar. Otherwise
the tests will use the ike-stubs and cannot access to the hidden
implementation.

This commit removes ike-stubs in framework-minus-apex and framework
and statically includes it in services.core.unboosted.

In this way, system server can still compile against ike.jar and
at the same time FrameworksIkeTests does not need to jarjar the
ike_test.jar anymore

Bug: 145995723
Test: build, flash, boot, loaded in system server
Test: atest FramewokrsIkeTests (passed)
Test: m mts && mts-tradefed run mts-ipsec (passed)
Change-Id: I75dabcc522e89c94c3e888f5cea22ad5ce0a77e5
2020-02-20 18:03:50 -08:00
Anton Hansson
50fc4f6eb0 Remove ike-srcs from updatable srcs
They needn't be here, because they don't contribute to the
bootclasspath. Modules should only be depended on via stubs,
except for current.txt generation.

Test: m
Change-Id: Id9e43205fe1badace66fc580effd77e4863265d0
2020-02-20 17:26:05 +00:00
David Su
72f9d6352e framework-wifi: Stop linking all frameworks/base/core/java AIDLs
Instead only link ParceledListSlice.aidl,
which is the only one used by
framework-wifi.

Bug: 149127842
Test: "couldn't find import for class android.content.pm.ParceledListSlice"
no longer appears when building

Change-Id: Ie9f67c58c3694bbf1f45ae8e1d99e6e65fbc3163
2020-02-20 15:06:24 +00:00
Nikita Ioffe
9b6f6674eb Merge "Log UserspaceRebootReported atom from system_server" 2020-02-20 13:38:27 +00:00
Automerger Merge Worker
a74588fd6e Merge "Remove unused filegroup" am: 3ff1caf424 am: 281f4e4ef9 am: f4255ac0d6
Change-Id: I67ad167574d85124ee5595b321a522be81cb8dcf
2020-02-20 12:56:18 +00:00