• Home
  • Raw
  • Download

Lines Matching refs:metaData

52     std::unique_ptr<MetaDataBase> metaData(new MetaDataBase());  in TEST_F()  local
53 ASSERT_NE(metaData, nullptr) << "Failed to create meta data"; in TEST_F()
56 MetaDataBase *metaDataCopy = metaData.get(); in TEST_F()
61 std::unique_ptr<MetaDataBase> metaData(new MetaDataBase()); in TEST_F() local
62 ASSERT_NE(metaData, nullptr) << "Failed to create meta data"; in TEST_F()
66 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
69 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
71 status = metaData->setInt32(kKeyHeight, kHeight1); in TEST_F()
73 status = metaData->setInt32(kKeyVideoProfile, kProfile); in TEST_F()
75 status = metaData->setInt32(kKeyVideoLevel, kLevel); in TEST_F()
78 status = metaData->setInt64(kKeyDuration, kDurationUs); in TEST_F()
81 status = metaData->setFloat(kKeyCaptureFramerate, kCaptureRate); in TEST_F()
85 status = metaData->setPointer(kKeyPlatformPrivate, (void *)platform); in TEST_F()
88 status = metaData->setRect(kKeyCropRect, kLeft, kTop, kRight, kBottom); in TEST_F()
92 metaData->dumpToLog(); in TEST_F()
96 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F()
101 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
105 status = metaData->findInt32(kKeyHeight, &height); in TEST_F()
109 status = metaData->findInt32(kKeyVideoProfile, &profile); in TEST_F()
113 status = metaData->findInt32(kKeyVideoLevel, &level); in TEST_F()
118 status = metaData->findInt64(kKeyDuration, &duration); in TEST_F()
123 status = metaData->findFloat(kKeyCaptureFramerate, &frameRate); in TEST_F()
128 status = metaData->findRect(kKeyCropRect, &left, &top, &right, &bottom); in TEST_F()
136 status = metaData->findPointer(kKeyPlatformPrivate, &platformValue); in TEST_F()
142 status = metaData->findInt32(kKeyRotation, &angle); in TEST_F()
147 std::unique_ptr<MetaDataBase> metaData(new MetaDataBase()); in TEST_F() local
148 ASSERT_NE(metaData, nullptr) << "Failed to create meta data"; in TEST_F()
151 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
154 status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
158 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F()
163 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
165 status = metaData->setInt32(kKeyHeight, kHeight1); in TEST_F()
168 status = metaData->setInt32(kKeyWidth, kWidth2); in TEST_F()
170 status = metaData->setInt32(kKeyHeight, kHeight2); in TEST_F()
173 status = metaData->setInt32(kKeyWidth, kWidth3); in TEST_F()
175 status = metaData->setInt32(kKeyHeight, kHeight3); in TEST_F()
179 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
183 status = metaData->findInt32(kKeyHeight, &height); in TEST_F()
189 std::unique_ptr<MetaDataBase> metaData(new MetaDataBase()); in TEST_F() local
190 ASSERT_NE(metaData, nullptr) << "Failed to create meta data"; in TEST_F()
192 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
195 status = metaData->hasData(kKeyMIMEType); in TEST_F()
198 status = metaData->remove(kKeyMIMEType); in TEST_F()
202 status = metaData->hasData(kKeyMIMEType); in TEST_F()
206 status = metaData->remove(kKeyMIMEType); in TEST_F()
210 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
213 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
217 metaData->clear(); in TEST_F()
221 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
226 status = metaData->hasData(kKeyWidth); in TEST_F()
230 status = metaData->hasData(kKeyMIMEType); in TEST_F()
235 status = metaData->remove(kKeyMIMEType); in TEST_F()
239 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
242 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
247 std::unique_ptr<MetaDataBase> metaData(new MetaDataBase()); in TEST_F() local
248 ASSERT_NE(metaData, nullptr) << "Failed to create meta data"; in TEST_F()
250 String8 info = metaData->toString(); in TEST_F()
253 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
256 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
258 status = metaData->setInt32(kKeyHeight, kHeight1); in TEST_F()
260 status = metaData->setInt32(kKeyVideoProfile, kProfile); in TEST_F()
262 status = metaData->setInt32(kKeyVideoLevel, kLevel); in TEST_F()
265 info = metaData->toString(); in TEST_F()
269 metaData->dumpToLog(); in TEST_F()
272 metaData->clear(); in TEST_F()
274 info = metaData->toString(); in TEST_F()