Searched refs:mArbitrator (Results 1 – 3 of 3) sorted by relevance
29 : mArbitrator(new MediaResourceArbitrator) { in MediaResourceManagerTest()30 mArbitrator->Config(NULL); in MediaResourceManagerTest()34 delete mArbitrator; in ~MediaResourceManagerTest()50 err = mArbitrator->AddResource(CODEC_TYPE_AVC, in addDefaultResourceByN()64 EXPECT_EQ(2u, mArbitrator->GetLivingCodecsNum()); in testAddResource()70 EXPECT_EQ(2u, mArbitrator->GetLivingCodecsNum()); in testRemoveResource()71 EXPECT_TRUE(mArbitrator->CheckIfFullLoad(false)); in testRemoveResource()73 err = mArbitrator->RemoveResource(CODEC_TYPE_AVC, in testRemoveResource()78 EXPECT_EQ(1u, mArbitrator->GetLivingCodecsNum()); in testRemoveResource()79 EXPECT_FALSE(mArbitrator->CheckIfFullLoad(false)); in testRemoveResource()[all …]
72 if (mArbitrator != NULL) { in MRM_OMX_Init()73 err = (OMX_ERRORTYPE)mArbitrator->Config(CODECS_LIMITATION_FILE); in MRM_OMX_Init()89 if (mArbitrator->CheckIfFullLoad(true/*encoder*/)) { in MRM_OMX_CheckIfFullLoad()97 if (mArbitrator->CheckIfFullLoad(false/*decoder*/)) { in MRM_OMX_CheckIfFullLoad()160 if (mArbitrator->CheckIfFullLoad(codecInfo.isEncoder)) { in MRM_OMX_SetParameter()198 err = (OMX_ERRORTYPE)mArbitrator->AddResource(codecInfo.codecType, in MRM_OMX_SetParameter()236 err = (OMX_ERRORTYPE)mArbitrator->RemoveResource(codecInfo.codecType, in MRM_OMX_RemoveComponent()
101 MRM_OMX_Adaptor() { mArbitrator = new MediaResourceArbitrator(); } in MRM_OMX_Adaptor()109 MediaResourceArbitrator* mArbitrator; variable