Android Oreo系统移植上需要注意的更新

移动开发 waitig 2083℃ 百度已收录 0评论

以下是Android Oreo版本的主要更新,平台移植相关的开发者需要关注并做适配。

本文列举出对应features,后续移植过程中遇到的问题会进行分享交流。


Implementing USB HAL

The Android O release moves handling of USB commands out of init scripts and into a native
USB daemon for better configuration and code reliability. For more information, see
Implementing USB HAL in Android O .

Kernel enhancements to LLDB/C++ debugging
The Android O release includes kernel enhancements that help developers create better
applications by improving their debugging experience. For more information, see Implementing
kernel enhancements to LLDB/C++ debugging in Android O .

Enabling sanitizers in the Android build system
Sanitizers are compiler-based instrumentation components to use during development and
testing in order to identify bugs and make Android better. Android’s current set of sanitizers can
discover and diagnose memory misuse bugs and potentially dangerous undefined behavior. For
more information, see Enabling Sanitizers in the Android Build System .

Android TV O Overview
You can see an overview of changes and new features for Android TV in the O release. More
detailed TV-specific feature docs are coming shortly! For more information, see Android
O for

TV device partners .


Storaged

Android O adds support for storaged ,
an Android native daemon that collects and publishes

storage metrics on Android devices. For more information, see Implementing Storaged in

Android O .


Optimizing SquashFS at the Kernel Level
SquashFS is a compressed read-only filesystem for Linux, suitable for use on the system
partition. The optimizations in this document help improve the performance of SquashFS. For
more information, see Optimizing SquashFS at the Kernel Level .

Vehicle Camera HAL
Describes the design of an exterior view system (EVS) stack and provides the HAL specification
for supporting the acquisition and presentation of vehicle camera data. For more information,
see Exterior View System (EVS) Vehicle Camera HAL.


Picture-in-picture
Android O includes support for picture-in-picture (PIP) on Android handheld devices. PIP allows
users to resize an app with an ongoing activity, such as a video, into a small window. For more
information, see Android O—Picture-in-Picture on Android handsets .

Kernel Hardening
Upstreamed kernel hardening features and tools to find bugs in kernel drivers. For more
information, see Implementing kernel hardening in Android O .

Android Verified Boot
Android O includes a reference implementation of Verified Boot (AVB): this doc covers how to
implement AVB for your boot loader. For more information, see Android
O—Implementing

Android Verified Boot .

Flash Wear Management
Describes eMMC behavior and new features to help OEMs lower the risk of a failing eMMC in
the automotive environment. For more information, see Flash Wear Management
in Android

Automotive .

Optimizing Boot Times
Partner guidance for improving boot times for specific Android devices. For more information,
see Optimizing boot times in Android O .

VDEX files: Improve System Update Performance

VDEX files improve the performance and user experience of software updates. VDEX files store

pre-validated DEX files with verifier dependencies so that during system updates ART does not

need to extract and verify the DEX files again. No partner action is needed to implement this

feature. It is enabled by default. To disable the feature, set the ART_ENABLE_VDEX

environment variable to false .


本文由【waitig】发表在等英博客
本文固定链接:Android Oreo系统移植上需要注意的更新
欢迎关注本站官方公众号,每日都有干货分享!
等英博客官方公众号
点赞 (0)分享 (0)