Home
last modified time | relevance | path

Searched refs:assertContains (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java120 assertContains(events2[0], "WakeupStats"); in testWakeupEventLogging()
121 assertContains(events2[0], "wlan0"); in testWakeupEventLogging()
122 assertContains(events2[0], "0x800"); in testWakeupEventLogging()
123 assertContains(events2[0], "0x86dd"); in testWakeupEventLogging()
126 assertContains(got, "WakeupEvent"); in testWakeupEventLogging()
127 assertContains(got, "wlan0"); in testWakeupEventLogging()
128 assertContains(got, "uid: " + uids[i]); in testWakeupEventLogging()
140 assertContains(events2[0], "WakeupStats"); in testWakeupEventLogging()
141 assertContains(events2[0], "wlan0"); in testWakeupEventLogging()
144 assertContains(got, "WakeupEvent"); in testWakeupEventLogging()
[all …]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DSelectionTest.java58 assertContains(mIds[0]); in testAdd()
59 assertContains(mIds[1]); in testAdd()
60 assertContains(mIds[2]); in testAdd()
78 assertContains(mIds[1]); in testRemove()
143 private void assertContains(String id) { in assertContains() method in SelectionTest
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java74 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/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertContains;
237 assertContains( in testLauncherCommands()
241 assertContains( in testLauncherCommands()
263 assertContains( in testLauncherCommands()
/frameworks/base/core/tests/coretests/src/android/net/http/
DCookiesTest.java108 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
DAbstractProxyTest.java129 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/tests/net/java/android/net/
DNetworkStatsTest.java571 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun()
573 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun()
575 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, testTag1, METERED_NO, in testMigrateTun()
577 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, in testMigrateTun()
581 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun()
583 assertContains(delta, underlyingIface, 10120, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun()
585 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun()
636 assertContains(delta, underlyingIface, 20100, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback()
640 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback()
642 assertContains(delta, underlyingIface, 20100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java154 public static List<String> assertContains(List<String> result, String expected) { in assertContains() method in ShortcutManagerTestUtils