blob: 36e1c2cbc48705c422a0f5a951b02c8048c50079 [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
17// DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
18// THIS IS ONLY FOR TESTING!
19interface IBinderStabilityTest {
20 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
21 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070022 void sendBinder(IBinder binder);
Steven Morelanddea3cf92019-07-16 18:06:55 -070023
24 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
25 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070026 void sendAndCallBinder(IBinder binder);
Steven Morelanddea3cf92019-07-16 18:06:55 -070027
28 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
29 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070030 IBinder returnNoStabilityBinder();
Steven Morelanddea3cf92019-07-16 18:06:55 -070031
32 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
33 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070034 IBinder returnLocalStabilityBinder();
Steven Morelandc709dd82019-08-05 20:30:14 -070035
36 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
37 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070038 IBinder returnVintfStabilityBinder();
Steven Morelandc709dd82019-08-05 20:30:14 -070039
40 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
41 // THIS IS ONLY FOR TESTING!
Steven Moreland43564fd2019-08-08 17:27:12 -070042 IBinder returnVendorStabilityBinder();
Steven Morelanddea3cf92019-07-16 18:06:55 -070043}
44// DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
45// THIS IS ONLY FOR TESTING!
46// Construct and return a binder with a specific stability