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.java101 AppPredictor client2 = createTestPredictor(context2); in testCreateDestroySession() local
104 mReporter.assertActiveSession(client2.getSessionId()); in testCreateDestroySession()
105 assertEquals(mReporter.getPredictionContext(client2.getSessionId()), context2); in testCreateDestroySession()
106 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession()
111 client2.destroy(); in testCreateDestroySession()
116 assertFails(() -> mReporter.assertActiveSession(client2.getSessionId())); in testCreateDestroySession()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2528 WebViewClient client2 = new WebViewClient(); in testGetWebViewClient() local
2529 assertNotSame(client, client2); in testGetWebViewClient()
2530 webView.setWebViewClient(client2); in testGetWebViewClient()
2531 assertSame(client2, webView.getWebViewClient()); in testGetWebViewClient()
2551 WebChromeClient client2 = new WebChromeClient(); in testGetWebChromeClient() local
2552 assertNotSame(client, client2); in testGetWebChromeClient()
2553 webView.setWebChromeClient(client2); in testGetWebChromeClient()
2554 assertSame(client2, webView.getWebChromeClient()); in testGetWebChromeClient()