Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUserManagerTest.java59 List<UserHandle> profiles = mUserManager.getAllProfiles(); in testGetAllProfiles() local
60 assertThat(profiles).hasSize(2); in testGetAllProfiles()
61 assertThat(profiles).contains(Process.myUserHandle()); in testGetAllProfiles()
71 List<UserHandle> profiles = mUserManager.getAllProfiles(); in testCreateProfile_managedProfile() local
72 assertThat(profiles).contains(newProfile); in testCreateProfile_managedProfile()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSipManagerTest.java66 List<SipProfile> profiles = mSipManager.getProfiles(); in testGetProfiles() local
67 assertEquals(2, profiles.size()); in testGetProfiles()
68 assertTrue(profiles.get(0).getUriString().contains(SIP_URI2)); in testGetProfiles()
69 assertTrue(profiles.get(1).getUriString().contains(SIP_URI1)); in testGetProfiles()
/cts/hostsidetests/compilation/assets/
DREADME.txt9 $ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof
11 $ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java244 Set<UserReference> profiles = findProfilesOfType(userType, parent); in findProfileOfType() local
246 if (profiles.isEmpty()) { in findProfileOfType()
248 } else if (profiles.size() > 1) { in findProfileOfType()
250 + "type " + userType + " with parent " + parent + ". Found: " + profiles); in findProfileOfType()
253 return profiles.iterator().next(); in findProfileOfType()
/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/src/android/media/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/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccProfileInfoTest.java235 EuiccProfileInfo[] profiles = EuiccProfileInfo.CREATOR.newArray(123); in testCreatorNewArray() local
236 assertEquals(123, profiles.length); in testCreatorNewArray()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1168 EncoderProfiles profiles = CamcorderProfile.getAll(mCamera.getId(), profileId); in basicRecordingTestByCamera() local
1169 for (EncoderProfiles.VideoProfile videoProfile : profiles.getVideoProfiles()) { in basicRecordingTestByCamera()
1171 for (EncoderProfiles.AudioProfile audioProfile : profiles.getAudioProfiles()) { in basicRecordingTestByCamera()
1173 doBasicRecordingByProfile(profiles, videoProfile, audioProfile, in basicRecordingTestByCamera()
1183 doBasicRecordingByProfile(profiles, videoProfile, /* audioProfile */null, in basicRecordingTestByCamera()
1226 EncoderProfiles profiles, in doBasicRecordingByProfile() argument
1250 setupMediaRecorder(profiles, videoProfile, audioProfile); in doBasicRecordingByProfile()
1811 EncoderProfiles profiles, in setupMediaRecorder() argument
1817 mMediaRecorder.setOutputFormat(profiles.getRecommendedFileFormat()); in setupMediaRecorder()
/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java691 int[] profiles = mProfileMap.get(mMime); in testValidateProfileLevel() local
692 assertTrue("no profile entry found for mime" + mMime, profiles != null); in testValidateProfileLevel()
711 for (int profile : profiles) { in testValidateProfileLevel()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java144 List<UserHandle> profiles = userManager.getUserProfiles(); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local
145 final int profileCount = profiles.size(); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
147 UserHandle profile = profiles.get(i); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()