/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkTest.java | 21 import static org.junit.Assert.assertNotEquals; 122 assertNotEquals(0, one.hashCode()); in testGetNetworkHandle() 123 assertNotEquals(0, two.hashCode()); in testGetNetworkHandle() 124 assertNotEquals(0, three.hashCode()); in testGetNetworkHandle() 127 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle() 128 assertNotEquals(one.hashCode(), three.hashCode()); in testGetNetworkHandle() 129 assertNotEquals(two.hashCode(), three.hashCode()); in testGetNetworkHandle() 132 assertNotEquals(0, one.getNetworkHandle()); in testGetNetworkHandle() 133 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle() 134 assertNotEquals(0, three.getNetworkHandle()); in testGetNetworkHandle() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsCallTest.java | 21 import static org.junit.Assert.assertNotEquals; 59 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated() 64 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated() 72 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi() 76 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi() 84 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt() 88 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt() 96 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated() 108 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi() 120 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiAlt()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternUtilsTest.java | 19 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/core/tests/coretests/src/android/hardware/display/ |
D | AmbientBrightnessDayStatsTest.java | 21 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/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbHandlerTest.java | 20 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccNotificationTest.java | 21 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/ |
D | ModemInfoTest.java | 20 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/tests/net/java/android/net/ |
D | ConnectivityDiagnosticsManagerTest.java | 28 import static org.junit.Assert.assertNotEquals; 158 assertNotEquals( in testConnectivityReportEquals() 166 assertNotEquals( in testConnectivityReportEquals() 174 assertNotEquals( in testConnectivityReportEquals() 182 assertNotEquals( in testConnectivityReportEquals() 190 assertNotEquals( in testConnectivityReportEquals() 245 assertNotEquals( in testDataStallReportEquals() 254 assertNotEquals( in testDataStallReportEquals() 263 assertNotEquals( in testDataStallReportEquals() 272 assertNotEquals( in testDataStallReportEquals() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendDialogInfoTest.java | 20 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/packages/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 30 import kotlin.test.assertNotEquals 63 assertNotEquals(makeTestClient(), TetheredClient( in makeLinkAddress() 69 assertNotEquals(makeTestClient(), TetheredClient( in makeLinkAddress() 75 assertNotEquals(makeTestClient(), TetheredClient( in makeLinkAddress() 81 assertNotEquals(makeTestClient(), TetheredClient( in makeLinkAddress() 87 assertNotEquals(makeTestClient(), TetheredClient( in makeLinkAddress()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinatorTest.java | 19 import static org.junit.Assert.assertNotEquals; 80 assertNotEquals(hotspotPrefix, mBluetoothPrefix); in testDownstreamPrefixRequest() 85 assertNotEquals(hotspotPrefix, testDupRequest); in testDownstreamPrefixRequest() 86 assertNotEquals(mBluetoothPrefix, testDupRequest); in testDownstreamPrefixRequest() 92 assertNotEquals(usbPrefix, mBluetoothPrefix); in testDownstreamPrefixRequest() 93 assertNotEquals(usbPrefix, hotspotPrefix); in testDownstreamPrefixRequest() 142 assertNotEquals("Should not get reserved prefix: ", mBluetoothPrefix, hotspotPrefix); in testReserveBluetoothPrefix() 160 assertNotEquals(predefinedPrefix, usbPrefix); in testNoConflictDownstreamPrefix() 241 assertNotEquals(hotspotPrefix, hotspotPrefix2); in testNoConflictUpstreamPrefix() 249 assertNotEquals(predefinedPrefix, usbPrefix); in testNoConflictUpstreamPrefix() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
D | EuiccProfileInfoTest.java | 22 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/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowConfigurationTests.java | 33 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()
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 37 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/ |
D | NavigationBarContextTest.java | 21 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/timezonedetector/ |
D | TelephonyTimeZoneSuggestionTest.java | 24 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 31 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | MatrixTest.java | 20 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/tests/net/common/java/android/net/apf/ |
D | ApfCapabilitiesTest.java | 23 import static org.junit.Assert.assertNotEquals; 62 assertNotEquals(new ApfCapabilities(2, 2, 3), new ApfCapabilities(1, 2, 3)); in testEquals() 63 assertNotEquals(new ApfCapabilities(1, 3, 3), new ApfCapabilities(1, 2, 3)); in testEquals() 64 assertNotEquals(new ApfCapabilities(1, 2, 4), new ApfCapabilities(1, 2, 3)); in testEquals()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | ApplicationLoadersTest.java | 20 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/libs/net/common/tests/unit/src/android/net/util/ |
D | IpRangeTest.java | 21 import static org.junit.Assert.assertNotEquals; 139 assertNotEquals(r1, r2); in testContainsRangeSubset() 159 assertNotEquals(r1, r2); in testContainsRangeSubsetSameStartAddr() 169 assertNotEquals(r1, r2); in testContainsRangeOverlapping() 189 assertNotEquals(r1, r2); in testOverlapsRangeSubset() 199 assertNotEquals(r1, r2); in testOverlapsRangeDisjoint() 209 assertNotEquals(r1, r2); in testOverlapsRangePartialOverlapLow() 219 assertNotEquals(r1, r2); in testOverlapsRangePartialOverlapHigh()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 20 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/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistSettingsTests.java | 20 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/core/tests/coretests/src/android/app/timedetector/ |
D | ManualTimeSuggestionTest.java | 23 import static org.junit.Assert.assertNotEquals; 47 assertNotEquals(one, three); in testEquals() 48 assertNotEquals(three, one); in testEquals()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiClientTest.java | 23 import static org.junit.Assert.assertNotEquals; 72 assertNotEquals(writeWifiClient, writeWifiClientNotEquals); in testWifiClientNotEquals() 73 assertNotEquals(writeWifiClient.hashCode(), writeWifiClientNotEquals.hashCode()); in testWifiClientNotEquals()
|