Commit Graph

1552 Commits

Author SHA1 Message Date
Paul Duffin
a6faea7ffa Merge "Switch to standard naming scheme" into rvc-dev am: f94d682a9b am: a0460cb747
Original change: undetermined

Change-Id: I881cccf3f96b39731208b48b6ff615c21183991b
2020-06-02 12:11:25 +00:00
Paul Duffin
a0460cb747 Merge "Switch to standard naming scheme" into rvc-dev am: f94d682a9b
Original change: undetermined

Change-Id: Ia56347e16ba637bbd4e23cfa664a7b78fe4aa52f
2020-06-02 11:58:45 +00:00
Paul Duffin
abebc6a897 Switch to standard naming scheme
Removes use of the special framework-modules naming scheme.

Bug: 155164730
Test: m java
Exempt-From-Owner-Approval: Build cleanup.
Change-Id: I3b78fcbcacc3df787e171d6eedeef1e51b087615
Merged-In: I0c31e2183353dfb5bd49f04f3455cb7b10be6866
(cherry picked from 8b864fb45c)
2020-06-02 06:53:53 +00:00
Baligh Uddin
12e3b85dd0 Merge commit '864a2b0e25da01885f558bde41e9da73801c790e' into manual_merge_864a2b0e25da01885f558bde41e9da73801c790e
Change-Id: I39f86a02a4d7ccdc3674be61ad96ec9b05fed617
Merged-In: Ia2c1c6e82eef7ba25fe4c090ffa02bff5c3ddca2
Test: TH
Bug: 156287389
2020-05-28 21:11:45 +00:00
Baligh Uddin
f1613ef178 Adjust visibility rules for IPSec
BUG: 156287389
Test: TH and Local Build
Merged-In: Ia2c1c6e82eef7ba25fe4c090ffa02bff5c3ddca2
Change-Id: I097ce1a51d2fa1abde3502f6023f4d840cee3794
2020-05-27 23:39:04 +00:00
Makoto Onuki
b14bc8c6ae Merge "Update api-lint baseline for NO_SETTINGS_PROVIDER" into rvc-dev-plus-aosp 2020-05-27 23:34:28 +00:00
Baligh Uddin
5d8d8a237e Merge "Adjust visibility rules for IPSec" am: 29e3c0ba36 am: f7a649984f
Change-Id: I17d15a972542971244a962b1c8401dd9b6de0c50
2020-05-27 22:11:37 +00:00
Makoto Onuki
a664a9017f Update api-lint baseline for NO_SETTINGS_PROVIDER
Bug: 151454839
Test: See the other CL in the topic

Merged-in: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
(cherry picked from commit 451da1ce77)
2020-05-27 21:49:29 +00:00
Baligh Uddin
b7ec5bbc0c Adjust visibility rules for IPSec
BUG: 156287389
Test: TH and Local Build
Change-Id: Ia2c1c6e82eef7ba25fe4c090ffa02bff5c3ddca2
2020-05-27 19:22:36 +00:00
Alex Buynytskyy
53ea003df2 Merge "Lifecycle: detecting blocked and unhealthy." into rvc-dev am: 4e5ff2eb7d
Change-Id: If0f24b8549fbf78aecf4586551528606064ecfe7
2020-05-27 04:17:10 +00:00
Alex Buynytskyy
1ad652187c Merge "Lifecycle: detecting blocked and unhealthy." into rvc-dev am: 4e5ff2eb7d
Change-Id: I3b68f9b64c91e85132dfec3f5c740d28e469697a
2020-05-27 04:17:05 +00:00
Alex Buynytskyy
8ef61aebee Lifecycle: detecting blocked and unhealthy.
Part 1: interfaces and PM implementation.

Bug: 153874006
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: I312dd919d2bb552bea3d72fb49fd1579882da14b
2020-05-26 19:34:39 +00:00
Ramy Medhat
5ab24e74da Merge "Add sources read implicitly when building android.test.mock.stubs.source.test" am: ff2641428f am: 3105aee1ee
Change-Id: I1e9641981ae1048507d81f59b84a2a19ebe89d32
2020-05-25 13:44:39 +00:00
Ramy Medhat
10146d8821 Add sources read implicitly when building android.test.mock.stubs.source.test
This CL makes explicit the source files read implicitly when building
android.test.mock.stubs.source.test. The list of source files added was
obtained by using ag/11062343 to dump all implicitly read files during
the execution of a metalava command.

