Home
last modified time | relevance | path

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

1234

/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java34 import static org.junit.Assert.assertNotEquals;
60 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetWifi()
64 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetWifi()
72 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetWifiAlt()
76 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetWifiAlt()
84 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetLteNoWifi()
96 assertNotEquals(mTestImsCall.getRadioTechnology(), ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testSetLteNoWifiAlt()
/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()
/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;
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()
DSubscriptionInfoTest.java19 import static org.junit.Assert.assertNotEquals;
112 assertNotEquals(mSubscriptionInfoUT, differentDisplayName); in testEquals()
113 assertNotEquals(mSubscriptionInfoUT, differentSubId); in testEquals()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java20 import static org.junit.Assert.assertNotEquals;
153 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in setFunctionsMtp()
161 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
169 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MIDI, 0); in setFunctionsMidi()
177 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_RNDIS, 0); in setFunctionsRndis()
244 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp()
257 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp()
271 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging()
284 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()
288 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendDialogInfoTest.java20 import static org.junit.Assert.assertNotEquals;
52 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesIcons()
62 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitle()
72 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonText()
82 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageIds()
104 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageStringsWhenNoIdsSet()
/frameworks/base/tests/net/common/java/android/net/apf/
DApfCapabilitiesTest.java21 import static org.junit.Assert.assertNotEquals;
51 assertNotEquals(new ApfCapabilities(2, 2, 3), new ApfCapabilities(1, 2, 3)); in testEquals()
52 assertNotEquals(new ApfCapabilities(1, 3, 3), new ApfCapabilities(1, 2, 3)); in testEquals()
53 assertNotEquals(new ApfCapabilities(1, 2, 4), new ApfCapabilities(1, 2, 3)); in testEquals()
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java22 import static org.junit.Assert.assertNotEquals;
182 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
186 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
190 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
194 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
198 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
203 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
208 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
212 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
216 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java33 import static org.junit.Assert.assertNotEquals;
121 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
122 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
127 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
128 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
133 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
134 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
143 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo()
144 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
DTaskPositionerTests.java30 import static org.junit.Assert.assertNotEquals;
189 assertNotEquals(r.left, mPositioner.getWindowDragBounds().left); in testFreeWindowResizingTestAllEdges()
191 assertNotEquals(r.top, mPositioner.getWindowDragBounds().top); in testFreeWindowResizingTestAllEdges()
200 assertNotEquals(r.top, mPositioner.getWindowDragBounds().top); in testFreeWindowResizingTestAllEdges()
208 assertNotEquals(r.right, mPositioner.getWindowDragBounds().right); in testFreeWindowResizingTestAllEdges()
209 assertNotEquals(r.top, mPositioner.getWindowDragBounds().top); in testFreeWindowResizingTestAllEdges()
217 assertNotEquals(r.right, mPositioner.getWindowDragBounds().right); in testFreeWindowResizingTestAllEdges()
227 assertNotEquals(r.right, mPositioner.getWindowDragBounds().right); in testFreeWindowResizingTestAllEdges()
229 assertNotEquals(r.bottom, mPositioner.getWindowDragBounds().bottom); in testFreeWindowResizingTestAllEdges()
238 assertNotEquals(r.bottom, mPositioner.getWindowDragBounds().bottom); in testFreeWindowResizingTestAllEdges()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java37 import static org.junit.Assert.assertNotEquals;
148 assertNotEquals(metrics0, null); in testEquals()
149 assertNotEquals(metrics0, new Object()); in testEquals()
156 assertNotEquals(new PasswordMetrics(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, 4), in testEquals()
159 assertNotEquals(new PasswordMetrics(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, 4), in testEquals()
166 assertNotEquals(metrics0, metrics1); in testEquals()
169 assertNotEquals(metrics0, metrics1); in testEquals()
172 assertNotEquals(metrics0, metrics1); in testEquals()
175 assertNotEquals(metrics0, metrics1); in testEquals()
178 assertNotEquals(metrics0, metrics1); in testEquals()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarContextTest.java21 import static org.junit.Assert.assertNotEquals;
92 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility()
123 assertNotEquals(mGroup.setButtonVisibility(BUTTON_2_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
128 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
133 assertNotEquals(mGroup.setButtonVisibility(BUTTON_0_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
147 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, true /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
155 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java20 import static org.junit.Assert.assertNotEquals;
198 assertNotEquals(m1, m2); in testCopy()
199 assertNotEquals(m1, m1.transpose()); in testCopy()
200 assertNotEquals(m1.toString(), m2.toString()); in testCopy()
201 assertNotEquals(m1, null); in testCopy()
202 assertNotEquals(m1, "a"); in testCopy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java31 import static org.junit.Assert.assertNotEquals;
432 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testBeep()
443 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testBeepInsistently()
539 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testBeepTwice()
568 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testNoisyUpdateDoesNotCancelAudio()
582 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testNoisyOnceUpdateDoesNotCancelAudio()
621 assertNotEquals(-1, other.getLastAudiblyAlertedMs()); in testQuietUpdateDoesNotCancelAudioFromOther()
647 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testQuietUpdateCancelsAudio()
666 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testQuietOnceUpdateCancelsAudio()
690 assertNotEquals(-1, r.getLastAudiblyAlertedMs()); in testInCallNotification()
[all …]
/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/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()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java21 import static org.junit.Assert.assertNotEquals;
164 assertNotEquals( in testDisconnectAlwaysAllowKey()
244 assertNotEquals( in testLastConnectionTimeUpdatedByScheduledJob()
278 assertNotEquals( in testKeystorePersisted()
524 assertNotEquals( in testConnectionTimeUpdatedWithConnectedKeyMessage()
533 assertNotEquals( in testConnectionTimeUpdatedWithConnectedKeyMessage()
542 assertNotEquals( in testConnectionTimeUpdatedWithConnectedKeyMessage()
652 assertNotEquals( in testConnectionTimeUpdatedForMultipleConnectedKeys()
655 assertNotEquals( in testConnectionTimeUpdatedForMultipleConnectedKeys()
666 assertNotEquals( in testConnectionTimeUpdatedForMultipleConnectedKeys()
/frameworks/base/tests/net/common/java/android/net/
DLinkAddressTest.java32 import static org.junit.Assert.assertNotEquals;
65 assertNotEquals(0, RT_SCOPE_HOST); in testConstants()
66 assertNotEquals(0, RT_SCOPE_LINK); in testConstants()
67 assertNotEquals(0, RT_SCOPE_SITE); in testConstants()
69 assertNotEquals(0, IFA_F_DEPRECATED); in testConstants()
70 assertNotEquals(0, IFA_F_PERMANENT); in testConstants()
71 assertNotEquals(0, IFA_F_TENTATIVE); in testConstants()
315 assertNotEquals(l1.hashCode(), l2.hashCode()); in testHashCode()
319 assertNotEquals(l1.hashCode(), l2.hashCode()); in testHashCode()
DNetworkCapabilitiesTest.java44 import static org.junit.Assert.assertNotEquals;
148 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
170 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
178 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
368 assertNotEquals(nc1, nc2); in testEqualsNetCapabilities()
412 assertNotEquals(nc1, nc2); in testCombineCapabilities()
442 assertNotEquals(nc1, nc2); in testCombineCapabilities()
444 assertNotEquals(nc1, nc2); in testCombineCapabilities()
449 assertNotEquals(nc1, nc2); in testCombineCapabilities()
564 assertNotEquals(nc1, nc2); in testSet()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java30 import static org.junit.Assert.assertNotEquals;
158 assertNotEquals(internalPtr, in testBufferedImageReleased()
212 assertNotEquals(bufferedImg1, bufferedImg2); in testImageMultipleCopies()
222 assertNotEquals(bufferedImg2, bufferedImage3); in testImageMultipleCopies()
264 assertNotEquals(img1, img2); in testPoolDispose()
265 assertNotEquals(bufferedImg1, bufferedImg2); in testPoolDispose()
/frameworks/base/core/tests/coretests/src/android/util/
DTimestampedValueTest.java20 import static org.junit.Assert.assertNotEquals;
42 assertNotEquals(one1000one, two1000); in testEqualsAndHashcode()
45 assertNotEquals(one1000one, one2000); in testEqualsAndHashcode()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java22 import static org.junit.Assert.assertNotEquals;
204 assertNotEquals(defaultMac, firstMacAddress); in testGetOrCreateRandomizedMacAddress_SavesAndReturnsSameAddress()
232 assertNotEquals(macAfterChange, null); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
236 assertNotEquals(macAfterChange, defaultMac); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
240 assertNotEquals(macAfterChange, macAddressZeroes); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
244 assertNotEquals(macAfterChange, macAddressMulticast); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
248 assertNotEquals(macAfterChange, macAddressGlobal); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()

1234