Merge branch 'master' into stable
[CP-187] Fix stack overflow on passcode decoding
When passcode is passed as json string, each of digits needs to be
parsed as separate character with std::atoi. Replaced the string
with json array of integers to simplify decoding and avoid SO.
Merge branch 'master' into stable
[BH-378] Fix unit tests includes
Fix Unt tests includes
[BH-378] Utils move log to library
Moved log to separate library
[CP-84] Implement Security API
- Added pass code unlock from MC
- Removed Set USB security status
- Changed isLocked to phoneLocked in request for phone lock status
- Removed remainings of USB security in Settings App
- Reworked USB security model to depend both on
Phone lock state and Pass code being enabled
- Updated test_security.py
[CP-83] Update tests for unlocking phone and usb
Removed leftovers of old usb security tests implementation.
Added tests for unlocking via security endpoint.
[EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
Merge branch 'master' into stable
[CP-79] Update messages API tests
Check if all required fields in resposne
json are present. Also check if they
have a proper type.
[EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:
* DetermineByWindow
* DetermineByAppState
* PreventPermanently
Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
[CP-2] I don't want to see data from Pure in Center when Pure is locked
[CP-48] Re-enabled USB security
[CP-49] Update test harness with usb security
[EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
[EGD-6019] Removed dependency from freertos in test global file
This file is included for all tests as dependency and adds freertos
as a dependency through thread.h include
[EGD-6554] Fix emulator to simulator
Fixed every mention of emulator to simulator - in
docs and shell scripts.
[EGD-6507] Enable per-module testing
Add per-module:
- test build
- test execution
- coverage reporting (xml/html).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6082] Fix cellular start harness test
Improved cellular cold and hot start harness test
[EGD-6352] Add Factory reset mode
Stop DB service
Delete DB files
Make reboot
[EGD-5909] Fix disable test_usb_echo.py
Test checked for echo mode being enabled, and continued
execution while echo mode was off.