Test: m
out/soong/.intermediates/frameworks/base/test-mock/android.test.mock.stubs.source.test/android_common/check_current_api.timestamp
with RBE_METALAVA=1 to make sure their are no api mismatches when using
the RBE result.

Change-Id: Ib131a13731e0e97cba0c34e19c454d3086858948
2020-05-25 07:35:06 -04:00
Hall Liu
92f928b250 Refactor SubscriptionManager caching code am: 29b1874ffc
Change-Id: I9b3eeade5d5b7ddc91ede9c340ab1381cb4e9278
2020-05-05 16:46:32 +00:00
Hall Liu
2ec58b1158 Refactor SubscriptionManager caching code am: 29b1874ffc
Change-Id: I8168420f37eb8324580c8ec648d091f0b5a5bb7f
2020-05-05 16:45:50 +00:00
Anton Hansson
0a3b7ad5ba Stop building against core_platform where possible
This is not a stable API surface, so modules shouldn't be building
against it. Compiling against core_platform also disables link-checking,
which can hide other problems.

Bug: 137191822
Test: m
Change-Id: I7ce7dad8c02b094c565daf8c178bc6f89bb610ef
Merged-In: I7ce7dad8c02b094c565daf8c178bc6f89bb610ef
(cherry picked from commit 791551a70f)
2020-05-05 12:18:11 +01:00
Hall Liu
29b1874ffc Refactor SubscriptionManager caching code
Create a genericized class to use for SubscriptionManager caching calls
in order to avoid duplicating logic that fetches values from ISub.

Bug: 151953109
Test: atest android.telephony.cts.SubscriptionManagerTest

Merged-In: I6682ded8aec8cb3e50521584c177df6d5dae8c49
Change-Id: I6682ded8aec8cb3e50521584c177df6d5dae8c49
2020-04-28 16:22:48 -07:00
Mark Chien
0240cac300 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" into rvc-dev am: d974b33386
Change-Id: I7b13aa7a500d804d0e8ef96d9d72556f3c642124
2020-04-28 03:12:09 +00:00
Mark Chien
26631c7d8c Remove Preconditions usage to stop dependecy with non-updatble class
Stop depending on Preconditions that is not released on the same cadence
as the module, and is maintained as part of the framework.

Bug: 148636687
Test: atest TetheringTests NetworkStackNextTests

Merged-In: Id0dcec44f362f79bc8c046d722635687a7388aa2
Change-Id: Id0dcec44f362f79bc8c046d722635687a7388aa2
2020-04-27 12:38:07 +00:00
Mark Chien
3ffa2fd932 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" am: 339e06ba90 am: aaa13c4a97
Change-Id: I856a936b295426bb2ba219eb4e510f6a2a3ac12b
2020-04-27 11:17:28 +00:00
Mark Chien
339e06ba90 Merge "Remove Preconditions usage to stop dependecy with non-updatble class" 2020-04-27 10:54:19 +00:00
markchien
2a52c09dda Remove Preconditions usage to stop dependecy with non-updatble class
Stop depending on Preconditions that is not released on the same cadence
as the module, and is maintained as part of the framework.

Bug: 148636687
Test: atest TetheringTests NetworkStackNextTests

Change-Id: Id0dcec44f362f79bc8c046d722635687a7388aa2
2020-04-24 00:47:56 +08:00
David Su
44d450a87e Merge "framework-wifi: remove duplicate classes" into rvc-dev am: 87ce901869
Change-Id: I29a472aa2d48f7bf1151487c2fa089bb9a2102db
2020-04-22 18:44:53 +00:00
David Su
7dbbed6b76 Merge "framework-wifi: remove duplicate classes" into rvc-dev am: 87ce901869
Change-Id: I2d09ecec5964988e0cf4f74b850c11ecc3a65432
2020-04-22 18:44:37 +00:00
David Su
57bca318f1 framework-wifi: remove duplicate classes
Preconditions & Inet4AddressUtils are statically
linked into both framework-wifi and service-wifi.
This creates duplicate classes, which should be
avoided. Instead, service-wifi should simply refer
to the copy of Preconditions/Inet4AddressUtils in
framework-wifi.

