HomeSort by relevance Sort by last modified time
    Searched defs:TestUtils (Results 26 - 50 of 120) sorted by null

12 3 4 5

  /external/autotest/client/site_tests/desktopui_SonicExtension/
test_utils.py 18 class TestUtils(object):
  /external/vboot_reference/tests/
rsa_utility_tests.c 42 static void TestUtils(void) {
210 TestUtils();
  /frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
TestUtils.java 29 public final class TestUtils extends Assert {
31 private TestUtils() {
XmlConfigTests.java 59 SSLContext context = TestUtils.getSSLContext(source);
60 TestUtils.assertConnectionSucceeds(context, "android.com", 443);
61 TestUtils.assertConnectionSucceeds(context, "developer.android.com", 443);
62 TestUtils.assertUrlConnectionSucceeds(context, "google.com", 443);
77 SSLContext context = TestUtils.getSSLContext(source);
78 TestUtils.assertConnectionFails(context, "android.com", 443);
79 TestUtils.assertConnectionFails(context, "developer.android.com", 443);
80 TestUtils.assertUrlConnectionFails(context, "google.com", 443);
103 SSLContext context = TestUtils.getSSLContext(source);
104 TestUtils.assertConnectionSucceeds(context, "android.com", 443)
    [all...]
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
TestUtils.java 34 public class TestUtils {
42 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) {
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 37 public class TestUtils extends TestCase /* It tests itself */ {
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
TestUtils.java 31 public class TestUtils extends AndroidTestCase {
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
AdvertiseDataTest.java 82 TestUtils.assertArrayEquals(new byte[0], dataFromParcel.getManufacturerSpecificData().get(manufacturerId));
98 TestUtils.assertArrayEquals(new byte[0], dataFromParcel.getServiceData().get(uuid));
138 TestUtils.assertArrayEquals(manufacturerData,
156 TestUtils.assertArrayEquals(serviceData, dataFromParcel.getServiceData().get(uuid));
  /cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
TestUtils.java 43 public final class TestUtils extends Assert {
45 private TestUtils() {
  /cts/tests/tests/telecom/src/android/telecom/cts/
CallScreeningServiceTest.java 19 import static android.telecom.cts.TestUtils.shouldTestTelecom;
46 new ComponentName(TestUtils.PACKAGE, TestUtils.COMPONENT),
47 TestUtils.ACCOUNT_ID);
50 TEST_PHONE_ACCOUNT_HANDLE, TestUtils.ACCOUNT_LABEL)
69 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation());
70 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE);
79 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer);
102 if (callbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S
    [all...]
DefaultDialerOperationsTest.java 47 if (!TestUtils.shouldTestTelecom(mContext)) {
50 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation());
53 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation());
55 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer);
69 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer);
75 if (!TestUtils.shouldTestTelecom(mContext)) {
79 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE);
80 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage());
84 if (!TestUtils.shouldTestTelecom(mContext))
    [all...]
SelfManagedConnectionServiceTest.java 30 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
31 import static android.telecom.cts.TestUtils.waitOnAllHandlers;
52 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1);
53 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2);
66 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_1);
67 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2);
83 assertTrue(phoneAccountHandles.contains(TestUtils.TEST_SELF_MANAGED_HANDLE_1));
84 assertTrue(phoneAccountHandles.contains(TestUtils.TEST_SELF_MANAGED_HANDLE_2));
85 assertFalse(phoneAccountHandles.contains(TestUtils.TEST_PHONE_ACCOUNT_HANDLE));
98 assertPhoneAccountRegistered(TestUtils.TEST_SELF_MANAGED_HANDLE_1)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
TestUtils.java 35 public class TestUtils {
55 protected TestUtils() {
68 TestUtils.tTest = chiSquareTest;
91 TestUtils.chiSquareTest = chiSquareTest;
114 TestUtils.unknownDistributionChiSquareTest = unknownDistributionChiSquareTest;
137 TestUtils.oneWayAnova = oneWayAnova;
  /frameworks/support/design/tests/src/android/support/design/testutils/
TestUtils.java 17 package android.support.design.testutils;
31 public class TestUtils {
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
AppCompatBaseImageViewTest.java 21 import static android.support.v7.testutils.TestUtilsActions.setEnabled;
34 import android.support.v7.testutils.AppCompatTintableViewActions;
35 import android.support.v7.testutils.BaseTestActivity;
36 import android.support.v7.testutils.TestUtils;
55 TestUtils.assertAllPixelsOfColor(description,
AppCompatBaseViewTest.java 21 import static android.support.v7.testutils.AppCompatTintableViewActions.setBackgroundResource;
22 import static android.support.v7.testutils.AppCompatTintableViewActions.setBackgroundTintList;
23 import static android.support.v7.testutils.AppCompatTintableViewActions.setBackgroundTintMode;
24 import static android.support.v7.testutils.TestUtilsActions.setBackgroundTintListViewCompat;
25 import static android.support.v7.testutils.TestUtilsActions.setBackgroundTintModeViewCompat;
26 import static android.support.v7.testutils.TestUtilsActions.setEnabled;
27 import static android.support.v7.testutils.TestUtilsMatchers.isBackground;
43 import android.support.v7.testutils.AppCompatTintableViewActions;
44 import android.support.v7.testutils.BaseTestActivity;
45 import android.support.v7.testutils.TestUtils
    [all...]
SearchView_CursorTest.java 39 import android.support.testutils.PollingCheck;
43 import android.support.v7.testutils.TestUtils;
205 TestUtils.emulateTapOnView(mInstrumentation, mSearchView,
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorTest.java 111 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_PROVIDER_NAME;
144 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS)));
152 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase,
221 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize());
302 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS);
304 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS);
306 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS);
329 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate());
331 TestUtils.assertContentsInAnyOrder(
338 TestUtils.assertContentsInAnyOrder
    [all...]
MacTest.java 46 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_CRYPTO_OP_PROVIDER_NAME;
183 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS;
197 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS)));
205 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase,
322 SecretKey key = TestUtils.importIntoAndroidKeyStore(
351 byte[] message = TestUtils.generateLargeKatMsg(LONG_MSG_KAT_SEED, LONG_MSG_KAT_SIZE_BYTES);
379 TestUtils.buildUpon(good, badPurposes).build());
404 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm))
411 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build());
421 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)
    [all...]
