Eleven gapps

From redfin-rq1a.201205.011

* Move everything to product or system_ext
* No more maps jar?
* Fix sha1sum of arm64 MarkupGoogle/lib/arm64/libsketchology_native.so
  The file is unchanged, the checksum simply has always been wrong
* Adapt to new blueprint based extract utils
This commit is contained in:
Alessandro Astone
2021-01-01 15:37:52 +01:00
parent 7febfbe606
commit 653d74aba7
68 changed files with 873 additions and 785 deletions

View File

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<!--
This XML file declares which platform apps that need to access internal APIs.
-->
<config>
<hidden-api-whitelisted-app package="android.car.cluster.maserati" />
<hidden-api-whitelisted-app package="com.android.apps.tag" />
<hidden-api-whitelisted-app package="com.android.auto.embedded.cts.verifier" />
<hidden-api-whitelisted-app package="com.android.car.bugreport" />
<hidden-api-whitelisted-app package="com.android.car.carlauncher" />
<hidden-api-whitelisted-app package="com.android.car.home" />
<hidden-api-whitelisted-app package="com.android.car.retaildemo" />
<hidden-api-whitelisted-app package="com.android.car.settingslib.robotests" />
<hidden-api-whitelisted-app package="com.android.car.setupwizardlib.robotests" />
<hidden-api-whitelisted-app package="com.android.cardock" />
<hidden-api-whitelisted-app package="com.android.connectivity.metrics" />
<hidden-api-whitelisted-app package="com.android.facelock" />
<hidden-api-whitelisted-app package="com.android.google.gce.gceservice" />
<hidden-api-whitelisted-app package="com.android.hotwordenrollment.okgoogle" />
<hidden-api-whitelisted-app package="com.android.hotwordenrollment.tgoogle" />
<hidden-api-whitelisted-app package="com.android.hotwordenrollment.xgoogle" />
<hidden-api-whitelisted-app package="com.android.inputmethod.latin" />
<hidden-api-whitelisted-app package="com.android.media.update" />
<hidden-api-whitelisted-app package="com.android.netspeed" />
<hidden-api-whitelisted-app package="com.android.onemedia" />
<hidden-api-whitelisted-app package="com.android.pixellogger" />
<hidden-api-whitelisted-app package="com.android.ramdump" />
<hidden-api-whitelisted-app package="com.android.settingslib.robotests" />
<hidden-api-whitelisted-app package="com.android.simappdialog" />
<hidden-api-whitelisted-app package="com.android.statsd.dogfood" />
<hidden-api-whitelisted-app package="com.android.statsd.loadtest" />
<hidden-api-whitelisted-app package="com.android.systemui.shared" />
<hidden-api-whitelisted-app package="com.android.test.power" />
<hidden-api-whitelisted-app package="com.android.test.voiceenrollment" />
<hidden-api-whitelisted-app package="com.android.tv.provision" />
<hidden-api-whitelisted-app package="com.google.SSRestartDetector" />
<hidden-api-whitelisted-app package="com.google.android.apps.nexuslauncher" />
<hidden-api-whitelisted-app package="com.google.android.apps.wallpaper" />
<hidden-api-whitelisted-app package="com.google.android.asdiv" />
<hidden-api-whitelisted-app package="com.google.android.athome.globalkeyinterceptor" />
<hidden-api-whitelisted-app package="com.google.android.car.defaultstoragemonitoringcompanionapp" />
<hidden-api-whitelisted-app package="com.google.android.car.diagnosticrecorder" />
<hidden-api-whitelisted-app package="com.google.android.car.diagnosticverifier" />
<hidden-api-whitelisted-app package="com.google.android.car.diskwriteapp" />
<hidden-api-whitelisted-app package="com.google.android.car.flashapp" />
<hidden-api-whitelisted-app package="com.google.android.car.kitchensink" />
<hidden-api-whitelisted-app package="com.google.android.car.obd2app" />
<hidden-api-whitelisted-app package="com.google.android.car.setupwizard" />
<hidden-api-whitelisted-app package="com.google.android.car.usb.aoap.host" />
<hidden-api-whitelisted-app package="com.google.android.car.vms.subscriber" />
<hidden-api-whitelisted-app package="com.google.android.carrier" />
<hidden-api-whitelisted-app package="com.google.android.carriersetup" />
<hidden-api-whitelisted-app package="com.google.android.connectivitymonitor" />
<hidden-api-whitelisted-app package="com.google.android.edu.harnesssettings" />
<hidden-api-whitelisted-app package="com.google.android.ext.services" />
<hidden-api-whitelisted-app package="com.google.android.factoryota" />
<hidden-api-whitelisted-app package="com.google.android.feedback" />
<hidden-api-whitelisted-app package="com.google.android.gsf" />
<hidden-api-whitelisted-app package="com.google.android.hardwareinfo" />
<hidden-api-whitelisted-app package="com.google.android.hiddenmenu" />
<hidden-api-whitelisted-app package="com.google.android.onetimeinitializer" />
<hidden-api-whitelisted-app package="com.google.android.permissioncontroller" />
<hidden-api-whitelisted-app package="com.google.android.partner.provisioning" />
<hidden-api-whitelisted-app package="com.google.android.partnersetup" />
<hidden-api-whitelisted-app package="com.google.android.pixel.setupwizard" />
<hidden-api-whitelisted-app package="com.google.android.preloaded_drawable_viewer" />
<hidden-api-whitelisted-app package="com.google.android.printservice.recommendation" />
<hidden-api-whitelisted-app package="com.google.android.sampledeviceowner" />
<hidden-api-whitelisted-app package="com.google.android.apps.scone" />
<hidden-api-whitelisted-app package="com.google.android.sdksetup" />
<hidden-api-whitelisted-app package="com.google.android.setupwizard" />
<hidden-api-whitelisted-app package="com.google.android.storagemanager" />
<hidden-api-whitelisted-app package="com.google.android.tag" />
<hidden-api-whitelisted-app package="com.google.android.tungsten.setupwraith" />
<hidden-api-whitelisted-app package="com.google.android.tv.bugreportsender" />
<hidden-api-whitelisted-app package="com.google.android.tv.frameworkpackagestubs" />
<hidden-api-whitelisted-app package="com.google.android.tv.pairedsetup" />
<hidden-api-whitelisted-app package="com.google.android.vendorloggingservice" />
<hidden-api-whitelisted-app package="com.google.android.volta" />
<hidden-api-whitelisted-app package="com.google.android.wfcactivation" />
<hidden-api-whitelisted-app package="com.google.mds" />
<hidden-api-whitelisted-app package="com.google.modemservice" />
<hidden-api-whitelisted-app package="com.htc.omadm.trigger" />
<hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" />
<hidden-api-whitelisted-app package="com.ustwo.lwp" />
<hidden-api-whitelisted-app package="org.chromium.arc.accessibilityhelper" />
<hidden-api-whitelisted-app package="org.chromium.arc.apkcacheprovider" />
<hidden-api-whitelisted-app package="org.chromium.arc.applauncher" />
<hidden-api-whitelisted-app package="org.chromium.arc.backup_settings" />
<hidden-api-whitelisted-app package="org.chromium.arc.cast_receiver" />
<hidden-api-whitelisted-app package="org.chromium.arc.crash_collector" />
<hidden-api-whitelisted-app package="org.chromium.arc.file_system" />
<hidden-api-whitelisted-app package="org.chromium.arc.gms" />
<hidden-api-whitelisted-app package="org.chromium.arc.home" />
<hidden-api-whitelisted-app package="org.chromium.arc.intent_helper" />
<hidden-api-whitelisted-app package="org.chromium.arc.tts" />
</config>

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- These are configurations that must exist on all GMS devices. -->
<config>
<!-- These are the standard packages that are white-listed to always have internet
access while in power save mode, even if they aren't in the foreground. -->
<!-- GmsCore must always have network access for GCM and other things. -->
<allow-in-power-save package="com.google.android.gms" />
<allow-in-data-usage-save package="com.google.android.gms" />
<allow-unthrottled-location package="com.google.android.gms" />
<allow-ignore-location-settings package="com.google.android.gms" />
<!-- OobConfig must always have network access to fetch enterprise and carrier lock config. -->
<allow-in-power-save-except-idle package="com.google.android.apps.work.oobconfig" />
<allow-in-data-usage-save package="com.google.android.apps.work.oobconfig" />
<!-- Turbo must not have App Standby restrictions in order to push new
App Standby buckets to the platform periodically -->
<allow-in-power-save-except-idle package="com.google.android.apps.turbo" />
<!-- Certain broadcasts must still go to legacy implicit receivers -->
<allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
<allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
<allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
<allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
<!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
<allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
<!-- Play Store likewise must have network access to support other applications. -->
<allow-in-power-save-except-idle package="com.android.vending" />
<!-- If the volta app is pre-installed (for monitoring power use), let it do checkins. -->
<allow-in-power-save package="com.google.android.volta" />
<!-- If GoogleCellBroadcastServiceModule is installed, let it run in the background -->
<allow-in-power-save package="com.google.android.cellbroadcastreceiver" />
<!-- If CarrierServices is installed, it must always have network access to
reliably receive IMS messages. -->
<allow-in-power-save package="com.google.android.ims" />
<allow-in-data-usage-save package="com.google.android.ims" />
<!-- These Google applications all handle URLs to their websites by default -->
<!-- Apps below are required on all GMS devices -->
<app-link package="com.android.vending" />
<app-link package="com.google.android.apps.maps" />
<app-link package="com.google.android.youtube" />
<app-link package="com.google.android.apps.docs" />
<app-link package="com.google.android.talk" />
<app-link package="com.google.android.apps.photos" />
<app-link package="com.google.android.apps.youtube.music" />
<!-- Apps below are optional on GMS devices -->
<app-link package="com.google.android.apps.tycho" />
<app-link package="com.google.android.apps.plus" />
<app-link package="com.google.android.apps.docs.editors.sheets" />
<app-link package="com.google.android.apps.docs.editors.slides" />
<app-link package="com.google.android.apps.docs.editors.docs" />
<app-link package="com.google.android.talk" />
<app-link package="com.google.android.videos" />
<app-link package="com.google.android.calendar" />
<app-link package="com.google.android.apps.wallpaper" />
<!-- These are the packages that are white-listed to be able to run as system user -->
<system-user-whitelisted-app package="com.android.vending" />
<system-user-whitelisted-app package="com.google.android.gms" />
<system-user-whitelisted-app package="com.google.android.gms.policy_auth" />
<system-user-whitelisted-app package="com.google.android.play.games" />
<system-user-whitelisted-app package="com.google.android.tts" />
<!-- These are the packages that are uninstalled for system user -->
<!-- Apps below are required on all GMS devices -->
<system-user-blacklisted-app package="com.google.android.googlequicksearchbox" />
<!-- Apps below are optional on GMS devices -->
<system-user-blacklisted-app package="com.google.android.launcher" />
<!-- Whitelist of what components are permitted as backup data transports. The
'service' attribute here is a flattened ComponentName string. -->
<backup-transport-whitelisted-service
service="com.google.android.gms/.backup.BackupTransportService" />
<backup-transport-whitelisted-service
service="com.google.android.gms/.backup.component.D2dTransportService" />
<!-- Specify the explicit set of other applications that AI services are allowed to
interact with, including the providers that back the implementation of the APIs
provided by the package. -->
<allow-association target="com.google.android.as" allowed="com.android.bluetooth" />
<allow-association target="com.google.android.as" allowed="com.android.providers.contacts" />
<allow-association target="com.google.android.as" allowed="com.android.providers.media" />
<allow-association target="com.google.android.as" allowed="com.android.providers.telephony" />
<allow-association target="com.google.android.as" allowed="com.android.systemui" />
<allow-association target="com.google.android.as" allowed="com.google.android.providers.media.module" />
<!-- Specify the explicit set of other applications whose app data directories are
accessible by other applications. -->
<app-data-isolation-whitelisted-app package="com.google.android.gms" />
<!-- Whitelist of packages that eligible for rollback -->
<rollback-whitelisted-app package="com.android.vending" />
</config>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- These are configurations that should exist on Google's own Nexus and GPe devices. -->
<config>
<feature name="com.google.android.feature.GOOGLE_BUILD" />
<!-- This should be added to all Nexus and GPe devices -->
<feature name="com.google.android.feature.GOOGLE_EXPERIENCE" />
<!-- This should declare the version of Exchange that ships -->
<feature name="com.google.android.feature.EXCHANGE_6_2" />
</config>