Home
last modified time | relevance | path

Searched refs:bwr (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp60 struct binder_write_read bwr = binder_write_read(); in EnterLooper() local
61 bwr.write_buffer = (uintptr_t)bc; in EnterLooper()
62 bwr.write_size = sizeof(bc); in EnterLooper()
63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr); in EnterLooper()
68 EXPECT_EQ(sizeof(bc), bwr.write_consumed); in EnterLooper()
112 struct binder_write_read bwr = binder_write_read(); in binderTestReadEmpty() local
114 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()
115 bwr.read_size = sizeof(br); in binderTestReadEmpty()
116 binderTestIoctlErr1(BINDER_WRITE_READ, &bwr, EAGAIN); in binderTestReadEmpty()
117 EXPECT_EQ(0u, bwr.read_consumed); in binderTestReadEmpty()
[all …]
/frameworks/native/cmds/servicemanager/
Dbinder.c153 struct binder_write_read bwr; in binder_write() local
156 bwr.write_size = len; in binder_write()
157 bwr.write_consumed = 0; in binder_write()
158 bwr.write_buffer = (uintptr_t) data; in binder_write()
159 bwr.read_size = 0; in binder_write()
160 bwr.read_consumed = 0; in binder_write()
161 bwr.read_buffer = 0; in binder_write()
162 res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr); in binder_write()
339 struct binder_write_read bwr; in binder_call() local
360 bwr.write_size = sizeof(writebuf); in binder_call()
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp830 binder_write_read bwr; in talkWithDriver() local
840 bwr.write_size = outAvail; in talkWithDriver()
841 bwr.write_buffer = (uintptr_t)mOut.data(); in talkWithDriver()
845 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()
846 bwr.read_buffer = (uintptr_t)mIn.data(); in talkWithDriver()
848 bwr.read_size = 0; in talkWithDriver()
849 bwr.read_buffer = 0; in talkWithDriver()
856 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver()
857 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
858 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
[all …]