/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 46 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 55 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 67 String message, Object unexpected, Object actual) { in assertNotEqual() 77 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() 87 String message, byte[] expected, byte[] actual) { in assertEquals() 103 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 113 String message, int[] expected, int[] actual) { in assertEquals() 129 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 139 String message, long[] expected, long[] actual) { in assertEquals() 155 public static void assertEquals(long[] expected, long[] actual) { in assertEquals() [all …]
|
D | ComparisonFailure.java | 27 public ComparisonFailure(String message, String expected, String actual) { in ComparisonFailure()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 48 ResourceNameRef actual; in TEST() local 67 ResourceNameRef actual; in TEST() local 78 ResourceNameRef actual; in TEST() local 90 ResourceNameRef actual; in TEST() local 102 ResourceNameRef actual; in TEST() local 114 ResourceNameRef actual; in TEST() local 127 ResourceNameRef actual; in TEST() local
|
D | Diagnostics.h | 76 DiagMessageActual actual = message.build(); in error() local 81 DiagMessageActual actual = message.build(); in warn() local 86 DiagMessageActual actual = message.build(); in note() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | AssertHelpers.java | 137 public static <T> void assertArrayContains(String message, T[] actual, T checkVals) { in assertArrayContains() 149 public static void assertArrayContains(String message, int[] actual, int checkVals) { in assertArrayContains() 161 public static <T> T assertArrayContainsAnyOf(String message, T[] actual, T[] checkVals) { in assertArrayContainsAnyOf() 173 public static int assertArrayContainsAnyOf(String message, int[] actual, int[] checkVals) { in assertArrayContainsAnyOf() 185 public static <T> T assertCollectionContainsAnyOf(String message, Collection<T> actual, in assertCollectionContainsAnyOf()
|
D | CameraErrorCollector.java | 147 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals() 169 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals() 189 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals() 214 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals() 237 T actual) { in expectGreater() 251 T actual) { in expectGreaterOrEqual() 265 T actual) { in expectLess() 279 T actual) { in expectLessOrEqual() 293 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 316 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals() [all …]
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 911 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Encrypted_Success() local 934 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_Encrypted_Success() local 954 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success() local 979 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success() local 992 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_NonExist_Empty_Encrypted_Failure() local 1030 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() local 1065 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_PrivateKeyEntry_Encrypted_Success() local 1085 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() local 1103 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_CAEntry_Encrypted_Success() local 1398 final Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_CA_Encrypted_Success() local [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 237 ScanResult[] actual) { in assertScanResultsEquals() 266 public static void assertScanResultsEquals(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEquals() 270 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals() 278 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals() 282 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 291 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 304 WifiNative.ScanSettings actual) { in assertNativeScanSettingsEquals() 350 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|
/frameworks/base/tools/aapt2/java/ |
D | ManifestClassGenerator_test.cpp | 52 std::string actual; local 104 std::string actual; local
|
D | JavaClassGenerator_test.cpp | 243 std::string actual = out.str(); in TEST() local 284 std::string actual = out.str(); in TEST() local 311 std::string actual = out.str(); in TEST() local
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 110 int actual = mResources.getInteger(resId); in assertResource() local 116 String actual = mResources.getString(resId); in assertResource() local 122 int[] actual = mResources.getIntArray(resId); in assertResource() local 175 int actual = calculateRawResourceChecksum(resId); in testDrawable() local 203 int actual = -1; in testAppXml() local 222 String actual = ""; in testAppRaw() local 246 assertEquals(getExpected(no, so, mo), actual); in testAppRaw() local
|
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/ |
D | TestUtils.java | 35 static void assertCloseColors(int expected, int actual) { in assertCloseColors()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 58 private void assertEquals(byte[] expected, int len, byte[] actual) { in assertEquals() 66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { in assertEquals() 74 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals()
|
/frameworks/support/percent/tests/java/android/support/percent/ |
D | BaseInstrumentationTestCase.java | 41 protected static void assertFuzzyEquals(String description, float expected, float actual) { in assertFuzzyEquals()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals()
|
/frameworks/base/libs/androidfw/tests/ |
D | TestHelpers.cpp | 41 const String8 actual = pool->string8ObjectAt(val.data); in IsStringEqual() local
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 55 final String actual = uidRulesToString(uidRules); in uidRulesToStringTest() local
|
/frameworks/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 178 ssize_t actual = read(fd, kernelMax, sizeof(kernelMax)); in init() local 236 ssize_t actual = pread(fd, kHz, sizeof(kHz), (off_t) 0); in getCpukHz() local
|
/frameworks/av/media/libnbaio/ |
D | LibsndfileSink.cpp | 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count); in write() local
|
D | LibsndfileSource.cpp | 54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count); in read() local
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardBuilderTest.java | 44 final String actual = builder.toString(); in testVCardNameFieldFromDisplayName() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RangeTest.java | 157 T2 actual) { in assertAction() 163 boolean actual) { in assertAction()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 300 private static void assertNameEquals(String expected, File actual) { in assertNameEquals() 321 String[] actual = mDir.list(); in assertDirContents() local
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TtsEnginesTests.java | 71 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 90 ssize_t actual = audio_utils_fifo_write(&fifo, buffer, (size_t) bufSizeInFrames); in recorderCallback() local 178 ssize_t actual = audio_utils_fifo_read(&fifo, buffer, bufSizeInFrames); in playerCallback() local 553 ssize_t actual = audio_utils_fifo_read(&fifo2, buffer, bufSizeInFrames); in main() local
|