Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximitySensorDualTest.java70 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyAbovePrimary()
71 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyAbovePrimary()
88 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAboveSecondary()
89 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyBelowPrimaryAboveSecondary()
110 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAndSecondary()
111 assertTrue(mThresholdSensorSecondary.isPaused()); in testInitiallyBelowPrimaryAndSecondary()
131 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
132 assertTrue(mThresholdSensorSecondary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
138 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
139 assertTrue(mThresholdSensorSecondary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
[all …]
DFakeThresholdSensor.java74 boolean isPaused() { in isPaused() method in FakeThresholdSensor
/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/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/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/core/java/android/animation/
DAnimator.java160 public boolean isPaused() { in isPaused() method in Animator
DAnimatorSet.java934 if (!isStarted() || isPaused()) {
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java963 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
964 if (isPaused) { in getCallTypeFromVideoState()
/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.java1006 if (VideoProfile.isPaused(oldVideoState) && in updateMediaCapabilities()
1007 !VideoProfile.isPaused(newVideoState)) { in updateMediaCapabilities()
1022 if (!VideoProfile.isPaused(oldVideoState) && in updateMediaCapabilities()
1023 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()
DGraphRunner.java733 public boolean isPaused() { in isPaused() method in GraphRunner
/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.h207 bool isPaused() const { return mState == PAUSED; } in isPaused() function
DThreads.cpp3737 && !track->isPaused() in threadLoop()
5223 !track->isPaused() && !track->isTerminated()) in prepareTracks_l()
5450 if (framesReady < desiredFrames && !track->isStopped() && !track->isPaused()) { in prepareTracks_l()
5466 track->isStopped() || track->isPaused()) { in prepareTracks_l()
5985 if ((framesReady >= minFrames) && track->isReady() && !track->isPaused() && in prepareTracks_l()
6038 track->isStopping_2() || track->isPaused()) { in prepareTracks_l()
6043 track->isPaused() || mHwPaused) { in prepareTracks_l()
6179 trackPaused = mTracks[mTracks.size() - 1]->isPaused(); in shouldStandby_l()
6534 !track->isPaused() && !track->isTerminated() && !track->isStopping_2()) { in prepareTracks_l()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1155 if (!isPaused()) { in finishPossiblyPaused()
1221 if (!isPaused()) { in resume()
1260 if (!isPaused() && !isRunning()) { in onClientDeath()
1264 ArrayMap<IBinder, InProgressStartOpEvent> events = isPaused() in onClientDeath()
1281 if (!isPaused() && !isRunning()) { in onUidStateChanged()
1365 if (opToAdd.isRunning() || opToAdd.isPaused()) { in add()
1388 public boolean isPaused() { in isPaused() method in AppOpsService.AttributedOp
2062 while (attributedOp.isPaused()) { in packageRemoved()
4142 if (attributedOp.isRunning() || attributedOp.isPaused()) { in finishOperationUnchecked()
6578 } else if (attrOp.isPaused()) {
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7005 boolean isPaused;
7011 isPaused = ((flags & PackageManager.RESTRICTION_HIDE_NOTIFICATIONS) != 0);
7013 isPaused |= isPackageSuspendedForUser(pkg, uid);
7015 return isPaused;

12