Home | History | Annotate | Download | only in test
      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 
     25 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter,
     26                                  IPCManager::Delegate* delegate)
     27     : IPCHandler(adapter, delegate),
     28       running_(false),
     29       thread_("IPCHandlerLinux"),
     30       keep_running_(true) {
     31   // Stub
     32 }
     33 
     34 IPCHandlerLinux::~IPCHandlerLinux() {
     35   // Stub
     36 }
     37 
     38 bool IPCHandlerLinux::Run() {
     39   // Stub
     40   return false;
     41 }
     42 
     43 void IPCHandlerLinux::Stop() {
     44   // Stub
     45 }
     46 
     47 void IPCHandlerLinux::StartListeningOnThread() {
     48   // Stub
     49 }
     50 
     51 void IPCHandlerLinux::ShutDownOnOriginThread() {
     52   // Stub
     53 }
     54 
     55 void IPCHandlerLinux::NotifyStartedOnOriginThread() {
     56   // Stub
     57 }
     58 
     59 void IPCHandlerLinux::NotifyStartedOnCurrentThread() {
     60   // Stub
     61 }
     62 
     63 void IPCHandlerLinux::NotifyStoppedOnOriginThread() {
     64   // Stub
     65 }
     66 
     67 void IPCHandlerLinux::NotifyStoppedOnCurrentThread() {
     68   // Stub
     69 }
     70 
     71 }  // namespace
     72