/external/chromium/chrome/browser/sync/ |
js_event_handler_list_unittest.cc | 31 StrictMock<MockJsEventHandler> handler1, handler2; local 38 EXPECT_CALL(backend, ProcessMessage("test2", HasArgs(args1), &handler2)); 43 EXPECT_CALL(handler2, HandleJsEvent("reply2", HasArgs(args1))); 44 EXPECT_CALL(handler2, HandleJsEvent("allreply", HasArgs(args1))); 45 EXPECT_CALL(handler2, HandleJsEvent("anotherreply2", HasArgs(args2))); 46 EXPECT_CALL(handler2, HandleJsEvent("anotherallreply", HasArgs(args2))); 51 event_handlers.AddHandler(&handler2); 55 event_handlers.RouteJsEvent("reply2", args1, &handler2); 61 event_handlers.ProcessMessage("test2", args1, &handler2); 64 event_handlers.RouteJsEvent("anotherreply2", args2, &handler2); 87 StrictMock<MockJsEventHandler> handler1, handler2; local [all...] |
/external/valgrind/main/none/tests/x86-linux/ |
sigcontext.c | 17 printf("FAILED: handler2 expected eax == 0, not %d\n", uc->uc_mcontext.gregs[REG_EAX]); 27 static void handler2(int sig, struct sigcontext sc) function 32 printf("FAILED: handler2 expected eax == 0, not %p\n", (void*)sc.eax); 55 sa.sa_handler = (void*)handler2;
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
UrlInterceptRegistryTest.java | 70 MockUrlInterceptHandler handler2 = local 74 assertTrue(UrlInterceptRegistry.registerHandler(handler2)); 85 assertTrue(UrlInterceptRegistry.unregisterHandler(handler2));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
UrlInterceptRegistryTest.java | 51 UrlInterceptHandler handler2 = new MockUrlInterceptHandler(); local 57 assertTrue(UrlInterceptRegistry.registerHandler(handler2)); 60 assertTrue(UrlInterceptRegistry.unregisterHandler(handler2)); 100 UrlInterceptHandler handler2 = new UrlInterceptHandler() { local 123 UrlInterceptRegistry.registerHandler(handler2); 134 // handler3 gets called first, but returns null, handler2 returns the surrogate
|
/frameworks/base/libs/utils/tests/ |
Looper_test.cpp | 418 StubCallbackHandler handler2(true); 421 handler2.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); // replace it 436 EXPECT_EQ(1, handler2.callbackCount) 460 sp<StubMessageHandler> handler2 = new StubMessageHandler(); local 462 mLooper->sendMessage(handler2, Message(MSG_TEST2)); 482 EXPECT_EQ(size_t(1), handler2->messages.size()) 484 EXPECT_EQ(MSG_TEST2, handler2->messages[0].what)
|