/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | AppPredictionServiceTest.java | 92 AppPredictor client = createTestPredictor(context); in testCreateDestroySession() local 96 mReporter.assertActiveSession(client.getSessionId()); in testCreateDestroySession() 97 assertEquals(mReporter.getPredictionContext(client.getSessionId()), context); in testCreateDestroySession() 106 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession() 109 client.destroy(); in testCreateDestroySession() 115 assertFails(() -> mReporter.assertActiveSession(client.getSessionId())); in testCreateDestroySession() 119 assertFails(() -> client.notifyAppTargetEvent(null)); in testCreateDestroySession() 120 assertFails(() -> client.notifyLaunchLocationShown(null, null)); in testCreateDestroySession() 121 assertFails(() -> client.registerPredictionUpdates(null, null)); in testCreateDestroySession() 122 assertFails(() -> client.unregisterPredictionUpdates(null)); in testCreateDestroySession() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | HttpAuthHandlerTest.java | 114 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, WRONG_USERNAME, WRONG_PASSWORD); in incorrectCredentialsAccessDenied() local 115 mOnUiThread.setWebViewClient(client); in incorrectCredentialsAccessDenied() 121 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied() 126 ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, null, null); in missingCredentialsAccessDenied() local 127 mOnUiThread.setWebViewClient(client); in missingCredentialsAccessDenied() 133 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied() 138 … ProceedHttpAuthClient client = new ProceedHttpAuthClient(1, CORRECT_USERNAME, CORRECT_PASSWORD); in correctCredentialsAccessGranted() local 139 mOnUiThread.setWebViewClient(client); in correctCredentialsAccessGranted() 145 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted() 168 CancelHttpAuthClient client = new CancelHttpAuthClient(); in testCancel() local [all …]
|
D | WebViewRenderProcessClientTest.java | 122 WebViewRenderProcessClient client = new WebViewRenderProcessClient() { in testWebViewRenderProcessClientOnExecutor() local 136 mOnUiThread.setWebViewRenderProcessClient(client); in testWebViewRenderProcessClientOnExecutor() 138 mOnUiThread.setWebViewRenderProcessClient(executor, client); in testWebViewRenderProcessClientOnExecutor()
|
D | WebViewClientTest.java | 504 TestClient client = new TestClient(); in testShouldInterceptRequestParams() local 505 mOnUiThread.setWebViewClient(client); in testShouldInterceptRequestParams() 514 assertNotNull(client.interceptRequest); in testShouldInterceptRequestParams() 515 assertEquals(mainUrl, client.interceptRequest.getUrl().toString()); in testShouldInterceptRequestParams() 516 assertTrue(client.interceptRequest.isForMainFrame()); in testShouldInterceptRequestParams() 518 client.interceptRequest.getMethod()); in testShouldInterceptRequestParams() 523 Map<String, String> interceptHeaders = client.interceptRequest.getRequestHeaders(); in testShouldInterceptRequestParams() 563 TestClient client = new TestClient(); in testShouldInterceptRequestResponse() local 564 mOnUiThread.setWebViewClient(client); in testShouldInterceptRequestResponse() 585 client.interceptResponse = new WebResourceResponse("text/html", "UTF-8", null); in testShouldInterceptRequestResponse() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/ |
D | poc.cpp | 47 OMXClient client; in fuzzIOMXQcomVpx() local 48 if (client.connect() != OK) { in fuzzIOMXQcomVpx() 53 mOmx = client.interface(); in fuzzIOMXQcomVpx() 56 client.disconnect(); in fuzzIOMXQcomVpx() 66 client.disconnect(); in fuzzIOMXQcomVpx() 75 client.disconnect(); in fuzzIOMXQcomVpx() 86 client.disconnect(); in fuzzIOMXQcomVpx() 112 client.disconnect(); in fuzzIOMXQcomVpx() 129 client.disconnect(); in fuzzIOMXQcomVpx() 144 client.disconnect(); in fuzzIOMXQcomVpx()
|
/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/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestJournalProvider.java | 126 try (TestJournalClient client = TestJournalClient.create(activity, in putActivityCallback() argument 128 client.addCallback(callback); in putActivityCallback() 145 try (TestJournalClient client = TestJournalClient.create(context, owner)) { in putExtras() argument 148 client.putExtras(extras); in putExtras() 191 public TestJournalClient(ContentProviderClient client, String owner) { in TestJournalClient() argument 192 mClient = client; in TestJournalClient() 233 final ContentProviderClient client = context.getContentResolver() in create() local 235 if (client == null) { in create() 238 return new TestJournalClient(client, owner); in create()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 51 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testClearBlendMode() local 54 createTest().addCanvasClientWithoutUsingPicture(client, true) in testClearBlendMode() 65 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testDstOutBlendMode() local 68 createTest().addCanvasClientWithoutUsingPicture(client, true) in testDstOutBlendMode()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/ |
D | BitmapBlendModeTest.java | 52 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testClearBlendMode() local 55 createTest().addCanvasClientWithoutUsingPicture(client, true) in testClearBlendMode() 66 BitmapBlendModeCanvasClient client = new BitmapBlendModeCanvasClient( in testDstOutBlendMode() local 69 createTest().addCanvasClientWithoutUsingPicture(client, true) in testDstOutBlendMode()
|
/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/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | AbstractLifecycleLogActivity.java | 102 withTestJournalClient(client -> { in dumpConfiguration() 105 client.putExtras(extras); in dumpConfiguration() 113 runWhenIdle(() -> withTestJournalClient(client -> { in dumpConfigInfo() 116 client.setLastConfigInfo(configInfo); in dumpConfigInfo()
|
D | TestActivity.java | 82 withTestJournalClient(client -> { in dumpAssetSeqNumber() 85 client.putExtras(extras); in dumpAssetSeqNumber()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleLog.java | 134 LifecycleLogClient(ContentProviderClient client, Activity owner) { in LifecycleLogClient() argument 135 mClient = client; in LifecycleLogClient() 156 final ContentProviderClient client = owner.getContentResolver() in create() local 158 if (client == null) { in create() 161 return new LifecycleLogClient(client, owner); in create()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 51 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument 53 return launchShortcutAndGetIntents(launcher, client, id, expectedNumIntents, null, null, in launchShortcutAndGetIntents() 57 private List<Intent> launchShortcutAndGetIntents(Context launcher, Context client, in launchShortcutAndGetIntents() argument 64 getLauncherApps().startShortcut(client.getPackageName(), id, rect, options, in launchShortcutAndGetIntents() 74 private void assertShortcutStarts(Context launcher, Context client, String id, in assertShortcutStarts() argument 76 final List<Intent> launched = launchShortcutAndGetIntents(launcher, client, id, 1, in assertShortcutStarts() 81 private void assertShortcutCantStart(Context launcher, Context client, String id, in assertShortcutCantStart() argument 86 getLauncherApps().startShortcut(client.getPackageName(), id, null, null, in assertShortcutCantStart()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0334/ |
D | poc.c | 26 __u32 client; member 35 open_args.client = 0x21; in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 141 static bool checkMessage(sp<InputChannel> server, sp<InputChannel> client, int type) { in checkMessage() argument 157 result = client->receiveMessage(&clientMsg); in checkMessage() 193 sp<InputChannel> server, client; in main() local 195 status_t result = InputChannel::openInputChannelPair("channel name", server, client); in main() 203 bool success = checkMessage(server, client, type); in main()
|
/cts/suite/audio_quality/ |
D | Android.mk | 35 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR)/client 37 $(CTS_AUDIO_INSTALL_DIR)/client
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 380 Socket client = new Socket(); in checkTcpReflection() local 382 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); in checkTcpReflection() 385 closeQuietly(client); in checkTcpReflection() 406 checkConnectionOwnerUidTcp(client); in checkTcpReflection() 409 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection() 412 new InetSocketAddress(toAddr, client.getLocalPort()), in checkTcpReflection() 416 client.getRemoteSocketAddress()); in checkTcpReflection() 426 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection() 427 client.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection() 431 writeAndCheckData(client.getOutputStream(), server.getInputStream(), data); in checkTcpReflection() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6732/ |
D | poc.c | 62 __u32 client; member 98 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6734/ |
D | poc.c | 62 __u32 client; member 103 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6735/ |
D | poc.c | 63 __u32 client; member 102 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6733/ |
D | poc.c | 61 __u32 client; member 98 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6731/ |
D | poc.c | 62 __u32 client; member 106 open_c.client = HOST1X_CLASS_VIC; in prepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6730/ |
D | poc.c | 62 __u32 client; member 106 open_c.client = HOST1X_CLASS_VIC; in prepare()
|