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/config_utils.h" 20 21 namespace cuttlefish { 22 AdbConnectorBinary()23std::string AdbConnectorBinary() { 24 return HostBinaryPath("adb_connector"); 25 } 26 AvbToolBinary()27std::string AvbToolBinary() { return HostBinaryPath("avbtool"); } 28 CasimirControlServerBinary()29std::string CasimirControlServerBinary() { 30 return HostBinaryPath("casimir_control_server"); 31 } 32 ConsoleForwarderBinary()33std::string ConsoleForwarderBinary() { 34 return HostBinaryPath("console_forwarder"); 35 } 36 ControlEnvProxyServerBinary()37std::string ControlEnvProxyServerBinary() { 38 return HostBinaryPath("control_env_proxy_server"); 39 } 40 EchoServerBinary()41std::string EchoServerBinary() { return HostBinaryPath("echo_server"); } 42 GnssGrpcProxyBinary()43std::string GnssGrpcProxyBinary() { 44 return HostBinaryPath("gnss_grpc_proxy"); 45 } 46 KernelLogMonitorBinary()47std::string KernelLogMonitorBinary() { 48 return HostBinaryPath("kernel_log_monitor"); 49 } 50 LogcatReceiverBinary()51std::string LogcatReceiverBinary() { 52 return HostBinaryPath("logcat_receiver"); 53 } 54 MetricsBinary()55std::string MetricsBinary() { 56 return HostBinaryPath("metrics"); 57 } 58 ModemSimulatorBinary()59std::string ModemSimulatorBinary() { 60 return HostBinaryPath("modem_simulator"); 61 } 62 NetsimdBinary()63std::string NetsimdBinary() { return HostBinaryPath("netsimd"); } 64 OpenwrtControlServerBinary()65std::string OpenwrtControlServerBinary() { 66 return HostBinaryPath("openwrt_control_server"); 67 } 68 PicaBinary()69std::string PicaBinary() { return HostBinaryPath("pica"); } 70 ProcessRestarterBinary()71std::string ProcessRestarterBinary() { 72 return HostBinaryPath("process_restarter"); 73 } 74 RootCanalBinary()75std::string RootCanalBinary() { return HostBinaryPath("root-canal"); } 76 TestKeyRsa2048()77std::string TestKeyRsa2048() { 78 return DefaultHostArtifactsPath("etc/cvd_avb_testkey_rsa2048.pem"); 79 } 80 TestKeyRsa4096()81std::string TestKeyRsa4096() { 82 return DefaultHostArtifactsPath("etc/cvd_avb_testkey_rsa4096.pem"); 83 } 84 TestPubKeyRsa2048()85std::string TestPubKeyRsa2048() { 86 return DefaultHostArtifactsPath("etc/cvd_rsa2048.avbpubkey"); 87 } 88 TestPubKeyRsa4096()89std::string TestPubKeyRsa4096() { 90 return DefaultHostArtifactsPath("etc/cvd_rsa4096.avbpubkey"); 91 } 92 CasimirBinary()93std::string CasimirBinary() { return HostBinaryPath("casimir"); } 94 ScreenRecordingServerBinary()95std::string ScreenRecordingServerBinary() { 96 return HostBinaryPath("screen_recording_server"); 97 } 98 SecureEnvBinary()99std::string SecureEnvBinary() { return HostBinaryPath("secure_env"); } 100 SocketVsockProxyBinary()101std::string SocketVsockProxyBinary() { 102 return HostBinaryPath("socket_vsock_proxy"); 103 } 104 StopCvdBinary()105std::string StopCvdBinary() { return HostBinaryPath("stop_cvd"); } 106 TcpConnectorBinary()107std::string TcpConnectorBinary() { return HostBinaryPath("tcp_connector"); } 108 TombstoneReceiverBinary()109std::string TombstoneReceiverBinary() { 110 return HostBinaryPath("tombstone_receiver"); 111 } 112 WebRtcBinary()113std::string WebRtcBinary() { 114 return HostBinaryPath("webRTC"); 115 } 116 WebRtcSigServerBinary()117std::string WebRtcSigServerBinary() { 118 return HostBinaryPath("webrtc_operator"); 119 } 120 WebRtcSigServerProxyBinary()121std::string WebRtcSigServerProxyBinary() { 122 return HostBinaryPath("operator_proxy"); 123 } 124 WmediumdBinary()125std::string WmediumdBinary() { return HostBinaryPath("wmediumd"); } 126 WmediumdGenConfigBinary()127std::string WmediumdGenConfigBinary() { 128 return HostBinaryPath("wmediumd_gen_config"); 129 } 130 AutomotiveProxyBinary()131std::string AutomotiveProxyBinary() { 132 return HostBinaryPath("automotive_vsock_proxy"); 133 } 134 VhalProxyServerBinary()135std::string VhalProxyServerBinary() { 136 return HostBinaryPath("vhal_proxy_server"); 137 } 138 VhalProxyServerConfig()139std::string VhalProxyServerConfig() { 140 return DefaultHostArtifactsPath("etc/automotive/vhalconfig"); 141 } 142 143 } // namespace cuttlefish 144