Lines Matching refs:mManager

150     std::unique_ptr<AudioPolicyTestManager> mManager;  member in AudioPolicyManagerTest
155 mManager.reset(new AudioPolicyTestManager(mClient.get())); in SetUp()
156 mManager->getConfig().setDefault(); in SetUp()
157 SetUpConfig(&mManager->getConfig()); // Subclasses may want to customize the config. in SetUp()
158 ASSERT_EQ(NO_ERROR, mManager->initialize()); in SetUp()
159 ASSERT_EQ(NO_ERROR, mManager->initCheck()); in SetUp()
163 mManager.reset(); in TearDown()
191 ASSERT_EQ(NO_ERROR, mManager->dump(pipefd[1])); in dumpToLog()
215 ASSERT_EQ(OK, mManager->getOutputForAttr( in getOutputForAttr()
234 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(nullptr, &handle, 0)); in TEST_F()
235 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, nullptr, 0)); in TEST_F()
236 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
239 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
242 ASSERT_EQ(BAD_VALUE, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
245 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
251 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
257 ASSERT_EQ(INVALID_OPERATION, mManager->createAudioPatch(&patch, &handle, 0)); in TEST_F()
267 ASSERT_FALSE(mManager->getConfig().getAvailableInputDevices().isEmpty()); in TEST_F()
269 patchBuilder.addSource(mManager->getConfig().getAvailableInputDevices()[0]). in TEST_F()
270 addSink(mManager->getConfig().getDefaultOutputDevice()); in TEST_F()
271 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F()
359 mManager->setForceUse(AUDIO_POLICY_FORCE_FOR_ENCODED_SURROUND, in TEST_F()
414 mManager->releaseOutput(portId); in TEST_F()
425 mManager->releaseOutput(portId); in TEST_F()