blob: 7540ec96102783f6bc6dde78bf4ce01dc315b99d [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!
22 void sendBinder(IBinder binder);
23
24 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
25 // THIS IS ONLY FOR TESTING!
26 IBinder returnNoStabilityBinder();
27
28 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
29 // THIS IS ONLY FOR TESTING!
30 IBinder returnLocalStabilityBinder();
31
32 // DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
33 // THIS IS ONLY FOR TESTING!
34 IBinder returnVintfStabilityBinder();
35}
36// DO NOT EVER IN A MILLION YEARS WRITE AN INTERFACE LIKE THIS!
37// THIS IS ONLY FOR TESTING!
38// Construct and return a binder with a specific stability