summaryrefslogtreecommitdiffstats
path: root/nfc
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add NFC 1.1 VTS Test" am: bf81fc584b am: 8e0c79dffdRuchi Kandoi2018-02-042-0/+245
|\ | | | | | | | | | | am: 0120901735 Change-Id: I792e43cbd6b221507ec7c6635d2969bc0dc9ebee
| * Add NFC 1.1 VTS TestRuchi Kandoi2018-02-022-0/+245
| | | | | | | | | | | | Test: Run VtsHalNfcV1_1TargetTest Bug: 72746517 Change-Id: I11db8782e89fe06a33d9d7b56d3270b0ad0341cd
* | Add NFC HAL 1.1 am: 4475917d65 am: 6fa5f5bbfdRuchi Kandoi2018-02-024-0/+126
|\| | | | | | | | | | | am: ac564248bc Change-Id: I8a54f823d3b754753cfe804d8d60755aa09a67bb
| * Add NFC HAL 1.1Ruchi Kandoi2018-02-014-0/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Remove subdirsSteven Moreland2017-11-281-6/+0
| | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
| * Merge changes from topic "hidl-soong-plugin"Treehugger Robot2017-11-111-183/+13
| |\ | | | | | | | | | | | | | | | * changes: Update makefiles for hidl_interface. Update makefiles for transitive interfaces.
| | * Update makefiles for hidl_interface.Steven Moreland2017-11-101-183/+13
| | | | | | | | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
* | | Remove subdirsSteven Moreland2017-11-281-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | | Updating makefiles for hidl_interface.Steven Moreland2017-11-131-183/+13
| | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* | | Merge "Remove strong pointer in contructor to "this"" am: 62ab659b28 am: ↵Ruchi Kandoi2017-11-102-43/+36
|\| | | | | | | | | | | | | | | | | | | | | | | 5883f33628 am: 253c1e99a7 Change-Id: I06c57b367398eda4ea502f762d261f70d03eacdf
| * | Remove strong pointer in contructor to "this"Ruchi Kandoi2017-11-102-43/+36
| |/ | | | | | | | | | | Bug: 69110631 Test: NFC on/off Change-Id: I6c0173df6b6f49e7c07e9670c827b2944c6fe23f
* | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-112-142/+45
|\| | | | | | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * Update for Soong java makefiles.Steven Moreland2017-10-102-142/+45
| | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: ↵Steven Moreland2017-10-051-19/+0
|\| | | | | | | | | | | | | | | 33dc30ce49 am: 0653f3b212 Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
| * Merge "Remove useless Android.mk files."Treehugger Robot2017-10-051-19/+0
| |\
| | * Remove useless Android.mk files.Steven Moreland2017-10-041-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | These have been c/p'd all over the place. Test: m -j nothing Bug: 33420795 Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
* | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | Merge "Update for hidl adapter module defaults."Treehugger Robot2017-10-041-0/+1
| |\ \ | | |/ | |/|
| | * Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
| | | | | | | | | | | | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* | | Merge "Use -Werror in hardware/interfaces" am: 85bb01dd6b am: 3ed04cd35d am: ↵Chih-hung Hsieh2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | baf19e17b3 am: 9890348480 Change-Id: Iadec8caae33b04a8cef45532fc2c940a8be23cea
| * | Use -Werror in hardware/interfacesChih-Hung Hsieh2017-10-041-0/+1
| |/ | | | | | | | | | | | | | | * Remove unused local variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
* | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: ↵Steven Moreland2017-09-271-1/+2
|\| | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | | | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290Steven Moreland2017-09-261-0/+75
|\| | | | | | | | | | | am: 97228c0b7d Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
| * Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+75
| | | | | | | | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
* | Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok2017-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in http://go/treble-sysprop-compatibility. Test: succeeded building and tested on a walleye device Bug: 36796459 Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
* | Updating all makefiles.Steven Moreland2017-08-101-100/+0
| | | | | | | | | | | | Bug: 64487114 Test: none Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
* | NFC: Add OWNERS file for default/ am: 31439b1d24 am: 3a43fa5115Myles Watson2017-08-091-0/+2
|\| | | | | | | | | | | am: e32a2e3f9a Change-Id: Icc832424e38bb1e00f9fc821dde81f2c73d6be62
| * NFC: Add OWNERS file for default/Myles Watson2017-08-091-0/+2
| | | | | | | | | | Test: build Change-Id: I6e854923fdd66991bcc7ed3446106d148abea982
* | Update makefiles for vndk enabled. am: 5e59402492 am: 271d53d836Steven Moreland2017-08-091-0/+3
|\| | | | | | | | | | | am: 148ca84740 Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
| * Update makefiles for vndk enabled.Steven Moreland2017-08-081-0/+3
| | | | | | | | | | | | | | | | Test: none Bug: 63866913 Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb (cherry picked from commit c716b8c3070f560c11fcc0d7d9b8b19af6bbaf28)
| * Merge changes from topic 'go-away-static-hidl-java'Steven Moreland2017-08-041-100/+0
|/| | | | | | | | | | | | | * changes: Update makefiles. Add an empty 1.1 ISap interface. [AWARE] Fix validity check on PMK + export PASSPHRASE lengths
| * Update makefiles.Steven Moreland2017-08-031-100/+0
| | | | | | | | | | | | | | | | | | | | | | Removes redundant "java-static" target. Note, targets aren't removed here which have internal targets that depend on them. Bug: 36376126 Test: pass Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
* | Merge changes from topic 'vts_deps'Treehugger Robot2017-08-031-14/+2
|\ \ | | | | | | | | | | | | | | | * changes: VTS tests now static link to HAL def libs. Add cc_defaults VtsHalTargetTestDefaults
| * | VTS tests now static link to HAL def libs.Tri Vo2017-08-031-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. Bug: 64040096 Test: compiles Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
* | | nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0Ruchi Kandoi2017-08-031-5/+22
| |/ |/| | | | | | | | | Bug: 64245250 Test: run vts test Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
* | Change dependency librarySundong Ahn2017-08-011-0/+4
|/ | | | | | | | | | | | hwbinder.jar will be used instead of framework.jar on build-time, but on runtime framework.jar will be used. This is to cut the circular dependency when using configstore from Android framework. Bug: 35771640 Test: no test. Change-Id: I04cab676c91d2ea423f5e2c1b2b9efa15e522f37
* Update HIDL makefiles.Steven Moreland2017-07-261-1/+1
| | | | | | | | | | | | | Allow them to be static. This is required for a couple of reasons: - enabling HIDL passthrough in recovery - enabling VTS tests to be static blobs Bug: 32920003 Bug: 64040096 Test: update-all-google-makefiles.sh Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
* Nfc: Vts: modify WriteInvalidAndThenValidCommandRuchi Kandoi2017-06-161-10/+5
| | | | | | | | | | | | Invalid Data packets are ignored by the NFC controller in case there isn't an active RF Interface. The test expects response for the invalid data packet without any active RF Interface. This patch modifies the test to send an invalid command instead which will guarantee a response. Test: run vts test Bug: 62400568 Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* Support NCI 2.0 for NFC VTSRuchi Kandoi2017-06-121-12/+102
| | | | | | Bug: 62322170 Test: Run vts test Change-Id: I7ed331dac9d5918675c091620f099b6250e20700
* Update makefiles.Steven Moreland2017-05-181-0/+1
| | | | | | | Adds default configuration to all hals. Test: pass Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
* NFC: vts: Add commands to reset the NFC controller before other commandsRuchi Kandoi2017-05-151-62/+99
| | | | | | | | | | | | | | | | | | | Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC controller will be initialized before the test. This is not necessarily true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before creating a loop-back connection. CORE_RESET_RSP doesn't necessary return the configuration that was sent in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping the configuration, and if the controller doesn't support that, the configuration will be resetted and CORE_RESET_RSP will reflect that. Bug: 38267593 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalNfcV1_0Target -l INFO Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* Update makefiles for c++-sources and c++-headers.Steven Moreland2017-05-091-2/+2
| | | | | | Test: pass Bug: 38174080 Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
* Merge "Remove redundant dependencies"Treehugger Robot2017-05-011-2/+0
|\
| * Remove redundant dependenciesSteven Moreland2017-05-011-2/+0
| | | | | | | | | | | | | | | | android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport. Test: links Bug: 33276472 Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
* | nfc: Android.mk -> Android.bpSteven Moreland2017-04-292-25/+21
|/ | | | | Test: links Change-Id: Ia19dafb3ff6bf5772d72133bb2e1687226e0d44f
* Remove dependency of libhardware_legacyHung-ying Tyan2017-04-191-1/+0
| | | | | | | | | | | | It is not used by bluetooth and nfc services. Bug: 33241851 Bug: 37305530 Test: built and tested on sailfish (cherry picked from commit 593eeb7a4b0ea3af560dc4ada36237e786b0e039) Change-Id: I599073296baa5eee72a1fce8caa4eb8352f66218 Merged-In: I599073296baa5eee72a1fce8caa4eb8352f66218
* Changed the naming scheme for Treble java libraries (both static and dynamic)Andreas Huber2017-04-131-5/+5
| | | | | | | | | android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java Bug: 37207894 Test: make Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0 Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
* Update makefiles.Steven Moreland2017-04-111-0/+1
| | | | | Test: pass Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
* nfc: vts: Correct parameters going for CoreInitializedRuchi Kandoi2017-04-031-7/+6
| | | | | | | | | Core Initialized with parameters 1-3 leads the device into recovery mode. Which causes the test to fail. Bug: 36751759 Test: Test passes Change-Id: I1375546cc66c147f26c315a042ca0afb49f0ce06