HomeSort by relevance Sort by last modified time
    Searched full:actual (Results 626 - 650 of 14177) sorted by null

<<21222324252627282930>>

  /prebuilts/go/darwin-x86/src/net/
dnsclient_test.go 29 actual := results[data[0].Target]
31 diff := float64(actual) - expected
32 t.Logf("actual: %v diff: %v e: %v m: %v", actual, diff, expected, margin)
37 t.Errorf("missed target weight: expected %v, %v", expected, actual)
  /prebuilts/go/linux-x86/src/net/
dnsclient_test.go 29 actual := results[data[0].Target]
31 diff := float64(actual) - expected
32 t.Logf("actual: %v diff: %v e: %v m: %v", actual, diff, expected, margin)
37 t.Errorf("missed target weight: expected %v, %v", expected, actual)
  /external/autotest/server/cros/
host_lock_manager_unittest.py 82 actual = self.manager._check_host(self.HOST1, None)
83 self.assertEquals(None, actual)
91 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
92 self.assertEquals(None, actual)
100 actual = self.manager._check_host(self.HOST1, self.manager.UNLOCK)
101 self.assertEquals(None, actual)
110 actual = self.manager._check_host(host_with_dot, self.manager.LOCK)
111 self.assertEquals(self.HOST1, actual)
120 actual = self.manager._check_host(host_with_dot, self.manager.UNLOCK)
121 self.assertEquals(self.HOST1, actual)
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/
logcat_monitor_test.py 47 for expected, actual in itertools.izip_longest(expected_iter, actual_iter):
50 msg='actual has unexpected elements starting with %s' % str(actual))
52 actual,
53 msg='actual is missing elements starting with %s' % str(expected))
54 self.assertEqual(actual.group('proc_id'), expected[0])
55 self.assertEqual(actual.group('thread_id'), expected[1])
56 self.assertEqual(actual.group('log_level'), expected[2])
57 self.assertEqual(actual.group('component'), expected[3])
58 self.assertEqual(actual.group('message'), expected[4]
    [all...]
  /external/gemmlowp/test/
test_fixedpoint.cc 18 FixedPoint<int32_t, tIntegerBits_b> actual = Rescale<tIntegerBits_b>(a); local
21 Check(actual == expected);
81 double actual = local
83 double error = expected - actual;
101 double actual = ToDouble(exp_on_negative_values(a)); local
102 double error = expected - actual;
121 double actual = ToDouble(retval); local
122 double error = expected - actual;
141 double actual = ToDouble(tanh(a)); local
142 double error = expected - actual;
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
logcat_monitor_test.py 47 for expected, actual in itertools.izip_longest(expected_iter, actual_iter):
50 msg='actual has unexpected elements starting with %s' % str(actual))
52 actual,
53 msg='actual is missing elements starting with %s' % str(expected))
54 self.assertEqual(actual.group('proc_id'), expected[0])
55 self.assertEqual(actual.group('thread_id'), expected[1])
56 self.assertEqual(actual.group('log_level'), expected[2])
57 self.assertEqual(actual.group('component'), expected[3])
58 self.assertEqual(actual.group('message'), expected[4]
    [all...]
  /art/runtime/
mem_map.cc 227 uintptr_t actual = reinterpret_cast<uintptr_t>(actual_ptr); local
254 actual, expected);
270 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, offset); local
271 if (actual != MAP_FAILED) {
274 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) {
275 munmap(actual, page_aligned_byte_count);
276 actual = MAP_FAILED;
279 return actual;
348 void* actual = MapInternal(expected_ptr, local
357 if (actual == MAP_FAILED)
437 uint8_t* actual = reinterpret_cast<uint8_t*>(MapInternal(page_aligned_expected, local
588 uint8_t* actual = reinterpret_cast<uint8_t*>(mmap(tail_base_begin, local
833 void* actual = MAP_FAILED; local
    [all...]
  /frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
OverlayBaseTest.java 104 boolean actual = mResources.getBoolean(resId);
105 assertEquals(expected, actual);
110 int actual = mResources.getInteger(resId); local
111 assertEquals(expected, actual);
116 String actual = mResources.getString(resId); local
117 assertEquals(expected, actual);
122 int[] actual = mResources.getIntArray(resId); local
123 assertEquals("length:", expected.length, actual.length);
124 for (int i = 0; i < actual.length; ++i) {
125 assertEquals("index " + i + ":", actual[i], expected[i])
175 int actual = calculateRawResourceChecksum(resId); local
203 int actual = -1; local
222 String actual = ""; local
246 assertEquals(getExpected(no, so, mo), actual); local
    [all...]
  /frameworks/support/core-utils/tests/java/android/support/v4/content/
FileProviderTest.java 321 Uri actual; local
323 actual = FileProvider.getUriForFile(mContext, TEST_AUTHORITY,
325 assertEquals("content://moocow/test_root/proc/version", actual.toString());
327 actual = FileProvider.getUriForFile(mContext, TEST_AUTHORITY,
329 assertEquals("content://moocow/test_init/mountinfo", actual.toString());
331 actual = FileProvider.getUriForFile(mContext, TEST_AUTHORITY,
333 assertEquals("content://moocow/test_files/meow", actual.toString());
335 actual = FileProvider.getUriForFile(mContext, TEST_AUTHORITY,
337 assertEquals("content://moocow/test_thumbs/rawr", actual.toString());
339 actual = FileProvider.getUriForFile(mContext, TEST_AUTHORITY
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
AudioTrack_ListenerTest.java 183 // verify actual playback head positions returned.
192 final int actual = markerList.get(i); local
193 // Log.d(TAG, "Marker: expected(" + expected + ") actual(" + actual
194 // + ") diff(" + (actual - expected) + ")");
195 assertEquals(expected, actual, tolerance80MsInFrames);
196 markerStat.add((double)(actual - expected) * 1000 / TEST_SR);
202 final int actual = periodicList.get(i); local
203 // Log.d(TAG, "Update: expected(" + expected + ") actual(" + actual
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
TypesTest.java 268 WildcardType expected, WildcardType actual) {
269 assertEquals(expected.toString(), actual.toString());
270 assertEquals(actual.toString(), expected.hashCode(), actual.hashCode());
271 assertThat(actual.getLowerBounds()).asList()
273 assertThat(actual.getUpperBounds()).asList()
361 TypeVariable<?> expected, TypeVariable<?> actual) {
362 assertEquals(expected.toString(), actual.toString());
363 assertEquals(expected.getName(), actual.getName());
365 expected.getGenericDeclaration(), actual.getGenericDeclaration())
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_AbstractTest.java 211 char expected, actual; local
219 actual = actualCB.get();
220 if (actual != expected) {
223 i, (int) actual, (int) expected);
229 // i, (int) actual[i], (int) expected[i]);
234 // assertTrue(msg, Arrays.equals(actual, expected));
240 char actual = actualCB.get(); local
241 if (actual != expected[i]) {
244 i, (int) actual, (int) expected[i]);
253 byte actual;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 112 int[] actual = null; local
121 actual = image.getStrides();
123 Arrays.equals(expected, actual));
252 Bitmap actual = null; local
256 actual = compressDecompress(image, actualRect);
261 compareBitmaps(expected, actual, MSE_MARGIN, sameRect);
270 Bitmap actual = null; local
271 actual = compressDecompress(image, rect);
277 compareBitmaps(expected, actual, MSE_MARGIN, true);
336 // Compare expected to actual to see if their diff is less then mseMargin
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
ByteStreamsTest.java 156 byte[] actual = new byte[bytes.length];
157 in.readFully(actual);
158 assertEquals(bytes, actual);
163 byte[] actual = new byte[bytes.length * 2];
165 in.readFully(actual);
174 byte[] actual = new byte[4];
175 in.readFully(actual, 2, 2);
176 assertEquals(0, actual[0]);
177 assertEquals(0, actual[1]);
178 assertEquals(bytes[0], actual[2])
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
UUIDTest.java 241 String actual = uuid.toString(); local
242 assertEquals("f81d4fae-7dec-11d0-a765-00a0c91e6bf6", actual);
245 actual = uuid.toString();
246 assertEquals("00000000-0000-1000-8000-000000000000", actual);
308 UUID actual = UUID.fromString("f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); local
310 assertEquals(expected, actual);
312 assertEquals(2, actual.variant());
313 assertEquals(1, actual.version());
314 assertEquals(130742845922168750L, actual.timestamp());
315 assertEquals(10085, actual.clockSequence())
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
SoftAssert.java 48 * @param actualResult actual value
54 Log.i(mTag, message + ", (Test: PASS, actual : " +
62 " (Test: FAIL, actual :" + actualResult + ", " +
74 * @param actualResult actual value
89 * @param actualResult the actual result of the condition
100 "%s, (Test: PASS, actual : %s, expected : %s)",
107 "At time = %d ns, %s (Test: WARNING, actual : %s, expected : %s).",
  /external/mesa3d/src/glsl/
ir_function.cpp 37 * \param list_b Actual parameters passed to the function.
62 const ir_rvalue *const actual = (ir_rvalue *) node_b; local
64 if (param->type == actual->type)
67 /* Try to find an implicit conversion from actual to param. */
82 if (!actual->type->can_implicitly_convert_to(param->type))
87 if (!param->type->can_implicitly_convert_to(actual->type))
139 * multiple ways to apply these conversions to the actual arguments of a
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ClassLoaderReflectionTest.java 173 private void assertParameterizedType(Type actual, Type raw, Type... args) {
174 assertTrue(actual.toString(), actual instanceof ParameterizedType);
175 ParameterizedType parameterizedType = (ParameterizedType) actual;
181 private void assertTypeVariable(TypeVariable actual, String name, Type... bounds) {
182 assertEquals(name, actual.getName());
183 assertEquals(Arrays.<Type>asList(bounds), Arrays.asList(actual.getBounds()));
  /packages/apps/Gallery2/jni_jpegstream/src/
jpeg_hook.cpp 132 int64_t actual = src->inStream->skip(skip); local
133 if (actual < 0) {
136 skip -= actual;
138 actual = src->inStream->skip(skip);
139 if (actual < 0) {
142 skip -= actual;
143 if (actual == 0) {
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 133 int actual = -1; local
138 actual = getStatus();
139 if (actual == STATUS_SUCCESSFUL || actual == STATUS_FAILED) {
140 assertEquals(expected, actual);
142 } else if (actual == expected) {
161 throw new TimeoutException("Expected status " + expected + "; only reached " + actual);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
AbstractCommandHandlerTest.java 128 * Assert that the actual is equal to the expected, using arrays equality comparison if
133 * @param actual - the actual value
135 private void assertEqualsAllTypes(String message, Object expected, Object actual) {
137 if (expected instanceof byte[] || actual instanceof byte[]) {
138 assertEquals(message, (byte[]) expected, (byte[]) actual);
140 else if (expected instanceof Object[] || actual instanceof Object[]) {
141 assertEquals(message, (Object[]) expected, (Object[]) actual);
144 assertEquals(message, expected, actual);
  /frameworks/base/location/tests/locationtests/src/android/location/
LocationTest.java 37 message = "degreesToDoubleTest: Double should be -80.075, actual value is " +
48 message = "minutesToDoubleTest: Double should be -80.085, actual value is " +
59 message = "secondsToDoubleTest: Double should be -80.0675, actual value is " +
70 message = "secondsToDouble2Test: Double should be -80.0675, actual value is " +
137 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing);
141 message = "bearingToTest: Bearing should be 180, actual value is " +
148 message = "bearingToTest: Bearing should be -90, actual value is " +
168 message = "distanceToTest: Distance should be 0, actual value is " +
173 message = "distanceToTest: Distance should be 8885140, actual value is " +
  /libcore/support/src/test/java/libcore/javax/net/ssl/
SSLConfigurationAsserts.java 221 private static void assertSSLParametersEqual(SSLParameters expected, SSLParameters actual) {
222 assertCipherSuitesEqual(expected.getCipherSuites(), actual.getCipherSuites());
223 assertProtocolsEqual(expected.getProtocols(), actual.getProtocols());
224 assertEquals(expected.getNeedClientAuth(), actual.getNeedClientAuth());
225 assertEquals(expected.getWantClientAuth(), actual.getWantClientAuth());
228 private static void assertCipherSuitesEqual(String[] expected, String[] actual) {
229 assertEquals(Arrays.asList(expected), Arrays.asList(actual));
232 private static void assertProtocolsEqual(String[] expected, String[] actual) {
237 new HashSet<String>(Arrays.asList(actual)));
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecSplitTests.java 45 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) {
46 if (expected == actual) {
49 if (expected == null || actual == null) {
50 assertEquals(message, Arrays.toString(expected), Arrays.toString(actual));
53 if (expected.length != actual.length) {
54 assertEquals(message + " [length]", Arrays.toString(expected), Arrays.toString(actual));
59 final T a = actual[i];
70 final String[] actual = MoreKeySpec.splitKeySpecs(resolvedActual); local
72 assertArrayEquals(message, expected, actual);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
NameLookupBuilderTest.java 228 String actual = mBuilder.inserted(); local
231 assertTrue(actual.contains("(0:Jo.Jeffrey.John.Jessy.Longname)"));
234 assertTrue(actual.contains("(2:JoJeffreyJohnJessyLongname)"));
237 assertTrue(actual.contains("(1:Longname.Jeffrey.Jessy.John)"));
240 assertTrue(actual.contains("(2:Jo"));
241 assertTrue(actual.contains("(2:Jeffrey"));
242 assertTrue(actual.contains("(2:John"));
243 assertTrue(actual.contains("(2:Jessy"));
244 assertTrue(actual.contains("(2:Longname"));

Completed in 1582 milliseconds

<<21222324252627282930>>