Home
last modified time | relevance | path

Searched refs:profileId (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWipeDataNotificationTest.java27 final int profileId = getProfileId(); in testWipeDataWithReasonVerification() local
28 assertTrue("Invalid profileId", profileId > 0); in testWipeDataWithReasonVerification()
32 sendWipeProfileBroadcast(WipeDataReceiver.ACTION_WIPE_DATA_WITH_REASON, profileId); in testWipeDataWithReasonVerification()
40 final int profileId = getProfileId(); in testWipeDataWithEmptyReasonVerification() local
41 assertTrue("Invalid profileId", profileId > 0); in testWipeDataWithEmptyReasonVerification()
45 sendWipeProfileBroadcast(WipeDataReceiver.ACTION_WIPE_DATA, profileId); in testWipeDataWithEmptyReasonVerification()
53 int profileId = getProfileId(); in testWipeDataWithoutReasonVerification() local
54 assertTrue("Invalid profileId", profileId > 0); in testWipeDataWithoutReasonVerification()
57 sendWipeProfileBroadcast(WipeDataReceiver.ACTION_WIPE_DATA_WITHOUT_REASON, profileId); in testWipeDataWithoutReasonVerification()
65 int profileId = -1; in getProfileId() local
[all …]
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java44 final int profileId = createProfile(getPrimaryUserId()); in testManagedUser() local
51 getDevice().startUser(profileId, /* wait */ true); in testManagedUser()
52 installAppAsUser(TARGET_APK, profileId); in testManagedUser()
57 "test03_createShortuctsOnManagedProfile", profileId); in testManagedUser()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DApnSettingTest.java95 int profileId = 9; in testBuilderGet() local
131 .setProfileId(profileId) in testBuilderGet()
141 assertEquals(profileId, apnSettingUT.getProfileId()); in testBuilderGet()
168 int profileId = 9; in testBuilderGetWithFlagEnabled() local
205 .setProfileId(profileId) in testBuilderGetWithFlagEnabled()
216 assertEquals(profileId, apnSettingUT.getProfileId()); in testBuilderGetWithFlagEnabled()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java863 for (int profileId : mCamcorderProfileList) { in testRecordingFramerateLowToHigh()
864 if (!CamcorderProfile.hasProfile(cameraId, profileId)) { in testRecordingFramerateLowToHigh()
867 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh()
869 minFpsProfileId = profileId; in testRecordingFramerateLowToHigh()
873 maxFpsProfileId = profileId; in testRecordingFramerateLowToHigh()
979 for (int profileId : mCamcorderProfileList) { in doRecordingWithDifferentPreviewSizes()
980 if (!CamcorderProfile.hasProfile(cameraId, profileId)) { in doRecordingWithDifferentPreviewSizes()
983 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in doRecordingWithDifferentPreviewSizes()
992 if (allowedUnsupported(cameraId, profileId)) { in doRecordingWithDifferentPreviewSizes()
1002 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId + in doRecordingWithDifferentPreviewSizes()
[all …]
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DEnterpriseContactsMultiUserTest.java94 int profileId = device.createUser("Test User"); in createSecondaryUser() local
95 assertThat(device.startUser(profileId)).isTrue(); in createSecondaryUser()
96 return profileId; in createSecondaryUser()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockDataService.java154 Log.d(mTag, "setDataProfileInfo: profileId=" + dp.profileId + ", " + dp.apn); in setDataProfileInfo()
164 Log.d(mTag, "setInitialAttachProfile: profileId=" + dataProfileInfo.profileId); in setInitialAttachProfile()
166 mInitialAttachProfileId = dataProfileInfo.profileId; in setInitialAttachProfile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1046 int profileId = cmdObj.getInt("profileId"); in processSocketCommand() local
1054 doBasicRecording(cameraId, profileId, quality, recordingDuration, in processSocketCommand()
1067 int profileId = cmdObj.getInt("profileId"); in processSocketCommand() local
1068 doCheckHLG10SupportForProfile(cameraId, profileId); in processSocketCommand()
1755 for (int profileId : CAMCORDER_PROFILE_QUALITIES_MAP.keySet()) {
1756 if (CamcorderProfile.hasProfile(cameraDeviceId, profileId)) {
1757 CamcorderProfile profile = CamcorderProfile.get(cameraDeviceId, profileId);
1759 throw new ItsException("Invalid camcorder profile for id " + profileId);
1799 private void doCheckHLG10SupportForProfile(String cameraId, int profileId) throws ItsException {
1803 CamcorderProfile camcorderProfile = getCamcorderProfile(cameraDeviceId, profileId);
[all …]
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java3361 for (int profileId: mCamcorderProfileList) { in testVideoSnapshotByCamera()
3362 if (!CamcorderProfile.hasProfile(cameraId, profileId)) { in testVideoSnapshotByCamera()
3368 profileId); in testVideoSnapshotByCamera()