Lines Matching defs:mmi
1655 // We may initiate a USSD MMI before GSMPhone receives its initial
1657 // event, it will cancel the just issued USSD MMI, which we don't
1673 MmiCode mmi;
1680 mmi = (MmiCode) ar.result;
1682 assertFalse(mmi.isUssdRequest());
1689 mmi = (MmiCode) ar.result;
1691 assertTrue(mmi.isUssdRequest());
1697 mmi = (MmiCode) ar.result;
1699 GsmMmiCode gsmMmi = (GsmMmiCode) mmi;
1704 mmi = (MmiCode) ar.result;
1707 assertFalse(mmi.isUssdRequest());
1714 mmi = (MmiCode) ar.result;
1716 assertTrue(mmi.isUssdRequest());
1718 mmi.cancel();
1723 mmi = (MmiCode) ar.result;
1726 assertEquals(MmiCode.State.CANCELLED, mmi.getState());
1735 MmiCode mmi;
1746 mmi = (MmiCode) ar.result;
1747 assertEquals(MmiCode.State.COMPLETE, mmi.getState());
1754 * to the "pending MMI codes" list before it returns. This seems
1767 MmiCode mmi = pendingMmis.get(0);
1768 assertTrue(mmi.isCancelable());
1769 mmi.cancel();
1778 mmi = (MmiCode) ar.result;
1780 assertEquals(MmiCode.State.CANCELLED, mmi.getState());
1875 // "valid" MMI sequences
1888 // invalid MMI sequences
1901 MmiCode mmi = (MmiCode) ar.result;
1902 assertEquals(cancelable, mmi.isCancelable());