1*795d594fSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*795d594fSAndroid Build Coastguard Worker<!-- 3*795d594fSAndroid Build Coastguard Worker ~ Copyright (C) 2021 The Android Open Source Project 4*795d594fSAndroid Build Coastguard Worker ~ 5*795d594fSAndroid Build Coastguard Worker ~ Licensed under the Apache License, Version 2.0 (the "License"); 6*795d594fSAndroid Build Coastguard Worker ~ you may not use this file except in compliance with the License. 7*795d594fSAndroid Build Coastguard Worker ~ You may obtain a copy of the License at 8*795d594fSAndroid Build Coastguard Worker ~ 9*795d594fSAndroid Build Coastguard Worker ~ http://www.apache.org/licenses/LICENSE-2.0 10*795d594fSAndroid Build Coastguard Worker ~ 11*795d594fSAndroid Build Coastguard Worker ~ Unless required by applicable law or agreed to in writing, software 12*795d594fSAndroid Build Coastguard Worker ~ distributed under the License is distributed on an "AS IS" BASIS, 13*795d594fSAndroid Build Coastguard Worker ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*795d594fSAndroid Build Coastguard Worker ~ See the License for the specific language governing permissions and 15*795d594fSAndroid Build Coastguard Worker ~ limitations under the License. 16*795d594fSAndroid Build Coastguard Worker --> 17*795d594fSAndroid Build Coastguard Worker<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 18*795d594fSAndroid Build Coastguard Worker version="2.0" 19*795d594fSAndroid Build Coastguard Worker elementFormDefault="qualified" 20*795d594fSAndroid Build Coastguard Worker attributeFormDefault="unqualified" 21*795d594fSAndroid Build Coastguard Worker targetNamespace="http://schemas.android.com/art/apex-cache-info/v1_0" 22*795d594fSAndroid Build Coastguard Worker xmlns:t="http://schemas.android.com/art/apex-cache-info/v1_0" > 23*795d594fSAndroid Build Coastguard Worker <!-- Data type holding information on the AOT artifact cache in 24*795d594fSAndroid Build Coastguard Worker `/data/misc/apexdata/com.android.art/dalvik-cache` --> 25*795d594fSAndroid Build Coastguard Worker <xs:element name="cacheInfo"> 26*795d594fSAndroid Build Coastguard Worker <xs:complexType> 27*795d594fSAndroid Build Coastguard Worker <!-- True if the cache info is generated in the Compilation OS. --> 28*795d594fSAndroid Build Coastguard Worker <xs:attribute name="compilationOsMode" type="xs:boolean" /> 29*795d594fSAndroid Build Coastguard Worker <xs:sequence> 30*795d594fSAndroid Build Coastguard Worker <xs:element name="systemProperties" minOccurs="1" maxOccurs="1" type="t:keyValuePairList" /> 31*795d594fSAndroid Build Coastguard Worker <xs:element name="artModuleInfo" minOccurs="1" maxOccurs="1" type="t:moduleInfo" /> 32*795d594fSAndroid Build Coastguard Worker <xs:element name="moduleInfoList" minOccurs="1" maxOccurs="1" type="t:moduleInfoList" /> 33*795d594fSAndroid Build Coastguard Worker <xs:element name="bootClasspath" minOccurs="1" maxOccurs="1" type="t:classpath" /> 34*795d594fSAndroid Build Coastguard Worker <xs:element name="dex2oatBootClasspath" minOccurs="1" maxOccurs="1" type="t:classpath" /> 35*795d594fSAndroid Build Coastguard Worker <xs:element name="systemServerComponents" minOccurs="1" maxOccurs="1" type="t:systemServerComponents" /> 36*795d594fSAndroid Build Coastguard Worker </xs:sequence> 37*795d594fSAndroid Build Coastguard Worker </xs:complexType> 38*795d594fSAndroid Build Coastguard Worker </xs:element> 39*795d594fSAndroid Build Coastguard Worker 40*795d594fSAndroid Build Coastguard Worker <!-- List of key-value pairs. --> 41*795d594fSAndroid Build Coastguard Worker <xs:complexType name="keyValuePairList"> 42*795d594fSAndroid Build Coastguard Worker <xs:sequence> 43*795d594fSAndroid Build Coastguard Worker <xs:element name="item" type="t:keyValuePair" /> 44*795d594fSAndroid Build Coastguard Worker </xs:sequence> 45*795d594fSAndroid Build Coastguard Worker </xs:complexType> 46*795d594fSAndroid Build Coastguard Worker 47*795d594fSAndroid Build Coastguard Worker <!-- A key-value pair. --> 48*795d594fSAndroid Build Coastguard Worker <xs:complexType name="keyValuePair"> 49*795d594fSAndroid Build Coastguard Worker <xs:attribute name="k" type="xs:string" use="required" /> 50*795d594fSAndroid Build Coastguard Worker <xs:attribute name="v" type="xs:string" use="required" /> 51*795d594fSAndroid Build Coastguard Worker </xs:complexType> 52*795d594fSAndroid Build Coastguard Worker 53*795d594fSAndroid Build Coastguard Worker <!-- List of modules. --> 54*795d594fSAndroid Build Coastguard Worker <xs:complexType name="moduleInfoList"> 55*795d594fSAndroid Build Coastguard Worker <xs:sequence> 56*795d594fSAndroid Build Coastguard Worker <xs:element name="moduleInfo" type="t:moduleInfo" /> 57*795d594fSAndroid Build Coastguard Worker </xs:sequence> 58*795d594fSAndroid Build Coastguard Worker </xs:complexType> 59*795d594fSAndroid Build Coastguard Worker 60*795d594fSAndroid Build Coastguard Worker <!-- Data type representing the provenance of the AOT artifacts in the cache. --> 61*795d594fSAndroid Build Coastguard Worker <xs:complexType name="moduleInfo"> 62*795d594fSAndroid Build Coastguard Worker <!-- Module name for the active APEX from `/apex/apex-info-list.xml`. --> 63*795d594fSAndroid Build Coastguard Worker <xs:attribute name="name" type="xs:string" use="required" /> 64*795d594fSAndroid Build Coastguard Worker <!-- Module versionCode for the active APEX from `/apex/apex-info-list.xml`. --> 65*795d594fSAndroid Build Coastguard Worker <xs:attribute name="versionCode" type="xs:long" use="required" /> 66*795d594fSAndroid Build Coastguard Worker <!-- Module versionName for the active APEX from `/apex/apex-info-list.xml`. --> 67*795d594fSAndroid Build Coastguard Worker <xs:attribute name="versionName" type="xs:string" use="required" /> 68*795d594fSAndroid Build Coastguard Worker <!-- Module lastUpdateMillis for the active APEX from `/apex/apex-info-list.xml`. --> 69*795d594fSAndroid Build Coastguard Worker <xs:attribute name="lastUpdateMillis" type="xs:long" use="required" /> 70*795d594fSAndroid Build Coastguard Worker </xs:complexType> 71*795d594fSAndroid Build Coastguard Worker 72*795d594fSAndroid Build Coastguard Worker <!-- Components of a classpath. --> 73*795d594fSAndroid Build Coastguard Worker <xs:complexType name="classpath"> 74*795d594fSAndroid Build Coastguard Worker <xs:sequence> 75*795d594fSAndroid Build Coastguard Worker <xs:element name="component" type="t:component" /> 76*795d594fSAndroid Build Coastguard Worker </xs:sequence> 77*795d594fSAndroid Build Coastguard Worker </xs:complexType> 78*795d594fSAndroid Build Coastguard Worker 79*795d594fSAndroid Build Coastguard Worker <xs:complexType name="component"> 80*795d594fSAndroid Build Coastguard Worker <!-- File path of component. --> 81*795d594fSAndroid Build Coastguard Worker <xs:attribute name="file" type="xs:string" use="required" /> 82*795d594fSAndroid Build Coastguard Worker <!-- Size of component when cache information is generated. --> 83*795d594fSAndroid Build Coastguard Worker <xs:attribute name="size" type="xs:unsignedLong" use="required" /> 84*795d594fSAndroid Build Coastguard Worker <!-- DEX file checksums within the component. Multidex files have multiple checksums. --> 85*795d594fSAndroid Build Coastguard Worker <xs:attribute name="checksums" type="xs:string" use="required" /> 86*795d594fSAndroid Build Coastguard Worker </xs:complexType> 87*795d594fSAndroid Build Coastguard Worker 88*795d594fSAndroid Build Coastguard Worker <xs:complexType name="systemServerComponents"> 89*795d594fSAndroid Build Coastguard Worker <xs:sequence> 90*795d594fSAndroid Build Coastguard Worker <xs:element name="component" type="t:systemServerComponent" /> 91*795d594fSAndroid Build Coastguard Worker </xs:sequence> 92*795d594fSAndroid Build Coastguard Worker </xs:complexType> 93*795d594fSAndroid Build Coastguard Worker 94*795d594fSAndroid Build Coastguard Worker <xs:complexType name="systemServerComponent"> 95*795d594fSAndroid Build Coastguard Worker <xs:complexContent> 96*795d594fSAndroid Build Coastguard Worker <xs:extension base="component"> 97*795d594fSAndroid Build Coastguard Worker <!-- True if the component is in SYSTEMSERVERCLASSPATH. Otherwise, the component is a 98*795d594fSAndroid Build Coastguard Worker standalone one. --> 99*795d594fSAndroid Build Coastguard Worker <xs:attribute name="isInClasspath" type="xs:boolean" use="required" /> 100*795d594fSAndroid Build Coastguard Worker </xs:extension> 101*795d594fSAndroid Build Coastguard Worker </xs:complexContent> 102*795d594fSAndroid Build Coastguard Worker </xs:complexType> 103*795d594fSAndroid Build Coastguard Worker 104*795d594fSAndroid Build Coastguard Worker</xs:schema> 105