Bug: 153596226
Test: device boots up and connects to wifi
Change-Id: Ie78e5cf0f6ff7bc8a2fa8d7264b742f912601143
2020-04-22 05:40:28 +00:00
David Su
6ef1235b47 framework-wifi: remove duplicate classes
Preconditions & Inet4AddressUtils are statically
linked into both framework-wifi and service-wifi.
This creates duplicate classes, which should be
avoided. Instead, service-wifi should simply refer
to the copy of Preconditions/Inet4AddressUtils in
framework-wifi.

(dirty cherry pick from internal branch)

Bug: 153596226
Test: device boots up and connects to wifi
Change-Id: Ie78e5cf0f6ff7bc8a2fa8d7264b742f912601143
Merged-In: Ie78e5cf0f6ff7bc8a2fa8d7264b742f912601143
2020-04-21 20:14:23 -07:00
Jiyong Park
1722509345 Merge "Mark some aidl_interface modules as unstable" into rvc-dev am: 28665792a2
Change-Id: I1693261f829fe4b40dbe2d0e11b7e88916582476
2020-04-21 10:11:46 +00:00
Amit Mahajan
7d9f1e3ea5 DO NOT MERGE Remove references of telephony-stubs.
Since it's not used for now.

Test: TH
Bug: 153304048
Merged-in: I1812818c3d49463c3840a98212bbab58a110359a
Change-Id: I1812818c3d49463c3840a98212bbab58a110359a
2020-04-20 16:48:33 +00:00
Jiyong Park
803dc1c218 Mark some aidl_interface modules as unstable
With b/152655547, all aidl_interface modules are considered as stable
unless it is explicitly with "unstable: true". This change marks the
aidl_interface that are not used across updatable module bounraries
as unstable, so that the build system does not run the API
dumping/checking on them.

Exempt-From-Owner-Approval: cherry-pick from internal

Bug: 152655547
Test: m
Merged-In: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
(cherry picked from commit db589dded4)
Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
2020-04-20 07:44:52 +00:00
Jiyong Park
fe22da569d Merge "Mark some aidl_interface modules as unstable" into rvc-dev am: 28665792a2
Change-Id: I87f2b5384ad7f82374597a75de4595e380564e55
2020-04-20 05:23:12 +00:00
Jiyong Park
28665792a2 Merge "Mark some aidl_interface modules as unstable" into rvc-dev 2020-04-20 03:23:06 +00:00
Amit Mahajan
7973105d8b DO NOT MERGE Remove references of telephony-stubs.
Since it's not used for now.

Test: TH
Bug: 153304048
Merged-in: I1812818c3d49463c3840a98212bbab58a110359a
Change-Id: I1812818c3d49463c3840a98212bbab58a110359a
2020-04-15 17:55:52 -07:00
Amit Mahajan
07a1871e8c DO NOT MERGE Remove references of telephony-stubs.
Since it's not used for now.

Test: TH
Bug: 153304048
Change-Id: I1812818c3d49463c3840a98212bbab58a110359a
2020-04-15 14:38:58 -07:00
Jiyong Park
db589dded4 Mark some aidl_interface modules as unstable
With b/152655547, all aidl_interface modules are considered as stable
unless it is explicitly with "unstable: true". This change marks the
aidl_interface that are not used across updatable module bounraries
as unstable, so that the build system does not run the API
dumping/checking on them.

