OSDN Git Service

Add RTTController and corresponding aidl interface to wificond
authorNingyuan Wang <nywang@google.com>
Mon, 10 Oct 2016 18:16:59 +0000 (11:16 -0700)
committerNingyuan Wang <nywang@google.com>
Wed, 19 Oct 2016 18:08:13 +0000 (11:08 -0700)
commiteb59d4dd54bfaaaac243e762462bbe25f4797ea4
treea497bfa12f2555e4c4ab5b8f3979b932f27d8622
parent57e0bf7dd54ff91d42188af43069e83d98d68767
Add RTTController and corresponding aidl interface to wificond

This add RttController interface as a lazy initialization object.
User can get an instance of RttController while register a RttClient
through wificond.

Currently HAL RttController has an optional parameter for choosing
on which network interface will RTT run. However, in order to
hide interface concept from RTT framework as well as keep simplicity,
we don't expose this interface choice via aidl to framework for now.

Bug: 31756849
Test: compile

Change-Id: I2a13374254fd8c6bd7911e5cfbe3297cde25e9e7
Android.mk
aidl/android/net/wifi/IRttClient.aidl [new file with mode: 0644]
aidl/android/net/wifi/IRttController.aidl [new file with mode: 0644]
aidl/android/net/wifi/IWificond.aidl
rtt/rtt_controller_binder.cpp [new file with mode: 0644]
rtt/rtt_controller_binder.h [new file with mode: 0644]
rtt/rtt_controller_impl.cpp [new file with mode: 0644]
rtt/rtt_controller_impl.h [new file with mode: 0644]
server.cpp
server.h