/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/ |
SdkAddonConstants.java | 25 * Public constants for the sdk-addon XML Schema.
31 * sdk-addon XML if the URL doesn't match an existing resource.
33 public static final String URL_DEFAULT_FILENAME = "addon.xml"; //$NON-NLS-1$
35 /** The base of our sdk-addon XML namespace. */
37 "http://schemas.android.com/sdk/android/addon/"; //$NON-NLS-1$
40 * The pattern of our sdk-addon XML namespace.
46 * The latest version of the sdk-addon XML Schema.
51 /** The XML namespace of the latest sdk-addon XML. */
54 /** The root sdk-addon element */
55 public static final String NODE_SDK_ADDON = "sdk-addon"; //$NON-NLS-1$ [all...] |
SdkAddonsListConstants.java | 55 public static final String NODE_ADDON_SITE = "addon-site"; //$NON-NLS-1$
64 * to the latest sdk-addon-N.xsd schema, or it can be the URL of a
66 * named 'addon.xml' at this location.
75 * http://www.example.com/android/addon.xml
80 * Returns a stream to the requested sdk-addon XML Schema.
92 * Returns the URI of the sdk-addon schema for the given version number.
|
sdk-addons-list-1.xsd | 38 <xsd:element name="addon-site" type="sa1:addonSiteType" /> 52 to the latest sdk-addon-N.xsd schema, or it can be the URL of a 54 named 'addon.xml' at this location. 62 http://www.example.com/android/addon.xml
|
PkgProps.java | 49 public static final String ADDON_NAME = "Addon.Name"; //$NON-NLS-1$
50 public static final String ADDON_NAME_ID = "Addon.NameId"; //$NON-NLS-1$
51 public static final String ADDON_NAME_DISPLAY = "Addon.NameDisplay"; //$NON-NLS-1$
53 public static final String ADDON_VENDOR = "Addon.Vendor"; //$NON-NLS-1$
54 public static final String ADDON_VENDOR_ID = "Addon.VendorId"; //$NON-NLS-1$
55 public static final String ADDON_VENDOR_DISPLAY = "Addon.VendorDisplay"; //$NON-NLS-1$
|
README.txt | 19 - type is either addon, addons-list or repository.
|
sdk-addon-4.xsd | 18 targetNamespace="http://schemas.android.com/sdk/android/addon/4" 20 xmlns:sdk="http://schemas.android.com/sdk/android/addon/4" 29 An Android Addon repository is a web site that contains an "addon.xml" 34 main SDK Repository XML Schema and can only contain <addon> and 41 - <addon> element now has an optional <layoutlib> that indicates the API 49 - <extra> and <addon> are not in the Repository XSD v6 anymore. 54 - <addon> does the same, where <name> is replaced by <name-id> and <name-display> 58 <xsd:element name="sdk-addon" type="sdk:repositoryType" /> 152 An ID string for an addon/extra name-id or vendor-i [all...] |
sdk-addon-1.xsd | 18 targetNamespace="http://schemas.android.com/sdk/android/addon/1" 20 xmlns:sdk="http://schemas.android.com/sdk/android/addon/1" 29 An Android Addon repository is a web site that contains an "addon.xml" 34 main SDK Repository XML Schema and can only contain <addon> and 38 <xsd:element name="sdk-addon" type="sdk:repositoryType" />
|
sdk-addon-2.xsd | 18 targetNamespace="http://schemas.android.com/sdk/android/addon/2" 20 xmlns:sdk="http://schemas.android.com/sdk/android/addon/2" 29 An Android Addon repository is a web site that contains an "addon.xml" 34 main SDK Repository XML Schema and can only contain <addon> and 41 - <addon> element now has an optional <layoutlib> that indicates the API 45 <xsd:element name="sdk-addon" type="sdk:repositoryType" /> 125 <!-- The definition of a layout library used by an addon. --> 130 Version information for a layoutlib included in an addon.
|
sdk-addon-3.xsd | 18 targetNamespace="http://schemas.android.com/sdk/android/addon/3" 20 xmlns:sdk="http://schemas.android.com/sdk/android/addon/3" 29 An Android Addon repository is a web site that contains an "addon.xml" 34 main SDK Repository XML Schema and can only contain <addon> and 41 - <addon> element now has an optional <layoutlib> that indicates the API 49 <xsd:element name="sdk-addon" type="sdk:repositoryType" /> 129 <!-- The definition of a layout library used by an addon. --> 134 Version information for a layoutlib included in an addon.
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/testdata/ |
addons_list_sample_1.xml | 20 <sdk:addon-site> 25 </sdk:addon-site> 27 <sdk:addon-site> 31 </sdk:addon-site> 33 <sdk:addon-site> 36 </sdk:addon-site>
|
addon_sample_1.xml | 17 <sdk:sdk-addon 18 xmlns:sdk="http://schemas.android.com/sdk/android/addon/1"> 164 </sdk:sdk-addon>
|
addon_sample_2.xml | 17 <sdk:sdk-addon 18 xmlns:sdk="http://schemas.android.com/sdk/android/addon/2"> 179 </sdk:sdk-addon>
|
addon_sample_3.xml | 17 <sdk:sdk-addon 18 xmlns:sdk="http://schemas.android.com/sdk/android/addon/3"> 180 </sdk:sdk-addon>
|
/build/core/tasks/ |
sdk-addon.mk | 30 define stub-addon-jar-file 31 $(subst .jar,_stub-addon.jar,$(1)) 34 define stub-addon-jar 35 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs 36 $(info Stubbing addon jar using $(PRODUCT_SDK_ADDON_STUB_DEFS)) 41 # Files that are built and then copied into the sdk-addon 45 $(eval $(call stub-addon-jar,$(_src))) \ 46 $(eval _src := $(call stub-addon-jar-file,$(_src))) \ 53 # Files that are copied directly into the sdk-addon 82 @echo Packaging SDK Addon: $ [all...] |
/sdk/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/ |
PackagesDiffLogicTest.java | 378 // Next update adds platforms and addon, sorted in a category based on their API level 392 new MockAddonPackage(src2, "addon A", p1, 5), 393 new MockAddonPackage(src2, "addon D", p1, 10), 404 new MockAddonPackage(src2, "addon C", p2, 9), 405 new MockAddonPackage(src2, "addon A", p1, 6), 407 new MockAddonPackage(src2, "addon B", p2, 7), 408 new MockAddonPackage(src2, "addon B", p2, 8), 409 new MockAddonPackage(src2, "addon B", p2, 9), 411 new MockAddonPackage(src2, "addon D", p1, 10), 412 new MockAddonPackage(src2, "addon D", p1, 12), // note: 12 listed before 1 [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/ |
ValidateAddonXmlTest.java | 37 * Tests local validation of an SDK Addon sample XMLs using an XML Schema validator.
42 "<r:sdk-addon xmlns:r=\"http://schemas.android.com/sdk/android/addon/" +
45 private static String CLOSE_TAG_ADDON = "</r:sdk-addon>";
50 * Helper method that returns a validator for our Addon XSD
93 "There's an ADDON XSD at version %d but SdkAddonConstants.NS_LATEST_VERSION is still set to %d.",
153 * An addon does not support a codename.
154 * There used to be a typo in the repository.XSD versions 1-2 & the addon XSD versions 1-2
163 "<r:name-id>AddonName</r:name-id> <r:name-display>The Addon Name</r:name-display> " +
164 "<r:vendor-id>AddonVendor</r:vendor-id> <r:vendor-display>The Addon Vendor</r:vendor-display> " + [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/ |
MockAddonPackage.java | 41 * Creates a {@link MockAddonTarget} with the requested base platform and addon revision
42 * and then a {@link MockAddonPackage} wrapping it and a default name of "addon".
47 this("addon", basePlatform, revision); //$NON-NLS-1$
51 * Creates a {@link MockAddonTarget} with the requested base platform and addon revision
148 return "/sdk/add-ons/addon-" + mName;
223 return String.format("mock-addon-%1$d", getVersion().getApiLevel());
231 /** Returns false for an addon. */
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
SdkAddonSource.java | 29 * An sdk-addon source, i.e. a download site for addons and extra packages.
45 * Returns true if this is an addon source.
89 * There is no support forward evolution of the sdk-addon schema yet since we
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
AddonPackage.java | 140 // addon-4.xsd introduces the name-id, name-display, vendor-id and vendor-display.
142 // that only provide name and vendor. If the addon provides neither set of fields,
236 // addon-4.xsd introduces the name-id, name-display, vendor-id and vendor-display.
238 // that only provide name and vendor. If the addon provides neither set of fields,
302 * Creates a broken addon which we know failed to load properly.
304 * @param archiveOsPath The absolute OS path of the addon folder.
305 * @param sourceProps The properties parsed from the addon's source.properties. Can be null.
306 * @param addonProps The properties parsed from the addon manifest (NOT the source.properties).
307 * @param error The error indicating why this addon failed to be loaded.
335 "[*] Addon failed to load: %2$s", [all...] |
ExtraPackage.java | 108 // Read name-display, vendor-display and vendor-id, introduced in addon-4.xsd.
109 // These are not optional, they are mandatory in addon-4 but we still treat them
111 // defined in addon-3.xsd.
120 // happens in an addon-3 schema, in which case the old <vendor> needs to be used.
135 // If name is missing, use the <path> attribute as done in an addon-3 schema.
250 // If name is missing, use the <path> attribute as done in an addon-3 schema.
329 * @since sdk-repository-4.xsd or sdk-addon-2.xsd
412 * and {@link #mVendorDisplay} in addon-3 schemas.
|
/development/build/tools/ |
mk_sdk_repo_xml.sh | 28 - schema is one of 'repository' or 'addon' 48 # Get the schema type. Must be either "repository" or "addon". 54 # This will be something like "http://schemas.android.com/sdk/android/addon/3" 63 # which name starts with "sdk-" (e.g. sdk-repository, sdk-addon) 111 # from source.properties for addon.xml packages 121 # from addon manifest.ini for addon.xml packages 268 # Parse the libs for an addon and generate the <libs> node
|
sdk_repo.mk | 109 # Note that extras are now located in addon.xml, not in repository.xml, 165 $(TOPDIR)sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-addon-*.xsd \ 169 # Rules for sdk addon 173 # ADDON_SDK_ZIP is defined in build/core/tasks/sdk-addon.sh and is 177 RENAMED_ADDON_ZIP := $(ADDON_SDK_ZIP):$(notdir $(call sdk-repo-pkg-zip,$(HOST_OS),$(ADDON_SDK_ZIP),addon)) 181 # Also generate the addon.xml using the latest schema and the renamed addon zip 183 SDK_ADDON_XML := $(dir $(ADDON_SDK_ZIP))/addon.xml
|
/sdk/eclipse/ |
dictionary.txt | 5 addon
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
AddOnTarget.java | 96 * @param hasRenderingLibrary whether the addon has a custom layoutlib.jar 374 AddOnTarget addon = (AddOnTarget)obj; local 376 return mVendor.equals(addon.mVendor) && mName.equals(addon.mName) && 377 mBasePlatform.getVersion().equals(addon.mBasePlatform.getVersion());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigManagerDialog.java | 68 ADDON("Add-on"), 113 DeviceType.DEFAULT, DeviceType.ADDON, DeviceType.CUSTOM 131 } else if (DeviceType.ADDON.equals(parentElement)) { 155 } else if (DeviceType.ADDON.equals(element)) { 387 if (selection.type == DeviceType.DEFAULT || selection.type == DeviceType.ADDON || 406 // in default/addon by editing the version in the new device. 513 case ADDON:
|