Home
last modified time | relevance | path

Searched refs:addFd (Results 1 – 4 of 4) sorted by relevance

/system/core/include/utils/
DLooper.h317 int addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data);
318 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data);
/system/core/libutils/tests/
DLooper_test.cpp57 looper->addFd(fd, 0, events, staticHandler, this); in setCallback()
342 mLooper->addFd(pipe.receiveFd, expectedIdent, Looper::EVENT_INPUT, NULL, expectedData); in TEST_F()
367 int result = mLooper->addFd(pipe.receiveFd, 0, Looper::EVENT_INPUT, NULL, NULL); in TEST_F()
375 int result = mLooper->addFd(pipe.receiveFd, -1, Looper::EVENT_INPUT, NULL, NULL); in TEST_F()
384 int result = looper->addFd(pipe.receiveFd, 0, 0, NULL, NULL); in TEST_F()
/system/core/libutils/
DLooper.cpp437 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd() function in android::Looper
438 return addFd(fd, ident, events, callback ? new SimpleLooperCallback(callback) : NULL, data); in addFd()
441 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd() function in android::Looper
/system/tools/aidl/tests/
Daidl_test_service.cpp411 if (looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in Run()