/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 79 private void checkProfile(CamcorderProfile profile, List<Size> videoSizes) { in checkProfile() argument 84 profile.duration, in checkProfile() 85 profile.quality, in checkProfile() 86 profile.fileFormat, in checkProfile() 87 profile.videoCodec, in checkProfile() 88 profile.videoBitRate, in checkProfile() 89 profile.videoFrameRate, in checkProfile() 90 profile.videoFrameWidth, in checkProfile() 91 profile.videoFrameHeight, in checkProfile() 92 profile.audioCodec, in checkProfile() [all …]
|
D | MediaCodecCapabilitiesTest.java | 308 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument 309 if (!hasDecoder(mime, profile, level)) { in checkDecoder() 311 + profile + " and level " + level); in checkDecoder() 317 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument 318 return supports(mime, false /* isEncoder */, profile, level); in hasDecoder() 321 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument 322 return supports(mime, true /* isEncoder */, profile, level); in hasEncoder() 326 String mime, boolean isEncoder, int profile, int level) { in supports() argument 335 if (pl.profile != profile) { in supports()
|
D | MediaRecorderTest.java | 186 CamcorderProfile profile = CamcorderProfile.get( in testRecorderCamera() local 188 if (profile != null) { in testRecorderCamera() 189 width = profile.videoFrameWidth; in testRecorderCamera() 190 height = profile.videoFrameHeight; in testRecorderCamera()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | NativeMediaTest.java | 107 CamcorderProfile profile = CamcorderProfile.get(quality); in isResolutionSupported() local 108 if ((profile != null) && (profile.videoCodec == VIDEO_CODEC) && in isResolutionSupported() 109 (profile.audioCodec == AudioEncoder.AAC)) { in isResolutionSupported()
|
D | MediaRecorderStressTest.java | 64 private static CamcorderProfile profile = field in MediaRecorderStressTest 89 CamcorderProfile profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_HIGH); in setUp() local 90 mVideoEncoder = profile.videoCodec; in setUp() 91 mAudioEncoder = profile.audioCodec; in setUp() 92 mFrameRate = profile.videoFrameRate; in setUp() 93 mVideoWidth = profile.videoFrameWidth; in setUp() 94 mVideoHeight = profile.videoFrameHeight; in setUp() 95 mBitRate = profile.videoBitRate; in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 410 CamcorderProfile profile = null; in setupCamera() local 417 profile = CamcorderProfile.get(i); in setupCamera() 421 if (j.width == profile.videoFrameWidth && in setupCamera() 422 j.height == profile.videoFrameHeight) { in setupCamera() 428 if (j.width == profile.videoFrameWidth && in setupCamera() 429 j.height == profile.videoFrameHeight) { in setupCamera() 435 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 436 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 440 profile = null; in setupCamera() 444 if (profile != null) { in setupCamera() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 298 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh() local 299 if (profile.videoFrameRate < minFps) { in testRecordingFramerateLowToHigh() 301 minFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 303 if (profile.videoFrameRate > maxFps) { in testRecordingFramerateLowToHigh() 305 maxFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 482 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local 483 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize() 484 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize() 604 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local 605 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 1159 CamcorderProfile profile = CamcorderProfile.get(quality); in testConstrainedHighSpeedCapability() local 1161 new Size(profile.videoFrameWidth, profile.videoFrameHeight); in testConstrainedHighSpeedCapability() 1167 new Range<Integer>(profile.videoFrameRate, profile.videoFrameRate); in testConstrainedHighSpeedCapability()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraTest.java | 1150 CamcorderProfile profile = CamcorderProfile.get(cameraId, in testLockUnlockByCamera() local 1154 setPreviewSizeByProfile(parameters, profile); in testLockUnlockByCamera() 1161 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera() 1175 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera() 1183 private void setPreviewSizeByProfile(Parameters parameters, CamcorderProfile profile) { in setPreviewSizeByProfile() argument 1185 parameters.setPreviewSize(profile.videoFrameWidth, in setPreviewSizeByProfile() 1186 profile.videoFrameHeight); in setPreviewSizeByProfile() 1200 private void recordVideo(CamcorderProfile profile, in recordVideo() argument 1208 recorder.setProfile(profile); in recordVideo() 2574 CamcorderProfile profile = CamcorderProfile.get(cameraId, [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 517 CamcorderProfile profile = CamcorderProfile.get(cameraId, possibleQuality[i]); in findRecordSize() local 519 profile.videoFrameWidth, profile.videoFrameHeight)); in findRecordSize()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 143 UserHandle profile = profiles.get(i); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local 145 .getInstalledProvidersForProfile(profile); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
|