Age | Commit message (Collapse) | Author | Files | Lines |
|
The segmentation fault manifests if the remote
disconnects pbap transport followed by a refresh
pbap data operation.
The root cause is a read operation of
vcard data for the calls history, ignoring the error
triggered while attempting to access the
corresponding file on the remote device.
The current patch introduces the missing check for
errors.
SPEC-3652
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I916ba5b8b5fc29aa9b928dbf2ed3e7c892d15891
test & deleteme
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I9efa151af54ae87cbf7e67bb6b985a76e0814549
|
|
* Substitute calls to persistence binding's
non existent 'write' verb with 'insert' verb
(part of the current api), eliminating
runtime warnings.
* Update code to conform to v3 bindings:
'afb_service_call_sync' is a deprecated method
for appfw v3 bindings, substitute with the recommended
'afb_api_call_sync' method.
* Rebalance refcount for query object.
Bug-AGL: SPEC-3619
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I1453a86ca24b9e90128d9e8bd2ee8f588fe5faa8
|
|
To avoid calling afb_req_success after failure return after
the afb_req_fail call in contacts verb.
Bug-AGL: SPEC-2630
Change-Id: I2d521d7c04a4be7dd49e8a63cf1ac267de636de8
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
agl-service-bluetooth/agl-service-bluetooth-pbap/binding/
bluetooth-pbap-binding.c:173:13: warning: format ‘%ld’ expects argument
of type ‘long int’, but argument 7 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
AFB_ERROR("Read only %ld/%ld bytes from %s", n, size, filename);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
agl-service-bluetooth/agl-service-bluetooth-pbap/binding/
bluetooth-pbap-binding.c:173:13: warning: format ‘%ld’ expects argument
of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’}
[-Wformat=]
Bug-AGL: SPEC-2422
Change-Id: I90504163278b3bbd415b73021bd32eaa2a759572
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
Data transfers needs to be stored in /run/user/UID/usrshr to
get the User::App-Shared Smack label on creation from obexd
Bug-AGL: SPEC-2695
Change-Id: Ib32b1d02bb008311bbad975263af28452bf1647e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Avoid segfaulting if obex data transfer result cannot be
accessed due to permissions.
Bug-AGL: SPEC-2695
Change-Id: Iae75af3e44f7e8265f1a9a52d2343d358c985bfc
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Previously contacts are requested on every connection of a device by
OBEX transfers, and due to issues with transfer rates it should be only
done when requested.
import verb requests new phonebook transfer, and returns data as the
contacts verb currently does.
Also this patchset switchs from the canonical MAC address to using the
identifier from the Bluetooth stack for better connection tracking.
Bug-AGL: SPEC-2541
Change-Id: I27ad0626248e8dba0cacd65f34843b8eec2ca754
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Parse the vCard information within the binding itself, and
reduce service consumers processing and dependencies.
Bug-AGL: SPEC-2392
Change-Id: Ie7654c4ba6d269cb8224e61021e19739614afb4e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Use the respective device's MAC address as an key for caching
of contacts. This allows multiple devices to be paired with
each having their own cached results.
Bug-AGL: SPEC-2311
Change-Id: Iadc4da383a5e0860866414c9228e2e10ba238395
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Caching of contacts moved into storing in the persistence binding
Bug-AGL: SPEC-2311
Change-Id: Ie9fa7b3e01f84f17101b211204575fc77bdc9a67
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
address parameter in properties isn't usually sent in a disconnect
so just use the bluetooth stack device name.
Change-Id: I75a7a7212fe06f63816e8cdadd0f29610ce80c82
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Populating the contacts list can take several seconds for the OBEX
transfer to complete. So to avoid phone UI delays service is started
at startup, and populates a cached version of contacts for clients.
Change-Id: I1687fc6bc075964b71be4515c5048bff1861b4ec
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
If an invalid handle was requested the wait condition wouldn't ever return.
This patchset handlest the error condition and gracefully alerts the user.
Change-Id: I05fdc6dfff998789aaa9332b1cc755b8e3fd970a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
To keep parameter and field repsonses consistent name 'card' to 'handle'
which entry verb uses.
Bug-AGL: SPEC-2095
Change-Id: I7964469a631b5aeb19814b595c4c4f4ca394040a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Bug-AGL: SPEC-1630
Change-Id: If9efc97fb5f89a31ca08eb1189156a3519475601
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Change-Id: I8c580ca04151e10581bcdf51dca7fc408ae85f7b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
When the status event is subscribed, immediately
send the current PBAP connection status.
Bug-AGL: SPEC-1519
Change-Id: I222789f81040c80fb67dac63c889c96586ba0dbd
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds a status event and a verb which reports the
current PBAP device connection status. This allows
applications to determine when to refresh data or
display alternative data if a PBAP connection is
unavailable.
Bug-AGL: SPEC-1519
Change-Id: I7c3bd7081be3a850cebb3c708a0be95fc685a6fc
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Supports the following features:
- retrieval of phonebook contacts
- retrieval of call history (incoming/outgoing/missed/combined lists)
- retrieval of individual contact entry by handle
- search for contact by phone number
Bug-AGL: SPEC-1437
Change-Id: I1d0d5c4c02e5ba4a5db1bcfc932421fd9d478426
Signed-off-by: Matt Porter <mporter@konsulko.com>
|