3
0
Fork 0

gms: Import Device Connectivity Service

Change-Id: I403ed7104b005d1cddb28b4579fc63f24065c587
This commit is contained in:
ralph950412 2024-12-09 10:24:18 +08:00
parent 5a1006ebec
commit 006a412c0e
6 changed files with 70 additions and 0 deletions

View File

@ -915,6 +915,19 @@ android_app_import {
system_ext_specific: true, system_ext_specific: true,
} }
android_app_import {
name: "DeviceConnectivityServicePrebuilt_24.02.00",
owner: "gms",
apk: "proprietary/system_ext/priv-app/DeviceConnectivityServicePrebuilt_24.02.00/DeviceConnectivityServicePrebuilt_24.02.00.apk",
preprocessed: true,
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import { android_app_import {
name: "GoogleFeedback", name: "GoogleFeedback",
owner: "gms", owner: "gms",

View File

@ -193,6 +193,8 @@ PRODUCT_COPY_FILES += \
vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite \ vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_speakerid.tflite \
vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite \ vendor/gms/common/proprietary/product/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite:$(TARGET_COPY_OUT_PRODUCT)/usr/srec/en-US/voice_match/MARBLE_voice_filter.tflite \
vendor/gms/common/proprietary/system/etc/permissions/privapp-permissions-google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google.xml \ vendor/gms/common/proprietary/system/etc/permissions/privapp-permissions-google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google.xml \
vendor/gms/common/proprietary/system_ext/etc/default-permissions/default-permissions-com.google.android.apps.pixel.dcservice.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/default-permissions/default-permissions-com.google.android.apps.pixel.dcservice.xml \
vendor/gms/common/proprietary/system_ext/etc/permissions/com.google.android.apps.pixel.dcservice.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.google.android.apps.pixel.dcservice.xml \
vendor/gms/common/proprietary/system_ext/etc/permissions/privapp-permissions-google-se.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-google-se.xml \ vendor/gms/common/proprietary/system_ext/etc/permissions/privapp-permissions-google-se.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-google-se.xml \
vendor/gms/common/proprietary/system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml vendor/gms/common/proprietary/system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml
@ -268,6 +270,7 @@ PRODUCT_PACKAGES += \
EmergencyInfoGoogleNoUi \ EmergencyInfoGoogleNoUi \
Flipendo \ Flipendo \
AvatarPickerGoogle \ AvatarPickerGoogle \
DeviceConnectivityServicePrebuilt_24.02.00 \
GoogleFeedback \ GoogleFeedback \
GoogleServicesFramework \ GoogleServicesFramework \
SetupWizardPixelPrebuilt \ SetupWizardPixelPrebuilt \

View File

@ -0,0 +1,24 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
This file contains permissions to be granted by default. Default
permissions are granted to special platform components and to apps
that are approved to get default grants. The special components
are apps that are expected tto work out-of-the-box as they provide
core use cases such as default dialer, default email, etc. These
grants are managed by the platform. The apps that are additionally
approved for default grants are ones that provide carrier specific
functionality, ones legally required at some location, ones providing
alternative disclosure and opt-out UI, ones providing highlight features
of a dedicated device, etc. This file contains only the latter exceptions.
Fixed permissions cannot be controlled by the user and need a special
approval. Typically these are to ensure either legally mandated functions
or the app is considered a part of the OS.
-->
<exceptions>
<exception package="com.google.android.apps.pixel.dcservice">
<permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/>
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
</exceptions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright 2021 Google Inc. All Rights Reserved-->
<permissions>
<privapp-permissions package="com.google.android.apps.pixel.dcservice">
<permission name="android.permission.WAKE_LOCK"/>
<permission name="android.permission.QUERY_ALL_PACKAGES"/>
<permission name="android.permission.MODIFY_AUDIO_ROUTING" />
<permission name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<permission name="android.permission.MODIFY_AUDIO_SETTINGS" />
<permission name="android.permission.ACCESS_NETWORK_STATE"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.GET_PACKAGE_SIZE" />
<permission name="android.permission.NFC" />
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.INTERNET" />
<permission name="com.google.android.c2dm.permission.RECEIVE" />
<permission name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<permission name="android.permission.BLUETOOTH" />
<permission name="android.permission.BLUETOOTH_ADMIN" />
<permission name="android.permission.BLUETOOTH_CONNECT" />
<permission name="android.permission.BLUETOOTH_PRIVILEGED" />
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
</privapp-permissions>
</permissions>

View File

@ -112,6 +112,9 @@ product/app/PrebuiltDeskClockGoogle_76004981/PrebuiltDeskClockGoogle_76004981.ap
# Creative Assistant # Creative Assistant
product/priv-app/CreativeAssistant/CreativeAssistant.apk;PRESIGNED product/priv-app/CreativeAssistant/CreativeAssistant.apk;PRESIGNED
# Device Connectivity Service
system_ext/priv-app/DeviceConnectivityServicePrebuilt_24.02.00/DeviceConnectivityServicePrebuilt_24.02.00.apk;PRESIGNED
# Device Personalization Services # Device Personalization Services
product/priv-app/DevicePersonalizationPrebuiltPixel2024-U.32_V.7_playstore_aiai_20240725.00_RC08/DevicePersonalizationPrebuiltPixel2024-U.32_V.7_playstore_aiai_20240725.00_RC08.apk;PRESIGNED product/priv-app/DevicePersonalizationPrebuiltPixel2024-U.32_V.7_playstore_aiai_20240725.00_RC08/DevicePersonalizationPrebuiltPixel2024-U.32_V.7_playstore_aiai_20240725.00_RC08.apk;PRESIGNED
@ -286,6 +289,8 @@ product/etc/permissions/privapp-permissions-google-p.xml
product/etc/permissions/split-permissions-google.xml product/etc/permissions/split-permissions-google.xml
product/etc/permissions/privapp-permissions-google-pearl.xml product/etc/permissions/privapp-permissions-google-pearl.xml
system/etc/permissions/privapp-permissions-google.xml system/etc/permissions/privapp-permissions-google.xml
system_ext/etc/default-permissions/default-permissions-com.google.android.apps.pixel.dcservice.xml
system_ext/etc/permissions/com.google.android.apps.pixel.dcservice.xml
system_ext/etc/permissions/privapp-permissions-google-se.xml system_ext/etc/permissions/privapp-permissions-google-se.xml
system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml system_ext/etc/sysconfig/preinstalled-packages-com.android.google.avatarpicker.xml