José Rebelo
3716d99788
Add test to ensure no duplicated DeviceType keys
2023-08-13 13:56:57 +01:00
hrglpfrmpf
c1fd0b77ad
Support for Withings Steel HR ( #2831 )
...
Co-authored-by: hrglpfrmpf <hrglpfrmpf@web.de>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2831
Co-authored-by: hrglpfrmpf <hrglpfrmpf@noreply.codeberg.org>
Co-committed-by: hrglpfrmpf <hrglpfrmpf@noreply.codeberg.org>
2023-07-26 17:20:43 +00:00
mormegil
dccb8ed1c4
Changes suggested in PR
...
- use `BLETypeConversions`, added the missing functions there (+ unit tests for all)
- change Java package of Protobuf definitions so that they are not discarded by Proguard
-- +add subpackages to the Proguard rules so we can subdivide the classes
+ disable device-specific settings for Vivomove (no settings yet)
2023-07-20 20:30:14 +00:00
José Rebelo
bdb904faf9
Fix character mark removal before flattening to ASCII
2023-07-17 22:42:53 +01:00
José Rebelo
853470a2bd
Revert "Zepp OS: Unify support class and fw handling"
...
This reverts commit d59e8c3f62
.
We need to refactor the Huami classes too, otherwise this needs a lot of
hacks to work properly.
2023-06-15 21:39:22 +01:00
José Rebelo
d59e8c3f62
Zepp OS: Unify support class and fw handling
2023-06-15 20:50:15 +01:00
José Rebelo
76d99f1c33
Zepp OS: Start new GPX segments on pause/resume
2023-05-14 16:22:32 +01:00
José Rebelo
01ec74602a
Refactor and extend GpxParser
2023-05-14 14:19:48 +01:00
José Rebelo
e0d481bb36
Sony WH-1000XM5: Add power off, fix battery, fix speak-to-chat fetch
2023-05-06 17:41:10 +01:00
José Rebelo
7b3fbeb4af
Sony WH-1000XM5: Initial support
2023-05-06 16:03:48 +01:00
José Rebelo
e4933a0b42
Sony Headphones: Improve unit tests
2023-05-06 14:41:28 +01:00
thirschbuechler
da001544c5
add CroatianTransliterator
2023-03-21 20:00:28 +00:00
roolx
11bcaeb7a8
Add Georgian Transliteration
2023-02-09 21:44:35 +00:00
Arjan Schrijver
b1d03e9f7a
Clean up duplicated unimplemented methods from device support classes
...
Moved to AbstractDeviceSupport so each device support class can override them if required. This change helps to keep the code base clean by not requiring every (Device)Support class to implement these methods even when they don't need them.
2023-01-05 22:11:32 +01:00
José Rebelo
17c58d2947
Amazfit GTR 4/GTS 4: Add AGPS Updates
2023-01-05 11:31:51 +00:00
José Rebelo
041aa4faf2
Sony WF-1000XM4: Fix audio codec
2022-12-31 11:55:06 +00:00
José Rebelo
ff15fdaa9f
Sony LinkBuds S: Initial support
2022-12-30 18:07:18 +00:00
José Rebelo
b51328e4f2
Huami: Fix payload when setting the time
...
Fixes #2999
2022-12-15 21:38:06 +00:00
MPeter
4c14dd5f72
fix indentation
2022-11-05 11:26:24 +01:00
MPeter
e75f80c3f9
Add unit test for ZipFile class
2022-11-04 19:17:54 +01:00
José Rebelo
addf7ff6a6
Amazfit GTR 4: Initial support
2022-10-22 22:03:49 +02:00
José Rebelo
8fdfbfa97c
Sony WF-1000XM4: Initial support
2022-10-22 13:14:50 +01:00
Daniel Dakhno
858c53efb8
Utils: added simple Protobuf creator
2022-09-15 01:40:05 +02:00
José Rebelo
83a2b10c03
Fix tests after SDK bump
2022-09-11 16:13:29 +02:00
José Rebelo
ba565df088
Xiaomi Smart Band 7: Initial support
2022-08-19 23:13:27 +02:00
José Rebelo
5d82030d49
Refactor file logging logic
2022-08-07 23:24:16 +01:00
José Rebelo
7892b8be6a
Fix tests after DeviceService changes
2022-08-05 21:36:16 +01:00
vanous
d9a5296a66
FitPro: add DeviceSupport tests
2022-07-17 00:13:09 +02:00
vanous
1eb1ad3a3e
Fix tests after adding folder support
2022-07-17 00:13:03 +02:00
José Rebelo
152f19575f
Make calendar blacklist configurable per device
2022-07-05 19:58:21 +02:00
José Rebelo
33d433d206
Make transliteration configurable per-language
2022-06-15 18:40:28 +02:00
Ludovic Jozeau
b07dc6f2b2
fix calendar blacklist, view and storage
...
- view: unselect calendar that aren't blacklisted
- use more unique string to identify and store blacklisted calendars
2022-05-30 13:14:46 +02:00
José Rebelo
a5a3e57a34
Sony Headphones: Simplify capability definition
2022-05-15 17:22:55 +01:00
Daniel Dakhno
fb3a858263
fixed testCases
2021-12-27 14:54:58 +01:00
vanous
e00ee75ad2
adding FitPro bands support
2021-09-21 16:37:19 +02:00
vanous
9fc02ff09b
move transliteration to per device to DeviceCommunicationService, plus migration, fix #2237
2021-03-28 13:33:08 +02:00
vanous
a382032021
Add GPX Import test
2020-10-25 14:48:06 +01:00
TaaviE
01feaabffd
Added support for Nut devices
2020-10-11 19:16:31 +03:00
Andreas Shimokawa
5ce44a4575
fix tests
2020-06-13 22:52:23 +02:00
Ted Stein
973e2bd34e
Implement transliteration for Korean.
2020-04-13 02:49:19 -07:00
Ted Stein
59a6e3633e
Add Arabic-style Eastern Arabic numerals to transliteration.
2020-04-05 18:36:56 +02:00
cpfeiffer
6244bdd745
File external files dir creation, add test
2020-01-29 20:20:20 +01:00
Andreas Shimokawa
f99bc0de64
Move another file from AmazfitBip to Huami which is no longer Bip specific
2019-08-13 22:20:18 +02:00
Andreas Shimokawa
59482a0bfc
fix tests
2019-06-05 16:07:30 +02:00
Andreas Shimokawa
16090f0e21
Move fake device offset to Mi Band 1 preferences, remove support for other devices
...
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
b2f79f3283
Update robolectric to 4.2.1
2019-05-25 00:07:21 +02:00
Nick Spacek
6854807f91
Adds GPX schema XSD, sample data, and tests which validate output.
2019-03-16 11:13:27 -03:00
Sebastian Kranz
f898bf5050
Satisfy travis test run - TestDeviceSupport.
2019-02-21 07:56:09 +01:00
Daniele Gobbetti
75d3dffb14
Migrate to androidx support libraries and bump compile SDK version
...
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
abettenburg
51399066a4
Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
...
# Conflicts:
# app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
Andreas Shimokawa
b020d59f54
Implement factory reset feature in debug activity
...
Implemented for Mi Band 1/2/3, Cor, Bip
Could be implemented for Pebble by deleting all blobdbs etc
Related to #109
2018-12-16 16:06:12 +01:00
AndrewBedscastle
c5358bcbdf
Merge branch 'upstream_master' into black_whitelist_for_notifications
2018-12-06 12:54:14 +01:00
abettenburg
d6190e6e59
Apps Notification can now be configured to filter notification content based on black- and whitelists
...
Go to notification blacklist, allow an app if blacklisted, than configure it's behavior with the menu icon on the right hand side.
Should be pretty much self explanatory.
Database Scheme raised to 20
2018-12-03 09:48:16 +01:00
Nabil BENDAFI
6f86d70ca1
Fix RTL test
2018-12-02 23:33:09 +01:00
উৎসব রায়(Utsob Roy)
e66d0a2d10
Enhancement and Fixes for Bengali Transliteration. ( #1263 )
...
* Added various fixes and enhancment for Bengali transliteration.
* various fixes and enhancment for Bengali transliteration
* fixed a coding typo [master]
* Boolean lowercase and added .project in .gitignore
* Boolean lowercase and added .project in .gitignore
* typo fix [master]
* fixed negative index error [master]
* fixed negative index error [master]
* unprinted character fix [master]
* enhanced transliteration [master]
* lowercased boolean and replaced Integer with int [master]
* removed .setting, .classpath and .project and added them to .gitignore too.
* bug fix and multilingual testcase [master]
2018-10-01 23:04:51 +02:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
...
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
a35b96ad39
fix missing import
2018-09-05 23:33:16 +03:00
cpfeiffer
4f7e5b256a
Use constants for "rtl" and "contextualArabic" preferences
2018-09-05 21:32:06 +02:00
cpfeiffer
bd162f6319
Fix small copy&paste issue in test cases
2018-09-05 20:49:15 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
...
Adding RTL support
2018-09-05 20:48:15 +02:00
M. Hadi
ddecab7d25
Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations.
2018-09-05 10:08:10 +02:00
Roi Greenberg
84fa1b011a
Add Unittest for Rtl + some small fixes
2018-09-05 01:51:13 +03:00
Roi Greenberg
761d8327f9
Add Unittest for Rtl + some small fixes
2018-09-05 01:39:01 +03:00
Carsten Pfeiffer
ece0f094eb
Merge pull request #1236 from uroybd/master
...
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Utsob Roy
8e8fa24652
A missing semicolon added.
2018-09-01 00:46:02 +06:00
Utsob Roy
6a293bd40a
Done the recommended edits, added more testcases, and fixed a bug.
2018-09-01 00:38:15 +06:00
José Rebelo
cc6c57bd4c
Add support for LED Color, FM Frequency
2018-08-31 14:03:39 +01:00
Utsob Roy
98e747c5f5
Various Fixes
...
1. Updated test.
2. Fixed a composite letter issue.
3. Moved some redundant codes to a function.
2018-08-24 22:33:25 +06:00
Carsten Pfeiffer
c4411a9c48
Merge pull request #1206 from UncleInf/transliterate_lithuanian
...
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
Aniruddha Adhikary
b942db166e
add Bengali Transliteration
2018-08-18 13:05:15 +02:00
Thomas
93dcb2be0d
Adding Lithuanian transliteration
2018-08-12 11:31:35 +03:00
cpfeiffer
22e7569587
Add a small testcase for logging
2018-08-06 23:13:59 +02:00
cpfeiffer
664ffdd629
Adjust testcases for samples with calculated timestamps
2018-08-02 22:02:52 +02:00
cpfeiffer
df84927954
Fix filename generation and add testcasce
...
Fixes #1169
2018-08-01 19:33:33 +02:00
Andreas Shimokawa
99dec159f7
Mi Band 3: add untested and incomplete support
...
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.
Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
cpfeiffer
f88ef0e688
Fix ActivityDetailsParserTest now that we reuse trackpoints
2018-04-15 16:48:57 +02:00
Andreas Shimokawa
29a05f1d8f
refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
...
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P
Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Andreas Shimokawa
3d3cc1f40c
Merge branch 'master' into bip-wip
2018-03-13 17:27:18 +01:00
Ted Stein
1e0d7550d9
Add ta marbutah to Arabic transliteration.
...
Add ة, a normally-silent form of the letter ت that was missed when this
functionality was originally added.
2018-02-27 17:37:12 +01:00
Andreas Shimokawa
1349a1c7da
Merge branch 'master' into bip-wip
2018-01-22 08:57:01 +01:00
Ted Stein
39e151f51d
Add transliteration for Arabic and Farsi.
2018-01-12 22:05:33 +01:00
Andreas Shimokawa
6f68c8adde
Merge branch 'master' into bip-wip
2018-01-04 12:09:57 +01:00
Andreas Shimokawa
f6b183d39a
Allow firmware files up to 1.5MB
...
This helps some experiments
2017-12-21 09:40:47 +01:00
Andreas Shimokawa
2ccebe07f5
Merge branch 'master' into bip-wip
2017-11-11 00:08:19 +01:00
Andreas Shimokawa
1e324acd65
Mi Band 2/Bip/Cor: Whole day HR Measurement
2017-11-11 00:04:51 +01:00
cpfeiffer
b76e78768c
Another small tz+dst parsing testcase
2017-11-07 21:23:54 +01:00
cpfeiffer
99710e7db3
Tiny test for parsing date,time,tz
2017-11-06 23:21:04 +01:00
cpfeiffer
fd159b7603
Bip: improved logging, read expected number of bytes for progress monitoring during sync
2017-11-01 23:05:29 +01:00
cpfeiffer
f5318287c4
WIP: Bip GPS fetching, parsing, exporting
...
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00
Daniele Gobbetti
af6271a428
Merge branch 'master' into background-javascript
2017-09-25 11:21:11 +02:00
Frank Slezak
6ec1555178
Add support for dynamic Pebble background colors ( #819 )
...
Pebble: Add support for dynamic Pebble background colors
- Add a couple additional icon types
- Add Lighthouse (currently unused)
- Add Transit (public transportation app)
- Tweak the colors on existing icon types
- Implement logic to grab primary (vibrant) color from app logo
- The color will be used when displaying a notification for an app
that does not have any configs bound to it.
- Alter NotificationType to support a color (named pebbleColor)
- Alter the Pebble notification poster to listen to the color from
the notification
- Alter the DeviceCommunicationService to allow for color passthrough.
- Add logic to convert HEX or Integer representations of RGB888 colors
to Pebble RGB222 format.
- make the package name retrieved lowercase.
Fixes : #815
2017-09-19 13:24:31 +02:00
Andreas Shimokawa
ceec76b4f6
Pebble: preparations for js appmessage ack/nack callbacks
2017-08-01 00:03:28 +02:00
cpfeiffer
d8cbb18587
Revert "Ignore Test"
...
This reverts commit 62efd90e17
.
2017-04-27 07:57:57 +02:00
cpfeiffer
f1fbab7dd9
Revert "Revert "Adjust test case setup and fix failing tests""
...
This reverts commit b0384e90d5
.
2017-04-27 07:57:57 +02:00
Andreas Shimokawa
c4f8f86c00
import @Ignore
2017-04-27 07:52:12 +02:00
Andreas Shimokawa
62efd90e17
Ignore Test
2017-04-27 07:42:20 +02:00
Andreas Shimokawa
b0384e90d5
Revert "Adjust test case setup and fix failing tests"
...
This reverts commit d9b0d639b8
.
2017-04-27 07:39:36 +02:00
cpfeiffer
d9b0d639b8
Adjust test case setup and fix failing tests
...
- add missing call super.setUp() in LoggingTest
- make use ofGBApplication's logger and db support instead
of adding specific test things. Avoids differences between
the local test things and the global GBApplication instances.
2017-04-25 21:55:06 +02:00
Daniele Gobbetti
fae116d1bd
Add Calendar related tests (WIP)
2017-04-24 13:50:53 +02:00
cpfeiffer
523055189f
Some basics for testing the calendar functionality
2017-04-24 11:58:07 +02:00