Home
last modified time | relevance | path

Searched refs:expectedMatch (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java273 long expectedMatch = 0; in doTestSetChildChain() local
275 expectedMatch |= BpfNetMapsUtils.getMatchByFirewallChain(chain); in doTestSetChildChain()
283 assertEquals(expectedMatch, mConfigurationMap.getValue(UID_RULES_CONFIGURATION_KEY).val); in doTestSetChildChain()
342 final long expectedMatch) throws Exception { in checkUidOwnerValue() argument
344 if (expectedMatch == 0) { in checkUidOwnerValue()
348 assertEquals(expectedMatch, config.rule); in checkUidOwnerValue()
360 final long expectedMatch = add ? match | LOCKDOWN_VPN_MATCH : match & ~LOCKDOWN_VPN_MATCH; in doTestUpdateUidLockdownRule() local
361 checkUidOwnerValue(TEST_UID, iif, expectedMatch); in doTestUpdateUidLockdownRule()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java7200 private void verifyMultiApproverMatch(List<MacAddress> addresses, MacAddress expectedMatch) in verifyMultiApproverMatch() argument
7240 assertEquals(expectedMatch, (MacAddress) messages.get(1).obj); in verifyMultiApproverMatch()