Home
last modified time | relevance | path

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

/frameworks/native/cmds/servicemanager/
Dbinder.c370 } __attribute__((packed)) writebuf; in binder_call() local
378 writebuf.cmd = BC_TRANSACTION; in binder_call()
379 writebuf.txn.target.handle = target; in binder_call()
380 writebuf.txn.code = code; in binder_call()
381 writebuf.txn.flags = 0; in binder_call()
382 writebuf.txn.data_size = msg->data - msg->data0; in binder_call()
383 writebuf.txn.offsets_size = ((char*) msg->offs) - ((char*) msg->offs0); in binder_call()
384 writebuf.txn.data.ptr.buffer = (uintptr_t)msg->data0; in binder_call()
385 writebuf.txn.data.ptr.offsets = (uintptr_t)msg->offs0; in binder_call()
387 bwr.write_size = sizeof(writebuf); in binder_call()
[all …]
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp743 uint8_t writebuf[1] = { write_value }; in TEST_F() local
748 ret = data.writeInt32(sizeof(writebuf)); in TEST_F()
751 ret = data.write(writebuf, sizeof(writebuf)); in TEST_F()
772 std::vector<uint8_t> writebuf(datasize); in TEST_F() local
773 for (size_t i = 0; i < writebuf.size(); ++i) { in TEST_F()
774 writebuf[i] = i; in TEST_F()
789 EXPECT_EQ(NO_ERROR, data.write(writebuf.data(), datasize)); in TEST_F()
798 EXPECT_EQ(writebuf, readbuf); in TEST_F()