/aosp_15_r20/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/ |
H A D | UserRestrictionInstallTest.kt | 134 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 D | QuietModeTest.java | 109 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 D | EnterpriseComponent.kt | 285 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 D | EnterpriseDeviceStateExtensions.kt | 43 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/ |
D | UserInteractorTest.kt | 45 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/ |
D | InteractAcrossProfilesSettings.java | 135 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
|
D | InteractAcrossProfilesDetails.java | 211 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 D | UserManagerTest.java | 655 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 D | CrossUserSuspendTest.java | 90 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/ |
D | ProfileAvailabilityTest.kt | 37 private val workProfile = Profile(Profile.Type.WORK, workUser) constant in com.android.intentresolver.ProfileAvailabilityTest
|
D | ProfileHelperTest.kt | 41 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 D | AnnouncementResolverTest.kt | 62 fun workProfile() = runTest { in <lambda>() method
|
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ProfileHelper.kt | 59 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/ |
D | ZenModeAppsLinkPreferenceControllerTest.java | 226 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
|
D | ZenModeSummaryHelperTest.java | 80 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
|
D | ZenModePrioritySendersPreferenceControllerTest.java | 1568 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
|
D | ZenHelperBackendTest.java | 80 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/ |
D | SpecialAppAccessListViewModel.java | 49 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessListViewModel() local
|
D | SpecialAppAccessViewModel.java | 67 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessViewModel() local
|
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/ |
D | WorkProfilePausedEmptyStateProvider.java | 68 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 D | DeviceTest.java | 116 UiObject2 workProfile = device.findObject(By.text(workPattern)); in testCVE_2023_20917() local
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceController.java | 173 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/ |
D | ProfileHelper.java | 36 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 D | CommunalSettingsInteractor.kt | 130 .flatMapLatest { workProfile -> in <lambda>() method
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
H A D | CommunalWidgetRepositoryLocalImplTest.kt | 114 private val workProfile = UserHandle(10) constant
|