1 // Copyright (C) 2019 The Android Open Source Project 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #ifndef COMPUTEPIPE_RUNNER_UTILS_PIPEOPTIONSCONVERTER_H_ 16 #define COMPUTEPIPE_RUNNER_UTILS_PIPEOPTIONSCONVERTER_H_ 17 18 #include <aidl/android/automotive/computepipe/runner/BnPipeRunner.h> 19 20 #include "Options.pb.h" 21 22 namespace android { 23 namespace automotive { 24 namespace computepipe { 25 namespace runner { 26 namespace client_interface { 27 namespace aidl_client { 28 29 aidl::android::automotive::computepipe::runner::PipeDescriptor OptionsToPipeDescriptor( 30 const proto::Options& options); 31 32 } // namespace aidl_client 33 } // namespace client_interface 34 } // namespace runner 35 } // namespace computepipe 36 } // namespace automotive 37 } // namespace android 38 39 #endif // COMPUTEPIPE_RUNNER_UTILS_PIPEOPTIONSCONVERTER_H_ 40