diff options
author | Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com> | 2014-07-03 18:00:13 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-07-14 16:58:38 +0200 |
commit | 5014b6509ce782661f69a6864f28d3bf143ae5f3 (patch) | |
tree | 8b74d1354e65cd77ea8739afaac53a3a70081539 /android/tester-hidhost.c | |
parent | 01e8fc9e0371cd8e0ba5759b0731e878e04a7849 (diff) | |
download | bluez-5014b6509ce782661f69a6864f28d3bf143ae5f3.tar.gz |
android/tester-hidhost: Initial hidhost tester
This is initial patch for android hidhost HAL tester. It'll contain test
cases for hidhost hal.
Diffstat (limited to 'android/tester-hidhost.c')
-rw-r--r-- | android/tester-hidhost.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/android/tester-hidhost.c b/android/tester-hidhost.c new file mode 100644 index 000000000..1df7e7c91 --- /dev/null +++ b/android/tester-hidhost.c @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2014 Intel Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "tester-main.h" + +static struct queue *list; /* List of hidhost test cases */ + +struct queue *get_hidhost_tests(void) +{ + list = queue_new(); + + return list; +} + +void remove_hidhost_tests(void) +{ + queue_destroy(list, NULL); +} |