/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 74 assertContains(uidRulesToString(uidRules), expectedOptions); in uidRulesToStringTest() 87 assertContains(uidPoliciesToString(policyRules), expectedOptions); in uidPoliciesToStringTest() 142 private void assertContains(String actual, String...expectedOptions) { in assertContains() method in NetworkPolicyManagerTest
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 536 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun() 538 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun() 540 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, testTag1, METERED_NO, in testMigrateTun() 542 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, in testMigrateTun() 546 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun() 548 assertContains(delta, underlyingIface, 10120, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun() 550 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun() 600 assertContains(delta, underlyingIface, 20100, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback() 604 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback() 606 assertContains(delta, underlyingIface, 20100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertContains; 236 assertContains( in testLauncherCommands() 240 assertContains( in testLauncherCommands() 262 assertContains( in testLauncherCommands()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | CookiesTest.java | 108 assertContains(sendCookiesRequest.getHeaders(), "Cookie: a=first; b=second; c=third"); in testCookiesWithNonMatchingCase() 111 private void assertContains(List<String> headers, String header) { in assertContains() method in CookiesTest
|
D | AbstractProxyTest.java | 129 assertContains(get.getHeaders(), "Host: android.com"); in testConnectViaProxy() 175 assertContains(connect.getHeaders(), "Host: android.com"); in testConnectViaHttpProxyToHttps() 179 assertContains(get.getHeaders(), "Host: android.com"); in testConnectViaHttpProxyToHttps() 274 private void assertContains(List<String> headers, String header) { in assertContains() method in AbstractProxyTest
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 155 public static List<String> assertContains(List<String> result, String expected) { in assertContains() method in ShortcutManagerTestUtils
|