Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java112 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, WRONG_USERNAME, WRONG_PASSWORD); in incorrectCredentialsAccessDenied() local
113 mOnUiThread.setWebViewClient(client); in incorrectCredentialsAccessDenied()
119 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied()
124 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, null, null); in missingCredentialsAccessDenied() local
125 mOnUiThread.setWebViewClient(client); in missingCredentialsAccessDenied()
131 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied()
136 … ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, CORRECT_USERNAME, CORRECT_PASSWORD); in correctCredentialsAccessGranted() local
137 mOnUiThread.setWebViewClient(client); in correctCredentialsAccessGranted()
143 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted()
166 CancelHttpAuthClient client = new CancelHttpAuthClient(); in testCancel() local
[all …]
DWebViewClientTest.java469 TestClient client = new TestClient(); in testShouldInterceptRequestParams() local
470 mOnUiThread.setWebViewClient(client); in testShouldInterceptRequestParams()
479 assertNotNull(client.interceptRequest); in testShouldInterceptRequestParams()
480 assertEquals(mainUrl, client.interceptRequest.getUrl().toString()); in testShouldInterceptRequestParams()
481 assertTrue(client.interceptRequest.isForMainFrame()); in testShouldInterceptRequestParams()
483 client.interceptRequest.getMethod()); in testShouldInterceptRequestParams()
488 Map<String, String> interceptHeaders = client.interceptRequest.getRequestHeaders(); in testShouldInterceptRequestParams()
528 TestClient client = new TestClient(); in testShouldInterceptRequestResponse() local
529 mOnUiThread.setWebViewClient(client); in testShouldInterceptRequestResponse()
552 client.interceptResponse = new WebResourceResponse("text/html", "UTF-8", null); in testShouldInterceptRequestResponse()
[all …]
/cts/suite/audio_quality/test/
DClientInterfaceTest.cpp53 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local
54 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F()
62 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local
63 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F()
81 ClientImpl* client = reinterpret_cast<ClientImpl*>(mClient); in TEST_F() local
82 android::sp<RemoteAudio>& audio(client->getAudio()); in TEST_F()
/cts/suite/audio_quality/executable/src/
Dmain.cpp115 ClientInterface* client = factory.createClientInterface(); in main() local
116 if (client == NULL) { in main()
120 if (!client->init(Settings::Instance()->getSetting(Settings::EADB))) { in main()
125 if (!client->getAudio()->getDeviceInfo(deviceInfo)) { in main()
129 delete client; // release so that it can be used in tests in main()
/cts/hostsidetests/security/securityPatch/CVE-2017-0334/
Dpoc.c26 __u32 client; member
35 open_args.client = 0x21; in main()
/cts/tests/tests/net/src/android/net/http/cts/
DApacheHttpClientTest.java19 import org.apache.http.client.ClientProtocolException;
20 import org.apache.http.client.HttpClient;
21 import org.apache.http.client.methods.HttpGet;
22 import org.apache.http.impl.client.DefaultHttpClient;
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerStartShortcutTest.java47 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument
49 return launchShortcutAndGetIntents(launcher, client, id, expectedNumIntents, null, null, in launchShortcutAndGetIntents()
53 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument
60 getLauncherApps().startShortcut(client.getPackageName(), id, rect, options, in launchShortcutAndGetIntents()
70 private void assertShortcutStarts(Context launcher, Context client, String id, in assertShortcutStarts() argument
72 final List<Intent> launched = launchShortcutAndGetIntents(launcher, client, id, 1, in assertShortcutStarts()
77 private void assertShortcutCantStart(Context launcher, Context client, String id, in assertShortcutCantStart() argument
82 getLauncherApps().startShortcut(client.getPackageName(), id, null, null, in assertShortcutCantStart()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java368 Socket client = new Socket(); in checkTcpReflection() local
370 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); in checkTcpReflection()
373 closeQuietly(client); in checkTcpReflection()
396 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection()
399 new InetSocketAddress(toAddr, client.getLocalPort()), in checkTcpReflection()
403 client.getRemoteSocketAddress()); in checkTcpReflection()
413 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection()
414 client.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
418 writeAndCheckData(client.getOutputStream(), server.getInputStream(), data); in checkTcpReflection()
419 writeAndCheckData(server.getOutputStream(), client.getInputStream(), data); in checkTcpReflection()
[all …]
/cts/suite/audio_quality/
DAndroid.mk35 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR)/client
37 $(CTS_AUDIO_INSTALL_DIR)/client
/cts/hostsidetests/security/securityPatch/CVE-2016-6732/
Dpoc.c62 __u32 client; member
98 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-6735/
Dpoc.c63 __u32 client; member
102 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-6734/
Dpoc.c62 __u32 client; member
103 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-6733/
Dpoc.c61 __u32 client; member
98 open_c.client = HOST1X_CLASS_VIC; in prepare()
Dlocal_pwn.h48 __u32 client; member
/cts/hostsidetests/security/securityPatch/CVE-2016-6731/
Dpoc.c62 __u32 client; member
106 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-6730/
Dpoc.c62 __u32 client; member
106 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-6736/
Dpoc.c63 __u32 client; member
116 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerConnectionTest.java128 public MockMediaScannerConnection(Context context, MediaScannerConnectionClient client) { in MockMediaScannerConnection() argument
129 super(context, client); in MockMediaScannerConnection()
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/
Dlocal_poc.h50 __u32 client; member
227 struct tegra_drm_client *client; member
Dpoc.c62 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/
Dlocal_poc.h50 __u32 client; member
227 struct tegra_drm_client *client; member
Dpoc.c43 open_c.client = HOST1X_CLASS_VIC; in prepare()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java242 final MockImeSession client = new MockImeSession(context, uiAutomation); in create() local
243 client.initialize(imeSettings); in create()
244 return client; in create()
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java339 NativeTcpSocket client = new NativeTcpSocket( in getNativeTcpSocketPair() local
345 applyTransformBidirectionally(ism, transform, client); in getNativeTcpSocketPair()
348 Os.connect(client.mFd, localAddr, server.getPort()); in getNativeTcpSocketPair()
354 return new SocketPair<>(client, accepted); in getNativeTcpSocketPair()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java135 ContentProviderClient client = mContentResolver.acquireContentProviderClient( in testCrashOnLaunch() local
139 client.release(); in testCrashOnLaunch()
141 client.delete(REMOTE_SELF_URI, null, null); in testCrashOnLaunch()
147 client.getType(REMOTE_TABLE1_URI); in testCrashOnLaunch()
268 ContentProviderClient client = mContentResolver.acquireUnstableContentProviderClient( in testUnstableGetType() local
279 client.delete(REMOTE_SELF_URI, null, null); in testUnstableGetType()
285 client.getType(REMOTE_TABLE1_URI); in testUnstableGetType()
295 client.release(); in testUnstableGetType()
297 client = mContentResolver.acquireUnstableContentProviderClient(REMOTE_AUTHORITY); in testUnstableGetType()

12