Home
last modified time | relevance | path

Searched refs:mCalled (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioModeListenerTest.java50 private boolean mCalled; field in AudioModeListenerTest.MyOnModeChangedListener
57 mCalled = false; in reset()
64 return mCalled; in wasCalled()
72 while (!mCalled && waiTimeMillis > 0) { in waitForModeUpdate()
96 mCalled = true; in onModeChanged()
DDevicesForAttributesTest.java127 assertFalse("listener should not be called on register", listener.mCalled); in testListenerRegistration()
158 assertTrue("Listener should be called for MEDIA_ATTR", listener.mCalled); in testListenerWithAudioPolicy()
170 assertFalse("Listener should not be called after being removed", listener.mCalled); in testListenerWithAudioPolicy()
215 assertTrue("Routing should be updated", listeners[i].mCalled); in testListenerWithMultipleAttributes()
224 assertFalse("Wrong listener is called", listeners[j].mCalled); in testListenerWithMultipleAttributes()
232 assertTrue("Routing should be updated", listeners[i].mCalled); in testListenerWithMultipleAttributes()
246 boolean mCalled; field in DevicesForAttributesTest.DevicesForAttributesListener
259 mCalled = true; in onDevicesForAttributesChanged()
272 mCalled = false; in reset()
DAudioCommunicationDeviceTest.java229 private boolean mCalled; field in AudioCommunicationDeviceTest.MyOnCommunicationDeviceChangedListener
237 mCalled = false; in reset()
262 || !mCalled) && (waiTimeMillis > 0)) { in waitForDeviceUpdateTo()
292 mCalled = true; in onCommunicationDeviceChanged()
401 private boolean mCalled; field in AudioCommunicationDeviceTest.MyOnModeChangedListener
409 mCalled = false; in reset()
418 while ((mAudioManager.getMode() != mode || !mCalled) && waiTimeMillis > 0) { in waitForModeUpdateTo()
448 mCalled = true; in onModeChanged()
DAudioTestUtil.java142 boolean mCalled; field in AudioTestUtil.AudioRecordingCallbackUtil
151 mCalled = false; in reset()
165 mCalled = true; in onRecordingConfigChanged()
DNonDefaultDeviceForStrategyTest.java243 assertTrue("Non-default device listener wasn't called for set", listener.mCalled); in testNonDefaultDeviceListener()
257 assertTrue("Non-default device listener wasn't called for remove", listener.mCalled); in testNonDefaultDeviceListener()
269 assertFalse("Preferred device listener failed to be removed", listener.mCalled); in testNonDefaultDeviceListener()
274 boolean mCalled; field in NonDefaultDeviceForStrategyTest.NonDefDevListener
288 mCalled = true; in onNonDefaultDevicesForStrategyChanged()
304 mCalled = false; in reset()
DAudioRecordingConfigurationTest.java181 assertTrue("AudioRecordingCallback not called after start", callback.mCalled); in doCallbackTest()
199 assertTrue("AudioRecordingCallback not called after stop", callback.mCalled); in doCallbackTest()
209 assertFalse("Unregistered callback was called", callback.mCalled); in doCallbackTest()
DRoutingTest.java563 private boolean mCalled; field in RoutingTest.AudioRoutingListener
572 mCalled = true; in onRoutingChanged()
592 return mCalled; in isRoutingListenerCalled()
597 mCalled = false; in reset()
DAudioPlaybackConfigurationTest.java934 private int mCalled; field in AudioPlaybackConfigurationTest.MyAudioPlaybackCallback
942 mCalled = 0; in reset()
950 return mCalled; in getCbInvocationNumber()
992 mCalled++; in onPlaybackConfigChanged()
DAudioFocusTest.java817 assertTrue(mRecordingCallback.mCalled); in startRecording()
DAudioRecordTest.java957 assertTrue(callback.mCalled); in testAudioRecordInfoCallback()
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/
DLoadingProgressTest.java64 private ConditionVariable mCalled = new ConditionVariable(); field in LoadingProgressTest
140 mCalled.close(); in testOnPackageLoadingProgressChangedCalledWithPartialLoaded()
144 assertTrue(mCalled.block(WAIT_TIMEOUT_MILLIS)); in testOnPackageLoadingProgressChangedCalledWithPartialLoaded()
149 mCalled.close(); in testOnPackageLoadingProgressChangedCalledWithFullyLoaded()
153 assertTrue(mCalled.block(WAIT_TIMEOUT_MILLIS)); in testOnPackageLoadingProgressChangedCalledWithFullyLoaded()
187 mCalled.open(); in onPackageLoadingProgressChanged()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java1858 assertTrue(callback.mCalled); in testAudioRecordInfoCallback()
1993 public boolean mCalled; field in MediaRecorderTest.MyAudioRecordingCallback
2001 mCalled = false; in reset()
2013 mCalled = true; in onRecordingConfigChanged()