Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java79 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 …]
DMediaCodecCapabilitiesTest.java311 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument
312 if (!hasDecoder(mime, profile, level)) { in checkDecoder()
314 + profile + " and level " + level); in checkDecoder()
320 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument
321 return supports(mime, false /* isEncoder */, profile, level); in hasDecoder()
324 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument
325 return supports(mime, true /* isEncoder */, profile, level); in hasEncoder()
329 String mime, boolean isEncoder, int profile, int level) { in supports() argument
338 if (pl.profile != profile) { in supports()
DMediaCodecListTest.java414 for (int profile : profiles) { in testFindDecoderWithAacProfile()
415 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindDecoderWithAacProfile()
417 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile()
432 for (int profile : profiles) { in testFindEncoderWithAacProfile()
433 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindEncoderWithAacProfile()
435 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
DMediaRecorderTest.java189 CamcorderProfile profile = CamcorderProfile.get( in testRecorderCamera() local
191 if (profile != null) { in testRecorderCamera()
192 width = profile.videoFrameWidth; in testRecorderCamera()
193 height = profile.videoFrameHeight; in testRecorderCamera()
DDecoderTest.java1944 String mime, int width, int height, float rate, int profile, int level, int bitrate) {
1952 format.setInteger(MediaFormat.KEY_PROFILE, profile);
/cts/hostsidetests/compilation/assets/
DREADME.txt1 This APK and profile file are generated from CompilationTargetActivity.java and must be
8 # Now run the app manually for a couple of minutes, look for the profile:
10 # once the profile appears and is nonempty, grab it:
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java327 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh() local
328 if (profile.videoFrameRate < minFps) { in testRecordingFramerateLowToHigh()
330 minFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh()
332 if (profile.videoFrameRate > maxFps) { in testRecordingFramerateLowToHigh()
334 maxFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh()
512 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local
513 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize()
514 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize()
635 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local
636 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java1205 CamcorderProfile profile = CamcorderProfile.get(quality); in testConstrainedHighSpeedCapability() local
1207 new Size(profile.videoFrameWidth, profile.videoFrameHeight); in testConstrainedHighSpeedCapability()
1213 new Range<Integer>(profile.videoFrameRate, profile.videoFrameRate); in testConstrainedHighSpeedCapability()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java419 CamcorderProfile profile = null; in setupCamera() local
426 profile = CamcorderProfile.get(i); in setupCamera()
430 if (j.width == profile.videoFrameWidth && in setupCamera()
431 j.height == profile.videoFrameHeight) { in setupCamera()
437 if (j.width == profile.videoFrameWidth && in setupCamera()
438 j.height == profile.videoFrameHeight) { in setupCamera()
444 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera()
445 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera()
449 profile = null; in setupCamera()
453 if (profile != null) { in setupCamera()
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java64 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java60 store.addResult("profile", profileLevel.profile); in collectDeviceInfo()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1148 CamcorderProfile profile = CamcorderProfile.get(cameraId, in testLockUnlockByCamera() local
1152 setPreviewSizeByProfile(parameters, profile); in testLockUnlockByCamera()
1159 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera()
1173 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera()
1181 private void setPreviewSizeByProfile(Parameters parameters, CamcorderProfile profile) { in setPreviewSizeByProfile() argument
1183 parameters.setPreviewSize(profile.videoFrameWidth, in setPreviewSizeByProfile()
1184 profile.videoFrameHeight); in setPreviewSizeByProfile()
1198 private void recordVideo(CamcorderProfile profile, in recordVideo() argument
1206 recorder.setProfile(profile); in recordVideo()
2571 CamcorderProfile profile = CamcorderProfile.get(cameraId,
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java517 CamcorderProfile profile = CamcorderProfile.get(cameraId, possibleQuality[i]); in findRecordSize() local
519 profile.videoFrameWidth, profile.videoFrameHeight)); in findRecordSize()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java522 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument
525 if (profile != null) { in canDecodeVideo()
526 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java143 UserHandle profile = profiles.get(i); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local
145 .getInstalledProvidersForProfile(profile); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
/cts/tools/dex-tools/dex/
Dclasses.out.dex88634 public void profile()