1 //
2 // Copyright (C) 2015 Google, Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at:
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 #include "service/ipc/ipc_handler_linux.h"
18
19 // TODO(keybuk): This is a crappy workaround to link IPCHandlerLinux into
20 // host-native unit tests. IPCManager shouldn't explicitly reference these
21 // classes.
22
23 namespace ipc {
24
IPCHandlerLinux(bluetooth::Adapter * adapter,IPCManager::Delegate * delegate)25 IPCHandlerLinux::IPCHandlerLinux(
26 bluetooth::Adapter* adapter,
27 IPCManager::Delegate* delegate)
28 : IPCHandler(adapter, delegate),
29 running_(false),
30 thread_("IPCHandlerLinux"),
31 keep_running_(true) {
32 // Stub
33 }
34
~IPCHandlerLinux()35 IPCHandlerLinux::~IPCHandlerLinux() {
36 // Stub
37 }
38
Run()39 bool IPCHandlerLinux::Run() {
40 // Stub
41 return false;
42 }
43
Stop()44 void IPCHandlerLinux::Stop() {
45 // Stub
46 }
47
StartListeningOnThread()48 void IPCHandlerLinux::StartListeningOnThread() {
49 // Stub
50 }
51
ShutDownOnOriginThread()52 void IPCHandlerLinux::ShutDownOnOriginThread() {
53 // Stub
54 }
55
NotifyStartedOnOriginThread()56 void IPCHandlerLinux::NotifyStartedOnOriginThread() {
57 // Stub
58 }
59
NotifyStartedOnCurrentThread()60 void IPCHandlerLinux::NotifyStartedOnCurrentThread() {
61 // Stub
62 }
63
NotifyStoppedOnOriginThread()64 void IPCHandlerLinux::NotifyStoppedOnOriginThread() {
65 // Stub
66 }
67
NotifyStoppedOnCurrentThread()68 void IPCHandlerLinux::NotifyStoppedOnCurrentThread() {
69 // Stub
70 }
71
72 } // namespace
73