/cts/hostsidetests/appsecurity/test-apps/ReadSettingsFieldsApp/ |
D | Android.bp | 23 "androidx.test.rules", 26 "android.test.runner", 27 "android.test.base", 32 // tag this module as a cts test artifact 44 "androidx.test.rules", 47 "android.test.runner", 48 "android.test.base", 53 // tag this module as a cts test artifact 65 "androidx.test.rules", 68 "android.test.runner", [all …]
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 27 SensorTest *test = new SensorTest(); in setUp() local 28 if (test != nullptr) { in setUp() 29 test->SetUp(); in setUp() 31 return reinterpret_cast<jlong>(test); in setUp() 38 void test(JNIEnv* env, jclass, jlong instance) { in test() function 39 SensorTest *test = reinterpret_cast<SensorTest *>(instance); in test() local 40 ASSERT_NOT_NULL(test); in test() 44 test->testInitialized(env); in test() 49 test->testInvalidParameter(env); in test() 63 test->testDirectReport(env, s, c, r); in test() [all …]
|
/cts/hostsidetests/appsecurity/certs/keysets/ |
D | Android.bp | 6 name: "cts-keyset-test-a", 7 certificate: "cts-keyset-test-a", 11 name: "cts-keyset-test-b", 12 certificate: "cts-keyset-test-b", 16 name: "cts-keyset-test-c", 17 certificate: "cts-keyset-test-c", 21 name: "cts-keyset-test-ec-a", 22 certificate: "cts-keyset-test-ec-a",
|
D | README | 2 development/tools/make_key cts-keyset-test-a '/CN=unit_test_a' 3 development/tools/make_key cts-keyset-test-b '/CN=unit_test_b' 4 development/tools/make_key cts-keyset-test-c '/CN=unit_test_c' 7 openssl x509 -in cts-keyset-test-a.x509.pem -inform PEM -pubkey 8 openssl x509 -in cts-keyset-test-b.x509.pem -inform PEM -pubkey 9 openssl x509 -in cts-keyset-test-c.x509.pem -inform PEM -pubkey
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uA/ |
D | Android.bp | 15 //apks signed by cts-keyset-test-a 24 static_libs: ["androidx.test.rules"], 25 certificate: ":cts-keyset-test-a", 29 // tag this module as a cts test artifact 36 //apks signed by cts-keyset-test-b 41 static_libs: ["androidx.test.rules"], 42 certificate: ":cts-keyset-test-b", 46 // tag this module as a cts test artifact 53 //apks signed by cts-keyset-test-ec-a 58 static_libs: ["androidx.test.rules"], [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 236 private boolean verifyVibratorReportData(HidVibratorTestData test, HidResultData result) { in verifyVibratorReportData() argument 237 for (Map.Entry<Integer, Integer> entry : test.verifyMap.entrySet()) { in verifyVibratorReportData() 246 final int ffLeft = result.reportData[test.leftFfIndex] & 0xFF; in verifyVibratorReportData() 247 final int ffRight = result.reportData[test.rightFfIndex] & 0xFF; in verifyVibratorReportData() 255 for (HidVibratorTestData test : tests) { in testInputVibratorEvents() 256 assertEquals(test.durations.size(), test.amplitudes.size()); in testInputVibratorEvents() 257 assertTrue(test.durations.size() > 0); in testInputVibratorEvents() 260 final long totalVibrations = test.durations.size(); in testInputVibratorEvents() 262 if (test.durations.size() == 1) { in testInputVibratorEvents() 263 long duration = test.durations.get(0); in testInputVibratorEvents() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uB/ |
D | Android.bp | 15 //apks signed cts-keyset-test-a 24 static_libs: ["androidx.test.rules"], 25 certificate: ":cts-keyset-test-a", 29 // tag this module as a cts test artifact 36 //apks signed cts-keyset-test-b 41 static_libs: ["androidx.test.rules"], 42 certificate: ":cts-keyset-test-b", 46 // tag this module as a cts test artifact 53 //apks signed by cts-keyset-test-a and cts-keyset-test-c 58 static_libs: ["androidx.test.rules"], [all …]
|
/cts/hostsidetests/blobstore/ |
D | Android.bp | 30 "cts-statsd-atom-host-test-utils", 32 // Tag this module as a cts test artifact 41 srcs: ["test-apps/BlobStoreHostTestHelper/src/**/*.java"], 44 "androidx.test.ext.junit", 45 "androidx.test.rules", 50 manifest : "test-apps/BlobStoreHostTestHelper/AndroidManifest.xml", 52 // Tag this module as a cts test artifact 61 srcs: ["test-apps/BlobStoreHostTestHelper/src/**/*.java"], 64 "androidx.test.ext.junit", 65 "androidx.test.rules", [all …]
|
/cts/hostsidetests/backup/AdbBackupApp/src/android/cts/backup/adbbackupapp/ |
D | AdbBackupApp.java | 19 import static androidx.test.InstrumentationRegistry.getInstrumentation; 24 import android.platform.test.annotations.AppModeFull; 25 import android.support.test.uiautomator.By; 26 import android.support.test.uiautomator.BySelector; 27 import android.support.test.uiautomator.UiDevice; 28 import android.support.test.uiautomator.UiObject2; 29 import android.support.test.uiautomator.Until; 31 import androidx.test.runner.AndroidJUnit4;
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RequiredPropertyRule.java | 51 private static String getDevicePropertyValue(BaseHostJUnit4Test test, String propertyName) 53 ITestDevice testDevice = test.getDevice(); 60 public static RequiredPropertyRule isEqualTo(final BaseHostJUnit4Test test, 68 String deviceProperty = getDevicePropertyValue(test, propertyName); 71 + " of device " + test.getDevice().getSerialNumber(), 80 public static RequiredPropertyRule asCsvContainsValue(final BaseHostJUnit4Test test, 89 Arrays.asList(getDevicePropertyValue(test, propertyName) 95 + " of device " + test.getDevice().getSerialNumber(), 105 final BaseHostJUnit4Test test, final String propertyName, final String propertyValue) { 114 getDevicePropertyValue(test, propertyName) [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicColorMatrix.java | 81 private void test(Element.DataType dtin, Element.DataType dtout, int subtest, in test() method in IntrinsicColorMatrix 141 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false); in test_U8_U8_Ident() 145 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 0, false); in test_F32_F32_Ident() 149 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 0, false); in test_U8_F32_Ident() 153 test(Element.DataType.FLOAT_32, Element.DataType.UNSIGNED_8, 0, false); in test_F32_U8_Ident() 157 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 2, false); in test_U8_U8_Rand() 161 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 10, false); in test_F32_F32_Rand() 165 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 10, false); in test_U8_F32_Rand() 169 test(Element.DataType.FLOAT_32, Element.DataType.UNSIGNED_8, 10, false); in test_F32_U8_Rand() 175 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, true); in test_U8_U8_IdentC() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestResult.java | 52 public void addError(Test test, Throwable throwable) { in addError() argument 53 mWrappedTestResult.addError(test, throwable); in addError() 57 public void addFailure(Test test, AssertionFailedError assertionFailedError) { in addFailure() argument 58 mWrappedTestResult.addFailure(test, assertionFailedError); in addFailure() 72 public void endTest(Test test) { in endTest() argument 73 mWrappedTestResult.endTest(test); in endTest() 102 public void runProtected(Test test, Protectable protectable) { in runProtected() argument 106 addFailure(test, e); in runProtected() 111 addError(test, e); in runProtected() 113 addError(test, e); in runProtected() [all …]
|
/cts/tests/app/app/ |
D | Android.bp | 23 "android.test.runner", 27 "android.test.base", 35 "androidx.test.core", 44 // Tag this module as a cts test artifact 58 "android.test.runner", 62 "android.test.base", 70 "androidx.test.core", 77 // Tag this module as a cts test artifact 93 "android.test.runner", 97 "android.test.base", [all …]
|
/cts/hostsidetests/devicepolicy/app/TestApps/ |
D | Android.bp | 25 "android.test.runner", 26 "android.test.base", 32 "cts-security-test-support-library", 36 // tag this module as a cts test artifact 51 "android.test.runner", 52 "android.test.base", 58 "cts-security-test-support-library", 62 // tag this module as a cts test artifact 77 "android.test.runner", 78 "android.test.base", [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/ |
D | Android.bp | 25 "android.test.runner", 26 "android.test.base", 32 "cts-security-test-support-library", 42 // tag this module as a cts test artifact 59 "android.test.runner", 60 "android.test.base", 66 "cts-security-test-support-library", 76 // tag this module as a cts test artifact 92 "android.test.runner", 93 "android.test.base", [all …]
|
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/ServiceTest/ |
D | Android.bp | 21 // This is the instrumentation test package for the CtsSignatureQueryService 33 "androidx.test.core", 34 "androidx.test.rules", 37 "android.test.runner.stubs", 38 "android.test.base.stubs", 46 // Disable dexpreopt and <uses-library> check for test. 53 // This is the instrumentation test package signed with the same signing key and 54 // lineage as v2 and v3 of the CtsSignatureQueryService test app. 63 "androidx.test.core", 64 "androidx.test.rules", [all …]
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/ |
D | Android.bp | 24 …static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-… 25 libs: ["android.test.base"], 26 // tag this module as a cts test artifact 43 …static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-… 44 libs: ["android.test.base"], 45 // tag this module as a cts test artifact 62 …static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-… 63 libs: ["android.test.base"], 64 // tag this module as a cts test artifact 81 …static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-… [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RtpHeaderExtensionTypeTest.java | 25 import androidx.test.ext.junit.runners.AndroidJUnit4; 37 RtpHeaderExtensionType test = new RtpHeaderExtensionType(TEST_ID, TEST_URI); in testParceling() local 38 assertEquals(TEST_ID, test.getLocalIdentifier()); in testParceling() 39 assertEquals(TEST_URI, test.getUri()); in testParceling() 42 test.writeToParcel(dataParceled, 0); in testParceling() 48 assertEquals(test, unparceledData); in testParceling()
|
/cts/tests/tests/appenumeration/app/source/ |
D | Android.bp | 30 // Tag this module as a cts test artifact 41 // Tag this module as a cts test artifact 52 // Tag this module as a cts test artifact 63 // Tag this module as a cts test artifact 74 // Tag this module as a cts test artifact 85 // Tag this module as a cts test artifact 96 // Tag this module as a cts test artifact 107 // Tag this module as a cts test artifact 118 // Tag this module as a cts test artifact 129 // Tag this module as a cts test artifact [all …]
|
/cts/tests/core/runner-axt/ |
D | Android.bp | 19 // temporary cts-core-test-runner variant that brings in androidx.test transitively, instead 20 // of android.support.test target. Will be removed after androidx.test CTS conversion is complete. 26 name: "cts-core-test-runner-axt", 31 "androidx.test.rules", 36 libs: ["android.test.runner"], 47 name: "cts-test-runner-axt", 50 static_libs: ["androidx.test.rules"],
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextViewActions.java | 19 import static androidx.test.espresso.action.ViewActions.actionWithAssertions; 26 import androidx.test.espresso.UiController; 27 import androidx.test.espresso.ViewAction; 28 import androidx.test.espresso.action.CoordinatesProvider; 29 import androidx.test.espresso.action.GeneralClickAction; 30 import androidx.test.espresso.action.PrecisionDescriber; 31 import androidx.test.espresso.action.Press; 32 import androidx.test.espresso.action.Tap; 33 import androidx.test.espresso.action.Tapper;
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerSurfaceTest.java | 20 import android.platform.test.annotations.AppModeFull; 21 import android.platform.test.annotations.Presubmit; 22 import android.platform.test.annotations.RequiresDevice; 23 import android.test.ActivityInstrumentationTestCase2; 25 import androidx.test.filters.SmallTest;
|
/cts/common/device-side/bedstead/activitycontext/ |
D | Android.bp | 21 "src/test/java/**/*.java" 28 "androidx.test.ext.junit", 33 manifest: "src/test/AndroidManifest.xml", 39 "src/test/java/**/*.java" 46 "androidx.test.ext.junit", 51 manifest: "src/test/AndroidManifestInstrumentEmptyTestApp.xml",
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | JUnitTestCollector.java | 46 Test test; in JUnitTestCollector() local 50 test = (Test)suiteMethod.invoke(null); in JUnitTestCollector() 61 protected void run(TestCase test) { in JUnitTestCollector() 62 String packageName = test.getClass().getPackage().getName(); in JUnitTestCollector() 66 String method = test.getName(); // e.g. testVFE2 in JUnitTestCollector() 67 String fqcn = test.getClass().getName(); // e.g. in JUnitTestCollector() 82 }.doRun(test); in JUnitTestCollector()
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uBsharedUser/ |
D | Android.bp | 15 //apks signed cts-keyset-test-a 24 static_libs: ["androidx.test.rules"], 25 certificate: ":cts-keyset-test-a", 29 // tag this module as a cts test artifact 36 //apks signed cts-keyset-test-b 41 static_libs: ["androidx.test.rules"], 42 certificate: ":cts-keyset-test-b", 46 // tag this module as a cts test artifact
|