Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 35) sorted by relevance

12

/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java33 import org.junit.Assert;
105 Assert.assertNotNull(net); in testRilConnects()
106 Assert.assertTrue(mConnManager.bindProcessToNetwork(net)); in testRilConnects()
110 Assert.assertTrue(s.isConnected()); in testRilConnects()
121 Assert.assertEquals("Android Virtual Operator", mTeleManager.getNetworkOperatorName()); in testBasicPhoneAttributes()
122 Assert.assertFalse(mTeleManager.isNetworkRoaming()); in testBasicPhoneAttributes()
123 Assert.assertTrue(mTeleManager.isSmsCapable()); in testBasicPhoneAttributes()
124 Assert.assertSame(TelephonyManager.NETWORK_TYPE_LTE, mTeleManager.getVoiceNetworkType()); in testBasicPhoneAttributes()
125 Assert.assertSame(TelephonyManager.SIM_STATE_READY, mTeleManager.getSimState()); in testBasicPhoneAttributes()
126 Assert.assertSame(TelephonyManager.PHONE_TYPE_GSM, mTeleManager.getPhoneType()); in testBasicPhoneAttributes()
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dbase64.c98 #define Assert(Cond) if (!(Cond)) abort() macro
185 Assert(output[0] < 64); in b64_ntop()
186 Assert(output[1] < 64); in b64_ntop()
187 Assert(output[2] < 64); in b64_ntop()
188 Assert(output[3] < 64); in b64_ntop()
208 Assert(output[0] < 64); in b64_ntop()
209 Assert(output[1] < 64); in b64_ntop()
210 Assert(output[2] < 64); in b64_ntop()
/device/google/cuttlefish/tests/src/com/android/tests/tombstoneTransmit/
DTombstoneTransmitTest.java31 import org.junit.Assert;
92 Assert.assertTrue("Tombstones on guest and host do not match", in testTombstonesOfVaryingLengths()
94 Assert.assertEquals("Host does not have expected tombstone count in this iteration", in testTombstonesOfVaryingLengths()
96 Assert.assertEquals("Guest does not have expected tombstone count in this iteration", in testTombstonesOfVaryingLengths()
126 Assert.assertEquals(CommandStatus.FAILED, commandResult.getStatus()); in testTombstoneTransmitIntegrity()
143 Assert.assertTrue("Tombstones on guest and host do not match", in testTombstoneTransmitIntegrity()
145 Assert.assertEquals("Host does not have expected tombstone count in this iteration", in testTombstoneTransmitIntegrity()
147 Assert.assertEquals("Guest does not have expected tombstone count in this iteration", in testTombstoneTransmitIntegrity()
174 Assert.assertEquals(CommandStatus.SUCCESS, commandResult.getStatus()); in clearTombstonesFromCuttlefish()
230 Assert.assertEquals(CommandStatus.SUCCESS, commandResult.getStatus()); in generateTombstoneOfLengthInKb()
[all …]
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java30 import org.junit.Assert;
108 Assert.assertTrue(networkId >= 0); in enableNetwork()
121 Assert.assertNotNull(configs); in testWifiInitialization()
124 Assert.assertTrue(mWifiManager.disableNetwork(config.networkId)); in testWifiInitialization()
125 Assert.assertTrue(mWifiManager.removeNetwork(config.networkId)); in testWifiInitialization()
178 Assert.assertNotNull(net); in testWifiConnects()
179 Assert.assertTrue(mConnManager.bindProcessToNetwork(net)); in testWifiConnects()
183 Assert.assertTrue(s.isConnected()); in testWifiConnects()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dtrees.c194 Assert(length > 0 && length <= 15, "invalid length");
265 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
280 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
288 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
333 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
594 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
777 Assert(count >= 3 && count <= 6, " 3_6?");
842 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
843 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
951 Assert(buf != (char*)0, "lost buf");
[all …]
Ddeflate.c947 Assert(strm->avail_out > 0, "bug2");
1182 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1193 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1196 Assert(cur_match < s->strstart, "no future");
1223 Assert(scan[2] == match[2], "scan[2]?");
1234 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1254 Assert(*scan == *match, "match[2]?");
1266 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1309 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1311 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
[all …]
Dzutil.h223 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
230 # define Assert(cond,msg) macro
Dzutil.c263 Assert(0, "zcfree: ptr not found"); in zcfree()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dtrees.c198 Assert(length > 0 && length <= 15, "invalid length");
267 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init()
282 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
290 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
335 Assert (header != NULL, "Can't open trees.h"); in gen_trees_header()
596 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
779 Assert(count >= 3 && count <= 6, " 3_6?");
844 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
845 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
965 Assert(buf != (char*)0, "lost buf");
[all …]
Ddeflate.c827 Assert(strm->avail_out > 0, "bug2");
1061 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1072 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1075 Assert(cur_match < s->strstart, "no future");
1102 Assert(scan[2] == match[2], "scan[2]?");
1113 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1133 Assert(*scan == *match, "match[2]?");
1145 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1187 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1189 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
[all …]
Dzutil.h253 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
260 # define Assert(cond,msg) macro
Dzutil.c259 Assert(0, "zcfree: ptr not found"); in zcfree()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/
Dzutil.h253 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
260 # define Assert(cond,msg) macro
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/
DDebugAssert.h78 EFI_DEBUG_ASSERT Assert; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/
Dzutil.h226 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
233 # define Assert(cond,msg) macro
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dzutil.h241 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} macro
248 # define Assert(cond,msg) macro
Dzutil.c261 Assert(0, "zcfree: ptr not found"); in zcfree()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Dast.txt65 Assert: test, fail&
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
DPython.asdl34 | Assert(expr test, expr? msg)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
DPython-ast.h156 } Assert; member
426 #define Assert(a0, a1, a2, a3, a4) _Py_Assert(a0, a1, a2, a3, a4) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
DPython-ast.h156 } Assert; member
426 #define Assert(a0, a1, a2, a3, a4) _Py_Assert(a0, a1, a2, a3, a4) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dsymtable.c1106 VISIT(st, expr, s->v.Assert.test); in symtable_visit_stmt()
1107 if (s->v.Assert.msg) in symtable_visit_stmt()
1108 VISIT(st, expr, s->v.Assert.msg); in symtable_visit_stmt()
Dcompile.c2088 if (s->v.Assert.test->kind == Tuple_kind && in compiler_assert()
2089 asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) { in compiler_assert()
2096 VISIT(c, expr, s->v.Assert.test); in compiler_assert()
2102 if (s->v.Assert.msg) { in compiler_assert()
2103 VISIT(c, expr, s->v.Assert.msg); in compiler_assert()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsymtable.c1104 VISIT(st, expr, s->v.Assert.test); in symtable_visit_stmt()
1105 if (s->v.Assert.msg) in symtable_visit_stmt()
1106 VISIT(st, expr, s->v.Assert.msg); in symtable_visit_stmt()
Dcompile.c2066 if (s->v.Assert.test->kind == Tuple_kind && in compiler_assert()
2067 asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) { in compiler_assert()
2074 VISIT(c, expr, s->v.Assert.test); in compiler_assert()
2080 if (s->v.Assert.msg) { in compiler_assert()
2081 VISIT(c, expr, s->v.Assert.msg); in compiler_assert()

12