# # Copyright (C) 2017 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. #
# Include all languages
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Enforce generic ramdisk allow list
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
# Set Vendor SPL to match platform
VENDOR_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
# Set boot SPL
BOOT_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH)
PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true
PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.batch_writes=true # Opt in for ublk based OTA for testing
PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.ublk.enabled=true
# Enable Scoped Storage related
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Properties that are not vendor-specific. These will go in the product # partition, instead of the vendor partition, and do not need vendor # sepolicy
PRODUCT_PRODUCT_PROPERTIES += \
remote_provisioning.hostname=preprod-remoteprovisioning.googleapis.com \
persist.adb.tcp.port=5555 \
ro.com.google.locationfeatures=1 \
persist.sys.fuse.passthrough.enable=true \
remote_provisioning.tee.rkp_only=1
# Until we support adb keys on user builds, and fix logcat over serial, # spawn adbd by default without authorization for "adb logcat" ifeq ($(TARGET_BUILD_VARIANT),user)
PRODUCT_PRODUCT_PROPERTIES += \
ro.adb.secure=0
# TODO(b/218588089) remove this once cuttlefish can drop HIDL. # This adds hwservicemanager and the allocator service to the device.
PRODUCT_PACKAGES += \
hwservicemanager \
android.hidl.allocator@1.0-service
# # Weaver aidl HAL # # TODO(b/262418065) Add a real weaver implementation
# # Authsecret AIDL HAL #
PRODUCT_PACKAGES += \
com.android.hardware.authsecret
ifndef LOCAL_AUDIO_PRODUCT_PACKAGE # # Still use HIDL Audio HAL on 'next' #
LOCAL_AUDIO_PRODUCT_PACKAGE += \
android.hardware.audio.parameter_parser.example_service \
com.android.hardware.audio
PRODUCT_SYSTEM_EXT_PROPERTIES += \
ro.audio.ihaladaptervendorextension_enabled=true
PRODUCT_PRODUCT_PROPERTIES += \
aaudio.mmap_policy=2 \
aaudio.mmap_exclusive_policy=2 \
aaudio.hw_burst_min_usec=2000 endif
# Indicate that KeyMint includes support for the ATTEST_KEY key purpose.
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml # Indicate that KeyMint includes (emulated) support for device ID attestation.
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml
# # Non-secure implementation of AuthGraph HAL for compliance. #
PRODUCT_PACKAGES += \
com.android.hardware.security.authgraph
# # Non-secure implementation of Secretkeeper HAL for compliance. #
PRODUCT_PACKAGES += \
com.android.hardware.security.secretkeeper
# # Power and PowerStats HALs #
PRODUCT_PACKAGES += com.android.hardware.power
# # Tetheroffload HAL #
PRODUCT_PACKAGES += \
com.android.hardware.tetheroffload
# Indicates that Cuttlefish has NPU support
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.npu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.npu.xml endif
# USB
PRODUCT_PACKAGES += \
com.android.hardware.usb
# BootControl HAL
PRODUCT_PACKAGES += \
com.android.hardware.boot \
android.hardware.boot-service.default_recovery
# Memtrack HAL
PRODUCT_PACKAGES += \
com.android.hardware.memtrack
# Need this so that the application's loop on reading input can be synchronized # with HW VSYNC
PRODUCT_VENDOR_PROPERTIES += \
ro.surface_flinger.running_without_sync_framework=true
# Enable GPU-intensive background blur support on Cuttlefish when requested by apps
PRODUCT_VENDOR_PROPERTIES += \
ro.surface_flinger.supports_background_blur=1
# Set Game Default Frame Rate # See b/286084594
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.game_default_frame_rate_override=60
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.