xref: /aosp_15_r20/cts/tests/appfunctions/helper-app/assets/appfunctions.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8" standalone="yes"?><!--
2*b7c941bbSAndroid Build Coastguard Worker  ~ Copyright (C) 2021 The Android Open Source Project
3*b7c941bbSAndroid Build Coastguard Worker  ~
4*b7c941bbSAndroid Build Coastguard Worker  ~ Licensed under the Apache License, Version 2.0 (the "License");
5*b7c941bbSAndroid Build Coastguard Worker  ~ you may not use this file except in compliance with the License.
6*b7c941bbSAndroid Build Coastguard Worker  ~ You may obtain a copy of the License at
7*b7c941bbSAndroid Build Coastguard Worker  ~
8*b7c941bbSAndroid Build Coastguard Worker  ~      http://www.apache.org/licenses/LICENSE-2.0
9*b7c941bbSAndroid Build Coastguard Worker  ~
10*b7c941bbSAndroid Build Coastguard Worker  ~ Unless required by applicable law or agreed to in writing, software
11*b7c941bbSAndroid Build Coastguard Worker  ~ distributed under the License is distributed on an "AS IS" BASIS,
12*b7c941bbSAndroid Build Coastguard Worker  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*b7c941bbSAndroid Build Coastguard Worker  ~ See the License for the specific language governing permissions and
14*b7c941bbSAndroid Build Coastguard Worker  ~ limitations under the License.
15*b7c941bbSAndroid Build Coastguard Worker  -->
16*b7c941bbSAndroid Build Coastguard Worker<appfunctions>
17*b7c941bbSAndroid Build Coastguard Worker    <appfunction>
18*b7c941bbSAndroid Build Coastguard Worker        <function_id>add</function_id>
19*b7c941bbSAndroid Build Coastguard Worker        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts.helper</schema_name>
20*b7c941bbSAndroid Build Coastguard Worker        <schema_version>1</schema_version>
21*b7c941bbSAndroid Build Coastguard Worker        <schema_category>utils</schema_category>
22*b7c941bbSAndroid Build Coastguard Worker        <enabled_by_default>true</enabled_by_default>
23*b7c941bbSAndroid Build Coastguard Worker        <display_name_string_res>10</display_name_string_res>
24*b7c941bbSAndroid Build Coastguard Worker        <restrict_callers_with_execute_app_functions>true</restrict_callers_with_execute_app_functions>
25*b7c941bbSAndroid Build Coastguard Worker    </appfunction>
26*b7c941bbSAndroid Build Coastguard Worker    <appfunction>
27*b7c941bbSAndroid Build Coastguard Worker        <function_id>noOp</function_id>
28*b7c941bbSAndroid Build Coastguard Worker        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts.helper</schema_name>
29*b7c941bbSAndroid Build Coastguard Worker        <schema_version>1</schema_version>
30*b7c941bbSAndroid Build Coastguard Worker        <schema_category>utils</schema_category>
31*b7c941bbSAndroid Build Coastguard Worker        <enabled_by_default>false</enabled_by_default>
32*b7c941bbSAndroid Build Coastguard Worker        <display_name_string_res>10</display_name_string_res>
33*b7c941bbSAndroid Build Coastguard Worker        <restrict_callers_with_execute_app_functions>true</restrict_callers_with_execute_app_functions>
34*b7c941bbSAndroid Build Coastguard Worker    </appfunction>
35*b7c941bbSAndroid Build Coastguard Worker
36*b7c941bbSAndroid Build Coastguard Worker    <appfunction>
37*b7c941bbSAndroid Build Coastguard Worker        <function_id>addWithRestrictCallersWithExecuteAppFunctionsFalse</function_id>
38*b7c941bbSAndroid Build Coastguard Worker        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts.helper</schema_name>
39*b7c941bbSAndroid Build Coastguard Worker        <schema_version>1</schema_version>
40*b7c941bbSAndroid Build Coastguard Worker        <enabled_by_default>true</enabled_by_default>
41*b7c941bbSAndroid Build Coastguard Worker        <schema_category>utils</schema_category>
42*b7c941bbSAndroid Build Coastguard Worker        <restrict_callers_with_execute_app_functions>false</restrict_callers_with_execute_app_functions>
43*b7c941bbSAndroid Build Coastguard Worker    </appfunction>
44*b7c941bbSAndroid Build Coastguard Worker    <appfunction>
45*b7c941bbSAndroid Build Coastguard Worker        <function_id>addWithRestrictCallersWithExecuteAppFunctionsTrue</function_id>
46*b7c941bbSAndroid Build Coastguard Worker        <schema_name>AppFunctionStaticMetadata-android.app.appfunctions.cts.helper</schema_name>
47*b7c941bbSAndroid Build Coastguard Worker        <schema_version>1</schema_version>
48*b7c941bbSAndroid Build Coastguard Worker        <schema_category>utils</schema_category>
49*b7c941bbSAndroid Build Coastguard Worker        <enabled_by_default>true</enabled_by_default>
50*b7c941bbSAndroid Build Coastguard Worker        <restrict_callers_with_execute_app_functions>true</restrict_callers_with_execute_app_functions>
51*b7c941bbSAndroid Build Coastguard Worker    </appfunction>
52*b7c941bbSAndroid Build Coastguard Worker</appfunctions>