Home
last modified time | relevance | path

Searched defs:actual (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java43 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 …]
DComparisonFailure.java27 public ComparisonFailure(String message, String expected, String actual) { in ComparisonFailure()
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java1278 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 …]
DKeyStoreTest.java659 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/
DOverlayBaseTest.java110 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/
DBase64Test.java58 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()
DDayOfMonthCursorTest.java150 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
/frameworks/base/libs/androidfw/tests/
DTestHelpers.cpp41 const String8 actual = pool->string8ObjectAt(val.data); in IsStringEqual() local
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanRecordTest.java66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals()
/frameworks/av/media/libnbaio/
DLibsndfileSink.cpp45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count); in write() local
DLibsndfileSource.cpp54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count); in read() local
DSourceAudioBufferProvider.cpp68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts); in getNextBuffer() local
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardBuilderTest.java44 final String actual = builder.toString(); in testVCardNameFieldFromDisplayName() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java157 T2 actual) { in assertAction()
163 boolean actual) { in assertAction()
DCameraMetadataTest.java287 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/
DThreadCpuUsage.cpp178 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/
DTtsEnginesTests.java71 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java87 private static void assertNameEquals(String expected, File actual) { in assertNameEquals()
/frameworks/base/tools/split-select/
DTestRules.h60 #define EXPECT_RULES_EQ(actual, expected) \ argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
DManifestDigestTest.java55 ManifestDigest actual = ManifestDigest.fromInputStream(is); in testManifestDigest_Equals() local
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java268 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/
Dtest.py29 def CompareFiles(actual, expect): argument
/frameworks/support/tests/java/android/support/v4/content/
DFileProviderTest.java292 Uri actual; in testMetaDataTargets() local
319 private void assertContentsEquals(byte[] expected, Uri actual) throws Exception { in assertContentsEquals()
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp86 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/
DRootsCacheTest.java117 private static void assertContainsExactly(List<?> expected, List<?> actual) { in assertContainsExactly()

123