Lines Matching refs:container
58 EcmContainer container; in ObtainKey() local
59 status_t status = container.Parse(buffer); in ObtainKey()
63 ALOGV("descriptor_size=%zu", container.descriptor_size()); in ObtainKey()
69 if (container.descriptor_size() == 2) { in ObtainKey()
71 bool same_parity = (((container.descriptor(0).id() & 0x01) ^ in ObtainKey()
72 (container.descriptor(1).id() & 0x01)) == 0); in ObtainKey()
76 container.descriptor(0).ecm().asset_id(), in ObtainKey()
77 container.descriptor(0).id(), in ObtainKey()
78 container.descriptor(1).id()); in ObtainKey()
82 *asset_id = container.descriptor(0).ecm().asset_id(); in ObtainKey()
105 keys->resize(container.descriptor_size()); in ObtainKey()
107 for (size_t i = 0; i < container.descriptor_size(); ++i) { in ObtainKey()
108 status = container.mutable_descriptor(i)->mutable_ecm()->Decrypt( in ObtainKey()
109 container.descriptor(i).ecm().buffer(), asset_); in ObtainKey()
118 key.key_id = container.descriptor(i).id(); in ObtainKey()
119 key.key_bytes = container.descriptor(i).ecm().content_key(); in ObtainKey()