Home
last modified time | relevance | path

Searched refs:mResourcePolicy (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/mediatranscoding/
DMediaTranscodingService.cpp50 mResourcePolicy(new TranscodingResourcePolicy()), in MediaTranscodingService()
67 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in MediaTranscodingService()
87 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in MediaTranscodingService()
91 mResourcePolicy->setCallback(mSessionController); in MediaTranscodingService()
DMediaTranscodingService.h64 std::shared_ptr<ResourcePolicyInterface> mResourcePolicy; variable
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp298 mResourcePolicy.reset(new TestResourcePolicy()); in SetUp()
314 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in SetUp()
413 std::shared_ptr<TestResourcePolicy> mResourcePolicy; member in android::TranscodingSessionControllerTest
1059 EXPECT_EQ(mResourcePolicy->getPid(), kInvalidPid); in TEST_F()
1061 EXPECT_EQ(mResourcePolicy->getPid(), kInvalidPid); in TEST_F()
1066 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1076 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1089 EXPECT_EQ(mResourcePolicy->getPid(), PID(0)); in TEST_F()
1101 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1217 EXPECT_EQ(mResourcePolicy->getPid(), kInvalidPid); in TEST_F()
[all …]
/frameworks/av/media/libmediatranscoding/
DTranscodingSessionController.cpp336 mResourcePolicy(resourcePolicy), in TranscodingSessionController()
437 if (((mResourcePolicy != nullptr && mResourceLost) || in getTopSession_l()
1026 if (mResourcePolicy != nullptr) { in onResourceLost()
1027 mResourcePolicy->setPidResourceLost(resourceLostSession->request.clientPid); in onResourceLost()
/frameworks/av/media/libmediatranscoding/include/media/
DTranscodingSessionController.h171 std::shared_ptr<ResourcePolicyInterface> mResourcePolicy; variable