/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 80 private void checkProfile(CamcorderProfile profile, List<Size> videoSizes) { in checkProfile() argument 85 profile.duration, in checkProfile() 86 profile.quality, in checkProfile() 87 profile.fileFormat, in checkProfile() 88 profile.videoCodec, in checkProfile() 89 profile.videoBitRate, in checkProfile() 90 profile.videoFrameRate, in checkProfile() 91 profile.videoFrameWidth, in checkProfile() 92 profile.videoFrameHeight, in checkProfile() 93 profile.audioCodec, in checkProfile() [all …]
|
D | MediaCodecCapabilitiesTest.java | 332 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument 333 if (!hasDecoder(mime, profile, level)) { in checkDecoder() 335 + profile + " and level " + level); in checkDecoder() 341 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument 342 return supports(mime, false /* isEncoder */, profile, level, false /* defaultOnly */); in hasDecoder() 345 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument 346 return supports(mime, true /* isEncoder */, profile, level, false /* defaultOnly */); in hasEncoder() 351 private boolean checkDecodeWithDefaultPlayer(String mime, int profile, int level) { in checkDecodeWithDefaultPlayer() argument 352 if (!supports(mime, false /* isEncoder */, profile, level, true /* defaultOnly */)) { in checkDecodeWithDefaultPlayer() 360 String mime, boolean isEncoder, int profile, int level, in supports() argument [all …]
|
D | MediaRecorderTest.java | 238 CamcorderProfile profile = CamcorderProfile.get( in testRecorderCamera() local 240 if (profile != null) { in testRecorderCamera() 241 width = profile.videoFrameWidth; in testRecorderCamera() 242 height = profile.videoFrameHeight; in testRecorderCamera() 312 CamcorderProfile profile = CamcorderProfile.get( in testRecorderMPEG2TS() local 314 if (profile != null) { in testRecorderMPEG2TS() 315 width = profile.videoFrameWidth; in testRecorderMPEG2TS() 316 height = profile.videoFrameHeight; in testRecorderMPEG2TS() 854 int bitrate, int profile, int requestedLevel, int... expectedLevels) throws Exception { in testLevel() argument 884 mMediaRecorder.setVideoEncodingProfileLevel(profile, -1); in testLevel() [all …]
|
D | MediaExtractorTest.java | 166 int profile = trackFormatForDolbyVision.getInteger(MediaFormat.KEY_PROFILE); in testDolbyVisionMediaExtractorProfileDvheDtr() local 167 assertEquals(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtr, profile); in testDolbyVisionMediaExtractorProfileDvheDtr() 196 final int profile = trackFormat.getInteger(MediaFormat.KEY_PROFILE); in testDolbyVisionMediaExtractorProfileDvheStn() local 197 assertEquals(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheStn, profile); in testDolbyVisionMediaExtractorProfileDvheStn() 235 int profile = trackFormatForDolbyVision.getInteger(MediaFormat.KEY_PROFILE); in testDolbyVisionMediaExtractorProfileDvheSt() local 236 assertEquals(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheSt, profile); in testDolbyVisionMediaExtractorProfileDvheSt() 282 int profile = trackFormatForDolbyVision.getInteger(MediaFormat.KEY_PROFILE); in testDolbyVisionMediaExtractorProfileDvavSe() local 283 assertEquals(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvavSe, profile); in testDolbyVisionMediaExtractorProfileDvavSe()
|
D | MediaCodecListTest.java | 443 for (int profile : profiles) { in testFindDecoderWithAacProfile() 444 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindDecoderWithAacProfile() 446 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile() 461 for (int profile : profiles) { in testFindEncoderWithAacProfile() 462 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindEncoderWithAacProfile() 464 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | DataProfileTest.java | 46 DataProfile profile = new DataProfile.Builder() in testConstructorAndGetters() local 64 assertThat(profile.getProfileId()).isEqualTo(PROFILE_ID); in testConstructorAndGetters() 65 assertThat(profile.getApn()).isEqualTo(APN); in testConstructorAndGetters() 66 assertThat(profile.getProtocolType()).isEqualTo(PROTOCOL_TYPE); in testConstructorAndGetters() 67 assertThat(profile.getAuthType()).isEqualTo(AUTH_TYPE); in testConstructorAndGetters() 68 assertThat(profile.getUserName()).isEqualTo(USER_NAME); in testConstructorAndGetters() 69 assertThat(profile.getPassword()).isEqualTo(PASSWORD); in testConstructorAndGetters() 70 assertThat(profile.getType()).isEqualTo(TYPE); in testConstructorAndGetters() 71 assertThat(profile.isEnabled()).isEqualTo(IS_ENABLED); in testConstructorAndGetters() 72 assertThat(profile.getSupportedApnTypesBitmask()).isEqualTo(APN_BITMASK); in testConstructorAndGetters() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | Ikev2VpnTest.java | 248 private void checkBasicIkev2VpnProfile(@NonNull Ikev2VpnProfile profile) throws Exception { in checkBasicIkev2VpnProfile() argument 249 assertEquals(TEST_SERVER_ADDR_V6, profile.getServerAddr()); in checkBasicIkev2VpnProfile() 250 assertEquals(TEST_IDENTITY, profile.getUserIdentity()); in checkBasicIkev2VpnProfile() 251 assertEquals(TEST_PROXY_INFO, profile.getProxyInfo()); in checkBasicIkev2VpnProfile() 252 assertEquals(TEST_ALLOWED_ALGORITHMS, profile.getAllowedAlgorithms()); in checkBasicIkev2VpnProfile() 253 assertTrue(profile.isBypassable()); in checkBasicIkev2VpnProfile() 254 assertFalse(profile.isMetered()); in checkBasicIkev2VpnProfile() 255 assertEquals(TEST_MTU, profile.getMaxMtu()); in checkBasicIkev2VpnProfile() 256 assertFalse(profile.isRestrictedToTestNetworks()); in checkBasicIkev2VpnProfile() 263 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfilePsk() local [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarBluetoothTest.java | 188 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument 190 Log.d(TAG, "Profile '" + profile + "' has connected"); in onServiceConnected() 194 sRequiredBluetoothProfiles.get(profile).mConnected = true; in onServiceConnected() 205 public void onServiceDisconnected(int profile) { in onServiceDisconnected() argument 207 Log.d(TAG, "Profile '" + profile + "' has disconnected"); in onServiceDisconnected() 211 sRequiredBluetoothProfiles.get(profile).mConnected = false; in onServiceDisconnected() 228 int profile = sRequiredBluetoothProfiles.keyAt(i); in waitForProfileConnections() local 229 mBluetoothAdapter.getProfileProxy(mContext, new ProfileServiceListener(), profile); in waitForProfileConnections() 266 int profile = sRequiredBluetoothProfiles.keyAt(i); in checkProfileConnections() local 267 String name = sRequiredBluetoothProfiles.get(profile).mName; in checkProfileConnections() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 510 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh() local 511 if (profile.videoFrameRate < minFps) { in testRecordingFramerateLowToHigh() 513 minFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 515 if (profile.videoFrameRate > maxFps) { in testRecordingFramerateLowToHigh() 517 maxFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 823 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local 824 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize() 825 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize() 981 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local 982 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 551 for (int profile : profileList) { in verifyRecommendedVideoConfiguration() 553 if (CamcorderProfile.hasProfile(idx, profile)) { in verifyRecommendedVideoConfiguration() 554 CamcorderProfile videoProfile = CamcorderProfile.get(idx, profile); in verifyRecommendedVideoConfiguration() 1991 CamcorderProfile profile = CamcorderProfile.get(cameraId, quality); in testConstrainedHighSpeedCapability() local 1993 new Size(profile.videoFrameWidth, profile.videoFrameHeight); in testConstrainedHighSpeedCapability() 1999 new Range<Integer>(profile.videoFrameRate, profile.videoFrameRate); in testConstrainedHighSpeedCapability()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsCallProfileTest.java | 225 ImsCallProfile profile = new ImsCallProfile(ImsCallProfile.SERVICE_TYPE_NORMAL, in testGetVideoStatefromProfile() local 227 int result = ImsCallProfile.getVideoStateFromImsCallProfile(profile); in testGetVideoStatefromProfile() 237 ImsCallProfile profile = new ImsCallProfile(ImsCallProfile.SERVICE_TYPE_NORMAL, in testGetVideoStateFromCallType() local 239 int result = ImsCallProfile.getVideoStateFromCallType(profile.getCallType()); in testGetVideoStateFromCallType() 242 profile = new ImsCallProfile(ImsCallProfile.SERVICE_TYPE_NORMAL, in testGetVideoStateFromCallType() 244 result = ImsCallProfile.getVideoStateFromCallType(profile.getCallType()); in testGetVideoStateFromCallType() 247 profile = new ImsCallProfile(ImsCallProfile.SERVICE_TYPE_NORMAL, in testGetVideoStateFromCallType() 249 result = ImsCallProfile.getVideoStateFromCallType(profile.getCallType()); in testGetVideoStateFromCallType() 252 profile = new ImsCallProfile(ImsCallProfile.SERVICE_TYPE_NORMAL, in testGetVideoStateFromCallType() 254 result = ImsCallProfile.getVideoStateFromCallType(profile.getCallType()); in testGetVideoStateFromCallType()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 474 CamcorderProfile profile = null; in setupCamera() local 482 profile = CamcorderProfile.get(i); in setupCamera() 486 if (j.width == profile.videoFrameWidth && in setupCamera() 487 j.height == profile.videoFrameHeight) { in setupCamera() 493 if (j.width == profile.videoFrameWidth && in setupCamera() 494 j.height == profile.videoFrameHeight) { in setupCamera() 500 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 501 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 505 profile = null; in setupCamera() 522 if (profile != null) { in setupCamera() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | ProfileManager.java | 110 public boolean addProfile(PeripheralProfile profile) { in addProfile() argument 111 mProfiles.add(profile); in addProfile() 188 for(PeripheralProfile profile : mProfiles) { in getProfile() 189 if (productName.equals(profile.getProductName())) { in getProfile() 190 return profile; in getProfile()
|
/cts/hostsidetests/compilation/assets/ |
D | README.txt | 1 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/media/src/android/mediav2/cts/ |
D | EncoderProfileLevelTest.java | 252 int profile) { in getMinLevel() argument 263 return getMinLevelMPEG4(width, height, frameRate, bitrate, profile); in getMinLevel() 499 private int getMinLevelMPEG4(int width, int height, int frameRate, int bitrate, int profile) { in getMinLevelMPEG4() argument 501 private LevelLimitMPEG4(int profile, int level, long sampleRate, int width, in getMinLevelMPEG4() argument 503 this.profile = profile; in getMinLevelMPEG4() 512 private final int profile; in getMinLevelMPEG4() field in EncoderProfileLevelTest.LevelLimitMPEG4 549 if (((profile & (MPEG4ProfileAdvancedSimple | MPEG4ProfileSimple)) != 0) && in getMinLevelMPEG4() 550 profile != levelLimitsMPEG4.profile) continue; in getMinLevelMPEG4() 703 for (int profile : profiles) { in testValidateProfileLevel() 705 profile); in testValidateProfileLevel() [all …]
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaRecorderStressTest.java | 65 private static CamcorderProfile profile = field in MediaRecorderStressTest 90 CamcorderProfile profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_HIGH); in setUp() local 91 mVideoEncoder = profile.videoCodec; in setUp() 92 mAudioEncoder = profile.audioCodec; in setUp() 93 mFrameRate = profile.videoFrameRate; in setUp() 94 mVideoWidth = profile.videoFrameWidth; in setUp() 95 mVideoHeight = profile.videoFrameHeight; in setUp() 96 mBitRate = profile.videoBitRate; in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | HidDeviceActivity.java | 66 public void onServiceConnected(int profile, BluetoothProfile proxy) { 67 if (profile == BluetoothProfile.HID_DEVICE) { 72 public void onServiceDisconnected(int profile) { 73 if (profile == BluetoothProfile.HID_DEVICE) {
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
D | MediaBitstreamsDeviceSideTest.java | 94 int profile = -1, level = -1; in fixFormat() local 96 profile = CodecProfileLevel.VP9Profile2; in fixFormat() 99 profile = CodecProfileLevel.HEVCProfileMain10; in fixFormat() 102 profile = CodecProfileLevel.AV1ProfileMain10; in fixFormat() 109 format.setInteger(MediaFormat.KEY_PROFILE, profile); in fixFormat()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1248 CamcorderProfile profile = null; // Used for built-in camera in testLockUnlockByCamera() local 1255 profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_LOW); in testLockUnlockByCamera() 1256 setPreviewSizeByProfile(parameters, profile); in testLockUnlockByCamera() 1267 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera() 1285 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera() 1311 private void setPreviewSizeByProfile(Parameters parameters, CamcorderProfile profile) { in setPreviewSizeByProfile() argument 1313 parameters.setPreviewSize(profile.videoFrameWidth, in setPreviewSizeByProfile() 1314 profile.videoFrameHeight); in setPreviewSizeByProfile() 1379 private void recordVideo(CamcorderProfile profile, in recordVideo() argument 1387 recorder.setProfile(profile); in recordVideo() [all …]
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | HearingAidProfileTest.java | 273 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument 284 public void onServiceDisconnected(int profile) { in onServiceDisconnected() argument
|
/cts/tools/release-parser/tests/resources/ |
D | boot-framework.oat.pb.txt | 38 value: "speed-profile" 66 …--runtime-arg -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile --profile-file=out/tar…
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/ |
D | Android.bp | 16 // This allow us to have different device owner and profile owner, some APIs may behave differently
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 648 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument 649 return canDecodeVideo(mime, width, height, rate, profile, level, bitrate, (float)0.0); in canDecodeVideo() 654 Integer profile, Integer level, Integer bitrate, float decodeRate) { in canDecodeVideo() argument 657 if (profile != null) { in canDecodeVideo() 658 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 71 store.addResult("profile", profileLevel.profile); in collectDeviceInfo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 702 CamcorderProfile profile = CamcorderProfile.get(cameraId, possibleQuality[i]); in findRecordSize() local 704 profile.videoFrameWidth, profile.videoFrameHeight)); in findRecordSize()
|