• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2020 The Android Open Source Project
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 "host/libs/config/known_paths.h"
18 
19 #include "host/libs/config/cuttlefish_config.h"
20 
21 namespace cuttlefish {
22 
AdbConnectorBinary()23 std::string AdbConnectorBinary() {
24   return HostBinaryPath("adb_connector");
25 }
26 
ConfigServerBinary()27 std::string ConfigServerBinary() {
28   return HostBinaryPath("config_server");
29 }
30 
ConsoleForwarderBinary()31 std::string ConsoleForwarderBinary() {
32   return HostBinaryPath("console_forwarder");
33 }
34 
GnssGrpcProxyBinary()35 std::string GnssGrpcProxyBinary() {
36   return HostBinaryPath("gnss_grpc_proxy");
37 }
38 
KernelLogMonitorBinary()39 std::string KernelLogMonitorBinary() {
40   return HostBinaryPath("kernel_log_monitor");
41 }
42 
LogcatReceiverBinary()43 std::string LogcatReceiverBinary() {
44   return HostBinaryPath("logcat_receiver");
45 }
46 
MetricsBinary()47 std::string MetricsBinary() {
48   return HostBinaryPath("metrics");
49 }
50 
ModemSimulatorBinary()51 std::string ModemSimulatorBinary() {
52   return HostBinaryPath("modem_simulator");
53 }
54 
RootCanalBinary()55 std::string RootCanalBinary() {
56   return HostBinaryPath("root-canal");
57 }
58 
SocketVsockProxyBinary()59 std::string SocketVsockProxyBinary() {
60   return HostBinaryPath("socket_vsock_proxy");
61 }
62 
TombstoneReceiverBinary()63 std::string TombstoneReceiverBinary() {
64   return HostBinaryPath("tombstone_receiver");
65 }
66 
VehicleHalGrpcServerBinary()67 std::string VehicleHalGrpcServerBinary() {
68   return HostBinaryPath(
69       "android.hardware.automotive.vehicle@2.0-virtualization-grpc-server");
70 }
71 
WebRtcBinary()72 std::string WebRtcBinary() {
73   return HostBinaryPath("webRTC");
74 }
75 
WebRtcSigServerBinary()76 std::string WebRtcSigServerBinary() {
77   return HostBinaryPath("webrtc_operator");
78 }
79 
WebRtcSigServerProxyBinary()80 std::string WebRtcSigServerProxyBinary() {
81   return HostBinaryPath("operator_proxy");
82 }
83 
WmediumdBinary()84 std::string WmediumdBinary() { return HostBinaryPath("wmediumd"); }
85 
WmediumdGenConfigBinary()86 std::string WmediumdGenConfigBinary() {
87   return HostBinaryPath("wmediumd_gen_config");
88 }
89 
90 } // namespace cuttlefish
91