Home
last modified time | relevance | path

Searched refs:videoProfile (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DCamcorderProfileTest.java172 for (EncoderProfiles.VideoProfile videoProfile : allProfiles.getVideoProfiles()) { in checkAllProfiles()
176 assertEquals(profile.videoCodec, videoProfile.getCodec()); in checkAllProfiles()
177 assertEquals(profile.videoBitRate, videoProfile.getBitrate()); in checkAllProfiles()
178 assertEquals(profile.videoFrameRate, videoProfile.getFrameRate()); in checkAllProfiles()
185 videoProfile.getChromaSubsampling()); in checkAllProfiles()
186 assertEquals(EncoderProfiles.VideoProfile.HDR_NONE, videoProfile.getHdrFormat()); in checkAllProfiles()
187 assertEquals(8, videoProfile.getBitDepth()); in checkAllProfiles()
190 assertEquals(profile.videoFrameWidth, videoProfile.getWidth()); in checkAllProfiles()
191 assertEquals(profile.videoFrameHeight, videoProfile.getHeight()); in checkAllProfiles()
192 assertTrue(videoProfile.getMediaType() != null); in checkAllProfiles()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoCallCallback.java49 public void onSessionModifyRequestReceived(VideoProfile videoProfile) { in onSessionModifyRequestReceived() argument
50 mRequestProfile = videoProfile; in onSessionModifyRequestReceived()
DDataObjectUnitTests.java327 VideoProfile videoProfile = new VideoProfile(VideoProfile.STATE_BIDIRECTIONAL, in testVideoProfile() local
329 assertEquals(VideoProfile.STATE_BIDIRECTIONAL, videoProfile.getVideoState()); in testVideoProfile()
330 assertEquals(VideoProfile.QUALITY_HIGH, videoProfile.getQuality()); in testVideoProfile()
331 assertEquals(0, videoProfile.describeContents()); in testVideoProfile()
332 assertEquals("Audio Tx Rx", VideoProfile.videoStateToString(videoProfile.getVideoState())); in testVideoProfile()
336 videoProfile.writeToParcel(p, 0); in testVideoProfile()
339 assertEquals(videoProfile.getQuality(), unparcelled.getQuality()); in testVideoProfile()
340 assertEquals(videoProfile.getVideoState(), unparcelled.getVideoState()); in testVideoProfile()
DVideoCallTest.java915 VideoProfile videoProfile = videoCallCallback.getResponseProfile(); in assertResponseVideoProfileReceived()
916 return videoProfile == null ? -1 : videoProfile.getVideoState(); in assertResponseVideoProfileReceived()
944 VideoProfile videoProfile = videoCallCallback.getRequestProfile(); in assertRequestVideoProfileReceived()
945 return videoProfile == null ? -1 : videoProfile.getVideoState(); in assertRequestVideoProfileReceived()
DRemoteConnectionTest.java846 VideoProfile videoProfile) { in testRemoteConnectionVideoCallbacks_SessionModify()
847 super.onSessionModifyRequestReceived(videoProvider, videoProfile); in testRemoteConnectionVideoCallbacks_SessionModify()
848 callbackInvoker.invoke(videoProvider, videoProfile); in testRemoteConnectionVideoCallbacks_SessionModify()
863 VideoProfile videoProfile = new VideoProfile(VideoProfile.STATE_BIDIRECTIONAL); in testRemoteConnectionVideoCallbacks_SessionModify() local
865 mockVideoProvider.sendMockSessionModifyRequest(videoProfile); in testRemoteConnectionVideoCallbacks_SessionModify()
868 assertEquals(videoProfile, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionVideoCallbacks_SessionModify()
1125 VideoProfile videoProfile) { in testRemoteConnectionVideo_SendSessionModifyRequest()
1126 super.onSessionModifyRequestReceived(videoProvider, videoProfile); in testRemoteConnectionVideo_SendSessionModifyRequest()
1127 callbackInvoker.invoke(videoProvider, videoProfile); in testRemoteConnectionVideo_SendSessionModifyRequest()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallProfileTest.java272 VideoProfile videoProfile = new VideoProfile(VideoProfile.STATE_PAUSED); in testGetCallTypeFromVideoState() local
274 ImsCallProfile.getCallTypeFromVideoState(videoProfile.getVideoState())); in testGetCallTypeFromVideoState()
276 videoProfile = new VideoProfile(VideoProfile.STATE_TX_ENABLED); in testGetCallTypeFromVideoState()
278 ImsCallProfile.getCallTypeFromVideoState(videoProfile.getVideoState())); in testGetCallTypeFromVideoState()
280 videoProfile = new VideoProfile(VideoProfile.STATE_RX_ENABLED); in testGetCallTypeFromVideoState()
282 ImsCallProfile.getCallTypeFromVideoState(videoProfile.getVideoState())); in testGetCallTypeFromVideoState()
284 videoProfile = new VideoProfile(VideoProfile.STATE_RX_ENABLED in testGetCallTypeFromVideoState()
287 ImsCallProfile.getCallTypeFromVideoState(videoProfile.getVideoState())); in testGetCallTypeFromVideoState()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1559 for (EncoderProfiles.VideoProfile videoProfile : profiles.getVideoProfiles()) { in basicRecordingTestByCamera()
1563 doBasicRecordingByProfile(profiles, videoProfile, audioProfile, in basicRecordingTestByCamera()
1573 doBasicRecordingByProfile(profiles, videoProfile, /* audioProfile */null, in basicRecordingTestByCamera()
1617 EncoderProfiles.VideoProfile videoProfile, EncoderProfiles.AudioProfile audioProfile, in doBasicRecordingByProfile() argument
1620 Size videoSz = new Size(videoProfile.getWidth(), videoProfile.getHeight()); in doBasicRecordingByProfile()
1621 int frameRate = videoProfile.getFrameRate(); in doBasicRecordingByProfile()
1625 ", video codec " + videoProfile.getMediaType() + ", and audio codec " + in doBasicRecordingByProfile()
1633 + videoSz.toString() + "_" + videoProfile.getCodec(); in doBasicRecordingByProfile()
1640 setupMediaRecorder(profiles, videoProfile, audioProfile); in doBasicRecordingByProfile()
2203 EncoderProfiles.VideoProfile videoProfile, in setupMediaRecorder() argument
[all …]
DExtendedCameraCharacteristicsTest.java781 CamcorderProfile videoProfile = CamcorderProfile.get(idx, profile); in verifyRecommendedVideoConfiguration() local
782 Size profileSize = new Size(videoProfile.videoFrameWidth, in verifyRecommendedVideoConfiguration()
783 videoProfile.videoFrameHeight); in verifyRecommendedVideoConfiguration()