blob: 2ced1e86a85009a50e5bc13e62fe444f208fde71 [file] [log] [blame]
/*
* Copyright (C) 2018 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 android.aidl.tests;
parcelable StructuredParcelable {
int[] shouldContainThreeFs;
int f;
@utf8InCpp String shouldBeJerry;
String stringDefaultsToFoo = "foo";
byte byteDefaultsToFour = 4;
int intDefaultsToFive = 5;
long longDefaultsToNegativeSeven = -7;
boolean booleanDefaultsToTrue = true;
char charDefaultsToC = 'C';
float floatDefaultsToPi = 3.14f;
double doubleWithDefault = -3.14e17;
int[] arrayDefaultsTo123 = { 1, 2, 3 };
int[] arrayDefaultsToEmpty = { };
// parse checks only
double checkDoubleFromFloat = 3.14f;
String[] checkStringArray1 = { "a", "b" };
@utf8InCpp String[] checkStringArray2 = { "a", "b" };
}