blob: a626d39d912a5698cc3ec27d83616d109741d320 [file] [log] [blame]
Steven Moreland169bb8f2020-01-29 10:21:35 -08001/*
2 * Copyright (C) 2020 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// This AIDL is to test things that can't be tested in CtsNdkBinderTestCases
18// because it requires libbinder_ndk implementation details or APIs not
19// available to apps. Please prefer adding tests to CtsNdkBinderTestCases
20// over here.
21
22import IEmpty;
23
Steven Moreland326086c2021-06-16 18:30:42 +000024@SensitiveData
Steven Moreland169bb8f2020-01-29 10:21:35 -080025interface IBinderNdkUnitTest {
Steven Morelandb2de9532020-05-29 21:44:41 +000026 int repeatInt(int a);
27
Steven Moreland169bb8f2020-01-29 10:21:35 -080028 void takeInterface(IEmpty test);
29 void forceFlushCommands();
Steven Moreland2f405f52020-07-08 22:24:29 +000030
31 boolean getsRequestedSid();
Amos Bianchi9cf92762021-01-26 11:38:58 -080032
33 void forcePersist(boolean persist);
34 void setCustomActiveServicesCallback();
Steven Moreland169bb8f2020-01-29 10:21:35 -080035}