Home
last modified time | relevance | path

Searched refs:profiles (Results 1 – 25 of 26) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUserManagerTest.java51 List<UserHandle> profiles = mUserManager.getAllProfiles(); in testGetAllProfiles() local
52 assertThat(profiles).hasSize(2); in testGetAllProfiles()
53 assertThat(profiles).contains(Process.myUserHandle()); in testGetAllProfiles()
63 List<UserHandle> profiles = mUserManager.getAllProfiles(); in testCreateProfile_managedProfile() local
64 assertThat(profiles).contains(newProfile); in testCreateProfile_managedProfile()
DActivePasswordSufficientForDeviceTest.java88 var profiles = UserManager.get(mContext).getUserProfiles(); in getParentUserId() local
89 var otherProfileIds = profiles.stream() in getParentUserId()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingTestOnMockModem.java220 List<SrvccCall> profiles = new ArrayList<>(); in testSrvccActiveCall() local
232 profiles.add(srvccProfile); in testSrvccActiveCall()
235 verifySrvccTypeFiltered(bundle, profiles, effectiveProfiles); in testSrvccActiveCall()
237 profiles.clear(); in testSrvccActiveCall()
342 List<SrvccCall> profiles = new ArrayList<>(); in testSrvccIncomingCall() local
354 profiles.add(srvccProfile); in testSrvccIncomingCall()
356 verifySrvccTypeFiltered(bundle, profiles, effectiveProfiles); in testSrvccIncomingCall()
367 verifySrvccTypeFiltered(bundle, profiles, effectiveProfiles); in testSrvccIncomingCall()
369 profiles.clear(); in testSrvccIncomingCall()
398 List<SrvccCall> profiles = new ArrayList<>(); in testSrvccPreAlertingIncomingCall() local
[all …]
DTestMmTelFeature.java397 public void notifySrvccCall(List<SrvccCall> profiles) { in notifySrvccCall() argument
399 mSrvccStartedCallback.accept(profiles); in notifySrvccCall()
/cts/hostsidetests/compilation/assets/
DREADME.txt8 $ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof
10 $ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java85 CddRequirements(int[] profiles, int level, int width, int height) { in CddRequirements() argument
86 mProfiles = profiles; in CddRequirements()
92 CddRequirements(int[] profiles) { in CddRequirements() argument
93 this(profiles, -1 /* level */, -1 /* width */, -1 /* height */); in CddRequirements()
96 CddRequirements(int[] profiles, int level) { in CddRequirements() argument
97 this(profiles, level, -1 /* width */, -1 /* height */); in CddRequirements()
122 private static List<Object[]> prepareTestArgs(Object[] arg, int[] profiles, int colorFormat) { in prepareTestArgs() argument
161 colorFormat, maxBframe, profiles, level); in prepareTestArgs()
171 testArgs[1] = getAudioEncoderCfgParams(mediaType, br, param1, param2, profiles); in prepareTestArgs()
179 int width, int height, int frameRate, int colorFormat, int maxBframe, int[] profiles, in getVideoEncoderCfgParams() argument
[all …]
DEncoderLevelTest.java73 int width, int height, int frameRate, int colorFormat, int[] profiles, int level) { in getVideoEncoderCfgParams() argument
75 for (int profile : profiles) { in getVideoEncoderCfgParams()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java178 List<UserHandle> profiles = mLauncherApps.getProfiles(); in testGetProfiles_fromMainProfile() local
179 assertThat(profiles).hasSize(2); in testGetProfiles_fromMainProfile()
180 assertThat(profiles).contains(myUserHandle()); in testGetProfiles_fromMainProfile()
181 assertThat(profiles).containsExactlyElementsIn(mUserManager.getUserProfiles()); in testGetProfiles_fromMainProfile()
186 final List<UserHandle> profiles = mLauncherApps.getProfiles(); in testGetProfiles_fromManagedProfile() local
187 assertThat(profiles).containsExactly(myUserHandle()); in testGetProfiles_fromManagedProfile()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java450 List<Integer> profiles = new ArrayList<>(); in testFindDecoderWithAacProfile() local
451 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectLC); in testFindDecoderWithAacProfile()
452 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectHE); in testFindDecoderWithAacProfile()
453 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectHE_PS); in testFindDecoderWithAacProfile()
455 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectELD); in testFindDecoderWithAacProfile()
456 for (int profile : profiles) { in testFindDecoderWithAacProfile()
467 List<Integer> profiles = new ArrayList<>(); in testFindEncoderWithAacProfile() local
469 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectLC); in testFindEncoderWithAacProfile()
471 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectHE); in testFindEncoderWithAacProfile()
472 profiles.add(MediaCodecInfo.CodecProfileLevel.AACObjectELD); in testFindEncoderWithAacProfile()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java311 Set<UserReference> profiles = findProfilesOfType(userType, parent);
313 if (profiles.isEmpty()) {
315 } else if (profiles.size() > 1) {
317 + "type " + userType + " with parent " + parent + ". Found: " + profiles);
320 return profiles.iterator().next();
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccProfileInfoTest.java255 EuiccProfileInfo[] profiles = EuiccProfileInfo.CREATOR.newArray(123); in testCreatorNewArray() local
256 assertEquals(123, profiles.length); in testCreatorNewArray()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java279 ColorSpaceProfiles profiles, String protoName) throws Exception { in storeColorSpaceProfiles() argument
287 Set<ColorSpace.Named> supportedColorSpaces = profiles.getSupportedColorSpaces( in storeColorSpaceProfiles()
292 profiles.getSupportedImageFormatsForColorSpace(colorSpace); in storeColorSpaceProfiles()
298 profiles.getSupportedDynamicRangeProfiles(colorSpace, imageFormat); in storeColorSpaceProfiles()
331 DynamicRangeProfiles profiles, String protoName) throws Exception { in storeDynamicRangeProfiles() argument
338 profiles.getSupportedProfiles().stream().mapToLong(Long::longValue).toArray()); in storeDynamicRangeProfiles()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioDataImpl.java187 public void setDataProfile(int serial, DataProfileInfo[] profiles) { in setDataProfile() argument
191 mMockDataService.setDataProfileInfo(profiles); in setDataProfile()
/cts/hostsidetests/dexmetadata/host/
DREADME.md29 The DM files contain profiles, whose headers have the dex checksums that need to
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackSurroundTest.java119 List<AudioProfile> profiles = audioManager.getDirectProfilesForAttributes(mAudioAttributes); in scanProfilesForEncodings() local
120 if (profiles.size() == 0) { in scanProfilesForEncodings()
123 for (AudioProfile profile : profiles) { in scanProfilesForEncodings()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java426 DynamicRangeProfiles profiles = staticMeta.getCharacteristics().get( in getDynamicRangeProfile() local
428 Set<Long> availableProfiles = profiles.getSupportedProfiles(); in getDynamicRangeProfile()
1558 EncoderProfiles profiles = CamcorderProfile.getAll(mCamera.getId(), profileId); in basicRecordingTestByCamera() local
1559 for (EncoderProfiles.VideoProfile videoProfile : profiles.getVideoProfiles()) { in basicRecordingTestByCamera()
1561 for (EncoderProfiles.AudioProfile audioProfile : profiles.getAudioProfiles()) { in basicRecordingTestByCamera()
1563 doBasicRecordingByProfile(profiles, videoProfile, audioProfile, in basicRecordingTestByCamera()
1573 doBasicRecordingByProfile(profiles, videoProfile, /* audioProfile */null, in basicRecordingTestByCamera()
1616 EncoderProfiles profiles, in doBasicRecordingByProfile() argument
1640 setupMediaRecorder(profiles, videoProfile, audioProfile); in doBasicRecordingByProfile()
2202 EncoderProfiles profiles, in setupMediaRecorder() argument
[all …]
DFeatureCombinationTest.java299 DynamicRangeProfiles profiles = characteristics.get( in verifyCombinationStreaming() local
302 profiles.getProfileCaptureRequestConstraints(dynamicProfile); in verifyCombinationStreaming()
DRobustnessTest.java698 DynamicRangeProfiles profiles = mStaticInfo.getCharacteristics().get( in testMandatory10BitStreamCombinations() local
700 assertNotNull(profiles); in testMandatory10BitStreamCombinations()
704 for (Long profile : profiles.getSupportedProfiles()) { in testMandatory10BitStreamCombinations()
708 testMandatory10BitStreamCombination(id, combination, profiles, in testMandatory10BitStreamCombinations()
719 profiles.getSupportedProfiles()); in testMandatory10BitStreamCombinations()
720 testMandatory10BitStreamCombination(id, combination, profiles, testProfiles); in testMandatory10BitStreamCombinations()
729 MandatoryStreamCombination combination, DynamicRangeProfiles profiles, in testMandatory10BitStreamCombination() argument
774 Set<Long> newLimitations = profiles.getProfileCaptureRequestConstraints( in testMandatory10BitStreamCombination()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java604 EncoderProfiles profiles = CamcorderProfile.getAll( in calculateBitrate() local
606 if (profiles == null) continue; in calculateBitrate()
608 List<EncoderProfiles.VideoProfile> videoProfiles = profiles.getVideoProfiles(); in calculateBitrate()
DItsService.java2590 StringBuilder profiles = new StringBuilder();
2592 appendSupportProfile(profiles, entry.getValue(), entry.getKey(), cameraId);
2594 mSocketRunnableObj.sendResponse("supportedVideoQualities", profiles.toString());
2646 private void appendSupportProfile(StringBuilder profiles, String name, int profile,
2649 profiles.append(name).append(':').append(profile).append(';');
2805 DynamicRangeProfiles profiles = mCameraCharacteristics.get(
2807 assert ((profiles != null) &&
2808 profiles.getSupportedProfiles().contains(DynamicRangeProfiles.HLG10));
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java113 int[] profiles = (int[]) param[1]; in flattenParams() local
117 for (int profile : profiles) { in flattenParams()
/cts/tests/mediapc/src/android/mediapc/cts/
DVideoCodecRequirementsTest.java221 int[] profiles = {AV1ProfileMain8, AV1ProfileMain10}; in testAVIFHwDecoderRequirements() local
223 for (int profile : profiles) { in testAVIFHwDecoderRequirements()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java168 List<UserHandle> profiles = userManager.getUserProfiles(); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local
169 final int profileCount = profiles.size(); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
171 UserHandle profile = profiles.get(i); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java857 DynamicRangeProfiles profiles = mCharacteristics.get( in getAvailableDynamicRangeProfilesChecked() local
860 if (profiles == null) { in getAvailableDynamicRangeProfilesChecked()
864 return profiles.getSupportedProfiles(); in getAvailableDynamicRangeProfilesChecked()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java580 Set<Long> profiles = in isHDRCaptureSupported() local
583 if (profiles.contains(DynamicRangeProfiles.HLG10)) return true; in isHDRCaptureSupported()

12