Home
last modified time | relevance | path

Searched refs:sm1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/modules-utils/javatests/com/android/internal/util/
DStateMachineTest.java779 StateMachine1 sm1 = new StateMachine1("sm1"); in testStateMachine1() local
780 sm1.start(); in testStateMachine1()
781 if (sm1.isDbg()) tlog("testStateMachine1 E"); in testStateMachine1()
783 synchronized (sm1) { in testStateMachine1()
785 sm1.sendMessage(TEST_CMD_1); in testStateMachine1()
786 sm1.sendMessage(TEST_CMD_2); in testStateMachine1()
790 sm1.wait(); in testStateMachine1()
796 assertEquals(2, sm1.mEnterCount); in testStateMachine1()
797 assertEquals(2, sm1.mExitCount); in testStateMachine1()
799 assertEquals(2, sm1.getLogRecSize()); in testStateMachine1()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DBitUtilsTest.java64 short sm1 = -1; in testUnsignedShortWideningConversions() local
69 assertEquals(65535, uint16(sm1)); in testUnsignedShortWideningConversions()