/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | NewUserResponseTest.java | 41 assertThat(response.getUser()).isEqualTo(userHandle); in testNewUserResponseSuccessful() 57 assertThat(response.getUser()).isNull(); in testNewUserResponseUnsuccessful()
|
D | UserVisibilityTest.java | 87 assertWithMessage("isUserVisible() for current user (id=%s)", sContext.getUser()) in testIsUserVisible_currentUser() 95 assertWithMessage("isUserVisible() for background user (id=%s)", sContext.getUser()) in testIsUserVisible_backgroundUser() 105 sContext.getUser()).that(mUserManager.isUserVisible()).isTrue(); in testIsUserVisible_startedProfileOfCurrentUser() 117 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() + ")"); in testIsUserVisible_stoppedProfileOfCurrentUser() 181 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() + ")"); in testGetVisibleUsers_stoppedProfileOfCurrentUser()
|
D | UserVisibilityVisibleBackgroundUsersTestCase.java | 230 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay() 246 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() + ")"); in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay() 279 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay_HSUM()
|
D | UserManagerTest.java | 299 assertWithMessage("isUserForeground() for bg user (%s)", sContext.getUser()) in testIsUserForeground_backgroundUser() 307 assertWithMessage("isUserForeground() for profile(%s) of current user", sContext.getUser()) in testIsUserForeground_profileOfCurrentUser() 364 Log.d(TAG, "Stopping profile " + profile + " (called from " + sContext.getUser() + ")"); in testIsUserRunning_stoppedProfileOfCurrentUser() 381 + " (called from " + sContext.getUser() + ")"); in testIsUserRunning_stoppedSecondaryUser() 858 user = mUserManager.createUser(newUserRequest()).getUser(); in testSomeUserHasAccount() 876 usersCreated.push(response.getUser()); in testSomeUserHasAccount_shouldIgnoreToBeRemovedUsers() 906 user = response.getUser(); in testCreateUser_withNewUserRequest_shouldCreateUserWithCorrectProperties() 942 user1 = response1.getUser(); in testCreateUser_withNewUserRequest_shouldNotAllowDuplicateUserAccounts() 949 user2 = response2.getUser(); in testCreateUser_withNewUserRequest_shouldNotAllowDuplicateUserAccounts() 996 usersCreated.push(mUserManager.createUser(request).getUser()); in testGetRemainingCreatableUserCount() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarServiceHelperServiceUpdatableTest.java | 127 int userId = response.getUser().getIdentifier(); in testSendUserLifecycleEventAndOnUserCreated() 140 userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserCreated() 175 int userId = response.getUser().getIdentifier(); in testSendUserLifecycleEventAndOnUserRemoved() 183 userRemoved = userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserRemoved() 197 userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserRemoved()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 293 sbn.getUser()); in testAdjustNotification_userSentimentKey() 319 sbn.getUser()); in testAdjustNotification_proposedImportanceKey() 344 sbn.getUser()); in testAdjustNotification_sensitiveContentKey() 371 sbn.getUser()); in testAdjustNotification_importanceKey() 408 "", sbn1.getUser()); in testAdjustNotifications_rankingScoreKey() 412 "", sbn2.getUser()); in testAdjustNotifications_rankingScoreKey() 457 sbn.getUser()); in testAdjustNotification_smartActionKey() 497 sbn.getUser()); in testAdjustNotification_smartReplyKey() 530 sbn.getUser()); in testAdjustNotification_typeKey() 546 sbn.getUser()); in testAdjustNotification_typeKey() [all …]
|
D | AdjustmentTest.java | 49 assertEquals(ADJ_USER.getIdentifier(), adjustment.getUser()); in testOtherConstructor()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | GenericManagerImpl.java | 33 mUser = String.valueOf(context.getUser().getIdentifier()); in GenericManagerImpl()
|
/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/ |
D | BiometricsAtomsTests.java | 208 assertThat(atom.getUser()).isEqualTo(getDevice().getCurrentUser()); in assertEnrollmentAtomData() 215 assertThat(atom.getUser()).isEqualTo(getDevice().getCurrentUser()); in assertUnenrollmentAtomData() 223 assertThat(atom.getUser()).isEqualTo(getDevice().getCurrentUser()); in assertEnumerationAtomData() 236 assertThat(atom.hasUser() && atom.getUser() == getDevice().getCurrentUser()).isTrue(); in assertEnrollmentAcquiredAtomsData() 317 assertThat(atom.getUser()).isEqualTo(getDevice().getCurrentUser()); in assertAuthenticateAtomData() 334 assertThat(atom.hasUser() && atom.getUser() == getDevice().getCurrentUser()).isTrue(); in assertAuthenticateAcquiredAtomsData()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | AppSearchSessionPlatformCtsTest.java | 76 UserHandle user = context.getUser(); in testStorageAttributedToSelf_withDocument() 114 UserHandle user = context.getUser(); in testStorageAttributedToSelf_withoutDocument()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DevicePolicyManagerTest.java | 115 TestApis.context().instrumentationContext().getUser())).isEmpty(); in getPolicyManagedProfiles_noManagedProfiles_returnsEmptyList() 125 TestApis.context().instrumentationContext().getUser())) in getPolicyManagedProfiles_hasWorkProfile_returnsWorkProfileUser() 138 TestApis.context().instrumentationContext().getUser())) in getPolicyManagedProfiles_hasManagedProfileNoProfileOwner_returnsEmptyList() 150 TestApis.context().instrumentationContext().getUser())); in getPolicyManagedProfiles_noPermission_returnsEmptyList()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 77 doReturn(originalLai.getUser()).when(lai).getUser(); in testIntentSenderNotCreatedForWrongActivity()
|
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/ |
D | VoiceInteractionCompatTests.java | 61 context.getUser())).isTrue(); in enforceHotwordPhraseIdEnabled() 97 context.getUser())).isFalse(); in enforceHotwordPhraseIdDisabled()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UserHelper.java | 72 .getUser(); in UserHelper() 151 public UserHandle getUser() { in getUser() method in UserHelper
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LauncherActivityStub.java | 61 Log.d(TAG, "onCreate() user=" + getUser() + ", display=" + getDisplayId()); in onCreate()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchStorageAugmenterDeviceTest.java | 51 UserHandle user = context.getUser(); in testReadStorageInfo()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | StatusBarNotificationTest.java | 79 assertEquals(mUserHandle, mSbn.getUser()); in testGetUser() 204 assertEquals(mUserHandle, clone.getUser()); in testClone()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | UserManagerHelperHeavyTest.java | 155 mUserToRemove = response.getUser(); in createGuestUser() 167 mUserToRemove = response.getUser(); in createSecondaryUser()
|
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/ |
D | UninstallationTestBase.java | 243 extraIntent.putExtra(Intent.EXTRA_USER, context.getUser()); in getUninstallResultAndStartConfirmedActivityForUser() 302 intent.putExtra(Intent.EXTRA_USER, context.getUser()); in startUninstallationViaIntentForUser() 321 getContext().startActivityAsUser(intent, context.getUser()); in startUninstallationViaIntentActionUninstallPackageForUser()
|
D | PackageInstallerCujTestBase.java | 618 + context.getUser()); in isInstalled() 624 + context.getUser() + ": " + e); in isInstalled() 644 + getContext().getUser() + ", with version code " + versionCode); in isInstalledAndVerifyVersionCode() 651 + getContext().getUser() + ": " + e); in isInstalledAndVerifyVersionCode()
|
/cts/tests/app/src/android/app/cts/ |
D | LauncherActivityTest.java | 54 Log.d(TAG, "setUp(): user=" + mActivity.getUser() in setUp()
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 154 assertThat(activity.getUser()).isEqualTo(mUser); in testSimpleAppInstalledForUser() 298 if (!activity.getUser().equals(mUser)) { in testNoSystemAppHasSyntheticAppDetailsActivityInjected() 347 UserHandle user = activity.getUser(); in assertActivityInjected() 500 if (!activity.getUser().equals(mUser)) { in assertInjectedActivityNotFound()
|
/cts/tests/backup/src/android/backup/cts/ |
D | PermissionTest.java | 426 flag, flag, sContext.getUser())); in setFlag() 432 flag, 0, sContext.getUser())); in clearFlag() 439 sContext.getUser())) & flag) == flag; in isFlagSet()
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | UninstallMultiUserTest.kt | 61 val testUser = UserReference.of(context.getUser()) in startUninstallAllUsersCrossUser()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DocumentsUIUsedContentApiTest.java | 65 .getUser()).isEqualTo(user); in testCreatePackageContextAsUser()
|