Commit Graph

1953 Commits

Author SHA1 Message Date
Treehugger Robot
8f91c16c23 Merge "Remove allowBlocking from all BluetoothProfiles" am: a39eb360db am: df07c71769 am: 88beced30f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1927380

Change-Id: I7b19fbb89c320fd3a14d57faa9aa10065b23d708
2021-12-17 03:15:57 +00:00
William Escande
6b5464ca69 Remove allowBlocking from all BluetoothProfiles
Since Bluetooth is becoming a mainline module, it can no longer call the
allowBlocking hidden api.
Instead, all interface are moved to be oneway and use a synchronous data
to handle the return value.

Bug: 200200870
Test: Build + start Bt and play something on speaker
Tag: #refactor
Merged-In: I776a6322faadca1504bce24f2b6b041e756b6448
Change-Id: I776a6322faadca1504bce24f2b6b041e756b6448
2021-12-16 19:34:35 +01:00
Treehugger Robot
4e59f54c9e Merge changes from topic "ms07-movestats" am: 942c713c9d am: 6d0a6803c9 am: f626e66561
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895044

Change-Id: I05affe3c40f5d41e5c6e0bdab8f6d0581c90209e
2021-12-10 19:35:43 +00:00
Junyu Lai
d82296cf33 [MS08] Move NetworkStats files to f/b/package/ConnectivityT
NetworkStatsService is going to be moved into ConnectivityService
module. Move all related files to packages/ConnectivityT so that
it can be easily migrate these files to connectivity module
after clearing the hidden API usages.

Bug: 197717846
Test: TH
Change-Id: Iead00832b5eb7b1dc40a92027c5a14ae8316b16c
2021-12-10 16:11:08 +00:00
Paul Hu
29bccff63b Merge "Centralize nsd associated files" am: 32942299d3 am: 9238a7c49e am: 80425b7eeb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895244

Change-Id: I034a8fb021c06e0a46b0baa55f6484624f843acd
2021-12-02 10:21:49 +00:00
paulhu
4e690dd40d Centralize nsd associated files
Move all nsd associated files include framework, service and test
to package/Nsd first. After clear all hidden API dependencies, we
can easily migrate these files into connectivity mainline module.

Bug: 206893064
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: Id26f471a10fe7882e31ccc2dbb73219461f00dbd
2021-11-29 23:08:06 +08:00
Rajesh Nyamagoud
6c690ba336 Support for OMAPI Vendor stable interface am: 4fe64fb471 am: 611e7da7ae am: c9c0e2fcc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: I8e10c56a2a901646fa1469a3ed22d1c8d9025cd0
2021-11-23 05:41:55 +00:00
Rajesh Nyamagoud
611e7da7ae Support for OMAPI Vendor stable interface am: 4fe64fb471
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: Id6050e4686e15a0f65424069415397e6b39292c0
2021-11-23 05:13:42 +00:00
Jack Yu
f7a480d824 Merge changes from topic "OMAPI_VNTF"
* changes:
  replaced android.se.omapi-V1-ndk_platform library with android.se.omapi-V1-ndk
  VTS tests added for OMAPI Vendor stable interface
  Support for OMAPI Vendor stable interface
2021-11-23 04:54:02 +00:00
Marcus Hagerott
e143499017 Merge "Allow ContactsProvider to use compat change framework" am: 911df4f515 am: 36f5ca1920 am: fa2c7f2eb1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894075

Change-Id: I5d52b1cc825246e1a3a39d8a277aa02aa5c4b00c
2021-11-17 20:18:16 +00:00
Marcus Hagerott
6c681056bb Allow ContactsProvider to use compat change framework
BUG=188347648
Test: m droid

Change-Id: Ifb6675777c76ca1c44af96ceb02a6207d28bd045
2021-11-16 13:40:41 -08:00
Mark Chien
e2e27a8063 Merge "Compile android-non-updatable with framework-tethering module-lib stub" am: 1176dd4409 am: 9a542a9799 am: e95587d1ca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885796

Change-Id: I050c42b46b475e058796ea483df27f644b5ab16f
2021-11-15 14:25:12 +00:00
Mark Chien
1176dd4409 Merge "Compile android-non-updatable with framework-tethering module-lib stub" 2021-11-15 13:36:51 +00:00
markchien
cd813a30ed Compile android-non-updatable with framework-tethering module-lib stub
To resolve framework-tethering's module-lib for android-non-updatable
API, compile android-non-updatable with
sdk_module-lib_current_framework-tethering.

