Merge "More framework tests cleanup." into froyo

This commit is contained in:
Brett Chabot
2010-04-01 21:45:41 -07:00
committed by Android (Google) Code Review
123 changed files with 360 additions and 1828 deletions

View File

@ -7,6 +7,8 @@ LOCAL_MODULE_TAGS := tests
# Include all test java files.
LOCAL_SRC_FILES := \
$(call all-java-files-under, src) \
$(call all-java-files-under, DisabledTestApp/src) \
$(call all-java-files-under, EnabledTestApp/src) \
src/android/os/IAidlTest.aidl
LOCAL_STATIC_JAVA_LIBRARIES += android-common
@ -18,3 +20,4 @@ LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))

View File

@ -16,7 +16,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="internalOnly"
package="com.android.frameworks.coretests">
package="com.android.frameworks.coretests"
android:sharedUserId="com.android.uid.test">
<permission android:name="com.android.frameworks.coretests.permission.TEST_GRANTED"
android:protectionLevel="normal"

View File

@ -13,8 +13,16 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.frameworks.coretests.disabled_app"
android:sharedUserId="com.android.uid.test">
<resources>
<bool name="trueRes">true</bool>
<bool name="falseRes">false</bool>
</resources>
<application enabled="false">
<!-- Used to test package component enabling and disabling -->
<activity android:name=".DisabledActivity" android:enabled="false" >
</activity>
<activity android:name=".EnabledActivity" >
</activity>
</application>
</manifest>

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.disabled_app;
package com.android.frameworks.coretests.disabled_app;
import android.app.Activity;

View File

@ -1,5 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.unit_tests.enabled_app"
package="com.android.frameworks.coretests.enabled_app"
android:sharedUserId="com.android.uid.test">
<application>
@ -8,7 +23,7 @@
<activity android:name=".DisabledActivity" android:enabled="false" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.android.unit_tests.enabled_app.TEST_CATEGORY" />
<category android:name="com.android.frameworks.coretests.enabled_app.TEST_CATEGORY" />
</intent-filter>
</activity>
<service android:name=".DisabledService" android:enabled="false" >
@ -19,7 +34,7 @@
</intent-filter>
</receiver>
<provider android:name=".DisabledProvider" android:enabled="false"
android:authorities="com.android.unit_tests.enabled_app.DisabledProvider"
android:authorities="com.android.frameworks.coretests.enabled_app.DisabledProvider"
android:process=":disabled.provider.process" />
<activity android:name=".EnabledActivity" >
</activity>
@ -31,7 +46,7 @@
</intent-filter>
</receiver>
<provider android:name=".EnabledProvider"
android:authorities="com.android.unit_tests.enabled_app.EnabledProvider"
android:authorities="com.android.frameworks.coretests.enabled_app.EnabledProvider"
android:process=":enabled.provider.process" />
</application>
</manifest>

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.app.Activity;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.content.ContentProvider;
import android.content.ContentValues;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.app.Service;
import android.os.IBinder;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.app.Activity;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.content.ContentProvider;
import android.content.ContentValues;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.enabled_app;
package com.android.frameworks.coretests.enabled_app;
import android.app.Service;
import android.os.IBinder;

View File

@ -5,7 +5,7 @@ LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := AndroidTests_install_decl_perm
LOCAL_PACKAGE_NAME := FrameworkCoreTests_install_decl_perm
include $(BUILD_PACKAGE)

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.frameworks.coretests.install_decl_perm">
<permission android:name="com.android.frameworks.coretests.NORMAL"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="normal"
android:label="test normal perm" />
<permission android:name="com.android.frameworks.coretests.DANGEROUS"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="dangerous"
android:label="test dangerous perm" />
<permission android:name="com.android.frameworks.coretests.SIGNATURE"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="signature"
android:label="test signature perm" />
<application android:hasCode="false">
</application>
</manifest>

View File

