/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 85 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/ |
D | Vector3Test.java | 70 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/ |
D | VCardUtilsTests.java | 28 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/ |
D | MediaPlayerApiTest.java | 73 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/util/ |
D | PatternsTest.java | 35 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/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 20 import static org.junit.Assert.assertTrue; 82 assertTrue(ScanResultMatchInfo.fromScanResult(scanOpen1.getScanResult()) in testDifferentNetworkScanResultsDontMatch() 84 assertTrue(ScanResultMatchInfo.fromScanResult(scanOpen1.getScanResult()) in testDifferentNetworkScanResultsDontMatch() 104 assertTrue(key1.equals(key1)); in testEqualityRulesForTransitionMode() 107 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 108 assertTrue(key2.equals(key1)); in testEqualityRulesForTransitionMode() 111 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 112 assertTrue(key2.equals(key3)); in testEqualityRulesForTransitionMode() 113 assertTrue(key1.equals(key3)); in testEqualityRulesForTransitionMode() 116 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() [all …]
|
D | SarInfoTest.java | 20 import static org.junit.Assert.assertTrue; 55 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_resetSarScenarioNeed_atStart() 63 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_setSarScenarioNeeded_atStart() 73 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_repeat_reset_scenario() 86 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_set_after_reset_scenario() 90 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_after_reset_scenario() 99 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_twice_same_value_scenario() 112 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_twice_different_values_scenario() 116 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_2)); in testSarInfo_set_twice_different_values_scenario() 125 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_reset_after_set_scenario() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 50 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter() 51 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter() 70 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTimingNoWriter() 71 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTimingNoWriter() 110 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshot() 111 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshot() 137 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTiming() 138 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTiming() 183 assertTrue(results.containsKey("testAddMeasurementLongZero")); in testAddMeasurementLong() 185 assertTrue(results.containsKey("testAddMeasurementLongPos")); in testAddMeasurementLong() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | DumpUtilsTest.java | 51 assertTrue(isPlatformPackage("android")); in testIsPlatformPackage() 52 assertTrue(isPlatformPackage("android.abc")); in testIsPlatformPackage() 53 assertTrue(isPlatformPackage("com.android.abc")); in testIsPlatformPackage() 58 assertTrue(isPlatformPackage(cn("android/abc"))); in testIsPlatformPackage() 59 assertTrue(isPlatformPackage(cn("android.abc/abc"))); in testIsPlatformPackage() 60 assertTrue(isPlatformPackage(cn("com.android.def/abc"))); in testIsPlatformPackage() 65 assertTrue(isPlatformPackage(wcn("android/abc"))); in testIsPlatformPackage() 66 assertTrue(isPlatformPackage(wcn("android.abc/abc"))); in testIsPlatformPackage() 67 assertTrue(isPlatformPackage(wcn("com.android.def/abc"))); in testIsPlatformPackage() 79 assertTrue(isNonPlatformPackage("com.google")); in testIsNonPlatformPackage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | RetryManagerTest.java | 20 import static org.junit.Assert.assertTrue; 157 assertTrue(nextApn == null); in testRetryManagerEmpty() 180 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnNoRetry() 202 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 207 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 212 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 219 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 224 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 229 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() 234 assertTrue(nextApn.equals(mApn1)); in testRetryManagerOneApnTwoRetries() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | ComprehensiveCountryDetectorTest.java | 155 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/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 24 import static junit.framework.Assert.assertTrue; 98 assertTrue(a.isStarted()); in testStartDelay() 107 assertTrue(listener.wasRunning); in testStartDelay() 108 assertTrue(listener.firstRunningFrameTime - startTime[0] >= delay); in testStartDelay() 153 assertTrue(l1.cancelCalled); in testListenerCallbacks() 154 assertTrue(l1.endCalled); in testListenerCallbacks() 163 assertTrue(l1.startCalled); in testListenerCallbacks() 178 assertTrue(l1.startCalled); in testListenerCallbacks() 179 assertTrue(l1.cancelCalled); in testListenerCallbacks() 180 assertTrue(l1.endCalled); in testListenerCallbacks() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IntRangeManagerTest.java | 120 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | StringUtilTest.java | 20 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 …]
|
D | ByteArrayRingBufferTest.java | 22 import static org.junit.Assert.assertTrue; 45 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement() 55 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements() 56 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements() 68 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements() 69 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements() 78 assertTrue(rb.appendBuffer(data)); in canFillToCapacityWithSingleElement() 85 assertTrue(data.length > MAX_BYTES); in canNotOverfillWithSingleElement() 94 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary() 97 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary() [all …]
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | MultiDexTest.java | 34 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerStopStateUnitTest.java | 40 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 …]
|
D | MediaPlayerSetLoopingStateUnitTest.java | 41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 50 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() [all …]
|
D | MediaPlayerStartStateUnitTest.java | 40 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() 48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors() 49 assertTrue(stateErrors.errorInErrorState); in checkStateErrors() 50 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 51 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() [all …]
|
D | MediaPlayerGetDurationStateUnitTest.java | 40 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 …]
|
D | MediaPlayerIsPlayingStateUnitTest.java | 40 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 …]
|
D | MediaPlayerGetVideoWidthStateUnitTest.java | 40 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 …]
|
D | MediaPlayerGetCurrentPositionStateUnitTest.java | 40 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 …]
|
D | MediaPlayerSeekToStateUnitTest.java | 40 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 …]
|
D | MediaPlayerGetVideoHeightStateUnitTest.java | 40 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 …]
|