Android는 멀티 사용자 설정과 앱, 데이터를 지원합니다. Android Automotive는 Android의 멀티 사용자 지원을 통해 공유 기기 환경을 제공합니다. 이 환경에서 각 기기 사용자는 다양한 실제 개인이 사용하기 위한 계정입니다. Android 10부터 Android Automotive는 다음 유형의 사용자를 지원합니다.
헤드리스 시스템 사용자: 헤드리스 시스템 사용자는 백그라운드에서 실행되며 모든 시스템 서비스를 호스팅합니다. Automotive에서 시스템 사용자는 실제 개인이 사용하기 위한 것이 아니며 직접 액세스할 수도 없습니다.
일반 사용자:
Automotive 기기는 공유 기기이며 각 사용자는 다양한 실제 개인이 사용하기 위한 계정입니다. Android 사용자에는 다양한 역할이 있습니다. 자세한 내용은 아래의 역할 및 제한사항을 참고하세요. Automotive에서 일반 사용자는 모두 보조 사용자입니다.
게스트 사용자: Automotive 사용자는 차량을 빌리는 임시 사용자(예: 친구)를 포함할 수 있습니다. 이와 같은 용도를 수용하기 위해 Android Automotive는 게스트 사용자에게 차량을 사용하는 데 필요한 모든 구성요소에 액세스할 수 있는 권한을 제공합니다. 기기에서 한 번에 한 명의 게스트 사용자만 정의할 수 있습니다.
다음 다이어그램은 Automotive 헤드리스 시스템 사용자 모드가 멀티 사용자 환경을 지원하는 방식을 보여줍니다.
차량은 다양한 개인이 운전할 수 있는 공유 기기입니다. 각 개인은 각자의 고유한 앱 및 데이터를 보유하는 고유한 사용자를 가질 수 있습니다. 그러나 차량 소유자는 모든 사용자가 동일한 기기 수정 기능을 갖는 것을 원하지 않을 수 있습니다. 따라서 Automotive는 사용자에게 서로 다른 역할 및 제한사항을 제공하는 개념을 지원합니다. 지원되는 사용자 역할은 다음과 같습니다.
관리자: 기본적으로 관리자 역할을 보유한 일반 사용자는 모든 작업을 실행할 수 있습니다. 관리자는 다른 사용자에게 관리자 역할을 부여할 수 있습니다.
비관리자: 기본적으로 비관리자 역할을 보유한 일반 사용자는 기기를 초기화하거나 자신에게 관리자 역할을 부여하거나 다른 사용자를 삭제할 수 없습니다.
게스트: 기본적으로 게스트 사용자는 기기를 초기화하지도 다른 사용자를 삭제하지도 못합니다. 기본적으로 게스트 사용자에게는 계정을 수정(추가 또는 삭제)하거나 앱을 설치하거나 잠금 화면을 적용할 수 없는 등의 다른 제한사항이 있습니다. 또한 기본적으로 게스트는 임시적입니다.
위에서 언급했듯이 각 역할에는 기본적인 제한사항이 있으므로 해당 역할로 생성되는 신규 사용자에게는 각각 동일한 제한사항이 적용됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-05-07(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-05-07(UTC)"],[],[],null,["# Multi-user support\n\nAndroid supports [multiple users](/docs/devices/admin/multi-user#general_defs)\nsettings, apps, and data. Android Automotive relies on Android's multi-user support\nto provide a shared device experience, wherein each device user is intended to be used by a\ndifferent physical person. In Android 10 and higher, Android\nAutomotive supports these types of users:\n\n- **[Headless\n system user](/docs/devices/admin/multi-user#automotive-user-types).** The headless system user runs in the background and hosts all system services. For Automotive, the system user isn't intended to be used, nor directly accessed, by a physical person.\n- **[Regular user](/docs/devices/admin/multi-user#automotive-user-types).** Automotive devices are shared devices and each user is intended to be used by a different physical person. Android users can have different roles. See [Roles and restrictions](#roles-restrictions) for more information. In Automotive, all regular users are secondary users.\n- **Guest user.** Automotive users can include temporary users, such as friends, who borrow a vehicle. To accommodate uses like this, Android Automotive provides a guest user with access to all components needed to use the vehicle. Only one guest user can be defined on a device at a time.\n\n| **Note:** The primary user flag ([FLAG_PRIMARY](https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android10-release/core/java/android/content/pm/UserInfo.java#46)) isn't yet supported in the Automotive headless system user model.\n\nThe following diagram illustrates how the Automotive headless system user mode\nsupports the multi-user experience:\n\n**Figure 1.** Multi-user experience.\n\nTo learn more, see [Android Automotive multi-user](/docs/devices/admin/multi-user#automotive-multi-user).\n\nRoles and restrictions\n----------------------\n\nVehicles are shared devices that may be driven by different people. Each person\ncan have their own user, each with their own apps and data. However, a vehicle owner may\nnot want all users to have the same ability to modify the device. Therefore, Automotive supports\nthe concept of providing users with different roles and restrictions. The following user roles are\nsupported:\n\n- **Admin.** By default, regular users with the role of admin can perform *every* task. Admin users can grant the admin role to other users.\n- **Non-admin.** By default, regular users with the role non-admin can't factory data reset the device, grant themselves an admin role, or delete other users.\n- **Guest.** By default, a guest user can neither factory data reset the device nor delete other users. By default, a guest user has other restrictions, such as not being able to modify (add or remove) accounts, install apps, or apply a lockscreen. By default, guest is also ephemeral.\n\nAs stated above, each role has a default set of restrictions so that a new\nuser created with that role has the same respective restrictions."]]