Bug: 152655547
Test: m
Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
2020-04-13 13:00:47 +09:00
Sungsoo Lim
ca2ba6c9c5 Merge "Do not export private AIDL files of the media module" into rvc-dev am: 383371cdc5
Change-Id: Ife384bb258f2d13b26f5a5986db8efebb418aee2
2020-04-10 06:33:09 +00:00
Sungsoo Lim
d2f9db50f6 Merge "Do not export private AIDL files of the media module" into rvc-dev am: 383371cdc5
Change-Id: Iff271892d0cabb03d7eaccd05bfcbab758598e4f
2020-04-10 06:32:26 +00:00
Sungsoo Lim
383371cdc5 Merge "Do not export private AIDL files of the media module" into rvc-dev 2020-04-10 05:28:21 +00:00
Sungsoo Lim
895f4f6914 Do not export private AIDL files of the media module
The current directory contains public and private AIDL types in the same place.
This CL separates into two directories and makes the directory having the
public types should be exported.

Bug: 148660295
Test: build
Change-Id: Ib2632afa00f7fa7f992690e68684464928cd3c61
2020-04-08 15:05:26 +09:00
TreeHugger Robot
a6ba2079fa Merge "Change the way how we call setStorageParams." into rvc-dev am: 9f16f2665a
Change-Id: I21a175fe5a65144f2b608796b2b7e9dddfd0cea0
2020-04-08 00:53:13 +00:00
TreeHugger Robot
14e544cd4d Merge "Change the way how we call setStorageParams." into rvc-dev am: 9f16f2665a
Change-Id: Ie6a8b11fada01fe590fc52362e1e822e7a4807d8
2020-04-08 00:52:06 +00:00
Alex Buynytskyy
f415679228 Change the way how we call setStorageParams.
Now it's unified with callback FS connector - we are passing the
callback pointer directly to dataloader. This restricts access only
to methods we want and only by someone we want.

Bug: b/153468113
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: Ib557ebbe7c6c5ce92140eb20534a3626b3ac96d3
2020-04-07 14:42:50 -07:00
Anton Hansson
9738f7580a Merge "Don't link wifi utils against android_system_stubs" into rvc-dev am: d972846baa
Change-Id: Iefdea46d4b429928294d50df6a2269877f29d41a
2020-04-01 11:45:53 +00:00
Anton Hansson
c5c3734017 Merge "Don't link wifi utils against android_system_stubs" into rvc-dev am: d972846baa
Change-Id: Iaabffd9966a394b6cf8a2bef06b38253ab80f191
2020-04-01 11:45:35 +00:00
Anton Hansson
d972846baa Merge "Don't link wifi utils against android_system_stubs" into rvc-dev 2020-04-01 11:29:12 +00:00
Anton Hansson
f85800f31f Merge "Don't link telephony stubs against android_system_stubs" into rvc-dev am: c333c8e049
Change-Id: I26ba05d8a00484a4e76623331588e26b8f19f6b1
2020-04-01 11:20:09 +00:00
Anton Hansson
f1e82fe6fc Merge "Don't link telephony stubs against android_system_stubs" into rvc-dev am: c333c8e049
Change-Id: Ib58f29ee7e1fa575cf2c48d3a0c2522aa466b4bd
2020-04-01 11:20:04 +00:00
Anton Hansson
c33a1b6615 Don't link telephony stubs against android_system_stubs
Compile against an SDK instead, which will enforce link
checks.

Bug: 152864915
Test: m
Change-Id: I49cbc4f6c6c5a1b9260b385f3c97ac2387bb9c47
2020-03-31 18:34:01 +01:00
Anton Hansson
5a088e03e1 Don't link wifi utils against android_system_stubs
Compile against an SDK instead, which will enforce link
checks.

Bug: 152864915
Test: m
Change-Id: Id080d7c6579fa0c9f3a97a3110f119e99053e3c6
2020-03-31 18:09:01 +01:00
Paul Duffin
f090c45f0f Add ike-internals when building framework-all-sources
The framework-all-sources filegroup includes sources from ike-srcs
which in turn depends on bouncycastle sources. This change

Bug: 152328618
Test: m droid
Change-Id: I1e9c1dac3e0ad7e7d07f6a72e38171403b23493b
Merged-In: Ife5d1b2c80469ee5196d61806b721cf9dae251ed
2020-03-30 12:50:05 +01:00