Home
last modified time | relevance | path

Searched refs:assertTrue (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java85 assertTrue("failed to disable WiFi", disableWifi()); in test3GToWifiNotification()
88 assertTrue("failed to wait for mobile connection", waitForNetworkState( in test3GToWifiNotification()
97 assertTrue("failed to enable WiFi", enableWifi()); in test3GToWifiNotification()
99 assertTrue("WiFi state is not DISCONNECTED after enabling", waitForWifiState( in test3GToWifiNotification()
103 assertTrue("connectivity has changed since wifi enable", in test3GToWifiNotification()
109 assertTrue("no network connectivity at end of test", checkNetworkConnectivity()); in test3GToWifiNotification()
118 assertTrue("failed to connect to " + mSsid, connectToWifi(mSsid, mPassword)); in testConnectToWifi()
120 assertTrue("wifi not enabled", waitForWifiState( in testConnectToWifi()
123 assertTrue("wifi not connected", waitForNetworkState( in testConnectToWifi()
132 assertTrue("no network connectivity at end of test", checkNetworkConnectivity()); in testConnectToWifi()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DVector3Test.java70 assertTrue(nearlyEqual(unitXAxis.norm(), 1.0f)); in testVector3Norm()
71 assertTrue(nearlyEqual(unitYAxis.norm(), 1.0f)); in testVector3Norm()
72 assertTrue(nearlyEqual(unitZAxis.norm(), 1.0f)); in testVector3Norm()
73 assertTrue(nearlyEqual(x1y1.norm(), (float)Math.sqrt(2))); in testVector3Norm()
78 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitXAxis), 0.0f)); in testVector3AngleBetween()
79 assertTrue(nearlyEqual(unitYAxis.angleBetween(unitYAxis), 0.0f)); in testVector3AngleBetween()
80 assertTrue(nearlyEqual(unitZAxis.angleBetween(unitZAxis), 0.0f)); in testVector3AngleBetween()
83 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitYAxis), 90.0f)); in testVector3AngleBetween()
84 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitZAxis), 90.0f)); in testVector3AngleBetween()
85 assertTrue(nearlyEqual(unitYAxis.angleBetween(unitZAxis), 90.0f)); in testVector3AngleBetween()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java28 assertTrue(VCardUtils.containsOnlyPrintableAscii((String)null)); in testContainsOnlyPrintableAscii()
29 assertTrue(VCardUtils.containsOnlyPrintableAscii((String[])null)); in testContainsOnlyPrintableAscii()
30 assertTrue(VCardUtils.containsOnlyPrintableAscii((List<String>)null)); in testContainsOnlyPrintableAscii()
31 assertTrue(VCardUtils.containsOnlyPrintableAscii("")); in testContainsOnlyPrintableAscii()
32 assertTrue(VCardUtils.containsOnlyPrintableAscii("abcdefghijklmnopqrstuvwxyz")); in testContainsOnlyPrintableAscii()
33 assertTrue(VCardUtils.containsOnlyPrintableAscii("ABCDEFGHIJKLMNOPQRSTUVWXYZ")); in testContainsOnlyPrintableAscii()
38 assertTrue(VCardUtils.containsOnlyPrintableAscii(builder.toString())); in testContainsOnlyPrintableAscii()
39 assertTrue(VCardUtils.containsOnlyPrintableAscii("\r\n")); in testContainsOnlyPrintableAscii()
45 assertTrue(VCardUtils.containsOnlyNonCrLfPrintableAscii((String)null)); in testContainsOnlyNonCrLfPrintableAscii()
46 assertTrue(VCardUtils.containsOnlyNonCrLfPrintableAscii((String[])null)); in testContainsOnlyNonCrLfPrintableAscii()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java73 assertTrue("MP3CBR getDuration", duratoinWithinTolerence); in testMP3CBRGetDuration()
81 assertTrue("MP3VBR getDuration", duratoinWithinTolerence); in testMP3VBRGetDuration()
88 assertTrue("MIDI getDuration", duratoinWithinTolerence); in testMIDIGetDuration()
95 assertTrue("AMR getDuration", duratoinWithinTolerence); in testAMRGetDuration()
110 assertTrue("MP3CBR GetCurrentPosition", currentPosition); in testMP3CBRGetCurrentPosition()
116 assertTrue("MP3VBR GetCurrentPosition", currentPosition); in testMP3VBRGetCurrentPosition()
122 assertTrue("MIDI GetCurrentPosition", currentPosition); in testMIDIGetCurrentPosition()
128 assertTrue("AMR GetCurrentPosition", currentPosition); in testAMRGetCurrentPosition()
141 assertTrue("MP3CBR Pause", isPaused); in testMP3CBRPause()
147 assertTrue("MP3VBR Pause", isPaused); in testMP3VBRPause()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java49 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter()
50 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter()
69 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTimingNoWriter()
70 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTimingNoWriter()
109 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshot()
110 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshot()
136 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTiming()
137 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTiming()
182 assertTrue(results.containsKey("testAddMeasurementLongZero")); in testAddMeasurementLong()
184 assertTrue(results.containsKey("testAddMeasurementLongPos")); in testAddMeasurementLong()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DPatternsTest.java35 assertTrue("Missed valid TLD", t); in testTldPattern()
39 assertTrue("Missed valid TLD", t); in testTldPattern()
43 assertTrue("Missed valid TLD", t); in testTldPattern()
47 assertTrue("Missed valid TLD", t); in testTldPattern()
64 assertTrue("Should match 'com'", pattern.matcher("com").matches()); in testIanaTopLevelDomains_matchesValidTld()
70 assertTrue("Should match 'me'", pattern.matcher("me").matches()); in testIanaTopLevelDomains_matchesValidNewTld()
76 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches()); in testIanaTopLevelDomains_matchesPunycodeTld()
82 assertTrue("Should match IRI TLD", pattern.matcher("\uD55C\uAD6D").matches()); in testIanaTopLevelDomains_matchesIriTLD()
102 assertTrue("Should match URL with scheme and hostname", in testWebUrl_matchesValidUrlWithSchemeAndHostname()
109 assertTrue("Should match URL with scheme, hostname and new TLD", in testWebUrl_matchesValidUrlWithSchemeHostnameAndNewTld()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java35 import static org.junit.Assert.assertTrue;
159 assertTrue(nextApn == null); in testRetryManagerEmpty()
181 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnNoRetry()
203 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
208 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
213 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
220 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
225 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
230 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
235 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java86 assertTrue(a.isStarted()); in testStartDelay()
95 assertTrue(listener.wasRunning); in testStartDelay()
96 assertTrue(listener.firstRunningFrameTime - startTime[0] >= delay); in testStartDelay()
141 assertTrue(l1.cancelCalled); in testListenerCallbacks()
142 assertTrue(l1.endCalled); in testListenerCallbacks()
151 assertTrue(l1.startCalled); in testListenerCallbacks()
166 assertTrue(l1.startCalled); in testListenerCallbacks()
167 assertTrue(l1.cancelCalled); in testListenerCallbacks()
168 assertTrue(l1.endCalled); in testListenerCallbacks()
171 assertTrue(l2.startCalled); in testListenerCallbacks()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DComprehensiveCountryDetectorTest.java155 assertTrue(sameCountry(country, resultCountry));
176 assertTrue(sameCountry(country, resultCountry));
177 assertTrue(countryDetector.locationBasedDetectorStarted());
179 assertTrue(listener.notified());
180 assertTrue(sameCountry(listener.getCountry(), locationBasedCountry));
181 assertTrue(countryDetector.locationBasedDetectorStopped());
182 assertTrue(countryDetector.locationRefreshStarted());
184 assertTrue(countryDetector.locationRefreshCancelled());
199 assertTrue(sameCountry(country, resultCountry));
201 assertTrue(countryDetector.locationBasedDetectorStarted());
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIntRangeManagerTest.java120 assertTrue("enabling range", testManager.enableRange(123, 123, "client1")); in testAddSingleChannel()
126 assertTrue("updating ranges", testManager.updateRanges()); in testAddSingleChannel()
136 assertTrue("enabling range", testManager.enableRange(123, 123, "client1")); in testRemoveSingleChannel()
140 assertTrue("disabling range", testManager.disableRange(123, 123, "client1")); in testRemoveSingleChannel()
145 assertTrue("updating ranges", testManager.updateRanges()); in testRemoveSingleChannel()
163 assertTrue("enabling range 1", testManager.enableRange(100, 120, "client1")); in testAddTwoChannels()
169 assertTrue("enabling range 2", testManager.enableRange(200, 250, "client2")); in testAddTwoChannels()
175 assertTrue("updating ranges", testManager.updateRanges()); in testAddTwoChannels()
188 assertTrue("enabling range 1", testManager.enableRange(100, 200, "client1")); in testOverlappingChannels()
194 assertTrue("enabling range 2", testManager.enableRange(150, 250, "client2")); in testOverlappingChannels()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java58 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual()
59 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual()
61 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual()
62 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual()
64 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual()
65 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual()
67 assertTrue(source.isIdenticalRoutes(target)); in assertLinkPropertiesEqual()
68 assertTrue(target.isIdenticalRoutes(source)); in assertLinkPropertiesEqual()
70 assertTrue(source.isIdenticalHttpProxy(target)); in assertLinkPropertiesEqual()
71 assertTrue(target.isIdenticalHttpProxy(source)); in assertLinkPropertiesEqual()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteArrayRingBufferTest.java22 import static org.junit.Assert.assertTrue;
46 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement()
56 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements()
57 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements()
69 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements()
70 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements()
79 assertTrue(rb.appendBuffer(data)); in canFillToCapacityWithSingleElement()
86 assertTrue(data.length > MAX_BYTES); in canNotOverfillWithSingleElement()
95 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary()
98 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DStringUtilTest.java20 import static org.junit.Assert.assertTrue;
37 assertTrue(StringUtil.isAsciiPrintable(null)); in nullArrayDoesNotCauseCrash()
43 assertTrue(StringUtil.isAsciiPrintable(new byte[]{})); in emptyArrayIsPrintable()
49 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'a'})); in arrayWithSinglePrintableByteIsPrintable()
58 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'a', 'b'})); in arrayWithMultiplePrintableBytesIsPrintable()
67 assertTrue(StringUtil.isAsciiPrintable(new byte[]{0x07})); // bell in printableControlCharactersAreConsideredPrintable()
68 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\f'})); // form feed in printableControlCharactersAreConsideredPrintable()
69 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\n'})); in printableControlCharactersAreConsideredPrintable()
70 assertTrue(StringUtil.isAsciiPrintable(new byte[]{'\t'})); in printableControlCharactersAreConsideredPrintable()
71 assertTrue(StringUtil.isAsciiPrintable(new byte[]{0x0b})); // vertical tab in printableControlCharactersAreConsideredPrintable()
[all …]
/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java149 assertTrue(mKeyStore.onUserPasswordChanged(TEST_PASSWD)); in testPassword()
157 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testGet()
159 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); in testGet()
168 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
170 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); in testPut()
179 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, Process.WIFI_UID, in testPut_grantedUid_Wifi()
181 assertTrue(mKeyStore.contains(TEST_KEYNAME, Process.WIFI_UID)); in testPut_grantedUid_Wifi()
200 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n()
202 assertTrue(mKeyStore.contains(TEST_I18N_KEY)); in testI18n()
210 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testDelete()
[all …]
/frameworks/multidex/library/test/src/android/support/multidex/
DMultiDexTest.java34 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1.1254")); in testVersionCheck()
35 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1")); in testVersionCheck()
36 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.2")); in testVersionCheck()
37 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1.0000")); in testVersionCheck()
38 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.2.0000")); in testVersionCheck()
39 Assert.assertTrue(MultiDex.isVMMultidexCapable("002.0001.0010")); in testVersionCheck()
40 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0")); in testVersionCheck()
41 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0.0")); in testVersionCheck()
42 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0.1")); in testVersionCheck()
43 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.1.0")); in testVersionCheck()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java52 assertTrue(a.beforeDescendantsChild.isFocusable()); in testPreconditions()
53 assertTrue(a.afterDescendantsChild.isFocusable()); in testPreconditions()
54 assertTrue(a.blocksDescendantsChild.isFocusable()); in testPreconditions()
62 assertTrue(a.beforeDescendants.requestFocus()); in testBeforeDescendants()
63 assertTrue(a.beforeDescendants.isFocused()); in testBeforeDescendants()
67 assertTrue(a.beforeDescendantsChild.isFocused()); in testBeforeDescendants()
75 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
76 assertTrue(a.afterDescendantsChild.isFocused()); in testAfterDescendants()
79 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
80 assertTrue(a.afterDescendantsChild.isFocused()); in testAfterDescendants()
[all …]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DTypefaceTest.java41 assertTrue("basic", Typeface.DEFAULT != null); in testBasic()
42 assertTrue("basic", Typeface.DEFAULT_BOLD != null); in testBasic()
43 assertTrue("basic", Typeface.SANS_SERIF != null); in testBasic()
44 assertTrue("basic", Typeface.SERIF != null); in testBasic()
45 assertTrue("basic", Typeface.MONOSPACE != null); in testBasic()
53 assertTrue("unique", mFaces[i] != mFaces[j]); in testUnique()
60 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles()
61 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles()
62 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles()
63 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStopStateUnitTest.java40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
49 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
50 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
51 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaPlayerGetCurrentPositionStateUnitTest.java40 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
51 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
[all …]
DMediaPlayerGetDurationStateUnitTest.java40 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
51 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
[all …]
DMediaPlayerGetVideoWidthStateUnitTest.java40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
48 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
49 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
[all …]
DMediaPlayerIsPlayingStateUnitTest.java40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerPauseStateUnitTest.java40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
42 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
47 assertTrue(stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
49 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
51 assertTrue(stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerResetStateUnitTest.java40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerSeekToStateUnitTest.java40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
47 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
48 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInStoppedState); in checkStateErrors()
51 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
[all …]

12345678910>>...26