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.java397 assertEquals("INITIALIZING", Connection.stateToString(Connection.STATE_INITIALIZING)); in testStateToString()
398 assertEquals("NEW", Connection.stateToString(Connection.STATE_NEW)); in testStateToString()
399 assertEquals("RINGING", Connection.stateToString(Connection.STATE_RINGING)); in testStateToString()
400 assertEquals("DIALING", Connection.stateToString(Connection.STATE_DIALING)); in testStateToString()
401 assertEquals("ACTIVE", Connection.stateToString(Connection.STATE_ACTIVE)); in testStateToString()
402 assertEquals("HOLDING", Connection.stateToString(Connection.STATE_HOLDING)); in testStateToString()
403 assertEquals("DISCONNECTED", Connection.stateToString(Connection.STATE_DISCONNECTED)); in testStateToString()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java650 tagToString(tag), stateToString(state), total); in toString()
680 maxUnexpected, tagToString(expectedTag), stateToString(expectedState), in assertAlmostNoUnexpectedTraffic()
681 bucket.getUid(), tagToString(bucket.getTag()), stateToString(bucket.getState()), in assertAlmostNoUnexpectedTraffic()
797 private String stateToString(Integer state) { in stateToString() method in NetworkUsageStatsTest
834 Process.myUid(), tagToString(expectedTag), stateToString(expectedState)); in getTotalAndAssertNotEmpty()