Home
last modified time | relevance | path

Searched refs:expectedNumberOfEvents (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteServiceManager.java679 boolean waitForEventOnStartSendingSatellitePointingInfo(int expectedNumberOfEvents) { in waitForEventOnStartSendingSatellitePointingInfo() argument
680 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForEventOnStartSendingSatellitePointingInfo()
695 boolean waitForEventOnStopSendingSatellitePointingInfo(int expectedNumberOfEvents) { in waitForEventOnStopSendingSatellitePointingInfo() argument
696 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForEventOnStopSendingSatellitePointingInfo()
711 boolean waitForEventOnPollPendingSatelliteDatagrams(int expectedNumberOfEvents) { in waitForEventOnPollPendingSatelliteDatagrams() argument
712 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForEventOnPollPendingSatelliteDatagrams()
731 boolean waitForEventOnSendSatelliteDatagram(int expectedNumberOfEvents) { in waitForEventOnSendSatelliteDatagram() argument
732 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForEventOnSendSatelliteDatagram()
747 boolean waitForEventOnRequestSatelliteEnabled(int expectedNumberOfEvents) { in waitForEventOnRequestSatelliteEnabled() argument
748 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForEventOnRequestSatelliteEnabled()
[all …]
DSatelliteManagerTestBase.java244 public boolean waitUntilOnSatellitePositionChanged(int expectedNumberOfEvents) { in waitUntilOnSatellitePositionChanged() argument
245 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitUntilOnSatellitePositionChanged()
260 public boolean waitUntilOnSendDatagramStateChanged(int expectedNumberOfEvents) { in waitUntilOnSendDatagramStateChanged() argument
261 … logd("waitUntilOnSendDatagramStateChanged expectedNumberOfEvents:" + expectedNumberOfEvents); in waitUntilOnSendDatagramStateChanged()
262 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitUntilOnSendDatagramStateChanged()
277 public boolean waitUntilOnReceiveDatagramStateChanged(int expectedNumberOfEvents) { in waitUntilOnReceiveDatagramStateChanged() argument
278 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitUntilOnReceiveDatagramStateChanged()
377 public boolean waitUntilResult(int expectedNumberOfEvents) { in waitUntilResult() argument
378 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitUntilResult()
446 public boolean waitUntilResult(int expectedNumberOfEvents) { in waitUntilResult() argument
[all …]
DCarrierRoamingSatelliteTestBase.java324 public boolean waitForBroadcast(int expectedNumberOfEvents) { in waitForBroadcast() argument
326 for (int i = 0; i < expectedNumberOfEvents; i++) { in waitForBroadcast()
DSatelliteManagerTestOnMockService.java861 int expectedNumberOfEvents = 3; in testSendKeepAliveDatagramInNotConnectedState() local
862 assertTrue(callback.waitUntilResult(expectedNumberOfEvents)); in testSendKeepAliveDatagramInNotConnectedState()
863 assertEquals(expectedNumberOfEvents, callback.getTotalCountOfModemStates()); in testSendKeepAliveDatagramInNotConnectedState()
943 int expectedNumberOfEvents = moveToIdleState ? 4 : 3; in verifyNbIotStateTransitionsWithSendingOnConnected() local
944 assertTrue(callback.waitUntilResult(expectedNumberOfEvents)); in verifyNbIotStateTransitionsWithSendingOnConnected()
945 assertEquals(expectedNumberOfEvents, callback.getTotalCountOfModemStates()); in verifyNbIotStateTransitionsWithSendingOnConnected()
1225 int expectedNumberOfEvents = moveToIdleState ? 2 : 1; in verifyNbIotStateTransitionsWithDatagramReceivedOnTransferring() local
1226 assertTrue(callback.waitUntilResult(expectedNumberOfEvents)); in verifyNbIotStateTransitionsWithDatagramReceivedOnTransferring()
1227 assertEquals(expectedNumberOfEvents, callback.getTotalCountOfModemStates()); in verifyNbIotStateTransitionsWithDatagramReceivedOnTransferring()
1278 int expectedNumberOfEvents = 2; in verifyNbIotStateTransitionsWithReceivingOnConnected() local
[all …]