政策示例:全托管式设备
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面包含适用于全代管式环境的
设备。
通常情况下,完全受管设备是公司自有设备,专门用于工作
目的。如果设备已完全设置
受管理、Android
Device Policy 会自动将政策设置应用于整个设备。这个
可以将相同的政策应用于全托管式设备和设备
工作资料。
"passwordRequirements": {
"passwordMinimumLength": 6,
"passwordQuality": "ALPHABETIC"
},
"applications": [{
"defaultPermissionPolicy": "GRANT",
"installType": "FORCE_INSTALLED", // Auto-installs app in the work profile
"packageName": "com.google.android.gm"
},
{
"installType": "AVAILABLE", // Adds app to the work profile's managed Play Store
"packageName": "com.google.android.apps.docs"
}],
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis page provides policy settings examples for fully managed, company-owned Android devices used exclusively for work.\u003c/p\u003e\n"],["\u003cp\u003eApplying these settings ensures the entire device adheres to company policies, similar to devices with work profiles.\u003c/p\u003e\n"],["\u003cp\u003eExample settings include enforcing a minimum password length and quality, automatically installing specific apps, and making others available in the managed Play Store.\u003c/p\u003e\n"]]],["Fully managed devices, typically company-owned, have policy settings applied to the entire device via Android Device Policy. This enables consistent policy application across fully managed devices and those with work profiles. Example settings include a minimum password length of six characters, requiring an alphabetic password. Applications can be configured for auto-installation (e.g., Gmail) or availability in the managed Play Store (e.g., Google Docs) with permissions automatically granted.\n"],null,["# Example policies: fully managed device\n\nThis page contains example policy settings for a [fully managed\ndevice](/android/work/overview#fully-managed-devices).\nTypically, fully managed devices are company-owned and used exclusively for work\npurposes. If a device is [set up as fully\nmanaged](/android/management/provision-device#provisioning_methods), Android\nDevice Policy automatically applies policy settings to the entire device. This\nmakes it possible to apply the same policy to fully managed devices and devices\nwith [work profiles](/android/management/policies/work-profile). \n\n```carbon\n\"passwordRequirements\": {\n \"passwordMinimumLength\": 6,\n \"passwordQuality\": \"ALPHABETIC\"\n },\n\"applications\": [{\n \"defaultPermissionPolicy\": \"GRANT\",\n \"installType\": \"FORCE_INSTALLED\", // Auto-installs app in the work profile\n \"packageName\": \"com.google.android.gm\"\n },\n {\n \"installType\": \"AVAILABLE\", // Adds app to the work profile's managed Play Store\n \"packageName\": \"com.google.android.apps.docs\"\n}],\n```"]]