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 17package hidl2aidl.test@1.1; 18 19import @1.2::IFoo; 20 21/** 22 * The types in this package are not supported in the Java backend of HIDL 23 */ 24interface IFoo extends @1.2::IFoo { 25 ImportedStruct(Outer outer); 26 27 /** 28 * @param mem memory 29 */ 30 useMemory(memory mem); 31 shouldImportCorrectTypes() generates (vec<OnlyIn11> lst); 32 33 removedOutput() generates (string status); 34 35 fmqMethod(fmq_sync<bool> sync, fmq_unsync<int32_t> unsync) generates (pointer t); 36 37 retVec(int8_t a) generates (vec<string> b); 38}; 39