Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java114 assertContains(events2[0], "WakeupStats"); in testWakeupEventLogging()
115 assertContains(events2[0], "wlan0"); in testWakeupEventLogging()
116 assertContains(events2[0], "0x800"); in testWakeupEventLogging()
117 assertContains(events2[0], "0x86dd"); in testWakeupEventLogging()
120 assertContains(got, "WakeupEvent"); in testWakeupEventLogging()
121 assertContains(got, "wlan0"); in testWakeupEventLogging()
122 assertContains(got, "uid: " + uids[i]); in testWakeupEventLogging()
134 assertContains(events2[0], "WakeupStats"); in testWakeupEventLogging()
135 assertContains(events2[0], "wlan0"); in testWakeupEventLogging()
138 assertContains(got, "WakeupEvent"); in testWakeupEventLogging()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java126 assertContains(mSettings, OVERLAY_A0); in testBasicSetAndGet()
142 assertContains(users, OVERLAY_A0.userId); in testGetUsers()
148 assertContains(users, OVERLAY_A0.userId); in testGetUsers()
149 assertContains(users, OVERLAY_A1.userId); in testGetUsers()
180 assertContains(mSettings, OVERLAY_A0); in testRemoveUser()
181 assertContains(mSettings, OVERLAY_B0); in testRemoveUser()
182 assertContains(mSettings, OVERLAY_A1); in testRemoveUser()
188 assertContains(mSettings, OVERLAY_A1); in testRemoveUser()
443 private static void assertContains(final OverlayManagerSettings settings, in assertContains() method in OverlayManagerSettingsTests
445 assertContains(settings, oi.packageName, oi.userId); in assertContains()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java75 assertContains(uidRulesToString(uidRules), expectedOptions); in uidRulesToStringTest()
88 assertContains(uidPoliciesToString(policyRules), expectedOptions); in uidPoliciesToStringTest()
143 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.java608 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun()
610 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun()
612 assertContains(delta, underlyingIface, 10120, SET_DEFAULT, testTag1, METERED_NO, in testMigrateTun()
614 assertContains(delta, underlyingIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, in testMigrateTun()
618 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun()
620 assertContains(delta, underlyingIface, 10120, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun()
622 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun()
673 assertContains(delta, underlyingIface, 20100, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback()
677 assertContains(delta, underlyingIface, 10100, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_VpnAsLoopback()
679 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.java155 public static List<String> assertContains(List<String> result, String expected) { in assertContains() method in ShortcutManagerTestUtils
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage_test.js564 assertContains('should have the same type', e.message);