summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08telephony-binding: convert to v2 bindingMatt Porter8-85/+71
Convert the telephony-binding to the v2 binding format. Also move to AFB_ message macros and remove propagation of the interface struct. Bug-AGL: SPEC-814 Change-Id: Ic9ce86f59af01ce00cece4e29cd5fe36afa7d74c Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-24Add additional error checking/reporting to the telephony bindingdab_3.99.1dab/3.99.13.99.1Matt Porter3-26/+45
Adds additional error checking and reporting to the binding so that errors resulting from lack of a telephony modem can be reported at init. This fixes the issue where the phone app crashes and the afb-daemon can only report a segfault on start. AGL-Bug: SPEC-621 Change-Id: Ie3e12cb69a2a04cf7308e6bd244add581b8578db Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-21Add incoming call rejection to telephony binding and phone UIMatt Porter2-1/+21
Adds support for disconnection of an alerting incoming call to the telephony binding via the hangup verb. This is support in the phone UI by an additional button being loaded in the incoming call state allowing the user to decline to answer the call or use the already present answer call button to accept it. AGL-Bug: SPEC-601 Change-Id: I56ad0b813c0f1f24688709d180c3c061d7511651 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-20Add support for UI display of phone call durationMatt Porter5-11/+99
Adds support to the telephony binding for generating events when a call's state changes to active or disconnected states (when a remote/local party answers or disconnects the call). These events are used to drive a call duration display in the phone app UI. AGL-Bug: SPEC-599 Change-Id: Ib4b0b115ca1d0573a7ae046082627f561f0d8d8a Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Add support for answering calls to the telephony binding and UIMatt Porter5-3/+38
Adds an answer verb and associated incoming call lifecycle management to the telephony binding. Leverages the binding answer support to activate the call answer button when the binding reports that we are in an incoming call state. Once the incoming call is answered, the ring tone is deactivated. AGL-Bug: SPEC-600 Change-Id: I4f2db2d248cfd0f4945fc17d450e9b691061cc9e Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Refactor telephony binding voicecall object managementMatt Porter3-21/+30
Refactor the voicecall object lifecycle management in the telephony binding using g_object-derived handles. Instead of passing around and managing raw strings as a handle to a voicecall, we use the voicecall object itself returned from the new dbus proxy init. This simplifies memory management of these objects that are created and freed each time as calls are dialed/answered and terminated. It then simplifies the forthcoming call answering support. AGL-Bug: SPEC-600 Change-Id: I89efed1eb7927f4ffe2d1eaed295e0aa914efdcc Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Add telephony binding event support and UI call status notificationMatt Porter6-20/+142
Add supports for incoming call, dialing call, and terminated call events in the telephony binding. The phone UI is enhanced to make use of these telephony binding events to display a notifications of phone call status. These include generate a ring tone and displaying incoming phone number information, outgoing phone number being dialed, and halt of the ring tone and clearing of the notification space when a call is terminated. AGL-Bug: SPEC-598 Change-Id: Ied610b70c2e6edb1f631decd417cdbd39746a558 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Dial and hangup from a voice call using the dial padMatt Porter3-15/+100
Adds support for initiating and hanging up a voice call from the phone app dial pad. This support leverages the basic telephony binder API and pulseaudio as an ofono agent. AGL-Bug: SPEC-597 Change-Id: I94e8c64a76164f04c6573d7126a8cc725b3c679d Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Add basic telephony bindingMatt Porter24-3/+8868
Adds a basic telephony binding which supports dial and hangup operations via ofono. Bluetooth HFP is the only modem type supported now, with SIM support expected in the future. AGL-Bug: SPEC-597 Change-Id: Icb302533c368fe37a181601c30f49294ad292a6b Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-02-28Import latest code from CES2017 repoScott Murray56-0/+19591
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-02-28Initial empty repositoryJan-Simon Moeller0-0/+0