summaryrefslogtreecommitdiffstats
path: root/app/Dialer.qml
AgeCommit message (Collapse)AuthorFilesLines
2019-01-17Replace QtMultimedia usage with 4A + gstreamerflounder_6.0.5flounder_6.0.4flounder/6.0.5flounder/6.0.46.0.56.0.4flounderScott Murray1-1/+0
Replace QtMultimedia usage for ringtone playing with a gstreamer pipeline that uses the provided 4A role ALSA device for output. For now, a "phone" role is assumed to be available, but it does not exist in the current set of 4A policy and HALs, and needs to be added. Testing was done by making the required role changes locally and using some debug QML tweaks to allow triggering the ringtone manually. Bug-AGL: SPEC-1596 Change-Id: I55c2229de1bc5470ee818e5be382b64664fa2d29 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-06-26Remove all static contacts model supportflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.15.99.25.99.1Matt Porter1-1/+0
Remove all of the static contacts model support that was deprecated by the new ContactModel support in libqtappfw. Goodbye, Art McGee! Bug-AGL: SPEC-1436 Change-Id: I4e33d459d389c7d35afceb484eb21541660f9750 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25Refresh the recent call list at the end of each callMatt Porter1-0/+1
Show the most recent call list entries by refreshing the call list using telephony call status notifications. Refresh the recent call list whenever a call is disconnected. The PBAP call history on the mobile device is updated on call disconnect (any time it transitions from incoming/dialed/active to disconnected) Bug-AGL: SPEC-1436 Change-Id: If09d0b8ee2461e4859fa543c99b9321a3cfb3af7 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-22Add support for PBAP RecentCallModelMatt Porter1-5/+4
Replace static data and history currently used in phone app with data populated the the BT PBAP binding. This data is parsed and exposed to QML by the RecentCallModel in libqtappfw. The recent call tab and the mini-recent call bar in the dialer tab now show actual call history from the connected mobile phone. Bug-AGL: SPEC-1436 Change-Id: I287a1daf54ee88985aac85d71215f7fa4e766556 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-18Add PBAP contact name lookup for incoming and outgoing callsMatt Porter1-0/+16
Adds support for searching an incoming or outgoing phone number for a contact name. If found, displays the contact name as appropriately when displaying the incoming or outgoing call information. Bug-AGL: SPEC-1513 Change-Id: I88c7cb4a91abdc34d17cd80e4fccfdcaf2e0d229 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22phone: add tabbed viewMatt Porter1-12/+1
Adds support for a tabbed view of contacts, recent call, and the dialpad. This adjusts the UI to look more like a modern mobile phone app. The same models populate the contacts view and the recent call view as before with the latter being a more useful full screen list. The recent call history also includes type of call information (missed, incoming, outgoing) and the UI displays icons accordingly to indicate type of call that occured as well as a time stamp. For now, the icons are placeholders but will be replaced by icons design to match the AGL look and feel. Bug-AGL: SPEC-1435 Change-Id: I521155a11208e92ece83f20f7f3dd643deb92099 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22phone: add discrete call function parametersMatt Porter1-3/+3
Adjust the call function to accept discrete parameters for the name and phone number to dial. This prepares the app for a reworked UI where the contact model is not always used to invoke a phone call. Bug-AGL: SPEC-1435 Change-Id: I178a7eb6c4854f755abd94234a648f861d5c1326 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-21contacts: handle multiple numbers and typesMatt Porter1-1/+2
The current contact model has a few fixed fields for phone numbers and only one is displayed and able to be dialed from the contacts view. Update the model to support an array of tuples indicating each phone number and type of phone number (mobile, home, work, other) associated with a contact entry. Also, update the ContactsView so we see all phone numbers for a given contact. Bug-AGL: SPEC-1435 Change-Id: Ie883d3f06c0e4102e79546395dbb1712741bac8b Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-11Move call timer functionality from QML into the C++ Phone classMatt Porter1-20/+5
Removes the QML call timer implementation in favor of a C++ implementation in the Phone class. This allows the call timer to be started even if the QML application is in the background (QSG RenderThread not scheduled). Bug-AGL: SPEC-1083 Change-Id: I0cb9087d73862992d25b105f97b830eef5c83ef0 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-09Move ringtone logic from QML to Phone classMatt Porter1-16/+0
Adds a Phone class that implements ringtone logic. This allows for the ringtone to be started/stopped even if the phone app is not visible (QML render thread not executing) and the QML implementation can be removed. Bug-AGL: SPEC-1081 Change-Id: I7d0dd5f167ce1f53477d6c9d8053111996033e4c Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-09Convert phone app to use libqtappfw's Telephony supportMatt Porter1-20/+21
Remove the QML/Javascript websocket and appfw message handling code. This is replaced with libqtappfw's Telephony class which handles all Telephony API binding communication in a separate thread. Bug-AGL: SPEC-1079 Change-Id: I06b352eaf4925fc144c59f8d8f689180376a1f35 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-21Add incoming call rejection to telephony binding and phone UIMatt Porter1-1/+17
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 Porter1-3/+27
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 Porter1-3/+9
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-19Add telephony binding event support and UI call status notificationMatt Porter1-2/+35
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 Porter1-15/+8
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-02-28Import latest code from CES2017 repoScott Murray1-0/+176
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977 Signed-off-by: Scott Murray <scott.murray@konsulko.com>