Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp62 struct binder_write_read bwr = binder_write_read(); in EnterLooper() local
63 bwr.write_buffer = (uintptr_t)bc; in EnterLooper()
64 bwr.write_size = sizeof(bc); in EnterLooper()
65 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr); in EnterLooper()
70 EXPECT_EQ(sizeof(bc), bwr.write_consumed); in EnterLooper()
124 struct binder_write_read bwr = binder_write_read(); in binderTestReadEmpty() local
126 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()
127 bwr.read_size = sizeof(br); in binderTestReadEmpty()
128 binderTestIoctlErr1(BINDER_WRITE_READ, &bwr, EAGAIN); in binderTestReadEmpty()
129 EXPECT_EQ(0u, bwr.read_consumed); in binderTestReadEmpty()
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp929 binder_write_read bwr; in talkWithDriver() local
939 bwr.write_size = outAvail; in talkWithDriver()
940 bwr.write_buffer = (uintptr_t)mOut.data(); in talkWithDriver()
944 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()
945 bwr.read_buffer = (uintptr_t)mIn.data(); in talkWithDriver()
947 bwr.read_size = 0; in talkWithDriver()
948 bwr.read_buffer = 0; in talkWithDriver()
955 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver()
956 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
957 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
[all …]