1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 * Copyright (c) 2025 Huawei Device Co., Ltd. 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<configuration ver="2.0"> 17 <target name="DeviceUsageStatsServiceTest"> 18 <preparer> 19 <option name="shell" value="mount -o rw,remount /sys_prod"/> 20 <option name="shell" value="target mount"/> 21 <option name="shell" value="mkdir /sys_prod/etc/device_usage_statistics/"/> 22 <option name="push" value="parseconfig/device_usage_statistics_config.json -> /sys_prod/etc/device_usage_statistics/" src="res"/> 23 <option name="push" value="parseconfig/device_usage_statistics_config_test1.json -> /sys_prod/etc/device_usage_statistics/" src="res"/> 24 <option name="push" value="parseconfig/device_usage_statistics_config_test2.json -> /sys_prod/etc/device_usage_statistics/" src="res"/> 25 </preparer> 26 <cleaner> 27 <option name="shell" value="rm -rf /sys_prod/etc/device_usage_statistics/device_usage_statistics_config.json"/> 28 <option name="shell" value="rm -rf /sys_prod/etc/device_usage_statistics/device_usage_statistics_config_test1.json"/> 29 <option name="shell" value="rm -rf /sys_prod/etc/device_usage_statistics/device_usage_statistics_config_test2.json"/> 30 </cleaner> 31 </target> 32</configuration>