Bug: 205658040
Test: make update-api && make

Change-Id: Ib4bd0312f6c621ba19552a2608e47f9158b0fe25
2021-11-12 23:13:18 +08:00
Treehugger Robot
0926394011 Merge "Migrate NetworkStack modules to use modules-utils" am: 8aa04b89e0 am: 205306681d am: 6a005ce583 am: c297f2c86c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1834519

Change-Id: I5a16d23f38e726e865432e38f8b01941de5d3c8c
2021-11-11 14:58:04 +00:00
Treehugger Robot
8aa04b89e0 Merge "Migrate NetworkStack modules to use modules-utils" 2021-11-11 13:56:26 +00:00
Treehugger Robot
92e4b728c7 Merge "Fix RRO loading from inside APEXes." am: de3baffb29 am: 23cd20c926 am: 09341a5ec4 am: c1ceac41b8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1830600

Change-Id: Ie51639568f0d24c90c1e10284de0536238ab1778
2021-10-26 23:36:17 +00:00
Daniel Norman
653a1c1a28 Fix RRO loading from inside APEXes.
APEXes can already contain RRO APKs by using the 'rro' apex Soong
module field. However, these RROs were not being loaded properly by
Zygote or PackageManagerService.

For all RROs inside APEXes, the RRO uses the same overlay config that
is used for other RROs on the APEX's preinstalled partition.

For RROs targeting 'android', which are installed by Zygote
using AssetManager:
1. OverlayConfig looks for active APEXes in the apex-info-list file,
   which is already accessible to Zygote.
2. OverlayConfig passes the APEX module names to OverlayConfigParser,
   for each preinstalled-partition.
3. OverlayConfigParser uses OverlayScanner to scan the
   each /apex/<APEX>/overlay directory.

For other RROs:
1. PackageManagerService already parses and provides RROs inside APEXes
   to OverlayConfig.
2. RROs inside APEXes used to have no config rule applied because their
   path prefix (/apex/) did not match any partition rule. Now, their
   preinstalled path is used instead.

Bug: 199200417
Test: Define a static RRO targeting 'android' inside a /vendor APEX.
      Define a static RRO for settings provider inside a /vendor APEX.
      Observe APEXes are enabled by default.
Test: Make a change to an RRO inside a /vendor APEX.
      m <apex>; adb install <apex artifact>; adb reboot;
      Observe change has taken effect.
Change-Id: I2bce9bc704789329b8c6aac6d476f17ff6718e0f
Merged-In: I2bce9bc704789329b8c6aac6d476f17ff6718e0f
2021-10-25 13:04:24 -07:00
Rajesh Nyamagoud
4fe64fb471 Support for OMAPI Vendor stable interface
Changes are made to existing OMAPI inteface to make it as Vendor Stable
Interface.

Bug: b/180639372
Test: Run OMAPI CTS and VTS tests

Change-Id: Ibfd23215ad180d78af843c0d0b394b42ba8e9daa
2021-10-11 15:51:58 +00:00
Sarah Chin
bddea712b2 Merge "Update constructors for IRadioData classes" into stage-aosp-master am: 958f299826 am: 209163b6f0 am: ae220e938b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15961170

Change-Id: I11fc62932992949d16444f32dbffaff4e9efa9cf
2021-10-06 17:23:44 +00:00
Sarah Chin
80b8c7f128 Update constructors for IRadioData classes
Test: atest FrameworksTelephonyTests
Bug: 198331673
Change-Id: I8480df1164548dde491c6ae6251bbc2725c3eadf
Merged-In: I8480df1164548dde491c6ae6251bbc2725c3eadf
2021-10-06 10:14:30 +00:00
Treehugger Robot
f15f59f44b Merge "Migrate IPsec modules to use state machine lib" am: 4e23d56de4 am: 83a970d901 am: 8f3046ec5e am: 108735fe6e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1834516

Change-Id: Id77afff65e86c69cd152b6c02d1b53b0695f8ac9
2021-09-23 15:33:45 +00:00
Treehugger Robot
83a970d901 Merge "Migrate IPsec modules to use state machine lib" am: 4e23d56de4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1834516

