Home
last modified time | relevance | path

Searched refs:client2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java107 AppPredictor client2 = createTestPredictor(context2); in testCreateDestroySession() local
110 mReporter.assertActiveSession(client2.getSessionId()); in testCreateDestroySession()
111 assertEquals(mReporter.getPredictionContext(client2.getSessionId()), context2); in testCreateDestroySession()
112 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession()
117 client2.destroy(); in testCreateDestroySession()
122 assertFails(() -> mReporter.assertActiveSession(client2.getSessionId())); in testCreateDestroySession()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2532 WebViewClient client2 = new WebViewClient(); in testGetWebViewClient() local
2533 assertNotSame(client, client2); in testGetWebViewClient()
2534 webView.setWebViewClient(client2); in testGetWebViewClient()
2535 assertSame(client2, webView.getWebViewClient()); in testGetWebViewClient()
2555 WebChromeClient client2 = new WebChromeClient(); in testGetWebChromeClient() local
2556 assertNotSame(client, client2); in testGetWebChromeClient()
2557 webView.setWebChromeClient(client2); in testGetWebChromeClient()
2558 assertSame(client2, webView.getWebChromeClient()); in testGetWebChromeClient()