Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp81 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *data, size_t datasize) { in AMediaCrypto_new() argument
88 if (tmp->createPlugin(uuid, data, datasize) != 0) { in AMediaCrypto_new()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp771 const int datasize = 123; in TEST_F() local
772 std::vector<uint8_t> writebuf(datasize); in TEST_F()
788 EXPECT_EQ(NO_ERROR, data.writeInt32(datasize)); in TEST_F()
789 EXPECT_EQ(NO_ERROR, data.write(writebuf.data(), datasize)); in TEST_F()
796 std::vector<uint8_t> readbuf(datasize); in TEST_F()
797 EXPECT_EQ(datasize, read(read_end.get(), readbuf.data(), datasize)); in TEST_F()
802 EXPECT_EQ(0, read(read_end.get(), readbuf.data(), datasize)); in TEST_F()