Home
last modified time | relevance | path

Searched defs:workProfile (Results 1 – 25 of 45) sorted by relevance

12

/aosp_15_r20/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/
H A DUserRestrictionInstallTest.kt134 val workProfile = sDeviceState.workProfile() in <lambda>() constant
157 val workProfile = sDeviceState.workProfile() in <lambda>() constant
177 val workProfile = sDeviceState.workProfile() in <lambda>() constant
217 val workProfile = sDeviceState.workProfile() in <lambda>() constant
248 val workProfile = sDeviceState.workProfile() in <lambda>() constant
277 val workProfile = sDeviceState.workProfile() in <lambda>() constant
321 val workProfile = sDeviceState.workProfile() in <lambda>() constant
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/
H A DQuietModeTest.java109 UserReference workProfile = workProfile(sDeviceState); in startActivityInQuietProfile_quietModeDialogShown() local
144 UserReference workProfile = workProfile(sDeviceState); in quietMode_profileStopped() local
176 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_callerIsNotDefaultLauncher_throwsSecurityException() local
194 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_callerIsForegroundLauncher_success() local
212 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_callerHasModifyQuietModePermission_success() local
231 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_true_managedProfileUnavailableBroadcastSent() local
250 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_false_managedProfileAvailableBroadcastSent() local
269 UserReference workProfile = workProfile(sDeviceState); in requestQuietModeEnabled_false_credentialsSet_isNotDisabled() local
/aosp_15_r20/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
H A DEnterpriseComponent.kt285 fun workProfile(): UserReference { in workProfile() method
292 fun workProfile(forUser: UserType): UserReference { in workProfile() method
299 fun workProfile(forUser: UserReference): UserReference { in workProfile() method
H A DEnterpriseDeviceStateExtensions.kt43 fun DeviceState.workProfile(): UserReference = enterpriseComponent().workProfile() method
53 fun DeviceState.workProfile(forUser: UserType): UserReference = method
64 fun DeviceState.workProfile(forUser: UserReference): UserReference = method
/aosp_15_r20/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/domain/interactor/
DUserInteractorTest.kt45 val workProfile = Profile(WORK, workUser) constant
193 val workProfile = Profile(Profile.Type.WORK, workUser) in updateState() constant
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesSettings.java135 final UserHandle workProfile = getWorkProfile(userManager); in collectConfigurableApps() local
156 PackageManager packageManager, UserHandle personalProfile, UserHandle workProfile) { in getAllInstalledPackages()
177 UserHandle workProfile = getWorkProfile(userManager); in getNumberOfEnabledApps() local
DInteractAcrossProfilesDetails.java211 private void addAppTitleAndIcons(UserHandle personalProfile, UserHandle workProfile) { in addAppTitleAndIcons()
358 UserHandle workProfile = InteractAcrossProfilesSettings.getWorkProfile(userManager); in isInteractAcrossProfilesEnabled() local
/aosp_15_r20/cts/tests/tests/multiuser/src/android/multiuser/cts/
H A DUserManagerTest.java655 UserReference workProfile = workProfile(sDeviceState, /* forUser= */ ADDITIONAL_USER); in testRemoveParentUser_withProfiles() local
675 UserReference workProfile = workProfile(sDeviceState, /* forUser= */ ADDITIONAL_USER); in testRemoveUserOnlyProfile_ShouldNotRemoveAnyOtherUserInSameProfileGroupId() local
1113 UserReference workProfile = workProfile(sDeviceState); in setBootUser_providedUserIsNotSwitchable_nonHsum() local
1134 UserReference workProfile = workProfile(sDeviceState); in setBootUser_providedUserIsNotSwitchable_Hsum() local
/aosp_15_r20/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
H A DCrossUserSuspendTest.java90 UserReference workProfile = workProfile(sDeviceState); in suspendProfileActivityFromPrimary_verifyUnsuspendedBroadcast() local
126 UserReference workProfile = workProfile(sDeviceState); in suspendProfileActivityFromPrimary_withoutCrossUserFull_throws() local
/aosp_15_r20/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DProfileAvailabilityTest.kt37 private val workProfile = Profile(Profile.Type.WORK, workUser) constant in com.android.intentresolver.ProfileAvailabilityTest
DProfileHelperTest.kt41 private val workProfile = Profile(Profile.Type.WORK, workUser) constant in com.android.intentresolver.ProfileHelperTest
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/
H A DAnnouncementResolverTest.kt62 fun workProfile() = runTest { in <lambda>() method
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DProfileHelper.kt59 val workProfile = profiles.singleOrNull { it.type == Profile.Type.WORK } in <lambda>() constant
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAppsLinkPreferenceControllerTest.java226 UserInfo workProfile = new UserInfo(10, "Work Profile", 0); in testGetAppsBypassingDnd_withWorkProfile_includesProfileAndSorts() local
229 shadowOf(userManager).addProfile(mContext.getUserId(), 10, workProfile); in testGetAppsBypassingDnd_withWorkProfile_includesProfileAndSorts() local
DZenModeSummaryHelperTest.java80 UserInfo workProfile = new UserInfo(WORK_PROFILE_ID, "Work Profile", 0); in setup() local
83 shadowOf(userManager).addProfile(mContext.getUserId(), WORK_PROFILE_ID, workProfile); in setup() local
DZenModePrioritySendersPreferenceControllerTest.java1568 UserInfo workProfile = new UserInfo(mContext.getUserId() + 10, "Work Profile", 0); in contactsSettingsClick_multipleProfiles_showsProfileChooserDialog() local
1571 shadowOf(userManager).addProfile(mContext.getUserId(), workProfile.id, workProfile); in contactsSettingsClick_multipleProfiles_showsProfileChooserDialog() local
DZenHelperBackendTest.java80 UserInfo workProfile = new UserInfo(mUserId + 10, "Work Profile", 0); in addMainUserProfile() local
/aosp_15_r20/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListViewModel.java49 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessListViewModel() local
DSpecialAppAccessViewModel.java67 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessViewModel() local
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DWorkProfilePausedEmptyStateProvider.java68 Profile workProfile = requireNonNull(mProfileHelper.getWorkProfile()); in getEmptyState() local
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/
H A DDeviceTest.java116 UiObject2 workProfile = device.findObject(By.text(workPattern)); in testCVE_2023_20917() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCredentialManagerPreferenceController.java173 UserHandle workProfile = getWorkProfileUserHandle(); in getAvailabilityStatus() local
890 UserHandle workProfile = getWorkProfileUserHandle(); in getUser() local
/aosp_15_r20/out/soong/.intermediates/packages/modules/IntentResolver/IntentResolver-core/android_common/kapt/gen/stubs/com/android/intentresolver/
DProfileHelper.java36 private final com.android.intentresolver.shared.model.Profile workProfile = null; field in ProfileHelper
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
H A DCommunalSettingsInteractor.kt130 .flatMapLatest { workProfile -> in <lambda>() method
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
H A DCommunalWidgetRepositoryLocalImplTest.kt114 private val workProfile = UserHandle(10) constant

12