一句话:揭示 Android OEM 通过复制粘贴 AOSP 与其他 OEM API 代码引入私有 API(Replicas),从而加剧 API 泛滥。
本文报告并研究一种加剧 Android API sprawl(API 泛滥)的现象。作者观察到,OEM 开发者会引入一类私有 API,其实现是通过复制粘贴编辑 AOSP 以及其他 OEM API 的全部或部分代码而得到的,论文将这类 API 称为 Replica。围绕这一现象,作者对真实 Android 生态中的 Replicas 展开纵向分析,考察其构成方式与随时间演化的特征,说明复制粘贴式的代码复用如何在 OEM 之间扩散 API、进而推动 API 数量膨胀。该工作为理解 Android 碎片化生态中私有 API 的来源与传播机制提供了实证视角,并指出 Replicas 是 API sprawl 的重要成因之一。
In this work, we report and study a phenomenon that contributes to Android API sprawls. We observe that OEM developers introduce private APIs that are composed by copy-paste-editing full or partial code from AOSP and other OEM APIs - we call such APIs, Replicas.
DOI 原文 ·
@inproceedings{paperbot8377,
title = {A Longitudinal Analysis Of Replicas in the Wild Wild Android},
author = {Syeda Mashal Abbas Zaidi and Shahpar Khan and Parjanya Vyas and Yousra Aafer},
booktitle = {ASE},
year = {2024},
doi = {10.1145/3691620.3695546}
}