xref: /aosp_15_r20/cts/tests/appfunctions/assets/appfunctions.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8" standalone="yes"?><!--
2  ~ Copyright (C) 2021 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<appfunctions>
18    <appfunction>
19        <function_id>add</function_id>
20        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
21        <schema_version>1</schema_version>
22        <schema_category>utils</schema_category>
23        <enabled_by_default>true</enabled_by_default>
24        <display_name_string_res>10</display_name_string_res>
25        <restrict_callers_with_execute_app_functions>true
26        </restrict_callers_with_execute_app_functions>
27    </appfunction>
28    <appfunction>
29        <function_id>add_disabledByDefault</function_id>
30        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
31        <schema_version>1</schema_version>
32        <schema_category>utils</schema_category>
33        <enabled_by_default>false</enabled_by_default>
34        <display_name_string_res>10</display_name_string_res>
35        <restrict_callers_with_execute_app_functions>true
36        </restrict_callers_with_execute_app_functions>
37    </appfunction>
38    <appfunction>
39        <function_id>add_invokeCallbackTwice</function_id>
40        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
41        <schema_version>1</schema_version>
42        <schema_category>utils</schema_category>
43        <enabled_by_default>true</enabled_by_default>
44        <display_name_string_res>10</display_name_string_res>
45        <restrict_callers_with_execute_app_functions>true
46        </restrict_callers_with_execute_app_functions>
47    </appfunction>
48    <appfunction>
49        <function_id>addAsync</function_id>
50        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
51        <schema_version>1</schema_version>
52        <schema_category>utils</schema_category>
53        <enabled_by_default>true</enabled_by_default>
54        <display_name_string_res>10</display_name_string_res>
55        <restrict_callers_with_execute_app_functions>true
56        </restrict_callers_with_execute_app_functions>
57    </appfunction>
58    <appfunction>
59        <function_id>kill</function_id>
60        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
61        <schema_version>1</schema_version>
62        <schema_category>utils</schema_category>
63        <enabled_by_default>true</enabled_by_default>
64        <display_name_string_res>10</display_name_string_res>
65        <restrict_callers_with_execute_app_functions>true
66        </restrict_callers_with_execute_app_functions>
67    </appfunction>
68    <appfunction>
69        <function_id>noOp</function_id>
70        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
71        <schema_version>1</schema_version>
72        <schema_category>utils</schema_category>
73        <enabled_by_default>true</enabled_by_default>
74        <display_name_string_res>10</display_name_string_res>
75        <restrict_callers_with_execute_app_functions>true
76        </restrict_callers_with_execute_app_functions>
77    </appfunction>
78    <appfunction>
79        <function_id>noSuchMethod</function_id>
80        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
81        <schema_version>1</schema_version>
82        <schema_category>utils</schema_category>
83        <enabled_by_default>true</enabled_by_default>
84        <display_name_string_res>10</display_name_string_res>
85        <restrict_callers_with_execute_app_functions>true
86        </restrict_callers_with_execute_app_functions>
87    </appfunction>
88    <appfunction>
89        <function_id>notInvokeCallback</function_id>
90        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
91        <schema_version>1</schema_version>
92        <schema_category>utils</schema_category>
93        <enabled_by_default>true</enabled_by_default>
94        <display_name_string_res>10</display_name_string_res>
95        <restrict_callers_with_execute_app_functions>true
96        </restrict_callers_with_execute_app_functions>
97    </appfunction>
98    <appfunction>
99        <function_id>throwException</function_id>
100        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts</schema_name>
101        <schema_version>1</schema_version>
102        <schema_category>utils</schema_category>
103        <enabled_by_default>true</enabled_by_default>
104        <display_name_string_res>10</display_name_string_res>
105        <restrict_callers_with_execute_app_functions>true
106        </restrict_callers_with_execute_app_functions>
107    </appfunction>
108    <appfunction>
109        <function_id>longRunningFunction</function_id>
110        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts.helper</schema_name>
111    </appfunction>
112</appfunctions>
113