/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/ |
D | UserReferenceTest.java | 111 UserReference user = sDeviceState.additionalUser(); in remove_userExists_removesUser() local 156 UserReference user = sDeviceState.additionalUser().stop(); in start_onDisplay_notSupported_throwsException() local 169 UserReference user = sDeviceState.additionalUser().stop(); in start_onDisplay_success() local 187 UserReference user = sDeviceState.additionalUser().stop(); in start_onDisplay_userAlreadyStarted_doesNothing() local 256 UserReference user = TestApis.users().instrumented(); in serialNo_returnsSerialNo() local 264 UserReference user = TestApis.users().find(NON_EXISTING_USER_ID); in serialNo_userDoesNotExist_throwsException() local 273 UserReference user = TestApis.users().instrumented(); in name_returnsName() local 280 UserReference user = TestApis.users().find(NON_EXISTING_USER_ID); in name_userDoesNotExist_throwsException() local 289 UserReference user = TestApis.users().instrumented(); in type_returnsType() local 296 UserReference user = TestApis.users().find(NON_EXISTING_USER_ID); in type_userDoesNotExist_throwsException() local [all …]
|
D | UsersTest.kt | 120 val user = TestApis.users().createUser().create() in <lambda>() constant 132 val user = TestApis.users().createUser().create() in <lambda>() constant 147 val user = TestApis.users().createUser().create() in <lambda>() constant 157 val user = TestApis.users().createUser().create() in <lambda>() constant 194 val user = TestApis.users().createUser().create() in <lambda>() constant 268 val user = TestApis.users().createUser().type(mSecondaryUserType).create() in <lambda>() constant 283 val user = TestApis.users() in <lambda>() constant 301 val user = TestApis in <lambda>() constant 356 var user: UserReference? = null in <lambda>() variable 587 .create().use { user -> in <lambda>() method [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Package.java | 132 public Package installExisting(UserReference user) { in installExisting() 155 public Package install(UserReference user, File apkFile) { in install() 168 public Package install(UserReference user, Supplier<File> apkFile) { in install() 181 public Package installBytes(UserReference user, byte[] apkFile) { in installBytes() 195 public Package installBytes(UserReference user, Supplier<byte[]> apkFile) { in installBytes() 222 public Package uninstall(UserReference user) { in uninstall() 309 public Package enable(UserReference user) { in enable() 334 public Package disable(UserReference user) { in disable() 373 public Package grantPermission(UserReference user, String permission) { in grantPermission() 422 public Package denyPermission(UserReference user, String permission) { in denyPermission() [all …]
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestApp.java | 81 public TestAppInstance install(UserReference user) { in install() 95 public TestAppInstance install(UserHandle user) { in install() 112 public boolean installedOnUser(UserReference user) { in installedOnUser() 119 public boolean installedOnUser(UserHandle user) { in installedOnUser() 133 public void uninstall(UserReference user) { in uninstall() 140 public void uninstall(UserHandle user) { in uninstall() 149 public TestAppInstance instance(UserHandle user) { in instance() 158 public TestAppInstance instance(UserReference user) { in instance()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/accounts/ |
D | AccountReference.java | 55 public static AccountReference of(UserReference user, Account androidAccount) { in of() 65 UserReference user, Account androidAccount, Consumer<AccountReference> removeFunction) { in of() 74 public static AccountReference fromAddResult(UserReference user, Bundle result) { in fromAddResult() 87 UserReference user, Bundle result, Consumer<AccountReference> removeFunction) { in fromAddResult() 95 UserReference user, Account androidAccount, Consumer<AccountReference> removeFunction) { in AccountReference() 101 AccountReference(UserReference user, Account androidAccount) { in AccountReference() 146 public UserReference user() { in user() method in AccountReference
|
D | Accounts.java | 50 …d.bedstead.nene.accounts.AccountManager<RemoteAccountManager> wrap(UserReference user, RemoteAccou… in wrap() 90 public Set<AccountReference> all(UserReference user) { in all() 109 public Set<AccountReference> getByType(UserReference user, String type) { in getByType() 118 private AccountManager accountManager(UserReference user) { in accountManager()
|
D | AccountManager.java | 34 UserReference user, E accountManagerInstance, RemoteAccountManager accountManager) { in AccountManager() 51 UserReference user() { in user() method in AccountManager
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/context/ |
D | Context.java | 54 public android.content.Context instrumentedContextAsUser(UserReference user) { in instrumentedContextAsUser() 69 public android.content.Context instrumentationContextAsUser(UserReference user) { in instrumentationContextAsUser() 78 public android.content.Context androidContextAsUser(UserReference user) { in androidContextAsUser()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 61 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 65 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 69 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() 73 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() 77 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() 83 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) { in onShortcutsChanged()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/credentials/ |
D | Credentials.java | 62 public Set<CredentialProviderInfo> getCredentialProviderServices(UserReference user) { in getCredentialProviderServices() 83 UserReference user) { in getCredentialProviderServicesForTesting() 93 private static CredentialManager credentialManager(UserReference user) { in credentialManager()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 162 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 166 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 170 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() 174 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() 178 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() 184 @NonNull UserHandle user, float progress) { in onPackageLoadingProgressChanged()
|
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | LauncherCallbackTestsService.java | 173 UserHandle user = params.getParcelable(USER_EXTRA); in eventExists() local 197 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 206 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 215 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() 224 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() 228 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
|
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/ |
D | UsersComponent.kt | 155 val user = users() in <lambda>() constant 175 fun user(userType: String): UserReference { in <lambda>() method in com.android.bedstead.multiuser.UsersComponent 190 fun user(userType: UserType): UserReference { in <lambda>() method in com.android.bedstead.multiuser.UsersComponent 324 val user = users().createUser() in <lambda>() constant 394 val user: UserReference = deviceState.resolveUserTypeToUser(forUser) in <lambda>() constant 408 val user = deviceState.resolveUserTypeToUser(forUser) in <lambda>() constant 447 for (user in createdUsers) { in <lambda>() constant 493 val user = removedUser.userBuilder.create() in <lambda>() constant 547 fun DeviceState.user(userType: String): UserReference { in DeviceState() method
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | AdbUserParser26.java | 106 AdbUser user = new AdbUser(parseUser(userString)); in parseUsers() local 107 users.put(user.id(), user); in parseUsers() local 127 AdbUser.MutableUser user = new AdbUser.MutableUser(); in parseUser() local
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityVisibleBackgroundUsersOnDefaultDisplayTest.java | 74 UserReference user = sDeviceState.additionalUser(); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay() local 96 UserReference user = sDeviceState.additionalUser(); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_thereCanBeOnlyOne() local
|
D | UserVisibilityTestCase.java | 113 try (UserReference user = TestApis.users().createUser().name("childless_user").create()) { in runTestOnDisplay() 135 try (UserReference user = TestApis.users().createUser().name("parent_user").create()) { in runTestOnSecondaryDisplay() 163 void run(UserReference user, int displayId, TestAppInstance instance); in run() 167 void run(UserReference user, UserReference profile, int displayId, in run() 172 void run(UserReference user, TestAppInstance instance); in run() 204 protected void startVisibleBackgroundUser(UserReference user, int displayId) { in startVisibleBackgroundUser()
|
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 143 public static RemoteDpc any(UserHandle user) { in any() 158 public static RemoteDpc any(UserReference user) { in any() 204 public static RemoteDpc setAsDeviceOwner(TestAppQueryBuilder dpcQuery, UserReference user) { in setAsDeviceOwner() 245 public static RemoteDpc setAsProfileOwner(UserHandle user) { in setAsProfileOwner() 259 UserHandle user, TestAppQueryBuilder dpcQuery) { in setAsProfileOwner() 272 public static RemoteDpc setAsProfileOwner(UserReference user) { in setAsProfileOwner() 289 UserReference user, TestAppQueryBuilder dpcQuery) { in setAsProfileOwner() 320 UserReference user, TestApp dpcTestApp) { in setAsProfileOwner()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/ |
D | DeviceAdminTransferAffiliatedProfileOwnershipCompleteEvent.java | 108 Context context, UserHandle user) { in logger() 121 Context context, UserHandle user) { in DeviceAdminTransferAffiliatedProfileOwnershipCompleteEventLogger() 153 UserHandle user) { in setUser() 171 public UserHandle user() { in user() method in DeviceAdminTransferAffiliatedProfileOwnershipCompleteEvent
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | Utils.java | 92 static void installPackageForUser(String apkPath, UserReference user) { in installPackageForUser() 99 private static void installPackageForUser(String apkPath, UserReference user, in installPackageForUser() 117 static void installExistPackageForUser(String apkPath, UserReference user) { in installExistPackageForUser() 138 static void uninstallPackageForUser(String packageName, UserReference user) { in uninstallPackageForUser() 158 static void forceStopPackageForUser(String packageName, UserReference user) { in forceStopPackageForUser() 171 static void clearAppDataForUser(String packageName, UserReference user) { in clearAppDataForUser() 193 UserReference user, boolean extraPersistableBundle) { in suspendPackagesForUser()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CreateAndManageUserTest.java | 67 try (UserReference user = UserReference.of(sDeviceState.dpc().devicePolicyManager() in createAndManageUser_userExists() 100 try (UserReference user = UserReference.of(sDeviceState.dpc().devicePolicyManager() in createAndManageUser_newUserDisclaimerIsNotAcknowledged() 125 try (UserReference user = UserReference.of(sDeviceState.dpc().devicePolicyManager() in acknowledgeNewUserDisclaimer_newUserDisclaimerIsAcknowledged() 146 try (UserReference user = UserReference.of(sDeviceState.dpc().devicePolicyManager() in createAndManageUser_switchToUser_showsDisclaimer()
|
D | EphemeralUserTest.kt | 45 .create().use { user -> in <lambda>() method 64 .create().use { user -> in <lambda>() method 77 .create().use { user -> in <lambda>() method
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
D | PolicyEngineUtils.java | 51 public static PolicyState<Boolean> getBooleanPolicyState(PolicyKey policyKey, UserHandle user) { in getBooleanPolicyState() 70 PolicyKey policyKey, UserHandle user) { in getStringSetPolicyState() 89 PolicyKey policyKey, UserHandle user) { in getLockTaskPolicyState() 103 PolicyKey policyKey, UserHandle user) { in getComponentNamePolicyState()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AddWindowAsUserTest.java | 46 private void testAddWindowWithUser(UserHandle user, boolean shouldCatchException) { in testAddWindowWithUser() 68 private WindowManager getWindowManagerForUser(UserHandle user) { in getWindowManagerForUser()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyController.java | 36 DevicePolicyController(UserReference user, Package pkg, ComponentName componentName) { in DevicePolicyController() 49 public UserReference user() { in user() method in DevicePolicyController
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MultiUserUtils.java | 87 @Nullable Bundle extras, @NonNull UserHandle user) { in callContentProvider() 101 @NonNull UiAutomation uiAutomation, @NonNull UserHandle user) { in getCurrentInputMethodInfoAsUser() 113 @IntRange(from = 0) int pid, @IntRange(from = 0) int maxNum, @NonNull UserHandle user) { in getHistoricalProcessExitReasons()
|