blob: 9559196db4e7a8cf430d3e97f653cbde4a9c32cc [file] [log] [blame]
Steven Morelanddea3cf92019-07-16 18:06:55 -07001/*
2 * Copyright (C) 2019 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
Steven Morelandc709dd82019-08-05 20:30:14 -070017import IBinderStabilityTestSub;
18
Steven Morelanddea3cf92019-07-16 18:06:55 -070019// DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
20// THIS IS ONLY FOR TESTING!
21interface IBinderStabilityTest {
22 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
23 // THIS IS ONLY FOR TESTING!
Steven Morelandc709dd82019-08-05 20:30:14 -070024 void sendBinder(IBinderStabilityTestSub binder);
Steven Morelanddea3cf92019-07-16 18:06:55 -070025
26 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
27 // THIS IS ONLY FOR TESTING!
Steven Morelandc709dd82019-08-05 20:30:14 -070028 void sendAndCallBinder(IBinderStabilityTestSub binder);
Steven Morelanddea3cf92019-07-16 18:06:55 -070029
30 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
31 // THIS IS ONLY FOR TESTING!
Steven Morelandc709dd82019-08-05 20:30:14 -070032 IBinderStabilityTestSub returnNoStabilityBinder();
Steven Morelanddea3cf92019-07-16 18:06:55 -070033
34 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
35 // THIS IS ONLY FOR TESTING!
Steven Morelandc709dd82019-08-05 20:30:14 -070036 IBinderStabilityTestSub returnLocalStabilityBinder();
37
38 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
39 // THIS IS ONLY FOR TESTING!
40 IBinderStabilityTestSub returnVintfStabilityBinder();
41
42 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
43 // THIS IS ONLY FOR TESTING!
44 IBinderStabilityTestSub returnVendorStabilityBinder();
Steven Morelanddea3cf92019-07-16 18:06:55 -070045}
46// DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
47// THIS IS ONLY FOR TESTING!
48// Construct and return a binder with a specific stability