Searched refs:installExisting (Results 1 – 12 of 12) sorted by relevance
154 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in getTargetUserProfiles_doesNotContainOtherUser()166 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in getTargetUserProfiles_containsOtherUser()212 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isProfile_targetIsInvalid_throwsSecurityException()230 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isProfile_profile_returnsTrue()244 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isProfile_notProfile_returnsFalse()261 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isManagedProfile_targetIsInvalid_throwsSecurityException()277 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isManagedProfile_managedProfile_returnsTrue()294 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in isManagedProfile_notManagedProfile_returnsFalse()306 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in startMainActivity_launches()322 TestApis.packages().instrumented().installExisting(sDeviceState.otherUser()); in startMainActivity_logged()[all …]
97 SYSTEM_PACKAGE.installExisting(TestApis.users().instrumented()); in ensureSystemPackageInstalled()99 SYSTEM_PACKAGE.installExisting(sDeviceState.dpc().user()); in ensureSystemPackageInstalled()
83 public static String installExisting(String packageName, int userId, boolean instant) { in installExisting() method in ShellCommandUtils
106 runShellCommandOrThrow(ShellCommandUtils.installExisting( in testProfileSwitching()109 runShellCommandOrThrow(ShellCommandUtils.installExisting( in testProfileSwitching()
125 sInstrumentedPackage.installExisting(sDeviceState.secondaryUser()); in installExisting_alreadyInstalled_installsInUser()139 pkg.installExisting(sDeviceState.secondaryUser()); in uninstallForAllUsers_isUninstalledForAllUsers()154 pkg.installExisting(sDeviceState.secondaryUser()); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser()
79 TestApis.packages().find(sContext.getPackageName()).installExisting(profile); in setAsProfileOwner_isEnabled()
159 packages().find(context.getPackageName()).installExisting(user) in <lambda>()246 packages().find(context.getPackageName()).installExisting(mAdditionalUser) in <lambda>()
539 TestApis.packages().find(TEST_APP_PACKAGE_NAME).installExisting(sDeviceState.workProfile()); in differentUser_queryWorks()552 TestApis.packages().find(TEST_APP_PACKAGE_NAME).installExisting(sDeviceState.workProfile()); in differentUserSpecifiedByUserHandle_queryWorks()565 TestApis.packages().find(TEST_APP_PACKAGE_NAME).installExisting(sDeviceState.workProfile()); in differentUser_doesntGetEventsFromWrongUser()
126 pkg.installExisting(systemUser); in copyAutomationFileToInternalStorage()
132 public Package installExisting(UserReference user) { in installExisting() method in Package
1121 TestApis.packages().find(sContext.getPackageName()).installExisting(1513 TestApis.packages().find(sContext.getPackageName()).installExisting(
1011 TestApis.packages().instrumented().installExisting(UserReference.of(user)); in testIsMainUser_trueForAtMostOneUser()