SecretKeyFactoryTest.java 45 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_PROVIDER_NAME;
67 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS)));
75 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase,
81 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS);
83 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS);
85 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS);
95 if (TestUtils.isHmacAlgorithm(algorithm)) {
96 String digest = TestUtils.getHmacAlgorithmDigest(algorithm);
118 TestUtils.assertContentsInAnyOrder(
120 TestUtils.assertContentsInAnyOrder
    [all...]
  /cts/tests/tests/preference2/src/android/preference2/cts/
TestUtils.java 43 public class TestUtils {
49 TestUtils() {
  /frameworks/base/libs/hwui/tests/common/
TestUtils.h 40 EXPECT_TRUE(TestUtils::matricesAreApproxEqual(a, b))
78 TestUtils::runOnRenderThread(test_case_name##_##test_name##_RenderThreadTest::doTheThing))
141 class TestUtils {
285 TestUtils::syncHierarchyPropertiesAndDisplayList(node);
374 }; // class TestUtils
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
TimedStatement.java 19 import com.android.layoutlib.bridge.intensive.util.TestUtils;
108 TestUtils.gc();
115 TestUtils.gc();
146 TestUtils.gc();
156 TestUtils.gc();
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
AppCompatMenuItemIconTintingTest.java 39 import android.support.v7.testutils.TestUtils;
109 TestUtils.assertAllPixelsOfColor(description,
  /libcore/luni/src/test/java/tests/security/cert/
CertPathBuilder1Test.java 29 import org.apache.harmony.security.tests.support.cert.TestUtils;
322 TestUtils.initCertPathSSCertChain();
323 CertPathParameters params = TestUtils.getCertPathParameters();
324 CertPathBuilder builder = TestUtils.getCertPathBuilder();

Completed in 897 milliseconds

12 3 4 5