/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/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | RoutingSessionInfoTest.java | 20 import static org.junit.Assert.assertNotEquals; 62 assertNotEquals(sessionInfo.getSelectedRoutes(), in testProviderId() 64 assertNotEquals(sessionInfo.getSelectableRoutes(), in testProviderId() 66 assertNotEquals(sessionInfo.getDeselectableRoutes(), in testProviderId() 68 assertNotEquals(sessionInfo.getTransferableRoutes(), in testProviderId() 75 assertNotEquals(sessionInfoWithOtherProviderId.getSelectedRoutes(), in testProviderId() 77 assertNotEquals(sessionInfoWithOtherProviderId.getSelectableRoutes(), in testProviderId() 79 assertNotEquals(sessionInfoWithOtherProviderId.getDeselectableRoutes(), in testProviderId() 81 assertNotEquals(sessionInfoWithOtherProviderId.getTransferableRoutes(), in testProviderId()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsCallTest.java | 23 import static org.junit.Assert.assertNotEquals; 61 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated() 66 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated() 93 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi() 97 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi() 105 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt() 109 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt() 117 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated() 129 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi() 141 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()
|
D | BrightnessConfigurationTest.java | 20 import static org.junit.Assert.assertNotEquals; 212 assertNotEquals(baseConfig, luxDifferConfig); in testEquals() 223 assertNotEquals(baseConfig, nitsDifferConfig); in testEquals() 231 assertNotEquals(baseConfig, correctionsDiffer); in testEquals() 236 assertNotEquals(baseConfig, colorCollectionDiffers); in testEquals() 241 assertNotEquals(baseConfig, timeoutDiffers); in testEquals() 246 assertNotEquals(baseConfig, lowerLuxDiffers); in testEquals() 251 assertNotEquals(baseConfig, upperLuxDiffers); in testEquals()
|
/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/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbHandlerTest.java | 20 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() 247 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp() 260 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp() 274 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging() 287 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast() 291 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendDialogInfoTest.java | 23 import static org.junit.Assert.assertNotEquals; 56 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesIcons() 66 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesTitle() 76 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonText() 86 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesButtonAction() 105 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageIds() 127 assertNotEquals(dialogBuilder1.build(), dialogBuilder2.build()); in equalsComparesMessageStringsWhenNoIdsSet()
|
/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/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/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/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() 137 assertNotEquals("Should not get reserved prefix: ", mBluetoothPrefix, hotspotPrefix); in testReserveBluetoothPrefix() 155 assertNotEquals(predefinedPrefix, usbPrefix); in testNoConflictDownstreamPrefix() 236 assertNotEquals(hotspotPrefix, hotspotPrefix2); in testNoConflictUpstreamPrefix() 244 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; 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/ |
D | WindowConfigurationTests.java | 37 import static org.junit.Assert.assertNotEquals; 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() 139 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 140 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo() 149 assertNotEquals(0, config1.compareTo(config2)); in testConfigurationCompareTo() 150 assertNotEquals(0, winConfig1.compareTo(winConfig2)); in testConfigurationCompareTo()
|
/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | MatrixTest.java | 20 import static org.junit.Assert.assertNotEquals; 200 assertNotEquals(m1, m2); in testCopy() 201 assertNotEquals(m1, m1.transpose()); in testCopy() 202 assertNotEquals(m1.toString(), m2.toString()); in testCopy() 203 assertNotEquals(m1, null); in testCopy() 204 assertNotEquals(m1, "a"); in testCopy()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarContextTest.java | 21 import static org.junit.Assert.assertNotEquals; 95 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility() 126 assertNotEquals(mGroup.setButtonVisibility(BUTTON_2_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton() 131 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton() 136 assertNotEquals(mGroup.setButtonVisibility(BUTTON_0_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton() 150 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, true /* visible */), View.VISIBLE); in testSetLowerPriorityButton() 158 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
|
/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/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/core/tests/coretests/src/android/graphics/ |
D | TypefaceEqualsTest.java | 20 import static org.junit.Assert.assertNotEquals; 53 assertNotEquals(jaFont, koFont); in testFontEqualWithLocale() 54 assertNotEquals(jaFont, masterFont); in testFontEqualWithLocale()
|
/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()
|