/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 75 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/ |
D | OverlayManagerSettingsTests.java | 95 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/ |
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/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 19 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/ |
D | PersistentDataBlockServiceTest.java | 436 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/ |
D | ShortcutManagerTestUtils.java | 173 public static List<String> assertContains(List<String> result, String expected) { in assertContains() method in ShortcutManagerTestUtils
|