Home
last modified time | relevance | path

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

123456789

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DAttributionTest.java20 import static org.junit.Assert.assertNotEquals;
62 assertNotEquals( in equals_fail()
65 assertNotEquals( in equals_fail()
68 assertNotEquals( in equals_fail()
73 assertNotEquals( in equals_fail()
78 assertNotEquals( in equals_fail()
83 assertNotEquals( in equals_fail()
86 assertNotEquals( in equals_fail()
91 assertNotEquals( in equals_fail()
94 assertNotEquals( in equals_fail()
[all …]
DAttributedTriggerTest.java20 import static org.junit.Assert.assertNotEquals;
75 assertNotEquals( in equals_fail()
94 assertNotEquals( in equals_fail()
113 assertNotEquals( in equals_fail()
132 assertNotEquals( in equals_fail()
151 assertNotEquals( in equals_fail()
170 assertNotEquals( in equals_fail()
189 assertNotEquals( in equals_fail()
208 assertNotEquals( in equals_fail()
254 assertNotEquals( in hashCode_fail()
[all …]
DEventTriggerTest.java21 import static org.junit.Assert.assertNotEquals;
123 assertNotEquals( in test_equals_fail()
126 assertNotEquals( in test_equals_fail()
129 assertNotEquals( in test_equals_fail()
132 assertNotEquals( in test_equals_fail()
139 assertNotEquals( in test_equals_fail()
152 assertNotEquals( in test_equals_fail()
196 assertNotEquals(eventTrigger1.hashCode(), eventTrigger2.hashCode()); in testHashCode_notEquals()
197 assertNotEquals(eventTrigger1, eventTrigger2); in testHashCode_notEquals()
198 assertNotEquals(eventTriggerSet1, eventTriggerSet2); in testHashCode_notEquals()
DTriggerTest.java20 import static org.junit.Assert.assertNotEquals;
183 assertNotEquals( in testEqualsFail()
186 assertNotEquals( in testEqualsFail()
191 assertNotEquals( in testEqualsFail()
196 assertNotEquals( in testEqualsFail()
201 assertNotEquals( in testEqualsFail()
204 assertNotEquals( in testEqualsFail()
207 assertNotEquals( in testEqualsFail()
212 assertNotEquals( in testEqualsFail()
229 assertNotEquals( in testEqualsFail()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java21 import static org.junit.Assert.assertNotEquals;
133 assertNotEquals(0, one.hashCode()); in testGetNetworkHandle()
134 assertNotEquals(0, two.hashCode()); in testGetNetworkHandle()
135 assertNotEquals(0, three.hashCode()); in testGetNetworkHandle()
138 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
139 assertNotEquals(one.hashCode(), three.hashCode()); in testGetNetworkHandle()
140 assertNotEquals(two.hashCode(), three.hashCode()); in testGetNetworkHandle()
143 assertNotEquals(0, one.getNetworkHandle()); in testGetNetworkHandle()
144 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle()
145 assertNotEquals(0, three.getNetworkHandle()); in testGetNetworkHandle()
[all …]
DTcpKeepalivePacketDataTest.kt28 import kotlin.test.assertNotEquals in <lambda>()
59 assertNotEquals(makeData(srcAddress = parseNumericAddress("192.0.2.124")), makeData()) in <lambda>()
60 assertNotEquals(makeData(srcPort = 1235), makeData()) in <lambda>()
61 assertNotEquals(makeData(dstAddress = parseNumericAddress("192.0.2.232")), makeData()) in <lambda>()
62 assertNotEquals(makeData(dstPort = 4322), makeData()) in <lambda>()
64 assertNotEquals(makeData(tcpSeq = 136), makeData()) in <lambda>()
65 assertNotEquals(makeData(tcpAck = 247), makeData()) in <lambda>()
66 assertNotEquals(makeData(tcpWnd = 1235), makeData()) in <lambda>()
67 assertNotEquals(makeData(tcpWndScale = 3), makeData()) in <lambda>()
68 assertNotEquals(makeData(ipTos = 0x14), makeData()) in <lambda>()
[all …]
DConnectivityDiagnosticsManagerTest.java28 import static org.junit.Assert.assertNotEquals;
161 assertNotEquals( in testConnectivityReportEquals()
169 assertNotEquals( in testConnectivityReportEquals()
177 assertNotEquals( in testConnectivityReportEquals()
185 assertNotEquals( in testConnectivityReportEquals()
193 assertNotEquals( in testConnectivityReportEquals()
248 assertNotEquals( in testDataStallReportEquals()
257 assertNotEquals( in testDataStallReportEquals()
266 assertNotEquals( in testDataStallReportEquals()
275 assertNotEquals( in testDataStallReportEquals()
[all …]
DVpnTransportInfoTest.java27 import static org.junit.Assert.assertNotEquals;
80 assertNotEquals(v11, v12); in testEqualsAndHashCode()
81 assertNotEquals(v13, v14); in testEqualsAndHashCode()
82 assertNotEquals(v14, v15); in testEqualsAndHashCode()
83 assertNotEquals(v14, v21); in testEqualsAndHashCode()
84 assertNotEquals(v15, v16); in testEqualsAndHashCode()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt30 import kotlin.test.assertNotEquals
66 assertNotEquals(lease, DhcpLease(null, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
68 assertNotEquals(lease, DhcpLease(byteArrayOf(42), TEST_HWADDR, TEST_INETADDR, in testEquals()
72 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, MacAddress.fromString("12:34:56:78:9A:0B"), in testEquals()
76 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, in testEquals()
81 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, 24, in testEquals()
85 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
89 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
91 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DSourceNoiseHandlerTest.java20 import static org.junit.Assert.assertNotEquals;
91 assertNotEquals(0, fakeReports.size()); in fakeReports_flexEventReport_generatesFromStaticReportStates()
104 assertNotEquals(0, falseCount); in fakeReports_flexEventReport_generatesFromStaticReportStates()
105 assertNotEquals(0, neverCount); in fakeReports_flexEventReport_generatesFromStaticReportStates()
106 assertNotEquals(0, truthCount); in fakeReports_flexEventReport_generatesFromStaticReportStates()
133 assertNotEquals(0, fakeReports.size()); in fakeReports_flexEventReport_setsTriggerTime()
146 assertNotEquals(0, falseCount); in fakeReports_flexEventReport_setsTriggerTime()
147 assertNotEquals(0, neverCount); in fakeReports_flexEventReport_setsTriggerTime()
148 assertNotEquals(0, truthCount); in fakeReports_flexEventReport_setsTriggerTime()
149 assertNotEquals(0, triggerTimeGreaterThanSourceTimeCount); in fakeReports_flexEventReport_setsTriggerTime()
[all …]
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java20 import static org.junit.Assert.assertNotEquals;
45 assertNotEquals(cdLoc, null); in testApkArchiveSizes()
51 assertNotEquals(sigLoc, null); in testApkArchiveSizes()
61 assertNotEquals(dump, null); in testApkArchiveDump()
62 assertNotEquals(dump.cd, null); in testApkArchiveDump()
63 assertNotEquals(dump.signature, null); in testApkArchiveDump()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java24 import static org.junit.Assert.assertNotEquals;
410 assertNotEquals(testHeader, emptyHeader); in testEqualsAndHashCode()
411 assertNotEquals(testHeader.hashCode(), emptyHeader.hashCode()); in testEqualsAndHashCode()
412 assertNotEquals(headerFromBytes, emptyHeader); in testEqualsAndHashCode()
413 assertNotEquals(headerFromBytes.hashCode(), emptyHeader.hashCode()); in testEqualsAndHashCode()
424 assertNotEquals(testQuestion, testAnswer); in testEqualsAndHashCode()
425 assertNotEquals(testQuestion.hashCode(), testAnswer.hashCode()); in testEqualsAndHashCode()
426 assertNotEquals(questionFromBytes, testAnswer); in testEqualsAndHashCode()
427 assertNotEquals(questionFromBytes.hashCode(), testAnswer.hashCode()); in testEqualsAndHashCode()
440 assertNotEquals(testPacket, emptyPacket); in testEqualsAndHashCode()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/bhttp/
DBinaryHttpMessageTest.java21 import static org.junit.Assert.assertNotEquals;
236 assertNotEquals(original, differentControlData); in testRequestNotEqual()
250 assertNotEquals(original, differentHeader); in testRequestNotEqual()
263 assertNotEquals(original, noHeader); in testRequestNotEqual()
277 assertNotEquals(original, differentBody); in testRequestNotEqual()
290 assertNotEquals(original, noBody); in testRequestNotEqual()
509 assertNotEquals(original, differentStatus); in testResponseNotEqual()
525 assertNotEquals(original, differentHeader); in testResponseNotEqual()
541 assertNotEquals(original, noHeader); in testResponseNotEqual()
557 assertNotEquals(original, differentBody); in testResponseNotEqual()
[all …]
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DRecentsOrientedStateTest.java25 import static org.junit.Assert.assertNotEquals;
59 assertNotEquals(mR1.getStateId(), mR2.getStateId()); in stateId_changesWithFlags()
69 assertNotEquals(mR1.getStateId(), mR2.getStateId()); in stateId_changesWithRecentsRotation()
79 assertNotEquals(mR1.getStateId(), mR2.getStateId()); in stateId_changesWithDisplayRotation()
82 assertNotEquals(mR1.getStateId(), mR2.getStateId()); in stateId_changesWithDisplayRotation()
85 assertNotEquals(mR1.getStateId(), mR2.getStateId()); in stateId_changesWithDisplayRotation()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatePayloadTest.java20 import static org.junit.Assert.assertNotEquals;
95 assertNotEquals(aggregatePayload1.hashCode(), aggregatePayload2.hashCode()); in testHashCode_notEquals()
96 assertNotEquals(aggregatePayload1, aggregatePayload2); in testHashCode_notEquals()
97 assertNotEquals(aggregatePayloadSet1, aggregatePayloadSet2); in testHashCode_notEquals()
125 assertNotEquals(aggregatePayload1.hashCode(), aggregatePayload2.hashCode()); in testHashCodeAggregationServicePayload_notEquals()
126 assertNotEquals(aggregatePayload1, aggregatePayload2); in testHashCodeAggregationServicePayload_notEquals()
127 assertNotEquals(aggregatePayloadSet1, aggregatePayloadSet2); in testHashCodeAggregationServicePayload_notEquals()
/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt30 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()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQnsHandoverPingPongInfoTest.java20 import static org.junit.Assert.assertNotEquals;
136 assertNotEquals(strInfoEmpty, strInfoDefault); in testToString()
142 assertNotEquals(mInfoDefault, new Object()); in testEquals()
146 assertNotEquals(mInfoDefault, mInfoCopy); in testEquals()
155 assertNotEquals(a1.hashCode(), a2.hashCode()); in testHashCode()
168 assertNotEquals(a1.getDimension(), a2.getDimension()); in testDimension()
172 assertNotEquals(a1.getDimension(), a2.getDimension()); in testDimension()
DAtomsQnsHandoverTimeMillisInfoTest.java20 import static org.junit.Assert.assertNotEquals;
115 assertNotEquals(strInfoEmpty, strInfoDefault); in testToString()
121 assertNotEquals(mInfoDefault, new Object()); in testEquals()
125 assertNotEquals(mInfoDefault, mInfoCopy); in testEquals()
134 assertNotEquals(a1.hashCode(), a2.hashCode()); in testHashCode()
146 assertNotEquals(a1.getDimension(), a2.getDimension()); in testDimension()
DAtomsQnsRatPreferenceMismatchInfoTest.java20 import static org.junit.Assert.assertNotEquals;
182 assertNotEquals(strInfoEmpty, strInfoDefault); in testToString()
188 assertNotEquals(mInfoDefault, new Object()); in testEquals()
192 assertNotEquals(mInfoDefault, mInfoCopy); in testEquals()
205 assertNotEquals(a1.hashCode(), a2.hashCode()); in testHashCode()
234 assertNotEquals(a1.getDimension(), a2.getDimension()); in testDimension()
242 assertNotEquals(a1.getDimension(), a2.getDimension()); in testDimension()
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DStatsLibStorageTest.java20 import static org.junit.Assert.assertNotEquals;
83 assertNotEquals(first, second); in testPushedAppendAndPop()
84 assertNotEquals(first, third); in testPushedAppendAndPop()
85 assertNotEquals(second, third); in testPushedAppendAndPop()
137 assertNotEquals(copyFirst, infos[1]); in testModifyInMiddleForAtomsTestInfo()
152 assertNotEquals(first, second); in testPulledAtomsBaseInfo()
153 assertNotEquals(first, third); in testPulledAtomsBaseInfo()
154 assertNotEquals(second, third); in testPulledAtomsBaseInfo()
210 assertNotEquals(first, third); in testSerializableAtoms()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DUnsignedLongTest.java20 import static org.junit.Assert.assertNotEquals;
41 assertNotEquals(ULONG_LONG, new UnsignedLong(3L)); in testEqualsFail()
42 assertNotEquals(ULONG_STR, new UnsignedLong(3L)); in testEqualsFail()
74 assertNotEquals(ULONG_LONG.hashCode(), new UnsignedLong(3L).hashCode()); in testHashCode_notEquals()
75 assertNotEquals(ULONG_STR.hashCode(), new UnsignedLong(3L).hashCode()); in testHashCode_notEquals()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdTechIdentifierTest.java20 import static org.junit.Assert.assertNotEquals;
87 assertNotEquals(identicalId1, differentId); in testAdTechIdentifierEquality()
88 assertNotEquals(identicalId2, differentId); in testAdTechIdentifierEquality()
97 assertNotEquals(identicalId1.hashCode(), differentId.hashCode()); in testAdTechIdentifierHashCode()
98 assertNotEquals(identicalId2.hashCode(), differentId.hashCode()); in testAdTechIdentifierHashCode()
DAdSelectionSignalsTest.java20 import static org.junit.Assert.assertNotEquals;
98 assertNotEquals(identicalId1, differentId); in testAdSelectionSignalsEquality()
99 assertNotEquals(identicalId2, differentId); in testAdSelectionSignalsEquality()
108 assertNotEquals(identicalId1.hashCode(), differentId.hashCode()); in testAdSelectionSignalsHashCode()
109 assertNotEquals(identicalId2.hashCode(), differentId.hashCode()); in testAdSelectionSignalsHashCode()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java32 import static org.junit.Assert.assertNotEquals;
127 assertNotEquals(hotspotPrefix, bluetoothPrefix); in testRequestDownstreamAddressWithoutUsingLastAddress()
132 assertNotEquals(hotspotPrefix, newHotspotPrefix); in testRequestDownstreamAddressWithoutUsingLastAddress()
133 assertNotEquals(bluetoothPrefix, newHotspotPrefix); in testRequestDownstreamAddressWithoutUsingLastAddress()
138 assertNotEquals(usbPrefix, bluetoothPrefix); in testRequestDownstreamAddressWithoutUsingLastAddress()
139 assertNotEquals(usbPrefix, newHotspotPrefix); in testRequestDownstreamAddressWithoutUsingLastAddress()
184 assertNotEquals(asIpPrefix(mBluetoothAddress), hotspotPrefix); in testReservedPrefix()
193 assertNotEquals(asIpPrefix(mBluetoothAddress), usbPrefix); in testReservedPrefix()
194 assertNotEquals(hotspotPrefix, usbPrefix); in testReservedPrefix()
203 assertNotEquals(asIpPrefix(mLegacyWifiP2pAddress), etherPrefix); in testReservedPrefix()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQualifiedNetworksServiceTest.java19 import static org.junit.Assert.assertNotEquals;
64 assertNotEquals("Hello", "world"); in testMyTest1()
71 assertNotEquals("Hallo", "Welt"); in testMyTest2()
78 assertNotEquals("Hallo", "Welt"); in testMyTest3()

123456789