Home
last modified time | relevance | path

Searched refs:isPaused (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximitySensorImplDualTest.java72 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyAbovePrimary()
73 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyAbovePrimary()
90 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAboveSecondary()
91 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyBelowPrimaryAboveSecondary()
112 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAndSecondary()
113 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyBelowPrimaryAndSecondary()
133 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
134 assertTrue(mThresholdSensorSecondary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
140 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
141 assertTrue(mThresholdSensorSecondary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DVideoPauseTracker.java80 boolean wasPaused = isPaused(); in shouldPauseVideoFor()
113 boolean wasPaused = isPaused(); in shouldResumeVideoFor()
115 boolean isPaused = isPaused(); in shouldResumeVideoFor()
117 if (wasPaused && !isPaused) { in shouldResumeVideoFor()
123 } else if (wasPaused && isPaused) { in shouldResumeVideoFor()
146 public boolean isPaused() { in isPaused() method in VideoPauseTracker
DImsVideoCallProviderWrapper.java315 !VideoProfile.isPaused(mCurrentVideoState)) { in onSendSessionModifyRequest()
380 boolean fromPaused = VideoProfile.isPaused(from); in isPauseRequest()
381 boolean toPaused = VideoProfile.isPaused(to); in isPauseRequest()
395 boolean fromPaused = VideoProfile.isPaused(from); in isResumeRequest()
396 boolean toPaused = VideoProfile.isPaused(to); in isResumeRequest()
457 VideoProfile.isPaused(fromVideoState) && in maybeFilterPauseResume()
458 VideoProfile.isPaused(toVideoState)); in maybeFilterPauseResume()
584 if (VideoProfile.isPaused(mCurrentVideoState) && !VideoProfile.isPaused(newVideoState)) { in onVideoStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DRefreshUsersScheduler.kt41 private var isPaused = false variable
45 isPaused = true in pause()
57 isPaused = false in unpauseAndRefresh()
64 if (isPaused) { in refreshIfNotPaused()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java140 boolean isPaused = CodecTest.pause(MediaNames.MP3CBR); in testMP3CBRPause()
141 assertTrue("MP3CBR Pause", isPaused); in testMP3CBRPause()
146 boolean isPaused = CodecTest.pause(MediaNames.MP3VBR); in testMP3VBRPause()
147 assertTrue("MP3VBR Pause", isPaused); in testMP3VBRPause()
152 boolean isPaused = CodecTest.pause(MediaNames.MIDI); in testMIDIPause()
153 assertTrue("MIDI Pause", isPaused); in testMIDIPause()
158 boolean isPaused = CodecTest.pause(MediaNames.AMR); in testAMRPause()
159 assertTrue("AMR Pause", isPaused); in testAMRPause()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceImpl.java303 activeTranslation.isPaused = true; in updateActiveTranslationsLocked()
310 activeTranslation.isPaused = false; in updateActiveTranslationsLocked()
354 if (activeTranslation.isPaused) { in invokeCallbacksIfNecessaryLocked()
374 if (activeTranslation.isPaused) { in invokeCallbacksIfNecessaryLocked()
382 if (!activeTranslation.isPaused) { in invokeCallbacksIfNecessaryLocked()
536 + "packageName=" + packageName + " isPaused=" + activeTranslation.isPaused); in registerUiTranslationStateCallbackLocked()
544 if (activeTranslation.isPaused) { in registerUiTranslationStateCallbackLocked()
603 public boolean isPaused = false; field in TranslationManagerServiceImpl.ActiveTranslation
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp27 int32_t range, bool isPaused, sp<WriterListener> listener) { in sendBuffersToWriter() argument
73 if (!isPaused) return status; in sendBuffersToWriter()
DWriterUtility.h60 int32_t range, bool isPaused = false,
DWriterTest.cpp628 bool isPaused = false; in TEST_P() local
632 isPaused = true; in TEST_P()
637 mCurrentTrack[0], mInputFrameId[0], numFramesPaused, isPaused); in TEST_P()
640 if (isPaused) { in TEST_P()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java251 assertFalse(a1.isPaused()); in testPause()
252 assertFalse(a2.isPaused()); in testPause()
257 assertFalse(a1.isPaused()); in testPause()
258 assertFalse(a2.isPaused()); in testPause()
271 assertTrue(a1.isPaused()); in testPause()
272 assertFalse(a2.isPaused()); in testPause()
286 assertTrue(a1.isPaused()); in testPause()
298 assertFalse(a1.isPaused()); in testPause()
309 assertFalse(a1.isPaused()); in testPause()
DAnimatorSetActivityTest.java453 assertFalse(set.isPaused()); in testPauseAndResume()
460 assertFalse(set.isPaused()); in testPauseAndResume()
462 assertTrue(set.isPaused()); in testPauseAndResume()
464 assertFalse(set.isPaused()); in testPauseAndResume()
/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java252 if (isPaused(videoState)) { in videoStateToString()
322 public static boolean isPaused(@VideoState int videoState) { in isPaused() method in VideoProfile
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeThresholdSensor.java84 boolean isPaused() { in isPaused() method in FakeThresholdSensor
/frameworks/base/services/core/java/com/android/server/wm/
DInputWindowHandleWrapper.java76 boolean isPaused() { in isPaused() method in InputWindowHandleWrapper
183 if (isPaused() == paused) { in setPaused()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DLayoutValidator.java51 public static boolean isPaused() { in isPaused() method in LayoutValidator
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java968 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
969 if (isPaused) { in getCallTypeFromVideoState()
/frameworks/base/core/java/android/animation/
DAnimator.java205 public boolean isPaused() { in isPaused() method in Animator
DAnimationHandler.java245 && !animator.isPaused()) {
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java525 } else if (!isPaused()) { in onPause()
578 public boolean isPaused() { in isPaused() method in LocalRenderer
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java1013 if (VideoProfile.isPaused(oldVideoState) && in updateMediaCapabilities()
1014 !VideoProfile.isPaused(newVideoState)) { in updateMediaCapabilities()
1029 if (!VideoProfile.isPaused(oldVideoState) && in updateMediaCapabilities()
1030 VideoProfile.isPaused(newVideoState)) { in updateMediaCapabilities()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java753 if (runner != null && !runner.isPaused() && !runner.isStopped()) { in assertIsPaused()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp95 void recordMedia(bool isPaused = false, int32_t numStart = 0, int32_t numPause = 0);
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java219 public boolean isPaused(); in isPaused() method
DWebView.java1413 public boolean isPaused() { in isPaused() method in WebView
1414 return mProvider.isPaused(); in isPaused()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h226 bool isPaused() const { return mState == PAUSED; } in isPaused() function

12