/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 43 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 52 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 64 String message, Object unexpected, Object actual) { in assertNotEqual() 74 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() 84 String message, byte[] expected, byte[] actual) { in assertEquals() 100 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 110 String message, int[] expected, int[] actual) { in assertEquals() 126 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 136 String message, long[] expected, long[] actual) { in assertEquals() 152 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/keystore/tests/src/android/security/ |
D | AndroidKeyStoreTest.java | 1278 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Encrypted_Success() local 1301 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_Encrypted_Success() local 1321 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success() local 1346 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success() local 1359 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_NonExist_Empty_Encrypted_Failure() local 1397 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() local 1432 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_PrivateKeyEntry_Encrypted_Success() local 1452 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() local 1470 Date actual = mKeyStore.getCreationDate(TEST_ALIAS_1); in testKeyStore_GetCreationDate_CAEntry_Encrypted_Success() local 1791 final Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_CA_Encrypted_Success() local [all …]
|
D | KeyStoreTest.java | 659 long actual = mKeyStore.getmtime(TEST_KEYNAME); in testGetmtime_Success() local 668 private static void assertLessThan(String explanation, long expectedBefore, long actual) { in assertLessThan() 675 private static void assertGreaterThan(String explanation, long expectedAfter, long actual) { in assertGreaterThan()
|
/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 242 assertEquals(getExpected(no, so, mo), actual); in testAppRaw() local
|
/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()
|
D | DayOfMonthCursorTest.java | 150 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
|
/frameworks/base/libs/androidfw/tests/ |
D | TestHelpers.cpp | 41 const String8 actual = pool->string8ObjectAt(val.data); in IsStringEqual() local
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals()
|
/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
|
D | SourceAudioBufferProvider.cpp | 68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts); in getNextBuffer() 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()
|
D | CameraMetadataTest.java | 287 private static <T> void assertArrayEquals(T expected, T actual) { in assertArrayEquals() 342 T actual = mMetadata.get(key); in checkKeyGetAndSet() local 387 T actual = mMetadata.get(key); in checkKeyMarshal() local 946 String actual = mMetadata.get(gpsProcessingMethodKey); in testReadWriteString() local 1242 T actual = mMetadata.get(key); in assertKeyValueEquals() 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/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TtsEnginesTests.java | 71 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
|
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
D | ExternalStorageProviderTest.java | 87 private static void assertNameEquals(String expected, File actual) { in assertNameEquals()
|
/frameworks/base/tools/split-select/ |
D | TestRules.h | 60 #define EXPECT_RULES_EQ(actual, expected) \ argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ManifestDigestTest.java | 55 ManifestDigest actual = ManifestDigest.fromInputStream(is); in testManifestDigest_Equals() local
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 268 private void assertEqualFuzzy(float expected, float actual, float threshold) { in assertEqualFuzzy() 274 private void assertGreater(float minExpected, float actual) { in assertGreater() 279 private void assertLower(float maxExpected, float actual) { in assertLower()
|
/frameworks/compile/slang/tests/ |
D | test.py | 29 def CompareFiles(actual, expect): argument
|
/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 292 Uri actual; in testMetaDataTargets() local 319 private void assertContentsEquals(byte[] expected, Uri actual) throws Exception { in assertContentsEquals()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 86 ssize_t actual = pipeWriter->write(buffer, (size_t) bufSizeInFrames); in recorderCallback() local 164 ssize_t actual = pipeReader->read(buffer, bufSizeInFrames, (int64_t) -1); in playerCallback() local
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | RootsCacheTest.java | 117 private static void assertContainsExactly(List<?> expected, List<?> actual) { in assertContainsExactly()
|