summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-04libqtappfw: mediaplayer: add connect/disconnect methodsflounder_6.0.3flounder/6.0.36.0.3Matt Ranostay2-0/+11
Allow libqtappfw middleware to connect/disconnect avrcp/a2dp profiles. Bug-AGL: SPEC-1630 Change-Id: Idd160ccddc90a211af3c43b19a731d6df6ae8b1e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit 14e7b0492cd83bff966491bb654e0a18d5411732)
2018-11-29libqtappfw: pkg-config: add Qt5WebSockets to requiredMatt Ranostay1-0/+1
Add Qt5WebSockets to Required define in qtappfw.pc.in to allowing linking applications to get proper dependencies. Change-Id: I728f2f9ae54f22aa3ebc4e861005eab1691da9a7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-21libqtappfw: bluetooth: send out power eventMatt Ranostay1-3/+10
Send power event when device_changes powered parameter is detected Bug-AGL: SPEC-1630 Change-Id: I0170eafa03ce28ab9f907a37bcf7fefa9e205e33 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-21libqtappfw: bluetooth: update to rewrite of bluetooth bindingMatt Ranostay3-105/+112
Bug-AGL: SPEC-1630 Change-Id: I705df82deefa371afa1f1d6ee57bb5457479408d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-21libqtappfw: bluetooth: remove avrcp_controlsMatt Ranostay2-13/+0
Bluetooth avrcp controls will be moved into their own respective binding in the near future. Bug-AGL: SPEC-1630 Change-Id: I688cc19c2e30957f507cdcda54bf5a2f863317d5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-12libqtappfw: remove deleteLater instances that aren't usedflounder_6.0.2flounder_6.0.1flounder_6.0.0flounder_5.99.7flounder/6.0.2flounder/6.0.1flounder/6.0.0flounder/5.99.76.0.26.0.16.0.05.99.7Matt Ranostay7-32/+31
Remove several deleteLater calls that should have been delete's. This should solve race conditions that an object calls deleteLater(), and leaves scope before the QT main loop is called. Outcome of the race condition is that sometimes the memory allocator reallocates it to another message and causes a crash. Bug-AGL: SPEC-1680 Change-Id: Ic83d8c6c204c6e3248bbe9a9def1842e1e384b2b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit 051bf8e79c99699704032b7b943459a30aae22c8)
2018-09-10Add gitreview file for flounder branchJan-Simon Möller1-1/+2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-30Merge "network: add wifiStrength property"flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.35.99.65.99.55.99.45.99.3Matt Porter4-1/+23
2018-07-30Remove useless QtDeclarative cmake packageMatt Porter1-1/+1
Qt5Declarative has been deprecated by Qt5Qml, so use the Qt5Qml cmake package. Bug-AGL: SPEC-1541 Change-Id: I293dc4a7e8713e982feb01fb49afe6c2cb31e8a1 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-27network: add wifiStrength propertyMatt Porter4-1/+23
Add a wifiStrength property which exposes the signal strength of the currently connected network. This is intended to be used by global status indicators, such as a status bar WiFi strength indicator. Bug-AGL: SPEC-1626 Change-Id: I7285b04095bc67278c862fc363a2dfbfff57d44d Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25network: add network modelMatt Porter3-2/+419
Add the top-level network model. Supports connect, disconnect, power, and input invokables. Supports high-level WiFi enabled (powered) and connection status properties. Exposes the ConnMan-managed WiFi network list to QML. Bug-AGL: SPEC-1541 Change-Id: I623579aa6753ece4b4c0b78adef528732e1b41f3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25network: add wifinetworkmodelMatt Porter4-2/+239
Add WifiNetworkModel which exposes a QAbstractListModel of WiFi networks to QML. Bug-AGL: SPEC-1541 Change-Id: I1f4d41f1d1ceaa9b06a4b3df8b0b1cf41ea97ed2 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-25add responsemessage.h to headersMatt Porter1-1/+1
Add responsemessage.h to the list of headers. This fixes the bug where it is not installed to the SDK. Bug-AGL: SPEC-1615 Change-Id: I77bf1bf3577166153573986cd379a1054553435e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10add base network module supportflounder_5.99.2flounder/5.99.25.99.2Matt Porter6-0/+89
Add support for new network binding messages. This is a prerequisite for the new network services list model. Bug-AGL: SPEC-1541 Change-Id: I204914b991016145958114b1e0e914eaf5b599fa Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-29libqtappfw: mediaplayer: change from JSON objects to proper Qt modelMatt Ranostay2-4/+83
Switch to using proper Qt model versus JSON objects being passed to QML Bug-AGL: SPEC-1430 Change-Id: Ic07a355fee3292d113bc62bee9acb0764a0a5458 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-29libqtappfw: vimrc: add correct settings for header filesMatt Ranostay1-0/+1
Change tabspacing and shifting to 4 spaces with expandtab to match current formatting. Change-Id: I3666d590c7bcc77cdf3f727fcbe87686dd5adc93 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-26pbap: add PBAP data backed ContactsModelflounder_5.99.1flounder/5.99.15.99.1Matt Porter2-10/+28
Expose the PBAP phonebook as a QList of Contact QObjects. Each contact has a variable amount of PhoneNumber objects exposed as a list property. PhoneNumber objects carry both the value and type of phone entry (mobile, work, etc.) Bug-AGL: SPEC-1436 Change-Id: Id22f394c13fd842e36c7866342ed7785b243a27b Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-26pbap: sort and trim contact listMatt Porter2-0/+14
Sort the contacts list alphabetically and trim out bogus entries. Bug-AGL: SPEC-1436 Change-Id: I71e4311bb7638750732ba27fbeaa76c063113c46 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25pbap: clear the recent call list before updatingMatt Porter1-0/+2
The recent call list was being appended rather than reinitialized from the new data. Always clear the list before an update. Bug-AGL: SPEC-1436 Change-Id: I8062606ab84fca75bdc70a68e41b7890fdf8a150 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25Reorg binding-specific modules into subdirectoriesMatt Porter26-9/+58
Move binding-specific code into per-binding subdirectories. This separates the core message engine code and simplifies adding new binding-specific modules. Bug-AGL: SPEC-1525 Change-Id: I8fc545e3af375e2ed9e79a41363b7ade97e9b20a Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-22pbap: add contacts support and recent call modelMatt Porter4-6/+344
Add support for parsing contacts and recent call data from the PBAP-provided vCards using libvcard. Expose a recent call list model and interfaces to refresh the data. Bug-AGL: SPEC-1436 Change-Id: Ia4a02443e22e4a27dc974ef414b765667b26ff83 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-14Add core Bluetooth PBAP supportMatt Porter7-2/+194
Adds minimal Bluetooth PBAP message and models. Implements search invokable to support phone number to name lookup of incoming and originated calls. Bug-AGL: SPEC-1438 Change-Id: Ic5a68d933b5d6b4f4da3e4c8c5c5a0f59a93f34c Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-13message: add response message supportMatt Ranostay9-40/+182
Add support for callid sequencing, and request data being included with the response message. Bug-AGL: SPEC-1404 Change-Id: I259ae3da68e55de17eafe9db534258db5fbc3ef8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-10libqtappfw: mediaplayer: switch from QJsonObject to QVariantMapMatt Ranostay2-4/+4
Use more generic QVariantMap in signals to avoid requiring a consumer from using QJsonObject includes. Bug-AGL: SPEC-1375 Change-Id: I4efba63a464c7c6da2f06abb4cf17b6782c57f43 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-07libqtappfw: bluetooth: add missing parameter to powerChanged() signalMatt Ranostay2-3/+3
Pass along the *state* parameter to the powerChanged signal for reporting bluetooth state Change-Id: Idbb283c9c5a46a3ed58f59ffb58983f6e585e3d3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-30libqtappfw: message: fix memory leak with QJsonArrayMatt Ranostay2-6/+12
QJsonArray object was being allocated on the heap and never freed. Switch to having a m_request member field and confirming it is only populated with data once. Change-Id: I60f406eff032650cac878efa7e1db61ee18e2eb2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-21libqtappfw: bluetooth: add initial avrcp controlsMatt Ranostay2-0/+26
To allow the Mediaplayer application to control avrcp there needs to be a callable set_avrcp_controls() function Bug-AGL: SPEC-1385 Change-Id: I10d9cbaca5688548b8fb174754c19874e2357fab Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19libqtappfw: bluetooth: add initial agl-service-bluetooth supportMatt Ranostay7-2/+379
Add initial support for libqtappfw of the agl-service-bluetooth binding to allow removal of QML logic from the Settings application Bug-AGL: SPEC-1385 Change-Id: Iea909af113590667d619afcf09c50523c1c34035 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-18libqtappfw: add response data reportingMatt Ranostay2-2/+17
Report back response data that respective messages can process and emit via QT signals Bug-AGL: SPEC-1385 Change-Id: I2a82dd9b85855a20fdd8f03cb82ad5ac0920d8c4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-17vimrc: change noexpandtab to expandtabMatt Ranostay1-1/+1
Acutally cpp/c++ files are expanding tabs to spaces Bug-AGL: SPEC-1387 Change-Id: Ia1418d09967745efb2098bac2cba375a72add2df Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-11vimrc: add project startup file for vimMatt Ranostay1-0/+1
To avoid corrupting syntax in project we need to add an per project .vimrc to signal formatting. You must enable in user home directory .vimrc with 'set exrc' and 'set secure' lines Bug-AGL: SPEC-1387 Change-Id: I5c1ca4094f88e6ee9bf3fd921c6b8059d7027303 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-10Merge "libqtappfw: mediaplayer: initial agl-service-mediaplayer binding support"Matt Porter7-2/+308
2018-04-06libqtappfw: mediaplayer: initial agl-service-mediaplayer binding supportMatt Ranostay7-2/+308
Add initial support interface between agl-service-mediaplayer and libqtappfw Bug-AGL: SPEC-1375 Change-Id: I740d8cddfd73198b7a3246cb46c941da9f3175d1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-03weather: add parameter names to signalsMatt Ranostay1-2/+2
Add parameter names to temperatureChanged + conditionChanged signals to allow direct access of data by name Change-Id: Ia80652e29f30426b7d9647471bcb2d9f76722610 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-09Add weather binding supportMatt Ranostay7-2/+197
Allow subscription of weather data for libqtappfw consumers Bug-AGL: SPEC-1273 Change-Id: If794481e09084f9632387c64882861faefe4f62c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-09Add base AGL libqtappfw and Telephony supporteel_4.99.3eel/4.99.34.99.3Matt Porter11-0/+702
Implements several QtObject subclasses that wrap functionality provided by the AGL Application Framework. * Message provides facilities to create new AppFW requests and parse AppFw replies/events from a JSON buffer. * MessageEngine provides a websocket message processing client that can send or receive Messages on a given websocket address. * TelephonyMessage subclasses Message to provide accessors and methods specific to the AGL Telephony API. * Telephony provides a complete set of Qt properties/signals/methods that expose the AGL Telephony functionality to Qt/QML applications. An application normally instantiates only this class and has no need to handle low-level AppFW messages. Bug-AGL: SPEC-1064 Change-Id: I2e41fb866bb4f867c81ccaf9bf33d627893879c8 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-08Add git-review configurationMatt Porter1-0/+5
Bug-AGL: SPEC-1063 Change-Id: Iad3e407076d4a3fdb831ee3e982e2efb9a3478b9 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-08Initial empty repositoryJan-Simon Moeller0-0/+0