Home
last modified time | relevance | path

Searched refs:assertNotEquals (Results 1 – 25 of 129) sorted by relevance

123456

/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DRoutingSessionInfoTest.java20 import static org.junit.Assert.assertNotEquals;
63 assertNotEquals(sessionInfo.getSelectedRoutes(), in testProviderId()
65 assertNotEquals(sessionInfo.getSelectableRoutes(), in testProviderId()
67 assertNotEquals(sessionInfo.getDeselectableRoutes(), in testProviderId()
69 assertNotEquals(sessionInfo.getTransferableRoutes(), in testProviderId()
76 assertNotEquals(sessionInfoWithOtherProviderId.getSelectedRoutes(), in testProviderId()
78 assertNotEquals(sessionInfoWithOtherProviderId.getSelectableRoutes(), in testProviderId()
80 assertNotEquals(sessionInfoWithOtherProviderId.getDeselectableRoutes(), in testProviderId()
82 assertNotEquals(sessionInfoWithOtherProviderId.getTransferableRoutes(), in testProviderId()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java19 import static org.junit.Assert.assertNotEquals;
41 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
42 assertNotEquals(UserHandle.USER_ALL, LockPatternUtils.USER_FRP);
43 assertNotEquals(UserHandle.USER_CURRENT, LockPatternUtils.USER_FRP);
44 assertNotEquals(UserHandle.USER_CURRENT_OR_SELF, LockPatternUtils.USER_FRP);
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DOrdinalGeneratorTest.java20 import static org.junit.Assert.assertNotEquals;
38 assertNotEquals(oneOrd, twoOrd); in testOrdinal_withIdentityFunction()
44 assertNotEquals(oneOrd, threeOrd); in testOrdinal_withIdentityFunction()
45 assertNotEquals(twoOrd, threeOrd); in testOrdinal_withIdentityFunction()
65 assertNotEquals(oneOrd, twoOrd); in testOrdinal_withCanonicalizationFunction()
71 assertNotEquals(oneOrd, threeOrd); in testOrdinal_withCanonicalizationFunction()
72 assertNotEquals(twoOrd, threeOrd); in testOrdinal_withCanonicalizationFunction()
DGeolocationTimeZoneSuggestionTest.java20 import static org.junit.Assert.assertNotEquals;
45 assertNotEquals(one, nullZone); in testEquals()
46 assertNotEquals(nullZone, one); in testEquals()
51 assertNotEquals(one, three); in testEquals()
52 assertNotEquals(three, one); in testEquals()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DAmbientBrightnessDayStatsTest.java21 import static org.junit.Assert.assertNotEquals;
131 assertNotEquals(emptyDayStats, dayStats); in testAmbientBrightnessDayStatsEquals()
132 assertNotEquals(emptyDayStats.hashCode(), dayStats.hashCode()); in testAmbientBrightnessDayStatsEquals()
136 assertNotEquals(dayStats, differentDateDayStats); in testAmbientBrightnessDayStatsEquals()
137 assertNotEquals(dayStats.hashCode(), differentDateDayStats.hashCode()); in testAmbientBrightnessDayStatsEquals()
143 assertNotEquals(dayStats, differentDateDayStats); in testAmbientBrightnessDayStatsEquals()
144 assertNotEquals(dayStats.hashCode(), differentStatsDayStats.hashCode()); in testAmbientBrightnessDayStatsEquals()
151 assertNotEquals(dayStats, differentBoundariesDayStats); in testAmbientBrightnessDayStatsEquals()
152 assertNotEquals(dayStats.hashCode(), differentBoundariesDayStats.hashCode()); in testAmbientBrightnessDayStatsEquals()
DBrightnessConfigurationTest.java20 import static org.junit.Assert.assertNotEquals;
210 assertNotEquals(baseConfig, luxDifferConfig); in testEquals()
221 assertNotEquals(baseConfig, nitsDifferConfig); in testEquals()
229 assertNotEquals(baseConfig, correctionsDiffer); in testEquals()
234 assertNotEquals(baseConfig, colorCollectionDiffers); in testEquals()
239 assertNotEquals(baseConfig, timeoutDiffers); in testEquals()
244 assertNotEquals(baseConfig, lowerLuxDiffers); in testEquals()
249 assertNotEquals(baseConfig, upperLuxDiffers); in testEquals()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccNotificationTest.java21 import static org.junit.Assert.assertNotEquals;
45 assertNotEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
49 assertNotEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
53 assertNotEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
57 assertNotEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java23 import static org.junit.Assert.assertNotEquals;
97 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
102 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
143 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
147 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
155 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
159 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
167 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
179 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
191 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiAlt()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DModemInfoTest.java20 import static org.junit.Assert.assertNotEquals;
42 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
44 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
46 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, !isVoiceSupported, isDataSupported)); in basicTests()
47 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, isVoiceSupported, !isDataSupported)); in basicTests()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendDialogInfoTest.java23 import static org.junit.Assert.assertNotEquals;
56 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesIcons()
66 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitleIds()
88 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitleStringsWhenNoIdsSet()
108 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonTextIds()
130 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonStringsWhenNoIdsSet()
150 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonAction()
169 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageIds()
191 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageStringsWhenNoIdsSet()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java20 import static org.junit.Assert.assertNotEquals;
156 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in setFunctionsMtp()
164 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
172 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MIDI, 0); in setFunctionsMidi()
180 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_RNDIS, 0); in setFunctionsRndis()
265 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp()
278 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp()
292 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging()
305 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()
309 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java38 import static org.junit.Assert.assertNotEquals;
139 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
140 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
145 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
146 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
151 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
152 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
161 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
162 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
167 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
[all …]
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java22 import static org.junit.Assert.assertNotEquals;
205 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
209 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
213 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
217 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
221 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
226 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
231 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
235 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
239 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DTelephonyTimeZoneSuggestionTest.java24 import static org.junit.Assert.assertNotEquals;
60 assertNotEquals(one, three); in testEquals()
61 assertNotEquals(three, one); in testEquals()
70 assertNotEquals(one, two); in testEquals()
79 assertNotEquals(one, two); in testEquals()
94 assertNotEquals(one, two); in testEquals()
110 assertNotEquals(one, two); in testEquals()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationLoadersTest.java20 import static org.junit.Assert.assertNotEquals;
62 assertNotEquals(null, loaders.getCachedNonBootclasspathSystemLib( in testCacheExistantLib()
72 assertNotEquals(null, parent); in testNonNullParent()
119 assertNotEquals(null, loadA); in testDependentLibs()
124 assertNotEquals(null, loaders.getCachedNonBootclasspathSystemLib( in testDependentLibs()
/frameworks/base/core/tests/coretests/src/android/app/timedetector/
DManualTimeSuggestionTest.java23 import static org.junit.Assert.assertNotEquals;
47 assertNotEquals(one, three); in testEquals()
48 assertNotEquals(three, one); in testEquals()
DGnssTimeSuggestionTest.java23 import static org.junit.Assert.assertNotEquals;
47 assertNotEquals(one, three); in testEquals()
48 assertNotEquals(three, one); in testEquals()
DNetworkTimeSuggestionTest.java23 import static org.junit.Assert.assertNotEquals;
47 assertNotEquals(one, three); in testEquals()
48 assertNotEquals(three, one); in testEquals()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceEqualsTest.java20 import static org.junit.Assert.assertNotEquals;
53 assertNotEquals(jaFont, koFont); in testFontEqualWithLocale()
54 assertNotEquals(jaFont, masterFont); in testFontEqualWithLocale()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistSettingsTests.java20 import static org.junit.Assert.assertNotEquals;
82 assertNotEquals(HARD_CODED_SECRET_KEY, tmpKey1); in testWatchlistSettings_parsingWithoutKey()
95 assertNotEquals(HARD_CODED_SECRET_KEY, tmpKey1); in testWatchlistSettings_noExistingXml()
106 assertNotEquals(HARD_CODED_SECRET_KEY, tmpKey2); in testWatchlistSettings_noExistingXml()
107 assertNotEquals(tmpKey1, tmpKey2); in testWatchlistSettings_noExistingXml()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java20 import static org.junit.Assert.assertNotEquals;
59 assertNotEquals(volumeGroupFromStream, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetProductStrategies()
129 assertNotEquals(volumeGroupFromStream, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testAudioAttributesFromStreamTypes()
157 assertNotEquals(streamTypeFromUsage, AudioSystem.STREAM_DEFAULT); in testAudioAttributesToStreamTypes()
202 assertNotEquals( in testAudioAttributesToStreamTypes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DNavigationBarContextTest.java21 import static org.junit.Assert.assertNotEquals;
113 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility()
144 assertNotEquals(mGroup.setButtonVisibility(BUTTON_2_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
149 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
154 assertNotEquals(mGroup.setButtonVisibility(BUTTON_0_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
168 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, true /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
176 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
/frameworks/base/core/tests/coretests/src/android/os/
DVibratorInfoTest.java21 import static org.junit.Assert.assertNotEquals;
302 assertNotEquals(complete, completeWithComposeControl); in testEquals()
307 assertNotEquals(complete, completeWithNoEffects); in testEquals()
312 assertNotEquals(complete, completeWithUnknownEffects); in testEquals()
317 assertNotEquals(complete, completeWithDifferentPrimitiveDuration); in testEquals()
324 assertNotEquals(complete, completeWithDifferentFrequencyMapping); in testEquals()
329 assertNotEquals(complete, completeWithEmptyFrequencyMapping); in testEquals()
334 assertNotEquals(complete, completeWithUnknownQFactor); in testEquals()
339 assertNotEquals(complete, completeWithDifferentQFactor); in testEquals()
345 assertNotEquals(unknownEffectSupport, knownEmptyEffectSupport); in testEquals()
[all …]
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DIpRangeTest.java21 import static org.junit.Assert.assertNotEquals;
141 assertNotEquals(r1, r2); in testContainsRangeSubset()
161 assertNotEquals(r1, r2); in testContainsRangeSubsetSameStartAddr()
171 assertNotEquals(r1, r2); in testContainsRangeOverlapping()
191 assertNotEquals(r1, r2); in testOverlapsRangeSubset()
201 assertNotEquals(r1, r2); in testOverlapsRangeDisjoint()
211 assertNotEquals(r1, r2); in testOverlapsRangePartialOverlapLow()
221 assertNotEquals(r1, r2); in testOverlapsRangePartialOverlapHigh()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccSpecVersionTest.java21 import static org.junit.Assert.assertNotEquals;
61 assertNotEquals(ver1.hashCode(), ver2.hashCode()); in testCompareTo()
67 assertNotEquals(ver1.hashCode(), ver2.hashCode()); in testCompareTo()
73 assertNotEquals(ver1.hashCode(), ver2.hashCode()); in testCompareTo()

123456