/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | BrowserStartupControllerTest.java | 133 final TestStartupCallback callback2 = new TestStartupCallback(); in testMultipleAsynchronousStartupRequests() local 151 mController.startBrowserProcessesAsync(callback2); in testMultipleAsynchronousStartupRequests() 174 assertTrue("Callback 2 should have been executed.", callback2.mHasStartupResult); in testMultipleAsynchronousStartupRequests() 175 assertTrue("Callback 2 should have been a success.", callback2.mWasSuccess); in testMultipleAsynchronousStartupRequests() 189 final TestStartupCallback callback2 = new TestStartupCallback(); in testConsecutiveAsynchronousStartupRequests() local 205 mController.addStartupCompletedObserver(callback2); in testConsecutiveAsynchronousStartupRequests() 219 assertTrue("Callback 2 should have been executed.", callback2.mHasStartupResult); in testConsecutiveAsynchronousStartupRequests() 220 assertTrue("Callback 2 should have been a success.", callback2.mWasSuccess); in testConsecutiveAsynchronousStartupRequests() 291 final TestStartupCallback callback2 = new TestStartupCallback(); in testConsecutiveFailedAsynchronousStartupRequests() local 307 mController.addStartupCompletedObserver(callback2); in testConsecutiveFailedAsynchronousStartupRequests() [all …]
|
/external/chromium_org/base/android/javatests/src/org/chromium/base/ |
D | AdvancedMockContextTest.java | 49 Callback2 callback2 = new Callback2(); in testComponentCallbacksForTargetContext() local 51 context.registerComponentCallbacks(callback2); in testComponentCallbacksForTargetContext() 55 assertTrue("onLowMemory should have been called.", callback2.mOnLowMemoryCalled); in testComponentCallbacksForTargetContext() 62 callback2.mConfiguration); in testComponentCallbacksForTargetContext() 66 .TRIM_MEMORY_MODERATE, callback2.mLevel); in testComponentCallbacksForTargetContext()
|
/external/chromium_org/net/proxy/ |
D | proxy_service_unittest.cc | 509 TestCompletionCallback callback2; in TEST_F() local 513 &info, callback2.callback(), NULL, &network_delegate, BoundNetLog()); in TEST_F() 609 TestCompletionCallback callback2; in TEST_F() local 612 &info, callback2.callback(), NULL, in TEST_F() 729 TestCompletionCallback callback2; in TEST_F() local 731 url, net::LOAD_NORMAL, &info, callback2.callback(), NULL, NULL, in TEST_F() 743 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F() 785 TestCompletionCallback callback2; in TEST_F() local 787 url, net::LOAD_NORMAL, &info, callback2.callback(), NULL, NULL, in TEST_F() 884 TestCompletionCallback callback2; in TEST_F() local [all …]
|
D | multi_threaded_proxy_resolver_unittest.cc | 286 TestCompletionCallback callback2; in TEST() local 289 callback2.callback(), NULL, BoundNetLog()); in TEST() 305 rv = callback2.WaitForResult(); in TEST() 353 TestCompletionCallback callback2; in TEST() local 357 callback2.callback(), &request2, log2.bound()); in TEST() 393 EXPECT_EQ(2, callback2.WaitForResult()); in TEST() 448 TestCompletionCallback callback2; in TEST() local 451 callback2.callback(), &request2, BoundNetLog()); in TEST() 482 EXPECT_FALSE(callback2.have_result()); in TEST() 519 TestCompletionCallback callback2; in TEST() local [all …]
|
D | proxy_resolver_v8_tracing_unittest.cc | 366 TestCompletionCallback callback2; in TEST_F() local 388 callback2.callback(), in TEST_F() 393 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F()
|
/external/chromium_org/mojo/public/cpp/environment/tests/ |
D | async_waiter_unittest.cc | 85 TestAsyncWaitCallback callback2; in TEST_F() local 96 &callback2); in TEST_F() 101 EXPECT_EQ(1, callback2.result_count()); in TEST_F() 102 EXPECT_EQ(MOJO_RESULT_OK, callback2.last_result()); in TEST_F()
|
/external/chromium_org/base/ |
D | cancelable_callback_unittest.cc | 57 base::Closure callback2 = cancelable.callback(); in TEST() local 63 callback2.Run(); in TEST() 137 base::Closure callback2 = cancelable.callback(); in TEST() local 138 ASSERT_FALSE(callback2.is_null()); in TEST() 140 callback2.Run(); in TEST()
|
/external/chromium_org/content/browser/battery_status/ |
D | battery_status_service_unittest.cc | 103 const BatteryStatusService::BatteryUpdateCallback& callback2() const { in callback2() function in content::__anon2e05b0ed0111::BatteryStatusServiceTest 147 scoped_ptr<BatterySubscription> subscription2 = AddCallback(callback2()); in TEST_F() 154 scoped_ptr<BatterySubscription> subscription2 = AddCallback(callback2()); in TEST_F() 174 scoped_ptr<BatterySubscription> subscription2 = AddCallback(callback2()); in TEST_F()
|
/external/chromium_org/net/ssl/ |
D | channel_id_service_unittest.cc | 274 TestCompletionCallback callback2; in TEST_F() local 285 callback2.callback(), &request_handle2); in TEST_F() 291 error = callback2.WaitForResult(); in TEST_F() 311 TestCompletionCallback callback2; in TEST_F() local 321 host, &private_key_info2, &der_cert2, callback2.callback(), in TEST_F() 328 error = callback2.WaitForResult(); in TEST_F() 485 TestCompletionCallback callback2; in TEST_F() local 504 callback2.callback(), in TEST_F() 522 error = callback2.WaitForResult(); in TEST_F() 740 TestCompletionCallback callback2; in TEST_F() local [all …]
|
/external/chromium_org/net/socket/ |
D | client_socket_pool_base_unittest.cc | 1410 TestCompletionCallback callback2; in TEST_F() local 1415 callback2.callback(), in TEST_F() 1419 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F() 1788 TestCompletionCallback callback2; in TEST_F() local 1802 callback2.callback(), in TEST_F() 1811 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F() 1989 TestCompletionCallback callback2; in TEST_F() local 1993 callback2.callback(), in TEST_F() 2037 TestCompletionCallback callback2; in TEST_F() local 2041 callback2.callback(), in TEST_F() [all …]
|
D | ssl_client_socket_pool_unittest.cc | 308 TestCompletionCallback callback2; in TEST_P() local 315 "b", params2, MEDIUM, callback2.callback(), pool_.get(), BoundNetLog()); in TEST_P() 365 TestCompletionCallback callback2; in TEST_P() local 371 "b", params2, MEDIUM, callback2.callback(), pool_.get(), BoundNetLog()); in TEST_P() 395 callback2.WaitForResult(); in TEST_P() 437 TestCompletionCallback callback2; in TEST_P() local 443 "b", params2, MEDIUM, callback2.callback(), pool_.get(), BoundNetLog()); in TEST_P() 505 TestCompletionCallback callback2; in TEST_P() local 511 "b", params2, MEDIUM, callback2.callback(), pool_.get(), BoundNetLog()); in TEST_P() 585 TestCompletionCallback callback2; in TEST_P() local [all …]
|
D | transport_client_socket_pool_unittest.cc | 351 TestCompletionCallback callback2; in TEST_F() local 357 handle2.Init("a", params_, kDefaultPriority, callback2.callback(), in TEST_F() 362 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F() 377 TestCompletionCallback callback2; in TEST_F() local 379 handle.Init("a", params_, kDefaultPriority, callback2.callback(), in TEST_F() 392 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F()
|
D | websocket_transport_client_socket_pool_unittest.cc | 277 TestCompletionCallback callback2; in TEST_F() local 290 callback2.callback(), in TEST_F() 296 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F() 315 TestCompletionCallback callback2; in TEST_F() local 320 callback2.callback(), in TEST_F() 334 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F()
|
/external/chromium_org/base/android/jni_generator/ |
D | testMultipleJNIAdditionalImport.golden | 30 jobject callback2); 36 jobject callback2) { 54 method_id, callback1, callback2);
|
/external/chromium_org/net/dns/ |
D | mapped_host_resolver_unittest.cc | 233 TestCompletionCallback callback2; in TEST() local 238 callback2.callback(), in TEST() 242 rv = callback2.WaitForResult(); in TEST()
|
/external/chromium_org/net/http/ |
D | http_network_transaction_unittest.cc | 1942 TestCompletionCallback callback2; in TEST_P() local 1945 AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_P() 1948 rv = callback2.WaitForResult(); in TEST_P() 2083 TestCompletionCallback callback2; in TEST_P() local 2086 AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_P() 2089 rv = callback2.WaitForResult(); in TEST_P() 2174 TestCompletionCallback callback2; in TEST_P() local 2177 AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_P() 2180 rv = callback2.WaitForResult(); in TEST_P() 2258 TestCompletionCallback callback2; in TEST_P() local [all …]
|
/external/chromium_org/dbus/ |
D | bus_unittest.cc | 397 Bus::GetServiceOwnerCallback callback2 = in TEST() local 402 bus->ListenForServiceOwnerChange("org.chromium.TestService", callback2); in TEST() 417 bus->UnlistenForServiceOwnerChange("org.chromium.TestService", callback2); in TEST()
|
/external/chromium_org/net/cert/ |
D | multi_threaded_cert_verifier_unittest.cc | 206 TestCompletionCallback callback2; in TEST_F() local 224 callback2.callback(), in TEST_F() 231 error = callback2.WaitForResult(); in TEST_F()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestWindow.java | 54 @Override public void takeSurface(SurfaceHolder.Callback2 callback2) { in takeSurface() argument
|
/external/chromium_org/ppapi/tests/ |
D | test_file_io.cc | 468 TestCompletionCallbackWithOutput< std::vector<char> > callback2( in TestReadToArrayWriteSetLength() local 471 callback2.WaitForResult(file_io.Read(0, -1, callback2.GetCallback())); in TestReadToArrayWriteSetLength() 472 CHECK_CALLBACK_BEHAVIOR(callback2); in TestReadToArrayWriteSetLength() 473 ASSERT_EQ(PP_ERROR_FAILED, callback2.result()); in TestReadToArrayWriteSetLength()
|
/external/chromium_org/net/spdy/ |
D | spdy_http_stream_unittest.cc | 262 TestCompletionCallback callback2; in TEST_P() local 291 callback2.callback())); in TEST_P() 295 EXPECT_LE(0, callback2.WaitForResult()); in TEST_P()
|
D | spdy_network_transaction_unittest.cc | 908 TestCompletionCallback callback2; in TEST_P() local 917 out.rv = trans2->Start(&httpreq2, callback2.callback(), log); in TEST_P() 993 TestCompletionCallback callback2; in TEST_P() local 1000 out.rv = trans2->Start(&httpreq2, callback2.callback(), log); in TEST_P() 1005 out.rv = callback2.WaitForResult(); in TEST_P() 1082 TestCompletionCallback callback2; in TEST_P() local 1099 out.rv = trans2->Start(&httpreq, callback2.callback(), log); in TEST_P() 1104 out.rv = callback2.WaitForResult(); in TEST_P() 1208 TestCompletionCallback callback2; in TEST_P() local 1222 out.rv = trans2->Start(&httpreq2, callback2.callback(), log); in TEST_P() [all …]
|
D | spdy_session_unittest.cc | 271 TestCompletionCallback callback2; in TEST_P() local 278 callback2.callback())); in TEST_P() 1146 TestCompletionCallback callback2; in TEST_P() local 1153 callback2.callback())); in TEST_P() 1184 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_P() 2539 TestCompletionCallback callback2; in TEST_P() local 2545 session, url2, LOWEST, BoundNetLog(), callback2.callback())); in TEST_P() 2662 TestCompletionCallback callback2; in TEST_P() local 2668 callback2.callback())); in TEST_P() 2687 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_P() [all …]
|
/external/chromium_org/chrome/browser/resources/google_now/ |
D | utility_unittest.gtestjs | 305 'callback2', 364 239, this.mockLocalFunctions.functions().callback2); 371 this.mockLocalFunctions.expects(once()).callback2(237);
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 185 CallbackTest callback2(&helper, false); in InternalAsyncIO() local 222 base::Bind(&CallbackTest::Run, base::Unretained(&callback2)), in InternalAsyncIO() 463 CallbackTest callback2(&helper, false); in ExternalAsyncIO() local 501 base::Bind(&CallbackTest::Run, base::Unretained(&callback2))); in ExternalAsyncIO() 2731 CallbackTest callback2(&helper, false); in TEST_F() local 2762 base::Bind(&CallbackTest::Run, base::Unretained(&callback2)), in TEST_F() 2821 CallbackTest callback2(&helper, false); in TEST_F() local 2835 base::Unretained(&callback2)))); in TEST_F()
|