/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppEvents.kt | 132 ActivityCreatedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 135 ActivityDestroyedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 138 ActivityPausedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 141 ActivityRestartedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 144 ActivityResumedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 147 ActivityStartedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 150 ActivityStoppedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 153 BroadcastReceivedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 156 DeviceAdminBugreportFailedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) 159 DeviceAdminBugreportSharedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user()) [all …]
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/ |
D | ActivityEventsImpl.java | 44 .onUser(mUser); in activityCreated() 52 .onUser(mUser); in activityDestroyed() 60 .onUser(mUser); in activityPaused() 68 .onUser(mUser); in activityRestarted() 76 .onUser(mUser); in activityResumed() 85 .onUser(mUser); in activityStarted() 94 .onUser(mUser); in activityStopped()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ProfileOwnerTest.kt | 47 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 68 onUser = UserType.ANY, allowPreCreatedAccounts = false, failureMode = FailureMode.SKIP) in <lambda>() 87 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 88 @EnsureHasAccount(features = [FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>() 106 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 107 @EnsureHasAccount(features = [], onUser = UserType.INITIAL_USER) in <lambda>() 141 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 142 @EnsureHasAccount(features = [FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>() 176 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 177 @EnsureHasAccount(features = [FEATURE_ALLOW, FEATURE_DISALLOW], onUser = UserType.INITIAL_USER) in <lambda>() [all …]
|
D | DeviceOwnerTest.kt | 129 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 151 onUser = UserType.ANY, in <lambda>() 175 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 176 @EnsureHasAccount(features = [], onUser = UserType.ADDITIONAL_USER) in <lambda>() 210 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 211 @EnsureHasAccount(features = [FEATURE_DISALLOW], onUser = UserType.ADDITIONAL_USER) in <lambda>() 243 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 246 onUser = UserType.ADDITIONAL_USER in <lambda>() 279 @EnsureHasNoAccounts(onUser = UserType.ANY) in <lambda>() 280 @EnsureHasAccount(features = [FEATURE_ALLOW], onUser = UserType.ADDITIONAL_USER) in <lambda>() [all …]
|
D | DeviceManagementCoexistenceTest.java | 162 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 185 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 216 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 260 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 287 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 314 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 342 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 364 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 385 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) 410 @EnsureHasDevicePolicyManagerRoleHolder(onUser = UserType.SYSTEM_USER) [all …]
|
D | DevicePolicyManagementRoleHolderTest.java | 113 @EnsureHasDevicePolicyManagerRoleHolder(onUser = SYSTEM_USER) 191 @EnsureHasNoAccounts(onUser = ANY) 208 @EnsureHasNoAccounts(onUser = ANY) 229 @EnsureHasNoAccounts(onUser = ANY) 249 @EnsureHasAccount(onUser = ADDITIONAL_USER, features = {}) 267 @EnsureHasAccount(onUser = ADDITIONAL_USER, features = FEATURE_ALLOW)
|
D | UserTest.kt | 114 onUser = UserType.ADMIN_USER in <lambda>() 121 @EnsureDoesNotHaveUserRestriction(DISALLOW_REMOVE_USER, onUser = UserType.ANY) in <lambda>() 134 onUser = UserType.ADMIN_USER in <lambda>() 225 onUser = UserType.ADMIN_USER in <lambda>() 239 onUser = UserType.ADMIN_USER in <lambda>()
|
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/ |
D | UserRestrictionInstallTest.kt | 129 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>() 130 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>() 153 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>() 154 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>() 172 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>() 173 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>() 192 @EnsureHasUserRestriction(value = DISALLOW_DEBUGGING_FEATURES, onUser = UserType.WORK_PROFILE) in <lambda>() 193 @EnsureDoesNotHaveUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>() 209 @EnsureHasUserRestriction(value = DISALLOW_INSTALL_APPS, onUser = UserType.WORK_PROFILE) in <lambda>() 212 onUser = UserType.WORK_PROFILE in <lambda>() [all …]
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/ |
D | RequireGmsBuild.java | 33 @RequirePackageInstalled(value = GMS_CORE_PACKAGE, onUser = UserType.ANY) 34 @RequirePackageInstalled(value = PLAY_STORE_PACKAGE, onUser = UserType.ANY) 35 @RequirePackageInstalled(value = GSF_PACKAGE, onUser = UserType.ANY)
|
D | RequireAospBuild.java | 33 @RequirePackageNotInstalled(value = GMS_CORE_PACKAGE, onUser = UserType.ANY) 34 @RequirePackageNotInstalled(value = PLAY_STORE_PACKAGE, onUser = UserType.ANY) 35 @RequirePackageNotInstalled(value = GSF_PACKAGE, onUser = UserType.ANY)
|
D | EnsureHasTestContentSuggestionsService.java | 40 UserType onUser() default INSTRUMENTED_USER; in onUser() method
|
D | EnsureDefaultContentSuggestionsServiceDisabled.java | 40 UserType onUser() default INSTRUMENTED_USER; in onUser() method
|
D | EnsureDefaultContentSuggestionsServiceEnabled.java | 40 UserType onUser() default INSTRUMENTED_USER; in onUser() method
|
D | EnsureDoesNotHaveUserRestriction.java | 43 UserType onUser() default UserType.INSTRUMENTED_USER; in onUser() method
|
D | EnsurePackageNotInstalled.java | 44 UserType onUser() default UserType.INSTRUMENTED_USER; in onUser() method
|
D | EnsureHasAccountAuthenticator.java | 41 UserType onUser() default INSTRUMENTED_USER; in onUser() method
|
D | EnsureSecureSettingSet.java | 34 UserType onUser() default UserType.INSTRUMENTED_USER; in onUser() method
|
D | RequirePackageNotInstalled.java | 44 UserType onUser() default UserType.INSTRUMENTED_USER; in onUser() method
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 514 ensureDefaultContentSuggestionsServiceEnabledAnnotation.onUser(), 523 ensureDefaultContentSuggestionsServiceDisabledAnnotation.onUser(), 531 ensureHasTestContentSuggestionsServiceAnnotation.onUser()); 596 resolveUserTypeToUser(ensureTestAppInstalledAnnotation.onUser()), 674 requirePackageInstalledAnnotation.onUser(), 682 requirePackageNotInstalledAnnotation.onUser(), 691 ensurePackageNotInstalledAnnotation.onUser() 730 ensureSecureSettingSetAnnotation.onUser(), 781 ensureHasAccountAuthenticator(ensureHasAccountAuthenticatorAnnotation.onUser()); 787 ensureHasAccountAnnotation.onUser(), [all …]
|
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/ |
D | IncludeRunOnDevicePolicyManagementRoleHolderProfile.java | 45 @EnsureHasNoProfileOwner(onUser = INITIAL_USER) 46 @EnsureHasNoProfileOwner(onUser = SYSTEM_USER) 48 @EnsureHasDevicePolicyManagerRoleHolder(onUser = INITIAL_USER, isPrimary = true)
|
D | IncludeRunOnDevicePolicyManagementRoleHolderSecondaryUser.java | 42 @EnsureHasNoDpc(onUser = ANY) 43 @EnsureHasDevicePolicyManagerRoleHolder(onUser = SYSTEM_USER, isPrimary = true)
|
/cts/tests/tests/accounts/multiuser/src/test/android/accounts/cts/multiuser/ |
D | AccountManagerTest.java | 53 @EnsureHasAccount(onUser = ADDITIONAL_USER, features = "feature") 69 @EnsureHasAccount(onUser = ADDITIONAL_USER, features = "feature") 84 @EnsureHasAccount(onUser = ADDITIONAL_USER, features = {})
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | EventLogsQuery.java | 91 public F onUser(UserHandle userHandle) { in onUser() method in EventLogsQuery 100 public F onUser(UserReference userReference) { in onUser() method in EventLogsQuery 101 return onUser(userReference.userHandle()); in onUser()
|
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/ |
D | ProfileOwnersComponent.kt | 68 val user: UserReference = deviceState.resolveUserTypeToUser(onUser) in <lambda>() 197 fun profileOwner(onUser: UserReference): RemoteDpc { in <lambda>() 198 check(profileOwners.containsKey(onUser)) { in <lambda>() 202 val profileOwner = profileOwners[onUser] in <lambda>()
|
D | EnterpriseAnnotationExecutor.kt | 47 annotation.onUser, in applyAnnotation() 66 profileOwnersComponent.ensureHasNoProfileOwner(annotation.onUser) in applyAnnotation()
|