/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | HttpAuthHandlerTest.java | 112 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 …]
|
D | WebViewClientTest.java | 469 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/ |
D | ClientInterfaceTest.cpp | 53 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/ |
D | main.cpp | 115 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/ |
D | poc.c | 26 __u32 client; member 35 open_args.client = 0x21; in main()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | ApacheHttpClientTest.java | 19 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/ |
D | ShortcutManagerStartShortcutTest.java | 47 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/ |
D | VpnTest.java | 368 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/ |
D | Android.mk | 35 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR)/client 37 $(CTS_AUDIO_INSTALL_DIR)/client
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6732/ |
D | poc.c | 62 __u32 client; member 98 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6735/ |
D | poc.c | 63 __u32 client; member 102 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6734/ |
D | poc.c | 62 __u32 client; member 103 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6733/ |
D | poc.c | 61 __u32 client; member 98 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
D | local_pwn.h | 48 __u32 client; member
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6731/ |
D | poc.c | 62 __u32 client; member 106 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6730/ |
D | poc.c | 62 __u32 client; member 106 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6736/ |
D | poc.c | 63 __u32 client; member 116 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerConnectionTest.java | 128 public MockMediaScannerConnection(Context context, MediaScannerConnectionClient client) { in MockMediaScannerConnection() argument 129 super(context, client); in MockMediaScannerConnection()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/ |
D | local_poc.h | 50 __u32 client; member 227 struct tegra_drm_client *client; member
|
D | poc.c | 62 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/ |
D | local_poc.h | 50 __u32 client; member 227 struct tegra_drm_client *client; member
|
D | poc.c | 43 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 242 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/ |
D | IpSecBaseTest.java | 339 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/ |
D | ContentResolverTest.java | 135 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()
|