自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
拨号器是一种 Android 系统应用,可为蓝牙通话、联系人浏览和通话管理提供经过防分心优化 (DO) 的体验。DialerAndroid 开源项目 (AOSP) 中提供了拨号器的全功能实现。此实现可以按原样使用,也可以与自定义视觉主题结合使用。
图 1. 拨号器竖屏模式和横屏模式
术语
本部分会用到以下术语:
-
Android 开源项目 (AOSP)。一个适用于移动设备的开源操作系统,以及由 Google 主导的对应开源项目。
-
经防止分散注意力优化 (DO)。符合用户体验限制 (UXR) 的用户流程,在驾车过程中非常安全。
-
浮动通知 (HUN)。屏幕上显示的传入通知。
-
用户体验限制 (UXR)。根据驾驶状态显示界面的应用必须遵守 UXR。
-
界面 (UI)。用户控制与应用互动的途径。
-
面向车辆优化 (VO)。不需要遵守 UXR 的用户流程,在驾车过程中不被认为是安全的,但已经过车内使用优化。
用途
本部分介绍如何使用 Android Automotive 构建完全合规的 Android UXR 电信系统。
功能
拨号器可提供以下功能:
状态 |
权能 |
任务 |
在驾车时, 防止分散注意力优化功能 |
蓝牙通话 |
- 从拨号键盘拨打电话。
- 从联系人列表拨打电话。
- 从“近期通话”列表中拨打电话。
- 从“联系人详细信息”页面拨打电话。
- 通过浮动通知接收来电,然后回应。
- 从通知中心对未接电话回电。
- 通话管理、暂停、静音、等待、切换和设置音频路由。
|
联系人和通话记录浏览 |
- 显示顶层类别。
- 浏览所有收藏的联系人。
- 浏览近期通话列表。
- 浏览联系人列表。
- 查看“联系人详细信息”页面。
- 导航到相应联系人地址。
|
使用语音或手写搜索(在键盘上) |
- 显示匹配的搜索结果。
- 查看过滤后的联系人的详细信息。
|
在停车时,以上所有功能以及: |
设置 |
在安全的情况下,用户可以访问“设置”以执行以下操作:
- 更改联系人列表的排列顺序。
- 更改初始页,该页面将在下次重启后生效。
|
使用键盘搜索 |
停车后,用户可以执行搜索。 |
连接蓝牙 |
在停车后,如果手机没有连接蓝牙,用户可按下“连接到蓝牙”按钮转到系统“蓝牙设置”页面进行配对,然后连接设备。 |
Tasks
下表介绍了每位利益相关方的任务。
汽车制造商 (OEM) |
Google |
使用 Android Automotive 构建完全兼容的 Android UXR 电信系统。 |
提供:
- AOSP 中的拨号器实现。
- 关于自定义和审核/认证过程等关键任务的文档。
|
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Overview\n\n*Dialer* is an Android system application that provides a distraction-optimized (DO)\nexperience for Bluetooth calling, contact browsing, and call management. A fully functional\nimplementation of Dialer is provided in the Android Open Source Project (AOSP). This\nimplementation can be used as is or with a customized visual theme. \n**Figure 1.** Dialer portrait and landscape modes\n\nTerminology\n-----------\n\nThese terms are used throughout this section:\n\n- **Android Open Source Project (AOSP).** An open source operating\n system for mobile devices and a corresponding open source project led by Google.\n\n- **Distraction Optimized (DO).** User flow that adheres to User Experience\n Restrictions (UXR) and that is safe during driving.\n\n- **Heads Up Notification (HUN).** An incoming notification that\n appears on a display.\n\n- **User Experience Restrictions (UXR).** Applications that display a\n user interface dependent upon driving state must adhere to UXR.\n\n- **User Interface (UI).** The means by which users control\n interactions with applications.\n\n- **Vehicle Optimized (VO).** User flow that is not required to follow\n UXR and is not considered safe during driving, but that has been optimized for use\n in a car.\n\nPurpose\n-------\n\nThis section explains how to build a fully-compliant Android UXR telecom system with\nAndroid Automotive.\n\nFeatures\n--------\n\nDialer provides these capabilities:\n\n| State | Capability | Task |\n|------------------------------------------------------|--------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| While ***driving*** , Distraction Optimized features | Bluetooth calling | - Make a call from the dialpad. - Make a call from the Contact list. - Make a call from the Recent Call list. - Make a call from the Contact Detail page. - Receive an incoming call through a heads up notification and then respond. - Return a missed call from the Notification center. - Call management, Pause, Mute, Hold, Swap, and Set Audio Route. |\n| While ***driving*** , Distraction Optimized features | Contact and call log browsing | - Display top-level categories. - Browse all Favorite contacts. - Browse the Recent Call list. - Browse the Contact list. - View the Contact Details page. - Navigate to a Contact address. |\n| While ***driving*** , Distraction Optimized features | Search with voice or handwriting (on a keyboard) | - Show matching search results. - View the contact details of filtered contacts. |\n| While ***parked*** , everything above *and*: | Settings | When safe, users can access Settings to: - Change the sort order of Contact list. - Change the start page, which will be effective after the next restart. |\n| While ***parked*** , everything above *and*: | Search, using keyboard | While parked, users can perform searches. |\n| While ***parked*** , everything above *and*: | Connect to Bluetooth | If no phones are connected through Bluetooth when parked, users can press the Connect to Bluetooth button to navigate to the system Bluetooth Settings page to pair and then connect a device. |\n\nTasks\n-----\n\nThis table describes the tasks of each stakeholder.\n\n| Car Manufacturers (OEMs) | Google |\n|-----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| Build a fully-compliant Android UXR telecom system with Android Automotive. | Provide: - A Dialer implementation in AOSP. - Documentation for key tasks such as customization and review/certification processes. |"]]