Age | Commit message (Collapse) | Author | Files | Lines |
|
Add meson configuration missed in previous commit.
Bug-AGL: SPEC-4559
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Idbcd961ab91cf48e7dc3b841aee3a79d0b615dcd
|
|
Changes:
- Add applaunchd gRPC API wrapper in applauncher directory, clients
can include AppLauncherClient.h to use it.
- To facilitate generating protobuf and gRPC code with protoc,
switch from CMake to meson for building. While the code
generation can be done in CMake, it is a lot more straightforward
with meson, and if use of this library continues meson will be
easier to maintain.
Known issues:
- The behavior of the client implementation here with respect to the
server side (i.e. applaunchd) going away is currently robust, but
could stand improvement with some further investigation. As the
code stands, starting applications works when applaunchd becomes
available again, but the streaming status RPC that is tied to
window activation in the homescreen does not reconnect, and there
seem to be some things that need to be resolved with respect to
Qt object connection expiry to do so. If the Qt demos continue to
be used in a significant fashion, this may be worth picking up.
Bug-AGL: SPEC-4559
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5cb480d4ce4d1cb944ebfd4114fb305f09f28ea3
|
|
Rework network support code to use new connman-glib library instead
of the previously disabled agl-service-network API. The only user
visible change is that a few extra previously exported header files
have been pruned from installation to avoid exposing GLib usage
and potentially requiring users needing to build against it.
Bug-AGL: SPEC-4182
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iab8f3c9d04ee603e06b80dfd92ac03d9d52af477
|
|
Changes:
- Remove "core" code related to WebSocket messaging for the app
framework.
- Stub out hvac, navigation, network, and weather interfaces. This
allows building several of the demo applications without modification
for now. The network interface will definitely be reused to plumb
in a new connman-glib library derived from the previous network
binding. The others may potentially be reused to plumb in other
new backend implementations.
- Update the Network interface object constructor arguments to add a
agent registration flag. This prepares for the connman-glib
switch and means users will not need to be updated twice.
- Update the Bluetooth interface to use a new bluez-glib library that
is derived from the previous Bluetooth binding. This has been
successfully tested with a the Settings application.
- Remove signal-composer and voice API interface code as there are no
direct replacements planned. The signal-composer interface was
effectively exposing the binding events, so has little reuse
potential with a new backend. For the voice interface, if some form
of Alexa support becomes desirable, it can potentially be brought
back for adaptation if required.
- Disable compilation of the remaining interfaces for now. Some like
map, pbap, and mediaplayer are very likely to be used as the basis
for updating their associated applications, so keeping the code for
the planned iterative development seems easier.
- Updated copyright lines in all touched files.
Bug-AGL: SPEC-4182
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib717ac8ac68ec457eaee74755dcf9d4f36b79d12
|
|
Bug-AGL: SPEC-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ib8096c8dd2d59d3728e824ae13ba401da0971dc4
|
|
Share MessageEngine instance among clients in the
same process using a common socket (same url).
- add MessageEngineFactory class;
- extend std::unordered_map<> to use QString as
key;
- use std::shared_ptr<MessageEngine> to share
ownership among MessageEngineFactory and the
engine clients;
- force MessagEngine parent object null to avoid
life cycle dependency on a parent;
- protect insertions & deletions in m_calls map;
Also, not directly related but as part of testing
these changes: cleanup on voice to remove
superflous model sorting (there's just one voice
model for alexa voice agent).
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ie2304453dc37723dac13d256286eeb85f84ca2ab
|
|
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I044a406eb2309d4ae0547969cb2bf33b398ba2ae
|
|
Rework message hierarchy with the final objective
of splitting libqtappfw into several libraries.
This commit carries the following changes:
- Simplify message hierarchy, keeping abstract
Message class, adding specialization for call and
event messages, keeping ResponseMessage, and
removing all module specific specializations.
- Add MessageFactory class to create message
objects.
- Change messages life cycle: using smart pointers
and removing QObject from message hierarchy (a
Message is not a QObject anymore and thus
'deleteLater()' is not available).
- Adapt all modules to use new message hierarchy.
- Keep ResponseMessage original constructor to
avoid breaking TaskManager.
- Message constructors have been kept public, but
will go private on a follow-up patch (once
TaskManager class has been modified to use new
MessageFactory).
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I3a7a6325209ddeca2293f1ac745371861a947bfb
|
|
- Remove unneeded dependencies from libqtappfw public
headers, specifically MessageEngine and Message
hierarchy header files, in preparation for refactoring
work on these areas.
This change helps shield client apps from the
upcoming changes in the library, and highlight the
separation between the library's core and the various
modules providing public interfaces to those apps.
- Make MessageType an scoped enum to fwd declare it.
- Update Copyright statement on files updated by
this patch.
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I12fd9cdc034aa1166f6448c07befadd9d2042b05
|
|
Update set_properties method arguments to match
agl-service-network binding expectations.
Bug-AGL: SPEC-2676
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I4e4c1c633193270ad14a517fd33eff6bf26b00d3
|
|
- Add new roles to provide UI clients with the
active configuration (values obtained from the
stack: agl-service-network binding + connman).
- Add Q_INVOKABLE methods to feed new values
from the UI client.
SPEC-2676
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Id239ddc549ec8471d44d56f7631d4e9e3efda798
|
|
This commit provides:
- use of specific roles to signal model changes
for wired and wifi network models.
- fix to correctly broadcast wifi strength on
initial connection to previously unknown wifi
service.
Bug-AGL: SPEC-2339
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I35922d6c96b8b89fd4d376cddd8f4113cf18dbca
|
|
- include extra checks for error conditions
- remove some tabs and unused variable
Bug-AGL: SPEC-2636
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I28b38c77979175236a7b115a0f4263840c70eb94
|
|
-Add WiredAdapter implementation
-Add WiredNetworkModel implementation
Bug-AGL: SPEC-2293
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ibed93ae3a3cca1bc8e7a23c872c7ab3b8271e586
|
|
There's no return value if the WifiAdapter is not
found and thus the compiler warning.
Bug-AGL: SPEC-2293
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I59a2e5e7a86c845669b673753ec97dbaee0fc5ab
|
|
Rework WifiNetworkModel implementation to use
AbstractNetworkModel and ConnectionProfile classes.
Bug-AGL: SPEC-2293
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I47dc3dc1ef54ae24e176f8ff269b1219f3fcbc6c
|
|
- AbstractNetworkModel : abstract class which
provides common functionality and data to all
network models.
-ConnectionProfile : super class which aglomerates
connection property information, independently of
the technology type (e.g. wired or wifi).
A network model contains a list of available
connection profiles pertinent to the model.
Bug-AGL: SPEC-2293
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ic7b9d59802d13067e057948d1fb109852f35c2fd
|
|
This reverts commit b95b16f5fe5671de805403b8067367e5de3044bc.
That commit was introduced to ensure homescreen
built without errors while swapping libqtappfw/network
interface for a new one.
Homescreen is already using the new interface, thus
the commit can be reverted
Bug-AGL: SPEC-2392
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ie92a16b9f66ddbca9c2502515e12c63fdc9752bb
|
|
agl-service-bluetooth-pbap now outputs JSON data of processed vCard
information, and now libvcard is no longer needed.
Bug-AGL: SPEC-2392
Change-Id: Ice1ec6e1a22687f4839fd3e8a286d279d8a4f586
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Include some dummy methods in Network class to
keep homescreen build sane after change 21203
(network if rework) is picked by libqtappfw recipe;
this commit will be reverted after homescreen
change is updated too.
Bug-AGL: SPEC-2293
Change-Id: I6e0b52d8bca6377266894742cda1a199fa14c5bb
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Refactor network class to prepare for wired
connections.
- extract Wifi model and flags into new
WifiAdapter class
- fix wifi networks disappearing for prolonged
periods after disconnecting from a wifi service
(this issue is intermittent, depends on the
wifi signal variability)
Bug-AGL: SPEC-2293
Change-Id: I75f3076d094daa9c8d04e05fe2944df98f5cfb81
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Bug-AGL: SPEC-2293
Change-Id: I76c60df9563099f0d6093500f590f66fe3ad865e
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
After removing all items from wifi model the respective list
m_networks needs to have clear() called
Change-Id: I5058e187015f362006df823e8e0e8b4ee2c32bc7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Report invalid passphrases to clients via a signal
Bug-AGL: SPEC-2183
Change-Id: I98d34942427bf971663bac23a30be35aa2ae8dea
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To allow ease of scrolling through WiFi discovery list by sorting
on SSID.
Change-Id: I1a8c369b4215177b93e6c584fd50f12d091de7d4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-2184
Change-Id: Ic9b4513dd7f63f02a6012170225a4993555006c1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|