[转]Here comes Treble: A modular base for Android
来源:互联网 发布:新疆教师网络培训总结 编辑:程序博客网 时间:2024/05/22 10:45
原文
Here comes Treble: A modular base for Android
On the Android team, we view each dessert release as an opportunity to make Android better for our users and our ecosystem partners. One thing we've consistently heard from our device-maker partners is that updating existing devices to a new version of Android is incredibly time consuming and costly.
With Android O, we've been working very closely with device makers and silicon manufacturers to take steps toward solving this problem, and we're excited to give you a sneak peek at Project Treble, the biggest change to the low-level system architecture of Android to date.
Life of an Android Release
First, it's helpful to understand the "life of an Android release". There are several steps a new Android release goes through before getting into the hands of users:
- The Android team publishes the open-source code for the latest release to the world.
- Silicon manufacturers, the companies that make the chips that power Android devices, modify the new release for their specific hardware.
- Silicon manufacturers pass the modified new release to device makers — the companies that design and manufacture Android devices. Device makers modify the new release again as needed for their devices.
- Device makers work with carriers to test and certify the new release.
- Device makers and carriers make the new release available to users.
With Project Treble, we're re-architecting Android to make it easier, faster and less costly for manufacturers to update devices to a new version of Android.
The Vendor Interface
Android was unveiled in 2007 as a free, open-source mobile operating system. From the beginning, we intended Android to be scaled across a variety of manufacturers. We knew that consistency of API was important for developers, so we created a compatibility program for the Developer API specified by the Compatibility Definition Document (CDD) and its associated Compatibility Test Suite (CTS), now comprising over a million tests.
The result today is that app developers can write a single app that works across over a billion devices running on different hardware from different manufacturers.
Project Treble aims to do what CTS did for apps, for the Android OS framework. The core concept is to separate the vendor implementation — the device-specific, lower-level software written in large part by the silicon manufacturers — from the Android OS Framework.
This is achieved by the introduction of a new vendor interface between the Android OS framework and the vendor implementation. The new vendor interface is validated by a Vendor Test Suite (VTS), analogous to the CTS, to ensure forward compatibility of the vendor implementation.
Benefits of Project Treble
Today, with no formal vendor interface, a lot of code across Android needs to be updated when a device moves to a newer version of Android:
With a stable vendor interface providing access to the hardware-specific parts of Android, device makers can choose to deliver a new Android release to consumers by just updating the Android OS framework without any additional work required from the silicon manufacturers:
Project Treble will be coming to all new devices launched with Android O and beyond. In fact, the new Project Treble architecture is already running on the Developer Preview of O for Pixel phones.
In addition to the architectural changes, we're working with our silicon and device partners to take their code changes, such as features for a carrier network in a specific country, and move them into the common Android Open Source Project (AOSP) codebase. For example, Sony and Qualcomm contributed dozens of features and hundreds of bugfixes to Android O so they no longer need to rework these patches with each new release of Android.
We plan to publish the full documentation for Project Treble on source.android.com with the launch of O later this summer.
- [转]Here comes Treble: A modular base for Android
- Dream comes from here
- Here is a good blog spot for Android
- Here Comes Tiburon,Tiburon来了!
- 读书笔记--《未来是湿的》Here Comes Everybody
- Android O 前期预研之一:Android Treble 计划
- Android O 前期预研之一:Android Treble 计划
- Conv Nets: A Modular Perspective
- Conv Nets: A Modular Perspective
- Conv Nets: A Modular Perspective
- Android 4.3 is Here! What Does it Mean for Security?
- Introducing iOS Boilerplate A base template for iOS apps
- A browser for WinCE/Windows base WebKit. (zz)
- Error: Cannot find a valid baseurl for repo: base
- 错误:Cannot find a valid baseurl for repo: base
- Cannot find a valid baseurl for repo: base/7/x86_64
- 10021---Creating a Code Base for Your Project
- centos7 cannot find a valid baseurl for repo base
- Hibernate反向工程使用心得
- AWK中,NR和FNR的区别
- BZOJ1123: [POI2008]BLO
- 909422229_基于JavaWeb的poi_Excel导出
- 摄像头的像素与分辨率之间的关系
- [转]Here comes Treble: A modular base for Android
- 红色警报!intel数百万工作站和服务器芯片隐藏安全漏洞!
- 跨域,跨域单点登录,ajax跨域
- 对于继承封装的理解
- Webpack 热部署检测不到文件变化问题
- layui-日期控件
- C# MVC 生成带LOGO的二维码并返回到客户端
- django保存自动生成的图片到数据库
- 抽象类,接口