HomeSort by relevance Sort by last modified time
    Searched full:actual (Results 701 - 725 of 9217) sorted by null

<<21222324252627282930>>

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecTests.java 57 final Object[] actual) {
58 if (expected == actual) {
61 if (expected == null || actual == null) {
62 assertEquals(message, Arrays.toString(expected), Arrays.toString(actual));
65 if (expected.length != actual.length) {
66 assertEquals(message + " [length]", Arrays.toString(expected), Arrays.toString(actual));
71 Arrays.toString(expected), Arrays.toString(actual));
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); local
78 assertArrayEquals(message, expected, actual);
305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length) local
345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); local
    [all...]
  /art/runtime/
mem_map.cc 207 uintptr_t actual = reinterpret_cast<uintptr_t>(actual_ptr); local
234 actual, expected);
246 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, 0); local
247 if (actual != MAP_FAILED) {
250 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) {
251 munmap(actual, page_aligned_byte_count);
252 actual = MAP_FAILED;
255 return actual;
329 void* actual = MAP_FAILED; local
359 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags
422 void* actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); local
484 uint8_t* actual = reinterpret_cast<uint8_t*>(mmap(page_aligned_expected, local
610 uint8_t* actual = reinterpret_cast<uint8_t*>(mmap(tail_base_begin, tail_base_size, tail_prot, local
    [all...]
  /dalvik/libdex/
SysUtil.cpp 38 * bytes. The actual segment may be larger because mmap() operates on
319 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, buf, count)); local
320 if (actual < 0) {
324 } else if (actual != (ssize_t) count) {
326 logMsg, (int) actual, count);
327 buf = (const void*) (((const u1*) buf) + actual);
329 count -= actual;
344 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, buf, getSize)); local
345 if (actual != (ssize_t) getSize) {
347 (int) actual, getSize)
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BundleTest.java 375 private void assertArrayEquals(double[] expected, double[] actual) {
376 if (expected != null && actual == null) {
378 } else if (expected == null && actual != null) {
382 if (expected[i] != actual[i])
386 if (expected.length != actual.length)
391 private void assertArrayEquals(boolean[] expected, boolean[] actual) {
392 if (expected != null && actual == null) {
394 } else if (expected == null && actual != null) {
398 if (expected[i] != actual[i])
402 if (expected.length != actual.length
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
FileUtilsTest.java 300 private static void assertNameEquals(String expected, File actual) {
301 assertEquals(expected, actual.getName());
321 String[] actual = mDir.list(); local
322 if (actual == null) actual = new String[0];
325 "Expected " + Arrays.toString(expected) + " but actual " + Arrays.toString(actual),
326 expected.length, actual.length);
327 for (String actualFile : actual) {
328 assertTrue("Unexpected actual file " + actualFile, expectedSet.contains(actualFile))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
VelocityTest.java 268 private void assertEqualFuzzy(float expected, float actual, float threshold) {
269 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold;
270 Assert.assertTrue("Expected: <"+expected+"> but was: <"+actual+
274 private void assertGreater(float minExpected, float actual) {
275 Assert.assertTrue("Expected: minimum <"+minExpected+"> but was: <"+actual+">",
276 actual > minExpected);
279 private void assertLower(float maxExpected, float actual) {
280 Assert.assertTrue("Expected: maximum <"+maxExpected+"> but was: <"+actual+">",
281 actual < maxExpected)
    [all...]
  /external/icu/icu4c/source/test/letest/
cletest.c 286 static le_bool compareResults(const char *testID, TestResult *expected, TestResult *actual)
291 if (actual->glyphCount != expected->glyphCount) {
293 testID, expected->glyphCount, actual->glyphCount);
297 for (i = 0; i < actual->glyphCount; i += 1) {
298 if (actual->glyphs[i] != expected->glyphs[i]) {
300 testID, i, expected->glyphs[i], actual->glyphs[i]);
305 for (i = 0; i < actual->glyphCount; i += 1) {
306 if (actual->indices[i] != expected->indices[i]) {
308 testID, i, expected->indices[i], actual->indices[i]);
313 for (i = 0; i <= actual->glyphCount; i += 1)
454 TestResult actual; local
    [all...]
  /external/selinux/libsepol/cil/test/unit/
CuTest.c 204 const char* expected, const char* actual)
207 if ((expected == NULL && actual == NULL) ||
208 (expected != NULL && actual != NULL &&
209 strcmp(expected, actual) == 0))
223 CuStringAppend(&string, actual);
229 int expected, int actual)
232 if (expected == actual) return;
233 sprintf(buf, "expected <%d> but was <%d>", expected, actual);
238 double expected, double actual, double delta)
241 if (fabs(expected - actual) <= delta) return
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ImportTestProvider.java 126 Log.d("@@@", "actual : "
211 final ContentValues expected, final ContentValues actual) {
212 if (expected == actual) {
214 } else if (expected == null || actual == null || expected.size() != actual.size()) {
221 if (!actual.containsKey(key)) {
227 final Object actualValue = actual.get(key);
  /external/icu/icu4c/source/test/intltest/
restest.cpp 37 #define CONFIRM_EQ(actual, expected, myAction) if ((expected)==(actual)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of " + (expected) + "\n");}
38 #define CONFIRM_GE(actual, expected, myAction) if ((actual)>=(expected)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x >= " + (expected) + "\n");}
39 #define CONFIRM_NE(actual, expected, myAction) if ((expected)!=(actual)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x != " + (expected) + "\n");}
41 #define CONFIRM_UErrorCode(actual, expected, myAction) if ((expected)==(actual)) { record_pass(myAction); } else { record_fail(myAct (…)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
InteractiveVerifierActivity.java 342 protected boolean checkEquals(long expected, long actual, String message) {
343 if (expected == actual) {
346 logWithStack(String.format(message, expected, actual));
350 protected boolean checkEquals(String expected, String actual, String message) {
351 if (expected.equals(actual)) {
354 logWithStack(String.format(message, expected, actual));
358 protected boolean checkFlagSet(int expected, int actual, String message) {
359 if ((expected & actual) != 0) {
362 logWithStack(String.format(message, expected, actual));
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
Assert.java 315 * Asserts that given actual value equals expected value. If this is not the case, some kind of
321 * actual value to check
323 public static void equals(int expected, int actual) {
324 equals(expected, actual, expected + " expected, but " + actual + " found");
328 * Asserts that given actual value equals expected value. If this is not the case, some kind of
335 * actual value to check
339 public static void equals(int expected, int actual, String message) {
340 if (expected != actual) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RefactoringTest.java 133 String actual = document.get(); local
137 org.w3c.dom.Document doc = DomUtilities.parseDocument(actual, true);
138 assertNotNull(actual, doc);
140 assertEqualsGolden(basename, actual);
177 String actual = document.get(); local
181 actual = getDiff(before, actual);
189 assertEqualsGolden(goldenName, actual);
214 * model objects. This is done rather than rendering an actual layout
  /external/apache-http/src/org/apache/http/auth/
AuthState.java 49 /** Actual authentication scheme */
52 /** Actual authentication scope */
123 * Returns actual {@link AuthScope} if available
125 * @return actual authentication scope if available, <code>null</code otherwise
132 * Sets actual {@link AuthScope}.
  /external/google-breakpad/src/testing/gtest/test/
gtest_xml_outfiles_test.py 120 actual = minidom.parse(output_file1)
122 actual = minidom.parse(output_file2)
123 self.NormalizeXml(actual.documentElement)
125 actual.documentElement)
127 actual.unlink()
  /external/gtest/test/
gtest_xml_outfiles_test.py 120 actual = minidom.parse(output_file1)
122 actual = minidom.parse(output_file2)
123 self.NormalizeXml(actual.documentElement)
125 actual.documentElement)
127 actual.unlink()
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ObjectArraysTest.java 151 private static void checkArrayEquals(Object[] expected, Object[] actual) {
153 + " actual(" + actual.getClass() + "): " + Arrays.toString(actual),
154 arrayEquals(expected, actual));
  /external/proguard/src/proguard/classfile/editor/
ConstantAdder.java 164 // Then add the actual invoke dynamic constant.
178 // Then add the actual method handle constant.
190 // Then add the actual field reference constant, with its referenced
206 // Then add the actual interface method reference constant, with its
222 // Then add the actual method reference constant, with its referenced
  /external/protobuf/gtest/test/
gtest_xml_outfiles_test.py 120 actual = minidom.parse(output_file1)
122 actual = minidom.parse(output_file2)
123 self.NormalizeXml(actual.documentElement)
125 actual.documentElement)
127 actual.unlink()
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
AliasOptions.java 22 /** This is a direct mapping. The actual data type does not matter. */
24 /** The actual is an unordered array, the alias is to the first element of the array. */
26 /** The actual is an ordered array, the alias is to the first element of the array. */
28 /** The actual is an alternate array, the alias is to the first element of the array. */
31 * The actual is an alternate text array, the alias is to the 'x-default' element of the array.
  /frameworks/av/media/libeffects/testlibs/
AudioPeakingFilter.h 62 // Sets gain value. Actual change will only take place upon commit().
70 // Sets bandwidth value. Actual change will only take place upon commit().
78 // Sets frequency value. Actual change will only take place upon commit().
88 // possibly rounded or truncated actual values.
142 // A biquad filter, used for the actual processing.
  /frameworks/base/core/java/android/view/
TouchDelegate.java 26 * actual view bounds. The view whose touch area is changed is called the delegate view. This
60 * The touchable region of the View extends above its actual extent.
65 * The touchable region of the View extends below its actual extent.
71 * actual extent.
77 * actual extent.
  /ndk/build/core/
definitions-tests.mk 26 # $(call test-expect,<expected-value>,<actual-value>)
28 # This will check that <actual-value> is equal to <expected-value>.
32 # $(call test-assert,<expected-value>,<actual-value>)
73 $(info . actual value: '$2')\
82 $(info . actual value: '$2')\
  /ndk/sources/third_party/googletest/googletest/test/
gtest_xml_outfiles_test.py 120 actual = minidom.parse(output_file1)
122 actual = minidom.parse(output_file2)
123 self.NormalizeXml(actual.documentElement)
125 actual.documentElement)
127 actual.unlink()
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ActualKeyboardBuilder.java 32 * This class builds an actual keyboard for unit test.
34 * An actual keyboard is an array of rows, and a row consists of an array of {@link Key}s.
50 * Create the keyboard that consists of the array of rows of the actual keyboard's keys.
51 * @param sortedKeys keys list of the actual keyboard that is sorted from top-left to
53 * @return the actual keyboard grouped with rows.

Completed in 435 milliseconds

<<21222324252627282930>>