• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
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 package android.os.ext.test;
18 
19 import android.annotation.SystemApi;
20 import android.annotation.TestApi;
21 
22 /** This class exists purely to test new API additions are callable in tests. */
23 public class Test {
24 
Test()25     public Test() {}
26 
publicMethod()27     public void publicMethod() {}
28 
29     /** @hide */
30     @SystemApi
systemApiMethod()31     public void systemApiMethod() {}
32 
33     /** @hide */
34     @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
moduleLibsApiMethod()35     public void moduleLibsApiMethod() {}
36 
37     /** @hide */
38     @TestApi
testApiMethod()39     public void testApiMethod() {}
40 
41     /** @hide */
hiddenMethod()42     public void hiddenMethod() {}
43 
staticPublicMethod()44     public static void staticPublicMethod() {}
45 
46     /** @hide */
47     @SystemApi
staticSystemApiMethod()48     public static void staticSystemApiMethod() {}
49 
50     /** @hide */
51     @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
staticModuleLibsApiMethod()52     public static void staticModuleLibsApiMethod() {}
53 
54     /** @hide */
55     @TestApi
staticTestApiMethod()56     public static void staticTestApiMethod() {}
57 
58     /** @hide */
staticHiddenMethod()59     public static void staticHiddenMethod() {}
60 
61 }
62