@ -5,7 +5,7 @@ LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := AndroidTests_install_use_perm_good
LOCAL_PACKAGE_NAME := FrameworkCoreTests_install_use_perm_good
include $(BUILD_PACKAGE)

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -13,10 +13,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.frameworks.coretests.install_use_perm_good">
<resources>
<item type="configVarying" name="simple">simple 12key</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 12key</item>
</bag>
</resources>
<uses-permission android:name="com.android.frameworks.coretests.NORMAL" />
<uses-permission android:name="com.android.frameworks.coretests.DANGEROUS" />
<uses-permission android:name="com.android.frameworks.coretests.SIGNATURE" />
<application android:hasCode="false">
</application>
</manifest>

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests;
package android.content;
import android.content.Intent;
import android.test.AndroidTestCase;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests;
package android.content.pm;
import java.io.File;
import java.io.FileInputStream;

View File

@ -14,16 +14,16 @@
* limitations under the License.
*/
package com.android.unit_tests;
package android.content.pm;
import com.android.unit_tests.enabled_app.DisabledActivity;
import com.android.unit_tests.enabled_app.DisabledProvider;
import com.android.unit_tests.enabled_app.DisabledReceiver;
import com.android.unit_tests.enabled_app.DisabledService;
import com.android.unit_tests.enabled_app.EnabledActivity;
import com.android.unit_tests.enabled_app.EnabledProvider;
import com.android.unit_tests.enabled_app.EnabledReceiver;
import com.android.unit_tests.enabled_app.EnabledService;
import com.android.frameworks.coretests.enabled_app.DisabledActivity;
import com.android.frameworks.coretests.enabled_app.DisabledProvider;
import com.android.frameworks.coretests.enabled_app.DisabledReceiver;
import com.android.frameworks.coretests.enabled_app.DisabledService;
import com.android.frameworks.coretests.enabled_app.EnabledActivity;
import com.android.frameworks.coretests.enabled_app.EnabledProvider;
import com.android.frameworks.coretests.enabled_app.EnabledReceiver;
import com.android.frameworks.coretests.enabled_app.EnabledService;
import android.content.ComponentName;
import android.content.Intent;
@ -65,9 +65,9 @@ public class ComponentTest extends AndroidTestCase {
private Intent mDisabledAppEnabledActivityIntent;
private static final String ENABLED_PACKAGENAME =
"com.android.unit_tests.enabled_app";
"com.android.frameworks.coretests.enabled_app";
private static final String DISABLED_PACKAGENAME =
"com.android.unit_tests.disabled_app";
"com.android.frameworks.coretests.disabled_app";
private static final String DISABLED_ACTIVITY_CLASSNAME =
DisabledActivity.class.getName();
private static final ComponentName DISABLED_ACTIVITY_COMPONENTNAME =
@ -103,11 +103,11 @@ public class ComponentTest extends AndroidTestCase {
new ComponentName(ENABLED_PACKAGENAME, ENABLED_PROVIDER_CLASSNAME);
private static final String ENABLED_PROVIDER_NAME = EnabledProvider.class.getName();
private static final String DISABLED_APP_ENABLED_ACTIVITY_CLASSNAME =
com.android.unit_tests.disabled_app.EnabledActivity.class.getName();
com.android.frameworks.coretests.disabled_app.EnabledActivity.class.getName();
private static final ComponentName DISABLED_APP_ENABLED_ACTIVITY_COMPONENTNAME =
new ComponentName(DISABLED_PACKAGENAME, DISABLED_APP_ENABLED_ACTIVITY_CLASSNAME);
private static final String TEST_CATEGORY =
"com.android.unit_tests.enabled_app.TEST_CATEGORY";
"com.android.frameworks.coretests.enabled_app.TEST_CATEGORY";
@Override
protected void setUp() throws Exception {

View File

@ -1946,42 +1946,42 @@ public class PackageManagerTests extends AndroidTestCase {
static final String BASE_PERMISSIONS_DEFINED[] = new String[] {
PERM_PACKAGE, "com.android.unit_tests.install_decl_perm",
PERM_DEFINED,
"com.android.unit_tests.NORMAL",
"com.android.unit_tests.DANGEROUS",
"com.android.unit_tests.SIGNATURE",
"com.android.frameworks.coretests.NORMAL",
"com.android.frameworks.coretests.DANGEROUS",
"com.android.frameworks.coretests.SIGNATURE",
};
static final String BASE_PERMISSIONS_UNDEFINED[] = new String[] {
PERM_PACKAGE, "com.android.unit_tests.install_decl_perm",
PERM_PACKAGE, "com.android.frameworks.coretests.install_decl_perm",
PERM_UNDEFINED,
"com.android.unit_tests.NORMAL",
"com.android.unit_tests.DANGEROUS",
"com.android.unit_tests.SIGNATURE",
"com.android.frameworks.coretests.NORMAL",
"com.android.frameworks.coretests.DANGEROUS",
"com.android.frameworks.coretests.SIGNATURE",
};
static final String BASE_PERMISSIONS_USED[] = new String[] {
PERM_PACKAGE, "com.android.unit_tests.install_use_perm_good",
PERM_PACKAGE, "com.android.frameworks.coretests.install_use_perm_good",
PERM_USED,
"com.android.unit_tests.NORMAL",
"com.android.unit_tests.DANGEROUS",
"com.android.unit_tests.SIGNATURE",
"com.android.frameworks.coretests.NORMAL",
"com.android.frameworks.coretests.DANGEROUS",
"com.android.frameworks.coretests.SIGNATURE",
};
static final String BASE_PERMISSIONS_NOTUSED[] = new String[] {
PERM_PACKAGE, "com.android.unit_tests.install_use_perm_good",
PERM_PACKAGE, "com.android.frameworks.coretests.install_use_perm_good",
PERM_NOTUSED,
"com.android.unit_tests.NORMAL",
"com.android.unit_tests.DANGEROUS",
"com.android.unit_tests.SIGNATURE",
"com.android.frameworks.coretests.NORMAL",
"com.android.frameworks.coretests.DANGEROUS",
"com.android.frameworks.coretests.SIGNATURE",
};
static final String BASE_PERMISSIONS_SIGUSED[] = new String[] {
PERM_PACKAGE, "com.android.unit_tests.install_use_perm_good",
PERM_PACKAGE, "com.android.frameworks.coretests.install_use_perm_good",
PERM_USED,
"com.android.unit_tests.SIGNATURE",
"com.android.frameworks.coretests.SIGNATURE",
PERM_NOTUSED,
"com.android.unit_tests.NORMAL",
"com.android.unit_tests.DANGEROUS",
"com.android.frameworks.coretests.NORMAL",
"com.android.frameworks.coretests.DANGEROUS",
};
/*

View File

@ -14,12 +14,9 @@
* limitations under the License.
*/
package com.android.unit_tests;
import android.test.FrameworkTests;
import android.test.suitebuilder.TestSuiteBuilder;
package android.database;
import junit.framework.TestSuite;
import junit.framework.TestCase;
public class NewDatabasePerformanceTestSuite extends TestSuite {
public static TestSuite suite() {

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests;
package android.database;
import android.content.ContentValues;
import android.database.sqlite.SQLiteDatabase;

View File

@ -16,14 +16,25 @@
package android.text;
import android.test.InstrumentationTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import android.text.Html;
import android.text.Spanned;
import android.text.style.StyleSpan;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.Typeface;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.style.ForegroundColorSpan;
import android.text.style.QuoteSpan;
import android.text.style.StrikethroughSpan;
import android.text.style.StyleSpan;
import android.text.style.SubscriptSpan;
import android.text.style.SuperscriptSpan;
import android.text.style.TextAppearanceSpan;
import android.text.style.TypefaceSpan;
import android.text.style.URLSpan;
import android.text.style.UnderlineSpan;
public class HtmlTest extends InstrumentationTestCase {
import junit.framework.TestCase;
public class HtmlTest extends TestCase {
@MediumTest
public void testSingleTagOnWhileString() {
@ -63,4 +74,175 @@ public class HtmlTest extends InstrumentationTestCase {
String spanned = Html.fromHtml("&copy; &gt; &lt").toString();
assertEquals("\u00a9 > <", spanned);
}
@MediumTest
public void testColor() throws Exception {
Spanned s;
ForegroundColorSpan[] colors;
s = Html.fromHtml("<font color=\"#00FF00\">something</font>");
colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
assertEquals(1, colors.length);
assertEquals(0xFF00FF00, colors[0].getForegroundColor());
s = Html.fromHtml("<font color=\"navy\">something</font>");
colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
assertEquals(1, colors.length);
assertEquals(0xFF000080, colors[0].getForegroundColor());
s = Html.fromHtml("<font color=\"gibberish\">something</font>");
colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
assertEquals(0, colors.length);
}
@MediumTest
public void testResourceColor() throws Exception {
ColorStateList c =
Resources.getSystem().getColorStateList(android.R.color.primary_text_dark);
Spanned s;
TextAppearanceSpan[] colors;
s = Html.fromHtml("<font color=\"@android:color/primary_text_dark\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(1, colors.length);
assertEquals(c.toString(), colors[0].getTextColor().toString());
s = Html.fromHtml("<font color=\"@android:primary_text_dark\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(1, colors.length);
assertEquals(c.toString(), colors[0].getTextColor().toString());
s = Html.fromHtml("<font color=\"@color/primary_text_dark\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(1, colors.length);
assertEquals(c.toString(), colors[0].getTextColor().toString());
s = Html.fromHtml("<font color=\"@primary_text_dark\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(1, colors.length);
assertEquals(c.toString(), colors[0].getTextColor().toString());
s = Html.fromHtml("<font color=\"@" + android.R.color.primary_text_dark
+ "\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(1, colors.length);
assertEquals(c.toString(), colors[0].getTextColor().toString());
s = Html.fromHtml("<font color=\"gibberish\">something</font>");
colors = s.getSpans(0, s.length(), TextAppearanceSpan.class);
assertEquals(colors.length, 0);
}
@SmallTest
public void testParagraphs() throws Exception {
SpannableString s;
s = new SpannableString("Hello world");
assertEquals(Html.toHtml(s), "<p>Hello world</p>\n");
s = new SpannableString("Hello world\nor something");
assertEquals(Html.toHtml(s), "<p>Hello world<br>\nor something</p>\n");
s = new SpannableString("Hello world\n\nor something");
assertEquals(Html.toHtml(s), "<p>Hello world</p>\n<p>or something</p>\n");
s = new SpannableString("Hello world\n\n\nor something");
assertEquals(Html.toHtml(s), "<p>Hello world<br></p>\n<p>or something</p>\n");
assertEquals("foo\nbar", Html.fromHtml("foo<br>bar").toString());
assertEquals("foo\nbar", Html.fromHtml("foo<br>\nbar").toString());
assertEquals("foo\nbar", Html.fromHtml("foo<br>\n \nbar").toString());
}
@SmallTest
public void testBlockquote() throws Exception {
SpannableString s;
s = new SpannableString("Hello world");
s.setSpan(new QuoteSpan(), 0, s.length(), Spannable.SPAN_PARAGRAPH);
assertEquals(Html.toHtml(s), "<blockquote><p>Hello world</p>\n</blockquote>\n");
s = new SpannableString("Hello\n\nworld");
s.setSpan(new QuoteSpan(), 0, 7, Spannable.SPAN_PARAGRAPH);
assertEquals(Html.toHtml(s), "<blockquote><p>Hello</p>\n</blockquote>\n<p>world</p>\n");
}
@SmallTest
public void testEntities() throws Exception {
SpannableString s;
s = new SpannableString("Hello <&> world");
assertEquals(Html.toHtml(s), "<p>Hello &lt;&amp;&gt; world</p>\n");
s = new SpannableString("Hello \u03D5 world");
assertEquals(Html.toHtml(s), "<p>Hello &#981; world</p>\n");
s = new SpannableString("Hello world");
assertEquals(Html.toHtml(s), "<p>Hello&nbsp; world</p>\n");
}
@SmallTest
public void testMarkup() throws Exception {
SpannableString s;
s = new SpannableString("Hello bold world");
s.setSpan(new StyleSpan(Typeface.BOLD), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <b>bold</b> world</p>\n");
s = new SpannableString("Hello italic world");
s.setSpan(new StyleSpan(Typeface.ITALIC), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <i>italic</i> world</p>\n");
s = new SpannableString("Hello monospace world");
s.setSpan(new TypefaceSpan("monospace"), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <tt>monospace</tt> world</p>\n");
s = new SpannableString("Hello superscript world");
s.setSpan(new SuperscriptSpan(), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <sup>superscript</sup> world</p>\n");
s = new SpannableString("Hello subscript world");
s.setSpan(new SubscriptSpan(), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <sub>subscript</sub> world</p>\n");
s = new SpannableString("Hello underline world");
s.setSpan(new UnderlineSpan(), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <u>underline</u> world</p>\n");
s = new SpannableString("Hello struck world");
s.setSpan(new StrikethroughSpan(), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s), "<p>Hello <strike>struck</strike> world</p>\n");
s = new SpannableString("Hello linky world");
s.setSpan(new URLSpan("http://www.google.com"), 6, s.length() - 6,
Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
assertEquals(Html.toHtml(s),
"<p>Hello <a href=\"http://www.google.com\">linky</a> world</p>\n");
}
@SmallTest
public void testImg() throws Exception {
Spanned s;
s = Html.fromHtml("yes<img src=\"http://example.com/foo.gif\">no");
assertEquals("<p>yes<img src=\"http://example.com/foo.gif\">no</p>\n",
Html.toHtml(s));
}
@SmallTest
public void testUtf8() throws Exception {
Spanned s;
s = Html.fromHtml("<p>\u0124\u00eb\u0142\u0142o, world!</p>");
assertEquals("<p>&#292;&#235;&#322;&#322;o, world!</p>\n", Html.toHtml(s));
}
}

View File

@ -14,16 +14,14 @@
* limitations under the License.
*/
package com.android.unit_tests;
package android.text.util;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.*;
import android.text.method.*;
import android.text.style.*;
import android.text.util.*;
import android.widget.*;
import android.text.method.LinkMovementMethod;
import android.text.util.Linkify;
import android.widget.TextView;
/**
* LinkifyTest tests {@link Linkify}.

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.unit_tests;
package android.util;
import android.test.suitebuilder.annotation.SmallTest;
import android.util.Patterns;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.unit_tests;
package com.android.internal.net;
import com.android.internal.net.DNParser;

View File

@ -13,9 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.unit_tests;
package com.android.internal.net;
import com.android.internal.net.DomainNameValidator;
import com.android.frameworks.coretests.R;
import com.android.frameworks.coretests.R.raw;
import android.test.AndroidTestCase;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.unit_tests.internal.util;
package com.android.internal.util;
import java.text.Collator;
import java.util.Arrays;

View File

@ -16,10 +16,11 @@
package android.graphics;
import com.android.frameworks.graphicstests.R;
import android.content.res.Resources;
import android.content.res.ColorStateList;
import android.test.AndroidTestCase;
import android.core.R;
import android.test.suitebuilder.annotation.SmallTest;
/**

View File

@ -1,21 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_JAVA_LIBRARIES := framework-tests android.test.runner services
# Resource unit tests use a private locale
LOCAL_AAPT_FLAGS = -c xx_YY -c cs -c 160dpi -c 32dpi -c 240dpi
LOCAL_SRC_FILES := \
$(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := AndroidTests
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
LOCAL_STORED_PATH:= $(LOCAL_PATH)
include $(call all-makefiles-under,$(LOCAL_STORED_PATH))
include $(call all-makefiles-under,$(LOCAL_STORED_PATH)/apks)

View File

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.unit_tests"
android:sharedUserId="com.android.uid.test">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
<uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
<uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
<uses-permission android:name="android.permission.GET_PACKAGE_SIZE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
<uses-permission android:name="android.permission.MOVE_PACKAGE" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.ASEC_ACCESS" />
<uses-permission android:name="android.permission.ASEC_CREATE" />
<uses-permission android:name="android.permission.ASEC_DESTROY" />
<uses-permission android:name="android.permission.ASEC_MOUNT_UNMOUNT" />
<uses-permission android:name="android.permission.ASEC_RENAME" />
<uses-permission android:name="android.permission.SHUTDOWN" />
<uses-permission android:name="com.android.unit_tests.permission.TEST_GRANTED" />
<uses-permission android:name="com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES" />
<!-- InstrumentationTestRunner for AndroidTests -->
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.android.unit_tests"
android:label="Tests for AndroidTests (unit tests collection)"/>
<application>
<uses-library android:name="android.test.runner" />
<activity android:name="AndroidPerformanceTests" android:label="Android Performance Tests">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.UNIT_TEST" />
</intent-filter>
</activity>
</application>
</manifest>

View File

@ -1,13 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.unit_tests.disabled_app"
android:sharedUserId="com.android.uid.test">
<application enabled="false">
<!-- Used to test package component enabling and disabling -->
<activity android:name=".DisabledActivity" android:enabled="false" >
</activity>
<activity android:name=".EnabledActivity" >
</activity>
</application>
</manifest>

View File

@ -1,190 +0,0 @@
Copyright (c) 2005-2008, The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS

View File

@ -1,21 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.unit_tests.install_decl_perm">
<permission android:name="com.android.unit_tests.NORMAL"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="normal"
android:label="test normal perm" />
<permission android:name="com.android.unit_tests.DANGEROUS"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="dangerous"
android:label="test dangerous perm" />
<permission android:name="com.android.unit_tests.SIGNATURE"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="signature"
android:label="test signature perm" />
<application android:hasCode="false">
</application>
</manifest>

View File

@ -1,10 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.unit_tests.install_use_perm_good">
<uses-permission android:name="com.android.unit_tests.NORMAL" />
<uses-permission android:name="com.android.unit_tests.DANGEROUS" />
<uses-permission android:name="com.android.unit_tests.SIGNATURE" />
<application android:hasCode="false">
</application>
</manifest>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 12key 63x57</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 12key 63x57</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 12key dpad</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 12key dpad</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 240dpi</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 240dpi</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 32dpi keysexposed</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 32dpi keysexposed</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 32dpi stylus</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 32dpi stylus</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 32dpi</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 32dpi</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 480x320</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 480x320</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple 640x400</item>
<bag type="configVarying" name="bag">
<item name="testString">bag 640x400</item>
</bag>
</resources>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<plurals name="plurals_test">
<item quantity="one">A Czech dog</item>
<item quantity="few">Few Czech dogs</item>
<item quantity="other">Some Czech dogs</item>
</plurals>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple dpad 63x57</item>
<bag type="configVarying" name="bag">
<item name="testString">bag dpad 63x57</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple dpad</item>
<bag type="configVarying" name="bag">
<item name="testString">bag dpad</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple fr FR</item>
<bag type="configVarying" name="bag">
<item name="testString">bag fr FR</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple fr</item>
<bag type="configVarying" name="bag">
<item name="testString">bag fr</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple keysexposed 12key</item>
<bag type="configVarying" name="bag">
<item name="testString">bag keysexposed 12key</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple keysexposed dpad</item>
<bag type="configVarying" name="bag">
<item name="testString">bag keysexposed dpad</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple keysexposed</item>
<bag type="configVarying" name="bag">
<item name="testString">bag keysexposed</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple landscape</item>
<bag type="configVarying" name="bag">
<item name="testString">bag landscape</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc110 xx</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc110 xx</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc111 mnc222</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc111 mnc222</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc111 xx-rYY</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc111 xx-rYY</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc111 xx</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc111 xx</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc111</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc111</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mcc112</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mcc112</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc220 xx</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc220 xx</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc222 32dpi</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc222 32dpi</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc222 square</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc222 square</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc222 xx</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc222 xx</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc222</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc222</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple mnc223</item>
<bag type="configVarying" name="bag">
<item name="testString">bag mnc223</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple nokeys</item>
<bag type="configVarying" name="bag">
<item name="testString">bag nokeys</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple nonav</item>
<bag type="configVarying" name="bag">
<item name="testString">bag nonav</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple notouch</item>
<bag type="configVarying" name="bag">
<item name="testString">bag notouch</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple square 32dpi</item>
<bag type="configVarying" name="bag">
<item name="testString">bag square 32dpi</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple square stylus</item>
<bag type="configVarying" name="bag">
<item name="testString">bag square stylus</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple square</item>
<bag type="configVarying" name="bag">
<item name="testString">bag square</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple stylus 12key</item>
<bag type="configVarying" name="bag">
<item name="testString">bag stylus 12key</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple stylus keysexposed</item>
<bag type="configVarying" name="bag">
<item name="testString">bag stylus keysexposed</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple stylus</item>
<bag type="configVarying" name="bag">
<item name="testString">bag stylus</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple wheel</item>
<bag type="configVarying" name="bag">
<item name="testString">bag wheel</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple xx 32dpi</item>
<bag type="configVarying" name="bag">
<item name="testString">bag xx 32dpi</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple xx-rYY</item>
<bag type="configVarying" name="bag">
<item name="testString">bag xx-rYY</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple xx square</item>
<bag type="configVarying" name="bag">
<item name="testString">bag xx square</item>
</bag>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple xx</item>
<bag type="configVarying" name="bag">
<item name="testString">bag xx</item>
</bag>
</resources>

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="integer" name="reference" format="integer">101</item>
<!--
<array name="generic">
<item>zero</item>
<item>1</item>
<item>@string/reference</item>
</array>
<array name="genericStrings" format="string">
<item>zero</item>
<item>1</item>
<item>@string/reference</item>
</array>
-->
<string-array name="strings">
<item>zero</item>
<item>1</item>
<item>@string/reference</item>
</string-array>
<integer-array name="integers">
<item>0</item>
<item>1</item>
<item>@integer/reference</item>
</integer-array>
</resources>

View File

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<attr name="testEnum">
<enum name="val1" value="1" />
<enum name="val2" value="2" />
<enum name="val10" value="10" />
</attr>
<attr name="testFlags">
<flag name="bit1" value="0x1" />
<flag name="bit2" value="0x2" />
<flag name="bit31" value="0x40000000" />
</attr>
<attr name="testString" format="string" />
<declare-styleable name="EnumStyle">
<attr name="testEnum" />
</declare-styleable>
<declare-styleable name="FlagStyle">
<attr name="testFlags" />
</declare-styleable>
<declare-styleable name="TestConfig">
<attr name="testString" />
</declare-styleable>
</resources>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item type="configVarying" name="simple">simple default</item>
<bag type="configVarying" name="bag">
<item name="testString">bag default</item>
</bag>
</resources>

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<item name="frac100perc" type="dimen" format="fraction">100%</item>
<item name="frac1perc" type="dimen" format="fraction">1%</item>
<item name="fracp1perc" type="dimen" format="fraction">.1%</item>
<item name="fracp01perc" type="dimen" format="fraction">.01%</item>
<item name="frac0perc" type="dimen" format="fraction">0%</item>
<item name="frac1p1perc" type="dimen" format="fraction">1.1%</item>
<item name="frac100p1perc" type="dimen" format="fraction">100.1%</item>
<item name="frac25510perc" type="dimen" format="fraction">25510%</item>
<item name="frac25610perc" type="dimen" format="fraction">25610%</item>
<item name="frac6553510perc" type="dimen" format="fraction">6553510%</item>
<item name="frac6553610perc" type="dimen" format="fraction">6553610%</item>
<item name="frac100pperc" type="dimen" format="fraction">100%p</item>
<item name="frac1pperc" type="dimen" format="fraction">1%p</item>
<item name="fracp1pperc" type="dimen" format="fraction">.1%p</item>
<item name="fracp01pperc" type="dimen" format="fraction">.01%p</item>
<item name="frac0pperc" type="dimen" format="fraction">0%p</item>
<item name="frac1p1pperc" type="dimen" format="fraction">1.1%p</item>
<item name="frac100p1pperc" type="dimen" format="fraction">100.1%p</item>
<item name="frac25510pperc" type="dimen" format="fraction">25510%p</item>
<item name="frac25610pperc" type="dimen" format="fraction">25610%p</item>
<item name="frac6553510pperc" type="dimen" format="fraction">6553510%p</item>
<item name="frac6553610pperc" type="dimen" format="fraction">6553610%p</item>
</resources>

Some files were not shown because too many files have changed in this diff Show More