author | Yuexi Ma <yuexima@google.com> | |
Thu, 30 Mar 2017 01:11:01 +0000 (18:11 -0700) | ||
committer | Yuexi Ma <yuexima@google.com> | |
Sun, 2 Apr 2017 06:36:14 +0000 (23:36 -0700) | ||
commit | bfefc5ef104b63d0644ec3b4c766131987824535 | |
tree | 36d2cab81b34fe450d51c92752fa2e332ccee179 | tree | snapshot (tar.xz tar.gz zip) |
parent | 3b9e23513eafa9e92e4bbd075b431d9522ce7bae | commit | diff |
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
VtsHalNfcV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback and notifyFromCallback
The original NFC test contains the following use cases:
* Callback notify happens before wait
* Multiple waiting in serial
The modified version added the following use cases:
* Wait for specific callback function
* Passing callback arg data along wait and notify functions
Bug: 36036059
Test: make VtsHalNfcV1_0TargetTest, adb push & adb shell
Change-Id: Ic6668a18254661d07c4ff37309cd96ea5f786d29
VtsHalNfcV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback and notifyFromCallback
The original NFC test contains the following use cases:
* Callback notify happens before wait
* Multiple waiting in serial
The modified version added the following use cases:
* Wait for specific callback function
* Passing callback arg data along wait and notify functions
Bug: 36036059
Test: make VtsHalNfcV1_0TargetTest, adb push & adb shell
Change-Id: Ic6668a18254661d07c4ff37309cd96ea5f786d29
nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp | diff | blob | history |