Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java83 private boolean mOnServiceStateChangedCalled; field in PhoneStateListenerTest
176 assertFalse(mOnServiceStateChangedCalled); in testOnServiceStateChanged()
183 mOnServiceStateChangedCalled = true; in testOnServiceStateChanged()
191 if (!mOnServiceStateChangedCalled) { in testOnServiceStateChanged()
196 assertTrue(mOnServiceStateChangedCalled); in testOnServiceStateChanged()
206 assertFalse(mOnServiceStateChangedCalled); in testOnUnRegisterFollowedByRegister()
213 mOnServiceStateChangedCalled = true; in testOnUnRegisterFollowedByRegister()
221 if (!mOnServiceStateChangedCalled) { in testOnUnRegisterFollowedByRegister()
226 assertTrue(mOnServiceStateChangedCalled); in testOnUnRegisterFollowedByRegister()
229 mOnServiceStateChangedCalled = false; in testOnUnRegisterFollowedByRegister()
[all …]
DTelephonyCallbackTest.java84 private boolean mOnServiceStateChangedCalled; field in TelephonyCallbackTest
198 mOnServiceStateChangedCalled = true; in onServiceStateChanged()
211 assertFalse(mOnServiceStateChangedCalled); in testOnServiceStateChangedByRegisterTelephonyCallback()
218 if (!mOnServiceStateChangedCalled) { in testOnServiceStateChangedByRegisterTelephonyCallback()
223 assertTrue(mOnServiceStateChangedCalled); in testOnServiceStateChangedByRegisterTelephonyCallback()
226 unRegisterTelephonyCallback(mOnServiceStateChangedCalled, mServiceStateCallback); in testOnServiceStateChangedByRegisterTelephonyCallback()
236 assertFalse(mOnServiceStateChangedCalled); in testOnUnRegisterFollowedByRegisterTelephonyCallback()
243 if (!mOnServiceStateChangedCalled) { in testOnUnRegisterFollowedByRegisterTelephonyCallback()
248 assertTrue(mOnServiceStateChangedCalled); in testOnUnRegisterFollowedByRegisterTelephonyCallback()
251 mOnServiceStateChangedCalled = false; in testOnUnRegisterFollowedByRegisterTelephonyCallback()
[all …]