Searched refs:content_key_ (Results 1 – 2 of 2) sorted by relevance
73 sp<ABuffer> content_key_[kTestEcmCount]; member in android::clearkeycas::ClearKeyFetcherTest80 content_key_[0] = new ABuffer( in SetUp()82 content_key_[1] = new ABuffer( in SetUp()98 EXPECT_EQ(content_key_[0]->size(), keys[0].key_bytes->size()); in TEST_F()99 EXPECT_EQ(0, memcmp(content_key_[0]->data(), in TEST_F()100 keys[0].key_bytes->data(), content_key_[0]->size())); in TEST_F()102 EXPECT_EQ(content_key_[1]->size(), keys[1].key_bytes->size()); in TEST_F()103 EXPECT_EQ(0, memcmp(content_key_[1]->data(), in TEST_F()104 keys[1].key_bytes->data(), content_key_[1]->size())); in TEST_F()
164 inline bool has_content_key() const { return content_key_ != NULL; } in has_content_key()166 content_key_ = ABuffer::CreateAsCopy(value->data(), value->size()); in set_content_key()168 inline const sp<ABuffer> content_key() const { return content_key_; } in content_key()190 sp<ABuffer> content_key_; variable