/frameworks/base/libs/utils/ |
H A D | BackupData.cpp | 203 #define CHECK_SIZE(actual, expected) \ 205 if ((actual) != (expected)) { \ 206 if ((actual) == 0) { \ 212 long(actual), long(expected), __LINE__, strerror(m_status)); \
|
/frameworks/base/test-runner/tests/src/android/test/ |
H A D | InstrumentationTestRunnerTest.java | 176 private void assertContentsInOrder(List<TestDescriptor> actual, TestDescriptor... source) { argument 178 assertEquals("Unexpected number of items.", clonedSource.length, actual.size()); 179 for (int i = 0; i < actual.size(); i++) { 180 TestDescriptor actualItem = actual.get(i);
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | TestSuiteBuilderTest.java | 144 private void assertContentsInOrder(List<String> actual, String... source) { argument 146 assertEquals("Unexpected number of items.", clonedSource.length, actual.size()); 147 for (int i = 0; i < actual.size(); i++) { 148 String actualItem = actual.get(i);
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
H A D | DownloadManagerBaseTest.java | 329 * @param actual The file of whose contents to verify 333 private void verifyFileContents(ParcelFileDescriptor actual, byte[] expected) argument 335 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(actual); 336 long fileSize = actual.getStatSize(); 349 * @param actual The array whose data we want to verify 352 private void compareByteArrays(byte[] actual, byte[] expected) { argument 353 assertEquals(actual.length, expected.length); 354 int length = actual.length; 357 if (actual[i] != expected[i]) { 782 int actual [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | DomainNameValidatorTest.java | 135 Boolean actual = DomainNameValidator.match(certificate, thisDomain); 136 assertEquals(message, (Object) expected, (Object) actual); 169 boolean actual = DomainNameValidator.matchDns(thisDomain, thatDomain); 170 assertEquals(message, expected, actual); 174 * Test {@link DomainNameValidator#match} with actual certificates.
|
/frameworks/base/core/tests/coretests/src/com/android/server/ |
H A D | MountServiceTests.java | 53 private static void assertStartsWith(String message, String prefix, String actual) { argument 54 if (!actual.startsWith(prefix)) { 55 throw new ComparisonFailure(message, prefix, actual);
|
/frameworks/base/media/libstagefright/ |
H A D | FLACExtractor.cpp | 271 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); local 272 if (0 > actual) { 275 } else if (0 == actual) { 280 assert(actual <= requested); 281 *bytes = actual; 282 mCurrentPos += actual;
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
H A D | RecurrenceProcessorTest.java | 117 String[] actual = getFormattedDates(out, outCal); 122 printLists(expected, actual); 126 + " actual=" + count); 130 String s = actual[i]; 134 printLists(expected, actual); 138 + expected[i] + " actual=" + actual[i]); 164 printLists(expected, actual); 169 + " actual=" + lastStr);
|
H A D | RRuleTest.java | 126 String[] actual = getFormattedDates(out, outCal, truncate); 130 while (k < actual.length && --limit >= 0) { 134 sb.append(actual[k]);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 859 private static void assertTimeEquals(long expected, long actual) { argument 860 if (expected != actual) { 861 fail("expected " + formatTime(expected) + " but was actually " + formatTime(actual)); 871 private static void assertEqualsFuzzy(long expected, long actual, long fuzzy) { argument 874 if (actual < low || actual > high) { 875 fail("value " + actual + " is outside [" + low + "," + high + "]");
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 103 assertEquals("Expected and actual OBB file paths differ!", mObbFilePath, 142 * This is not the mount path, but the normalized path to the actual OBB file 222 * Helper to copy a raw resource file to an actual specified file 382 * @return A {@link String} representing the actual normalized path to OBB file that was 503 String actual = null; 505 while ((actual = fileReader.readLine()) != null) { 507 if (!actual.equals(expected)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | VideoEditorHelper.java | 106 * @param actual data 109 public boolean checkRange(long expected, long actual, long rangePercent) { argument 111 range = (100 * actual) / expected; 325 "\t<expected> " + vCodec + "\t<actual> " + mvi.getVideoType(), 331 "\t<expected> " + export_height + "\t<actual> " + mvi.getHeight(), 338 "<expected> " + (startTime + endTime) + "\t<actual> " + 346 "<expected> " + (endTime - startTime) + "\t<actual> " + 372 "\t<expected> " + vCodec + "\t<actual> " + mvi.getVideoType(), 379 "\t<expected> " + aCodec + "\t<actual> " + mvi.getAudioType(), 385 "\t<expected> " + export_height + "\t<actual> " [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LayoutTestsAutoTest.java | 220 // Write actual results to result directory. 248 // Gets the file which contains the actual results of running the test on 283 File actual = new File(actualResultFile); 285 if (actual.exists() && expected.exists()) {
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 60 const char *expr, int actual) { 63 INFO("(expected) %s != (actual) %d", expr, actual); 73 #define ASSERT_EQ(expected, actual) \ 75 int _x = (actual); \ 59 assert_eq_fail(const char *file, int line, const char *func, const char *expr, int actual) argument
|
/frameworks/base/docs/html/sdk/ |
H A D | sdk_toc.cs | 7 <span style="display:none" class="es">VersiĆ³n actual del SDK</span>
|
/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 1907 int actual = InstanceTracker.getInstanceCount(klass); 1908 if (actual <= limit) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 993 String actual = getMs().getVolumeState(mPath); 994 if (desired.equals(actual)) {
|