/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
StepCounterTestActivity.java | 22 import junit.framework.Assert; 187 Assert.assertTrue( 197 Assert.assertFalse(stepsReportedMessage, userReportedSteps < stepsExpected); 225 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength); 238 Assert.assertTrue(eventTriggered, countDelta > 0); 261 Assert.assertFalse(stepsDeltaMessage, stepsCountedDelta > MAX_STEP_DISCREPANCY); 291 Assert.assertFalse(stepsDetectedMessage, stepsDetectedDelta > MAX_STEP_DISCREPANCY); 304 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength); 310 Assert.assertEquals(eventValueMessage, expectedValue, value0);
|
RotationVectorTestActivity.java | 23 import junit.framework.Assert; 142 Assert.assertEquals(message, 0, maxComponentDegrees, maxDeviationDegrees);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
TestSensorEventListener.java | 19 import junit.framework.Assert; 138 Assert.assertTrue( 162 Assert.assertTrue(message, mEventLatch.await(timeoutUs, TimeUnit.MICROSECONDS));
|
TestSensorManager.java | 19 import junit.framework.Assert; 102 Assert.assertTrue(message, result); 153 Assert.assertTrue(
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 29 import junit.framework.Assert; 119 Assert.assertNotNull(status); // null means time-out 120 Assert.assertEquals(expectAlive, status.booleanValue()); 124 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
|
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/ |
GpsLocationTest.java | 26 import junit.framework.Assert; 67 Assert.fail();
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/identity/ |
UuidBasedUniqueIdentificationGeneratorTest.java | 10 import junit.framework.Assert; 34 Assert.assertEquals(expectedUniqueId, generator.getUniqueId(null)); 38 Assert.assertEquals(expectedUniqueId, generator.getUniqueId(null)); 45 Assert.assertEquals(expectedUniqueId, generator.getUniqueId(null)); 60 Assert.assertEquals(expectedUniqueId1, generator1.getUniqueId(null)); 61 Assert.assertEquals(expectedUniqueId2, generator2.getUniqueId(null)); 65 Assert.assertEquals(expectedUniqueId1, generator1.getUniqueId(null)); 68 Assert.assertEquals(expectedUniqueId2, generator2.getUniqueId(null));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
inttree.c | 19 static void Assert(int assertion, const char *error) 154 Assert(!it->nil->red,"nil not red in ITLeftRotate"); 155 Assert((it->nil->maxHigh=LONG_MIN), 218 Assert(!it->nil->red,"nil not red in ITRightRotate"); 219 Assert((it->nil->maxHigh=LONG_MIN), 263 Assert(!it->nil->red,"nil not red in ITTreeInsertHelp"); 264 Assert((it->nil->maxHigh=INT_MIN), 366 Assert(!it->nil->red,"nil not red in ITTreeInsert"); 367 Assert(!it->root->red,"root not red in ITTreeInsert"); 368 Assert((it->nil->maxHigh=LONG_MIN) [all...] |
/external/freetype/src/gzip/ |
zutil.h | 189 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 196 # define Assert(cond,msg)
|
/external/junit/src/org/junit/ |
Assert.java | 13 * <code>Assert.assertEquals(...)</code>, however, they read better if they 17 * import static org.junit.Assert.*; 24 public class Assert { 28 protected Assert() {
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
zutil.h | 225 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 232 # define Assert(cond,msg)
|
/external/qemu/distrib/zlib-1.2.8/ |
zutil.h | 223 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 230 # define Assert(cond,msg)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
ClassCacheTest.java | 3 import org.junit.Assert; 40 Assert.assertEquals(false, attempt.ready); 41 Assert.assertEquals(1, (after - before) / timeToWait); 79 Assert.assertEquals(false, attempt.ready); 80 Assert.assertEquals(1, (after - before) / timeToWait);
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/ |
PayloadAlignmentTest.java | 42 import org.junit.Assert; 59 Assert.assertEquals(instructions.size(), 1); 63 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); 76 Assert.assertEquals(instructions.size(), 3); 79 Assert.assertEquals(instruction.getOpcode(), Opcode.MOVE); 82 Assert.assertEquals(instruction.getOpcode(), Opcode.NOP); 85 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); 111 Assert.assertEquals(6, referent.getCodeOffset()); 139 Assert.assertEquals(8, referent.getCodeOffset()); 143 Assert.assertEquals(expectedOpcodes.length, instructions.size()) [all...] |
/external/smali/util/src/test/java/org/jf/util/ |
PathUtilTest.java | 47 Assert.assertEquals(path, relativePath.getPath()); 63 Assert.assertEquals(path, "."); 75 Assert.assertEquals(path, "."); 87 Assert.assertEquals(path, "."); 99 Assert.assertEquals(path, "."); 111 Assert.assertEquals(path, "."); 123 Assert.assertEquals(path, "dir"); 135 Assert.assertEquals(path, "dir"); 147 Assert.assertEquals(path, "dir"); 159 Assert.assertEquals(path, "dir") [all...] |
/external/zlib/src/ |
zutil.h | 223 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 230 # define Assert(cond,msg)
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidBufferedInputStreamTest.java | 23 import junit.framework.Assert; 41 Assert.assertEquals(str, read(a)); 48 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
|
OldStreamTokenizerTest.java | 24 import junit.framework.Assert; 58 Assert.assertTrue(a.lineno() == 1); 59 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); 60 Assert.assertTrue(a.toString().equals("Token[Testing], line 1")); 61 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_NUMBER); 62 Assert.assertTrue(a.toString().equals("Token[n=12345.0], line 1")); 63 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); 64 Assert.assertTrue(a.toString().equals("Token[alpha], line 2")); 65 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); 66 Assert.assertTrue(a.toString().equals("Token[omega], line 3")) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TestUtils.java | 24 import junit.framework.Assert; 36 Assert.assertTrue((namesAndValues.length % 2) == 0); 51 Assert.fail("Unsupported type: " + value.getClass().getSimpleName());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BundleTest.java | 9 import org.junit.Assert; 16 import static org.junit.Assert.*; 259 Assert.assertArrayEquals(new String[] { "a" }, bundle.getStringArray("foo")); 269 Assert.assertEquals(list, bundle.getStringArrayList("foo")); 279 Assert.assertEquals(list, bundle.getIntegerArrayList("foo")); 307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo")); 316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo")); 334 Assert.assertArrayEquals(arr, bundle.getIntArray("foo")); 343 Assert.assertArrayEquals(arr, bundle.getLongArray("foo")); 352 Assert.assertArrayEquals(arr, bundle.getShortArray("foo")) [all...] |
/packages/apps/Settings/tests/src/com/android/settings/vpn2/ |
VpnTests.java | 38 import junit.framework.Assert; 114 Assert.assertNotNull("Push profile to external storage and load with" 119 Assert.assertNotNull("no VPN profiles are parsed", mVpnInfoPool); 145 Assert.assertNull("Failed to disconect VPN", mService.getLegacyVpnInfo()); 263 Assert.assertTrue(legacyVpnInfo != null); 274 Assert.assertTrue(legacyVpnInfo.state == LegacyVpnInfo.STATE_CONNECTED); 276 Assert.assertTrue(pingTest(profile.server)); 280 Assert.assertEquals(profile.server, curIpAddress);
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 25 import junit.framework.Assert; 153 Assert.assertEquals(EGL10.EGL_SUCCESS, mEgl.eglGetError());
|
TextureViewTestActivity.java | 28 import junit.framework.Assert; 43 Assert.assertTrue(mFrames > 0); 44 Assert.assertTrue(mDelayMs > 0); 84 Assert.fail();
|
/external/chromium_org/third_party/zlib/ |
zutil.h | 264 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} 271 # define Assert(cond,msg)
|
/external/clang/test/Analysis/ |
cfref_rdar6080742.c | 37 #define Assert(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]", #condition, __FILE__, __LINE__); }
|