blob: 0371a8ea1d28266fdfcb01cd35c42d18f8e97c56 [file] [log] [blame]
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package hidl2aidl.test@1.2;
import @1.1::OnlyIn11;
import @1.1::NameCollision;
import android.hidl.safe_union@1.0::Monostate;
struct NameCollision {
@1.1::NameCollision reference;
string c;
};
union UnionFoo {
int64_t a;
int8_t b;
@1.1::OnlyIn11 c;
};
safe_union SafeUnionBar {
Monostate noInit;
int8_t a;
uint64_t b;
struct InnerStructBar {
int8_t x;
int8_t z;
} innerStructBar;
@1.1::OnlyIn11 c;
string d;
float e;
double f;
};