This patch adds test sending out of range opcode for service. --- android/ipc-tester.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/ipc-tester.c b/android/ipc-tester.c index 161777d..7dd25e8 100644 --- a/android/ipc-tester.c +++ b/android/ipc-tester.c @@ -940,6 +940,10 @@ int main(int argc, char *argv[]) HAL_SERVICE_ID_BLUETOOTH, HAL_SERVICE_ID_HANDSFREE_CLIENT); + test_opcode_valid("MAP_CLIENT", HAL_SERVICE_ID_MAP_CLIENT, 0x01, 0, + HAL_SERVICE_ID_BLUETOOTH, + HAL_SERVICE_ID_MAP_CLIENT); + /* check for valid data size */ test_datasize_valid("CORE Register+", HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE, -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html