Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/tests/timetests/src/android/app/time/
DTimeZoneDetectorStatusTest.java26 import static org.junit.Assert.assertNotEquals;
65 assertNotEquals(one, three); in testEquals()
66 assertNotEquals(three, one); in testEquals()
72 assertNotEquals(telephonyAlgorithmStatus, ARBITRARY_TELEPHONY_ALGORITHM_STATUS); in testEquals()
76 assertNotEquals(one, three); in testEquals()
77 assertNotEquals(three, one); in testEquals()
86 assertNotEquals(locationAlgorithmStatus, ARBITRARY_LOCATION_ALGORITHM_STATUS); in testEquals()
90 assertNotEquals(one, three); in testEquals()
91 assertNotEquals(three, one); in testEquals()
DTelephonyTimeZoneAlgorithmStatusTest.java24 import static org.junit.Assert.assertNotEquals;
54 assertNotEquals(one, three); in testEquals()
55 assertNotEquals(three, one); in testEquals()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DGeolocationTimeZoneSuggestionTest.java20 import static org.junit.Assert.assertNotEquals;
50 assertNotEquals(certain1v1, certain2); in testEquals()
51 assertNotEquals(certain2, certain1v1); in testEquals()
55 assertNotEquals(certain1v1, uncertain); in testEquals()
56 assertNotEquals(uncertain, certain1v1); in testEquals()
61 assertNotEquals(certain1v1, certain3); in testEquals()
62 assertNotEquals(certain3, certain1v1); in testEquals()
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()
/frameworks/base/core/tests/GameManagerTests/src/android/app/
DGameModeConfigurationTest.java21 import static org.junit.Assert.assertNotEquals;
50 assertNotEquals(config.hashCode(), config2.hashCode()); in testEqualsAndHashCode()
55 assertNotEquals(config.hashCode(), config3.hashCode()); in testEqualsAndHashCode()
57 assertNotEquals(config2.hashCode(), config3.hashCode()); in testEqualsAndHashCode()
62 assertNotEquals(config.hashCode(), config4.hashCode()); in testEqualsAndHashCode()
67 assertNotEquals(config.hashCode(), config5.hashCode()); in testEqualsAndHashCode()
72 assertNotEquals(config.hashCode(), config6.hashCode()); in testEqualsAndHashCode()
74 assertNotEquals(config2.hashCode(), config6.hashCode()); in testEqualsAndHashCode()
76 assertNotEquals(config3.hashCode(), config6.hashCode()); in testEqualsAndHashCode()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java24 import static org.junit.Assert.assertNotEquals;
214 assertNotEquals(LockscreenCredential.createPassword("1234"), in testEquals()
216 assertNotEquals(LockscreenCredential.createPassword("1234"), in testEquals()
218 assertNotEquals(LockscreenCredential.createPassword("1234"), in testEquals()
220 assertNotEquals(LockscreenCredential.createPassword("1234"), in testEquals()
223 assertNotEquals(LockscreenCredential.createPin("1111"), in testEquals()
225 assertNotEquals(LockscreenCredential.createPin("1111"), in testEquals()
227 assertNotEquals(LockscreenCredential.createPin("1111"), in testEquals()
229 assertNotEquals(LockscreenCredential.createPin("1111"), in testEquals()
232 assertNotEquals(createPattern("5678"), in testEquals()
[all …]
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderEventTest.java29 import static org.junit.Assert.assertNotEquals;
147 assertNotEquals(failEvent, uncertainEvent); in isEquivalentToAndEquals()
150 assertNotEquals(failEvent, suggestionEvent); in isEquivalentToAndEquals()
153 assertNotEquals(uncertainEvent, suggestionEvent); in isEquivalentToAndEquals()
163 assertNotEquals(fail1v1, null); in isEquivalentToAndEquals_permanentFailure()
174 assertNotEquals(fail1v1, fail2); in isEquivalentToAndEquals_permanentFailure()
196 assertNotEquals(uncertain1v1, null); in isEquivalentToAndEquals_uncertain()
207 assertNotEquals(uncertain1v1, uncertain2); in isEquivalentToAndEquals_uncertain()
212 assertNotEquals(uncertain1v1, uncertain3); in isEquivalentToAndEquals_uncertain()
237 assertNotEquals(certain1v1, null); in isEquivalentToAndEquals_suggestion()
[all …]
DTimeZoneProviderSuggestionTest.java21 import static org.junit.Assert.assertNotEquals;
49 assertNotEquals(suggestion1, null); in isEquivalentToAndEquals()
57 assertNotEquals(suggestion1, suggestion2); in isEquivalentToAndEquals()
65 assertNotEquals(suggestion1, suggestion3); in isEquivalentToAndEquals()
/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;
211 assertNotEquals(baseConfig, luxDifferConfig); in testEquals()
222 assertNotEquals(baseConfig, nitsDifferConfig); in testEquals()
230 assertNotEquals(baseConfig, correctionsDiffer); in testEquals()
235 assertNotEquals(baseConfig, colorCollectionDiffers); in testEquals()
240 assertNotEquals(baseConfig, timeoutDiffers); in testEquals()
245 assertNotEquals(baseConfig, lowerLuxDiffers); in testEquals()
250 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/
DModemInfoTest.java20 import static org.junit.Assert.assertNotEquals;
43 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
45 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
47 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, !isVoiceSupported, isDataSupported)); in basicTests()
48 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, isVoiceSupported, !isDataSupported)); in basicTests()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java20 import static org.junit.Assert.assertNotEquals;
198 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in setFunctionsMtp()
206 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
214 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MIDI, 0); in setFunctionsMidi()
222 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_RNDIS, 0); in setFunctionsRndis()
230 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_NCM, 0); in setFunctionsNcm()
301 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp()
314 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp()
328 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging()
341 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendDialogInfoTest.java23 import static org.junit.Assert.assertNotEquals;
58 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesIcons()
68 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitleIds()
90 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitleStringsWhenNoIdsSet()
110 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonTextIds()
132 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonStringsWhenNoIdsSet()
152 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonAction()
171 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageIds()
193 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageStringsWhenNoIdsSet()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DNetworkTimeSuggestionTest.java22 import static org.junit.Assert.assertNotEquals;
51 assertNotEquals(one, three); in testEquals()
52 assertNotEquals(three, one); in testEquals()
57 assertNotEquals(one, four); in testEquals()
58 assertNotEquals(four, one); in testEquals()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java37 import static org.junit.Assert.assertNotEquals;
138 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
139 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
144 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
145 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
150 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
151 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
160 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
161 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
166 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java24 import static org.junit.Assert.assertNotEquals;
109 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
114 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
188 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
192 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
200 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
204 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
212 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
224 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
236 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiAlt()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityWindowAttributesTest.java20 import static org.junit.Assert.assertNotEquals;
70 assertNotEquals(windowAttributes, windowAttributes1); in testNonequality()
71 assertNotEquals(windowAttributes, windowAttributes2); in testNonequality()
72 assertNotEquals(windowAttributes1, windowAttributes2); in testNonequality()
/frameworks/base/core/tests/timetests/src/android/app/timezonedetector/
DTelephonyTimeZoneSuggestionTest.java24 import static org.junit.Assert.assertNotEquals;
68 assertNotEquals(one, three); in testEquals()
69 assertNotEquals(three, one); in testEquals()
78 assertNotEquals(one, two); in testEquals()
87 assertNotEquals(one, two); in testEquals()
102 assertNotEquals(one, two); in testEquals()
118 assertNotEquals(one, two); in testEquals()
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/marshallable/
DDataTypeEqualityTest.java21 import static org.junit.Assert.assertNotEquals;
118 assertNotEquals(dataType1, dataType2); in testInequality()
119 assertNotEquals(dataType2, dataType1); in testInequality()
142 assertNotEquals(dataType1, dataType2); in testInequalityBool()
143 assertNotEquals(dataType2, dataType1); in testInequalityBool()
/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/core/tests/coretests/src/android/view/
DSurfaceControlRegistryTests.java25 import static org.junit.Assert.assertNotEquals;
84 assertNotEquals(hash0, SurfaceControlRegistry.getProcessInstance().hashCode()); in testCreateReleaseSurfaceControl()
94 assertNotEquals(hash0, hash1); in testCreateReleaseMultipleSurfaceControls()
97 assertNotEquals(hash0, hash1_2); in testCreateReleaseMultipleSurfaceControls()
98 assertNotEquals(hash1, hash1_2); in testCreateReleaseMultipleSurfaceControls()
102 assertNotEquals(hash0, hash2); in testCreateReleaseMultipleSurfaceControls()
/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/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()

123456789