Home
last modified time | relevance | path

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

/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/om/
DOverlayManagerSettingsTests.java95 assertContains(mSettings, OVERLAY_A_USER0); in testBasicSetAndGet()
139 assertContains(mSettings, OVERLAY_A_USER0); in testRemoveUser()
140 assertContains(mSettings, OVERLAY_B_USER0); in testRemoveUser()
141 assertContains(mSettings, OVERLAY_A_USER1); in testRemoveUser()
147 assertContains(mSettings, OVERLAY_A_USER1); in testRemoveUser()
394 private static void assertContains(final OverlayManagerSettings settings, in assertContains() method in OverlayManagerSettingsTests
434 private static void assertContains(int[] haystack, int needle) { in assertContains() method in OverlayManagerSettingsTests
/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/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertContains;
246 assertContains( in testLauncherCommands()
250 assertContains( in testLauncherCommands()
260 assertContains( in testLauncherCommands()
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java436 assertContains("FRP data", readData(channel, mPdbService.getMaximumFrpDataSize()).array(), in testPartitionFormat()
446 assertContains("FRP secret", readData(channel, FRP_SECRET_SIZE).array(), (byte) 0); in testPartitionFormat()
451 assertContains("Test data", readData(channel, TEST_MODE_RESERVED_SIZE).array(), in testPartitionFormat()
456 assertContains("FRP credential", readData(channel, FRP_CREDENTIAL_RESERVED_SIZE).array(), in testPartitionFormat()
1069 private static void assertContains(String sectionName, byte[] buf, byte expected) { in assertContains() method in PersistentDataBlockServiceTest
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java173 public static List<String> assertContains(List<String> result, String expected) { in assertContains() method in ShortcutManagerTestUtils