Home
last modified time | relevance | path

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

1234

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java46 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 …]
DComparisonFailure.java27 public ComparisonFailure(String message, String expected, String actual) { in ComparisonFailure()
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp48 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
DDiagnostics.h76 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/
DAssertHelpers.java137 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()
DCameraErrorCollector.java147 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/
DAndroidKeyStoreTest.java911 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/
DScanTestUtil.java237 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/
DManifestClassGenerator_test.cpp52 std::string actual; local
104 std::string actual; local
DJavaClassGenerator_test.cpp243 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/
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
246 assertEquals(getExpected(no, so, mo), actual); in testAppRaw() local
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
DTestUtils.java35 static void assertCloseColors(int expected, int actual) { in assertCloseColors()
/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()
/frameworks/support/percent/tests/java/android/support/percent/
DBaseInstrumentationTestCase.java41 protected static void assertFuzzyEquals(String description, float expected, float actual) { in assertFuzzyEquals()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanRecordTest.java66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals()
/frameworks/base/libs/androidfw/tests/
DTestHelpers.cpp41 const String8 actual = pool->string8ObjectAt(val.data); in IsStringEqual() local
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java55 final String actual = uidRulesToString(uidRules); in uidRulesToStringTest() 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/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
/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()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java300 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/
DTtsEnginesTests.java71 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp90 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

1234