/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 170 Bundle actual = fetcher.fetch(tokenType); local 172 validateAccountAndAuthTokenResult(expected, actual); 179 actual = fetcher.fetch(tokenType); 184 validateAccountAndAuthTokenResult(expected, actual); 197 actual = fetcher.fetch(tokenType); 200 validateAccountAndAuthTokenResult(expected, actual); 203 String token = actual.getString(AccountManager.KEY_AUTHTOKEN); 209 actual = fetcher.fetch(tokenType); 211 validateAccountAndAuthTokenResult(expected, actual); 214 private void validateAccountAndAuthTokenResult(Bundle actual) { [all...] |
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 161 private static void assertStartsWith(String message, String prefix, String actual) { 162 if (!actual.startsWith(prefix)) { 163 throw new ComparisonFailure(message, prefix, actual); 168 byte[] actual = Streams.readFully(new FileInputStream(file)); 170 assertEquals("unexpected size", expected.length, actual.length); 172 assertEquals("unexpected value at offset " + i, expected[i], actual[i]);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConferenceTest.java | 326 public Object actual() { 344 public Object actual() { 362 public Object actual() { 381 public Object actual() { 400 public Object actual() { 419 public Object actual() {
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 182 CharSequence actual = DateFormat.format(format, calendar); local 183 assertEquals(expectedString, actual.toString()); 185 actual = DateFormat.format(format, formatDate); 186 assertEquals(expectedString, actual.toString()); 187 actual = DateFormat.format(format, formatDate.getTime()); 188 assertEquals(expectedString, actual.toString());
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
CtsTestTest.java | 396 String actual = mCtsTest.join(new ArrayList<String>(Arrays.asList("a", "b", "c")), "@"); local 397 assertEquals(expected, actual); 405 String actual = mCtsTest.join(new ArrayList<String>(Arrays.asList("foo")), "@"); local 406 assertEquals("foo", actual); 414 String actual = mCtsTest.join(new ArrayList<String>(), "@"); local 415 assertEquals("", actual);
|
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSinkTest.java | 296 String actual = data.readUtf8(); 297 assertEquals(value + " expected " + expected + " but was " + actual, actual, expected); 314 String actual = data.readUtf8(); 315 assertEquals(value + " expected " + expected + " but was " + actual, actual, expected);
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 320 public void assertEquals(NetworkStats expected, NetworkStats actual) { 321 if (expected.size() != actual.size()) { 323 "Expected size " + expected.size() + ", actual size " + actual.size()); 330 actualRow = actual.getValues(i, actualRow); 333 "Expected row " + i + ": " + expectedRow + ", actual row " + actualRow);
|
/frameworks/base/docs/html-intl/intl/es/training/multiscreen/ |
adaptui.jd | 19 <li><a href="#TaskDetermineCurLayout">Cómo determinar el diseño actual</a></li> 20 <li><a href="#TaskReactToLayout">Cómo reaccionar en función del diseño actual</a></li> 42 <p>En función del diseño actual de tu aplicación, la interfaz puede variar. Por ejemplo, si tu aplicación está en modo de panel dual, haz clic en un elemento del panel izquierdo para que aparezca en el panel de la derecha. Asimismo, si está en modo de panel único, el contenido debería aparecer por sí mismo (en otra actividad).</p> 45 <h2 id="TaskDetermineCurLayout">Cómo determinar el diseño actual</h2> 78 <h2 id="TaskReactToLayout">Cómo reaccionar en función del diseño actual</h2> 80 <p>El resultado de algunas acciones puede variar en función del diseño actual. Por ejemplo, en el ejemplo de News Reader, al hacer clic en un encabezado de la lista se abrirá el artículo del panel situado a la derecha si la interfaz de usuario está en modo de panel dual, pero se iniciará una actividad independiente si esta está en modo de panel único:</p>
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraMetadataTest.java | 287 private static <T> void assertArrayEquals(T expected, T actual) { 288 if (!expected.getClass().isArray() || !actual.getClass().isArray()) { 289 throw new IllegalArgumentException("expected, actual must both be arrays"); 293 Array.getLength(expected), Array.getLength(actual)); 299 Object actualElement = Array.get(actual, i); 303 "element %d in array was not equal (expected %s, actual %s). " 304 + "Arrays were: (expected %s, actual %s).", 307 formatArray(actual, i))); 314 throw new IllegalArgumentException("actual must be array"); 342 T actual = mMetadata.get(key) local 387 T actual = mMetadata.get(key); local 950 String actual = mMetadata.get(gpsProcessingMethodKey); local 1246 T actual = mMetadata.get(key); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
JarInputStreamTest.java | 96 Set<String> actual = new HashSet<String>(); local 101 actual.add(je.toString()); 104 assertEquals(actual, desired); 145 Set<String> actual = new HashSet<String>(); local 150 actual.add(je.toString()); 153 assertEquals(actual, desired);
|
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 215 byte[] actual; 217 actual = md.digest(); 223 actual = md.digest(); 227 assertDigest(algorithm, expected, actual); 232 private void assertDigest(String algorithm, byte[] actual, byte[] expected) { 233 assertEquals(algorithm, javaBytes(actual), javaBytes(expected));
|
/external/valgrind/exp-sgcheck/ |
pc_common.c | 128 HChar actual[128]; member in struct:__anon20588::__anon20589::__anon20590 159 HChar* expect, HChar* actual, HChar* delta ) 168 VG_(strncpy)( &xe.XE.SorG.actual[0], 169 actual, sizeof(xe.XE.SorG.actual) ); 173 xe.XE.SorG.actual[ sizeof(xe.XE.SorG.actual)-1 ] = 0; 242 && 0 == VG_(strncmp)( &xe1->XE.SorG.actual[0], 243 &xe2->XE.SorG.actual[0], 244 sizeof(xe1->XE.SorG.actual) ); [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 111 ALOGV("No actual display. Choosing EGLSurface based on SurfaceMediaSource"); 709 // A dummy writer (MULTITHREADED) is used to simulate actual MPEG4Writer 729 // Test to examine actual encoding using mediarecorder 733 // Very close to the actual camera, except that the 737 ALOGV("************** Testing the whole pipeline with actual MediaRecorder ***********"); 864 // Test to examine the actual encoding with GL buffers 865 // Actual encoder, Actual GL Buffers Filled SurfaceMediaSource 869 ALOGV("************** Testing the whole pipeline with actual Recorder ***********"); [all...] |
/frameworks/base/libs/androidfw/ |
Asset.cpp | 445 size_t actual; local 472 actual = count; 477 actual = count; 494 actual = fread(buf, 1, count, mFp); 495 if (actual == 0) // something failed -- I/O error? 498 assert(actual == count); 501 mOffset += actual; 502 return actual; 763 size_t actual; local 769 actual = mZipInflater->read(buf, count) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 308 actual = function(arg) 317 actual = function(arg) 324 actual = function(arg) 327 actual = complex(abs(actual.real), actual.imag) 330 actual = complex(actual.real, abs(actual.imag)) 347 actual.real, actual.imag [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 308 actual = function(arg) 317 actual = function(arg) 324 actual = function(arg) 327 actual = complex(abs(actual.real), actual.imag) 330 actual = complex(actual.real, abs(actual.imag)) 347 actual.real, actual.imag [all...] |
/system/extras/tests/net_test/ |
multinetwork_base.py | 488 def assertPacketMatches(self, expected, actual): 494 # we blank out fields in the actual packet and then compare the whole 495 # packets to each other as strings. Because we modify the actual packet, 497 actual = actual.copy() 500 actualip = actual.getlayer("IP") 509 actualudp = actual.getlayer("UDP") 519 actualipv6 = actual.getlayer("IPv6") 524 actualtcp = actual.getlayer("TCP") 541 actual_real = actual.__class__(str(actual) [all...] |
/art/compiler/dex/quick/mips/ |
README.mips | 7 actual hardware, and as such should be expected to have many bugs. However, 10 expectation is that when it is first tried out on actual hardware lots of
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
PipeShort.java | 43 // Returns actual number of bytes copied >= 0. 85 // Returns actual number of bytes copied >= 0.
|
/cts/suite/audio_quality/lib/include/audio/ |
AudioProtocol.h | 46 ECmdStart = 0x12340001, //not actual command 53 ECmdLast = 0x12340007, // not actual command
|
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
ConsumerIrTest.java | 92 String msg = String.format("Pattern length pattern:%d, actual:%d", 101 msg = String.format("Pattern length pattern:%d, actual:%d",
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
MeanVerificationTest.java | 108 float[] actual = (float[]) stats.getValue(SensorStats.MEAN_KEY); local 110 assertEquals(means[i], actual[i], 0.1);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestDistance.java | 87 // Compare the expected outputs to the actual values returned by RS. 104 message.append("Actual output out: "); 175 // Compare the expected outputs to the actual values returned by RS. 196 message.append("Actual output out: "); 261 // Compare the expected outputs to the actual values returned by RS. 282 message.append("Actual output out: "); 347 // Compare the expected outputs to the actual values returned by RS. 368 message.append("Actual output out: ");
|
TestDot.java | 87 // Compare the expected outputs to the actual values returned by RS. 104 message.append("Actual output out: "); 175 // Compare the expected outputs to the actual values returned by RS. 196 message.append("Actual output out: "); 261 // Compare the expected outputs to the actual values returned by RS. 282 message.append("Actual output out: "); 347 // Compare the expected outputs to the actual values returned by RS. 368 message.append("Actual output out: ");
|
TestFastDistance.java | 87 // Compare the expected outputs to the actual values returned by RS. 104 message.append("Actual output out: "); 175 // Compare the expected outputs to the actual values returned by RS. 196 message.append("Actual output out: "); 261 // Compare the expected outputs to the actual values returned by RS. 282 message.append("Actual output out: "); 347 // Compare the expected outputs to the actual values returned by RS. 368 message.append("Actual output out: ");
|