Home
last modified time | relevance | path

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

/cts/tests/fragment/src/android/fragment/cts/
DStrictFragment.java43 static String stateToString(int state) { in stateToString() method in StrictFragment
74 final StringBuilder expectString = new StringBuilder(stateToString(expected[0])); in checkState()
76 expectString.append(" or ").append(stateToString(expected[i])); in checkState()
79 + stateToString(mState) + "; expected " + expectString.toString()); in checkState()
85 + stateToString(mState) + "; expected at least " + stateToString(minState)); in checkStateAtLeast()
DFragmentLifecycleTest.java710 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure()
711 + StrictFragment.stateToString(toState)); in testLifecycleTransitionFailure()
716 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure()
717 + StrictFragment.stateToString(toState)); in testLifecycleTransitionFailure()
732 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure()
733 + StrictFragment.stateToString(toState)); in testLifecycleTransitionFailure()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java417 assertEquals("INITIALIZING", Connection.stateToString(Connection.STATE_INITIALIZING)); in testStateToString()
418 assertEquals("NEW", Connection.stateToString(Connection.STATE_NEW)); in testStateToString()
419 assertEquals("RINGING", Connection.stateToString(Connection.STATE_RINGING)); in testStateToString()
420 assertEquals("DIALING", Connection.stateToString(Connection.STATE_DIALING)); in testStateToString()
421 assertEquals("ACTIVE", Connection.stateToString(Connection.STATE_ACTIVE)); in testStateToString()
422 assertEquals("HOLDING", Connection.stateToString(Connection.STATE_HOLDING)); in testStateToString()
423 assertEquals("DISCONNECTED", Connection.stateToString(Connection.STATE_DISCONNECTED)); in testStateToString()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java674 tagToString(tag), stateToString(state), total); in toString()
704 maxUnexpected, tagToString(expectedTag), stateToString(expectedState), in assertAlmostNoUnexpectedTraffic()
705 bucket.getUid(), tagToString(bucket.getTag()), stateToString(bucket.getState()), in assertAlmostNoUnexpectedTraffic()
821 private String stateToString(Integer state) { in stateToString() method in NetworkUsageStatsTest
858 Process.myUid(), tagToString(expectedTag), stateToString(expectedState)); in getTotalAndAssertNotEmpty()