| 523fc92b |
android/tester-ng: Fix timestamp property type
This type is unspecified in HAL API and we currently use uint32_t
for it. This also fix build error on 32bit machines. |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 2a3ce590 |
core: Move always_pairable check into adapter_set_pairable() |
Johan Hedberg |
11 years ago |
2 files, +4, -2 |
| c136ebbc |
core: Disable connectable upon init if kernel whitelist is not in use |
Johan Hedberg |
11 years ago |
1 file, +2, -0 |
| 45a70b63 |
core: Add convenience API to check for available default agent |
Johan Hedberg |
11 years ago |
3 files, +8, -9 |
| 0199e916 |
android/hal-sco: Fix error code printing |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| 02170de3 |
android/hal-sco: Fix leaving open socket
Close accepted socket always after poll loop. |
Andrei Emeltchenko |
11 years ago |
1 file, +5, -7 |
| 2ed135a6 |
android/hal-audio: Fix leaving open socket
When getting out of the poll loop we shall close socket always. |
Andrei Emeltchenko |
11 years ago |
1 file, +5, -7 |
| c1e035a3 |
android/hal-sco: Fix incorrect assignment |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| d7f381df |
android/hal-sco: Defer SCO connection to write()
Do not return error when opening output stream if SCO is not connected
yet, we will check it later with actual out_write(). |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -4 |
| 946d78cd |
android/hal-sco: Get SCO audio fd on demand
When SCO fd is not known try to get it from the daemon. SCO is
established via handsfree HAL independently from Audio HAL. |
Andrei Emeltchenko |
11 years ago |
1 file, +7, -6 |
| 47a539d6 |
android/hal-sco: Add stream synchronization |
Andrei Emeltchenko |
11 years ago |
1 file, +60, -22 |
| 8d324852 |
android/hal-sco: Choose buffer size
For 8k choose buffer size 576 which is multiple from 48 and 64. |
Andrei Emeltchenko |
11 years ago |
1 file, +8, -0 |
| baf59474 |
android/hal-sco: Skip resampling for input of 8k |
Andrei Emeltchenko |
11 years ago |
1 file, +19, -14 |
| f9949413 |
android/hal-sco: Skip resampling for output stream with 8k |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -1 |
| 671f4005 |
android/hal-sco: Implement read
Add read and resampling from 8000 to 44100. |
Andrei Emeltchenko |
11 years ago |
1 file, +149, -2 |
| 979486f0 |
android/hal-sco: Fix memory leak
Release resampler on exit. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| d081491b |
android/hal-sco: Make debug more readable |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -7 |
| 4cf3843d |
android/hal-sco: Use global sco file descriptor
Android may open input/output stream independently so we use global sco
file descriptor and mutexes. |
Andrei Emeltchenko |
11 years ago |
1 file, +50, -35 |
| 4f781c78 |
android/hal-sco: Check file descriptor >= 0 |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -4 |
| 80765188 |
android/hal-sco: Implement open input stream |
Andrei Emeltchenko |
11 years ago |
1 file, +173, -2 |
| fa05f8f8 |
android/hal-sco: Make use of config parameter
Use config parameter when opening output stream. |
Andrei Emeltchenko |
11 years ago |
1 file, +15, -5 |
| 6166bddb |
android/hal-sco: Add SCO packet cache
SCO cached is used when Android writes with packet sizes which cannot
fit to 48 bytes SCO frames. Remaining frames are cached and written next
time Android perform out->write(). |
Andrei Emeltchenko |
11 years ago |
1 file, +38, -4 |
| 69dae655 |
android/hal-sco: Move mtu assignment to open_stream()
mtu shall be assigned when opening stream to be logically correct. |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -2 |
| cf0f491d |
android/hal-sco: Use nanosleep for SCO synchronization |
Andrei Emeltchenko |
11 years ago |
1 file, +42, -14 |
| 581735bc |
android/tester: Remove old test cases
Those tests are now in the newer tester. |
Jakub Tyszkowski |
11 years ago |
1 file, +0, -438 |
| a78895a9 |
android/tester-ng: Add remote device set property fail cases
Those set property requests should fail as they request to set remotes
adapter properties. |
Jakub Tyszkowski |
11 years ago |
1 file, +205, -0 |
| d7be9f5f |
android/tester-ng: Add set remote friendly name success case |
Jakub Tyszkowski |
11 years ago |
3 files, +46, -0 |
| 3dd78358 |
android/tester-ng: Add get remote property failing cases
Those properties requests should fails as those are adapter specific
ones and does not apply to remote devices. |
Jakub Tyszkowski |
11 years ago |
1 file, +107, -0 |
| 4788bf0d |
android/tester-ng: Add get remote props cases
This patch also introduces bt_action_data for passing arguments to HAL
api calls. So far one argument was enough but now there's need for more. |
Jakub Tyszkowski |
11 years ago |
3 files, +178, -2 |
| 2a61e096 |
android/tester-ng: Replace action result with status
Action (HAL api call) result is always status or file descriptor.
Integer value is enough to hold both so it replaced the truct. |
Jakub Tyszkowski |
11 years ago |
2 files, +13, -20 |
| 4b7f7aa9 |
android/tester-ng: Add get remote properties case |
Jakub Tyszkowski |
11 years ago |
3 files, +72, -1 |
| 3ef2668d |
android/tester-ng: Add remote device found case
This patch adds first test case that requires remote emulated device to be
discovered. New action step was added to activate this device on demand. |
Jakub Tyszkowski |
11 years ago |
3 files, +95, -1 |
| 57e63ba0 |
emulator: Add flags param to advertise enabling function
This allows to pass additional parameter describing wheter to set
flags parameter in advertising data.
This is needed to make device discoverable. |
Jakub Tyszkowski |
11 years ago |
6 files, +26, -6 |
| 01e2d283 |
android/pts: Update PTS files for HFP
PICS and PIXITs updated to PTS 5.2. Regression done for Android
4.4.4. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +5, -5 |
| bfe05543 |
android/build: Add rctest tool to Android build |
Sebastian Chlad |
11 years ago |
1 file, +28, -0 |
| 9b482edd |
android/gatt: Fix incorrect status in read characteristic cb
Pass correct status to upper layer. |
Marcin Kraglak |
11 years ago |
1 file, +2, -1 |
| b18e79e0 |
android/gatt: Send proper status of read descriptor callback
Pass proper status to upper layer. |
Marcin Kraglak |
11 years ago |
1 file, +2, -1 |
| 0e97774e |
android/gatt: Add GATT_PERM_NONE define
Use this permission if no read and write is allowed. It is now set
in service change characteristic. |
Marcin Kraglak |
11 years ago |
1 file, +2, -1 |
| 727ff713 |
android/gatt: Fix read responses with 0 length value
Attribute's value length can be 0, so fill read response and send. |
Marcin Kraglak |
11 years ago |
1 file, +2, -2 |
| e4fc38f4 |
android/gatt: Fix check for permissions error
If error is returned from check_device_permissions, fill response
data and return. In case of read errors we didn't send error response.
Zero length data was send instead. |
Marcin Kraglak |
11 years ago |
1 file, +6, -6 |
| fce3c5c2 |
android/gatt: Fix searching primary services by uuids
Return all instances of services. It is not proper behaviour to
return only one instance of service with same uuid. |
Marcin Kraglak |
11 years ago |
1 file, +18, -18 |
| ff797556 |
attrib: Fix discovering descriptors
Discover all attributes in given range. In same cases we ommited
last attribute in range. |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| cad930f4 |
android/gatt: Fix service class id of built in gatt services |
Marcin Kraglak |
11 years ago |
1 file, +3, -0 |
| e54a3ec0 |
doc/test-coverage: Update mgmt-tester test count |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| 8baf8af7 |
tools/mgmt-tester: Add non-pairable SSP acceptor test case |
Johan Hedberg |
11 years ago |
1 file, +33, -0 |
| bd960054 |
tools/mgmt-tester: Fix calling bthost_set_auth_req() twice |
Johan Hedberg |
11 years ago |
1 file, +1, -2 |
| f5adcf9e |
tools/mgmt-tester: Add non-pairable legacy pairing acceptor test case |
Johan Hedberg |
11 years ago |
1 file, +13, -0 |
| 980c3027 |
tools/mgmt-tester: Add BR/EDR Legacy non-pairable initiator test case |
Johan Hedberg |
11 years ago |
1 file, +17, -0 |
| 5a80fa0d |
core: Make pairable mode dependent on the existence of a default agent
This patch updates the adapter code to only enable pairable mode when
there is a default agent available. A new main.conf option called
AlwaysPairable is also introduced to allow keeping the old behavior,
however the default is the new behavior (i.e. this option defaults to
FALSE). |
Johan Hedberg |
11 years ago |
5 files, +41, -2 |
| e253e59b |
core: Expose adapter API to enable/disable pairable mode |
Johan Hedberg |
11 years ago |
2 files, +11, -0 |