2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
OnDevicePersonalization
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 13에 도입된 OnDevicePersonalization 모듈은 사용자 개인 정보 보호를 핵심 원칙으로 하여 개발된 기본 구성 요소 조합을 제공합니다. 제공되는 기본 구성 모음의 예로는 사용자 데이터의 인그레스, 이그레스, 허용 목록에 포함된 작업을 보호하는 정책 엔진이 있습니다. 사용자 제어는 이 정책 엔진에서 시행하는 정책으로 표현할 수 있습니다.
제공되는 기본 구성 요소의 또 다른 예로는 머신러닝 모델의 공동 학습 및 중앙 데이터 수집 없는 로컬 원시 데이터 분석을 지원하는 제휴 학습 및 제휴 분석과 같은 다양한 제휴 컴퓨팅이 있습니다.
OnDevicePersonalization은 데이터 수집, 동의, 제어 및 규정 준수에서 발생하는 병목 현상이 제거된 개발자 환경을 만들려고 합니다.
이를 통해 OEM과 앱 개발자는 애플리케이션에서 새롭고 의미론적으로 흥미 있는 부분에 집중하고 기기에서만 사용할 수 있는 매우 풍부한 실시간 데이터를 활용할 수 있습니다.
동기
OnDevicePersonalization 모듈의 목표는 OEM과 앱 개발자가 사용자 정보를 비공개로 유지하면서 최종 사용자에게 계속해서 우수한 맞춤설정 환경을 제공할 수 있는 새로운 기술을 빌드하는 것입니다.
모듈 경계
이 모듈은 모듈 경계가 없는 새로운 코드입니다.
코드 위치: packages/modules/OnDevicePersonalization
그림 1은 OnDevicePersonalization 모듈 API 설계를 보여줍니다.

그림 1. OnDevicePersonalization 모듈 API 설계
패키지의 주요 기능은 APEX 형식(com.google.android.ondevicepersonalization
)으로 사용할 수 있습니다.
OnDevicePersonalization API 기능은 APK com.google.android.ondevicepersonalization
에서 사용할 수 있습니다.
FederatedCompute API 기능은 com.google.android.federatedcompute
APK로 제공됩니다.
종속 항목
- 새 매니페스트 태그를 해석하기 위한 PackageManager의 변경사항
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-01-31(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-01-31(UTC)"],[],[],null,["# OnDevicePersonalization\n\nThe OnDevicePersonalization module, introduced in Android 13,\nprovides a set of building blocks developed with user privacy as their core\ntenet, to support development of APKs that offer a personalized experience for\ntheir users. Examples of the building blocks provided include a policy engine\nto guard the ingress, egress, and allow-listed operations of user data. User\ncontrols can be expressed as policies that are enforced by this policy engine.\nAnother example of the building blocks provided includes various federated\ncomputations, such as\n[federated learning](https://ai.googleblog.com/2017/04/federated-learning-collaborative.html)\nand [federated analytics](https://ai.googleblog.com/2020/05/federated-analytics-collaborative-data.html),\nthat enable collaborative training of machine learning models and analysis of\nlocal raw data without central data collection.\n\nOnDevicePersonalization attempts to create a developer experience that removes\nbottlenecks that arose from data collection, consent, control and compliance.\nThis allows OEMs and app developers to focus on the novel and semantically\ninteresting parts of their applications and take advantage of the super-rich and\nreal-time data that's available only on the devices.\n\nMotivation\n----------\n\nThe goal of the OnDevicePersonalization module is to build new technology to\nenable OEMs and app developers to continue to offer a quality personalization\nexperience to their end users while keeping user information private.\n\nModule boundary\n---------------\n\nThis is all new code with no module boundary.\n\nCode Location: `packages/modules/OnDevicePersonalization`\n\nFigure 1 shows the OnDevicePersonalization module API design.\n\n**Figure 1.** OnDevicePersonalization module API design\n\nPackage format\n--------------\n\nMain functionality for the package will be available in APEX\n`com.google.android.ondevicepersonalization`.\n\nOnDevicePersonalization API functionality will be available in APK\n`com.google.android.ondevicepersonalization`.\n\nFederatedCompute APIs functionality will be available in APK\n`com.google.android.federatedcompute`.\n\nDependencies\n------------\n\n- Changes in PackageManager to interpret the new manifest tag"]]