Change-Id: Ic803f5ca7acc720e0291caacb414c6ef453bebd0
2021-09-23 14:53:03 +00:00
Treehugger Robot
4e23d56de4 Merge "Migrate IPsec modules to use state machine lib" 2021-09-23 14:40:55 +00:00
wescande
56b8d5570f Migrate NetworkStack modules to use modules-utils
StateMachine stand-alone library will replace all specific filegroup
created for module.
It will be then moved into modules-utils
preconditions is already a modules-utils

Bug: 198418216
Tag: #refactor
Test: Build
Change-Id: I6de6c2575adf896e283672ebae82431f5c8172af
2021-09-23 16:01:53 +02:00
wescande
3f9c6ba8ad Migrate IPsec modules to use state machine lib
StateMachine stand-alone library will replace all specific filegroup
created for module.
It will be then moved into modules-utils

Bug: 198418216
Tag: #refactor
Test: Build
Change-Id: I9dacffe74be54f378d1034f0ec4ef8b3b16afb29
2021-09-23 14:01:11 +02:00
Mohammad Samiul Islam
9b02b2e12c Merge "libbinder: split out PackageManagerNative aidl" into stage-aosp-master 2021-09-22 10:28:10 +00:00
Mohammad Samiul Islam
d2730fed9a Merge "libbinder: split out PackageManagerNative aidl" into sc-v2-dev-plus-aosp 2021-09-21 10:46:04 +00:00
William Escande
0153d5ff19 Wifi use state machine from modules-utils
Bug: 198418216
Tag: #refactor
Test: atest FrameworkWifiApiTests
Merged-In: I2087b15cf34b76dabeb14d51d041533f55e1b5ba
Change-Id: I2087b15cf34b76dabeb14d51d041533f55e1b5ba
2021-09-20 21:18:45 +00:00
wescande
4f2420f84b Migrate dependency from base to modules-utils
Use stand-alone modules-utils library.

Bug: 198418216
Tag: #refactor
Test: Build
Merged-In: I248dc29e68d3564c6723626b683b10c8a863853f
Change-Id: I248dc29e68d3564c6723626b683b10c8a863853f
2021-09-17 20:41:26 +00:00
TreeHugger Robot
f13df3393e Merge "Migrate dependency from base to modules-utils" into stage-aosp-master am: 973054171a am: fc6ca5f39b am: dfeec5f859
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15796087

Change-Id: I810ef0ce2c2083ffed40cc0bd789fd4e63e1b7e9
2021-09-17 16:10:31 +00:00
Samiul Islam
6dfc5151c0 libbinder: split out PackageManagerNative aidl
Very few clients of libbinder use PackageManagerNative service, as such
it's a waste to couple them together. Now, user of PackageManagerNative
service need to add the corresponding aidl files as shared library.

Bug: 183654927
Test: builds + presubmit

Change-Id: Ie64fb3502d8e5164df4710feb2f525db7c4234a2
Merged-In: Ie64fb3502d8e5164df4710feb2f525db7c4234a2
2021-09-16 08:05:33 +00:00
Samiul Islam
bdbf40efd6 libbinder: split out PackageManagerNative aidl
Very few clients of libbinder use PackageManagerNative service, as such
it's a waste to couple them together. Now, user of PackageManagerNative
service need to add the corresponding aidl files as shared library.

Bug: 183654927
Test: builds + presubmit

Change-Id: Ie64fb3502d8e5164df4710feb2f525db7c4234a2
Merged-In: Ie64fb3502d8e5164df4710feb2f525db7c4234a2
2021-09-15 12:48:13 +00:00
wescande
9150afa330 Migrate dependency from base to modules-utils
Use stand-alone modules-utils library.

Bug: 198418216
Tag: #refactor
Test: Build
Merged-In: I248dc29e68d3564c6723626b683b10c8a863853f
Change-Id: I248dc29e68d3564c6723626b683b10c8a863853f
2021-09-09 18:30:43 +00:00
Eric Laurent
af8b4f4dc2 Merge "AudioSystem JNI: Add support for spatializer APIs" into sc-v2-dev am: 8c500d5882
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15557293

Change-Id: I32955fb8cdff488ed3cf1ec6a48f8f3173d05c91
2021-08-24 16:00:38 +00:00
Eric Laurent
8500f6c136 AudioSystem JNI: Add support for spatializer APIs
Add support for the following APIs in AudioSystem JNI:
- getSpatializer
- canBeSpatialized

Bug: 188502620
Test: make
Change-Id: I1942edc6c9fec3babfe870586f7a014d55b1ce70
2021-08-24 13:47:03 +02:00
Jeff Sharkey
4ef89ede2f Merge "Pass metadata as AttributionSourceSource." into sc-dev am: a57ee36d6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388734

