Commit graph

8 commits

Author SHA1 Message Date
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Ruchi Kandoi
382bbaef27 Add defaultSysCodePowerState in types.hal in NFC 1.1
Test: Nfc Enable/Disable; test if config is read in logcat
Bug: 77496460
Merged-In: I13e21ba18c03c3c7b9eff3aa67e843e7f063b233
Change-Id: I13e21ba18c03c3c7b9eff3aa67e843e7f063b233
(cherry picked from commit c200342182)
2018-04-04 23:11:42 +00:00
Ruchi Kandoi
4cd374a6c4 Add VTS Test for getConfig() in NFC 1.1
Test: run VtsHalNfcV1_1TargetTest
Bug: 72080121
Merged-In: I89600b54d64d4f274647ab4426faf5e05b2f3d34
Change-Id: I89600b54d64d4f274647ab4426faf5e05b2f3d34
2018-03-09 23:47:27 +00:00
Ruchi Kandoi
d128c87f70 NFC 1.1: Add getConfigs() method
Test: Boot and check Nfc configs initialized
Bug: 72080121
Merged-In: I000cea4491b2bd136b9ece232b9d73293804c733
Change-Id: I000cea4491b2bd136b9ece232b9d73293804c733
2018-03-09 23:47:18 +00:00
Zhuoyao Zhang
b4744d1460 Convert nfc hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalNfcV1_0Target

Change-Id: I7a66c98507811ea4f4a18a8e08476878dfd59748
2018-02-10 12:44:54 -08:00
Ruchi Kandoi
912ce33eeb Add NFC 1.1 VTS Test
Test: Run VtsHalNfcV1_1TargetTest
Bug: 72746517
Change-Id: I11db8782e89fe06a33d9d7b56d3270b0ad0341cd
2018-02-02 16:53:00 -08:00
Ruchi Kandoi
4475917d65 Add NFC HAL 1.1
Adds factoryReset(). This must be used by the HAL to clear the chip and
use the do a full initialization at the next init.

Adds closeForPowerOffCase(). There are vendor specific
configurations that are need during NFC power off to enable low battery
and power off use cases. This will distinguish cases where the user
turns NFC off because they do not want to use NFC and NFC is turned off
as a result of device switched off.

HCI_NETWORK_RESET event has been added to indicate something went wrong
on the firmware level and HCI network needs to be re-initialized.

Bug: 70294869
Bug: 70294551
Test: Run VtsHalNfcV1_1TargetTest
Change-Id: Ib981a56ac94e06b74bd901a159791f09ea16483a
2018-02-01 16:32:07 +00:00