Searched refs:bwr (Results 1 – 3 of 3) sorted by relevance
60 struct binder_write_read bwr = binder_write_read(); in EnterLooper() local61 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()122 struct binder_write_read bwr = binder_write_read(); in binderTestReadEmpty() local124 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()125 bwr.read_size = sizeof(br); in binderTestReadEmpty()126 binderTestIoctlErr1(BINDER_WRITE_READ, &bwr, EAGAIN); in binderTestReadEmpty()127 EXPECT_EQ(0u, bwr.read_consumed); in binderTestReadEmpty()[all …]
154 struct binder_write_read bwr; in binder_write() local157 bwr.write_size = len; in binder_write()158 bwr.write_consumed = 0; in binder_write()159 bwr.write_buffer = (uintptr_t) data; in binder_write()160 bwr.read_size = 0; in binder_write()161 bwr.read_consumed = 0; in binder_write()162 bwr.read_buffer = 0; in binder_write()163 res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr); in binder_write()340 struct binder_write_read bwr; in binder_call() local361 bwr.write_size = sizeof(writebuf); in binder_call()[all …]
858 binder_write_read bwr; in talkWithDriver() local868 bwr.write_size = outAvail; in talkWithDriver()869 bwr.write_buffer = (uintptr_t)mOut.data(); in talkWithDriver()873 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()874 bwr.read_buffer = (uintptr_t)mIn.data(); in talkWithDriver()876 bwr.read_size = 0; in talkWithDriver()877 bwr.read_buffer = 0; in talkWithDriver()884 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver()885 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()886 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()[all …]