Change-Id: I78badb0a5e3abd12c5306489eb89d4f7412d3527
2021-07-29 19:07:45 +00:00
Jeff Sharkey
99d6ffed27 Merge "Pass metadata as AttributionSourceSource." into sc-dev am: a57ee36d6c am: ce6a9699b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388734

Change-Id: I8055249a8a7e3176b92dddb7adb186df0bf6ba75
2021-07-27 20:10:11 +00:00
Jeff Sharkey
ce6a9699b6 Merge "Pass metadata as AttributionSourceSource." into sc-dev am: a57ee36d6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388734

Change-Id: Iabda6bed8f2392201a0fc87eb31f9d01a3ecac1e
2021-07-27 19:43:33 +00:00
Jeff Sharkey
75d4f93a4e Pass metadata as AttributionSourceSource.
These two PermissionManager methods are using AttributionSource as
metadata only, and aren't interested in the remote caller enforcing
that the claimed UID matches the caller, since they're not actually
being used for permission enforcement.

Thus we pass the metadata using the AttributionSourceState holder
object and reconstruct on the remote side, entirely avoiding the
enforceCallingUid() check.

Bug: 193842956
Test: atest CtsPermission5TestCases
Change-Id: I576b6feb8cc2b0586b4341268866d8027689293f
2021-07-27 09:45:54 -06:00
Rambo Wang
4487b40f3a Merge "Support platform-compat-framework for TeleService" am: 7ad8aa929e am: 2e7d4fe98b am: 02adf2d91d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1747977

Change-Id: Ia630dfdba5e445597aaaa9c6bb58aa5a71acb873
2021-07-16 22:31:57 +00:00
Rambo Wang
02adf2d91d Merge "Support platform-compat-framework for TeleService" am: 7ad8aa929e am: 2e7d4fe98b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1747977

Change-Id: Iedefd178c03f988435e6fbf21a8744aefa3ae174
2021-07-16 22:16:53 +00:00
Rambo Wang
05e55c9e3e Support platform-compat-framework for TeleService
Bug: 191911306
Test: atest ServiceStateProviderTest
Change-Id: I23e0e0867c89c0e107258c723f29e9ae9b5ba9f1
2021-07-01 23:46:49 +00:00
Janis Danisevskis
a17f42e5a5 Merge "Keystore 2.0: Renaming the vpnstore interface." into sc-dev am: 3f0c227d93 am: 043c85737e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14969456

Change-Id: I82d3b207e8b2fffb6e3add473949e065d083305c
2021-06-30 19:59:11 +00:00
Janis Danisevskis
043c85737e Merge "Keystore 2.0: Renaming the vpnstore interface." into sc-dev am: 3f0c227d93
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14969456

Change-Id: Ibb6b107e7522d159d94a909c58204fce407f62f1
2021-06-30 19:58:08 +00:00
Janis Danisevskis
6ebb4df635 Merge "Keystore 2.0: Renaming the vpnstore interface." into sc-dev am: 3f0c227d93
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14969456

Change-Id: Icfe611bc66e6dc2ce94f4a6eeee292158e98f15e
2021-06-30 19:57:21 +00:00
Janis Danisevskis
84e082d3da Keystore 2.0: Renaming the vpnstore interface.
Renaming the vpnstore interface to legacykeystore.

Bug: 190229655
Test: TBD
Merged-In: Icd304ef621f0de52d6ebc415a0628d63f827fbcd
Change-Id: Icd304ef621f0de52d6ebc415a0628d63f827fbcd
2021-06-30 12:29:29 -07:00
Janis Danisevskis
191b206410 Keystore 2.0: Renaming the vpnstore interface.
Renaming the vpnstore interface to legacykeystore.

Bug: 191373871
Test: TBD
Change-Id: Icd304ef621f0de52d6ebc415a0628d63f827fbcd
2021-06-30 09:45:54 -07:00
Chavi Weingarten
5fb6fd9578 Merge "Renamed and moved InputWindow and related files" into sc-v2-dev am: d5e7575206
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14664164

Change-Id: Id5e9d8b769d6ab60da740f00f2fa99849011391c
2021-06-30 15:02:43 +00:00
Chavi Weingarten
d5e7575206 Merge "Renamed and moved InputWindow and related files" into sc-v2-dev 2021-06-30 14:46:22 +00:00