Home
last modified time | relevance | path

Searched refs:installExisting (Results 1 – 12 of 12) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java154 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 …]
DApplicationHiddenTest.java97 SYSTEM_PACKAGE.installExisting(TestApis.users().instrumented()); in ensureSystemPackageInstalled()
99 SYSTEM_PACKAGE.installExisting(sDeviceState.dpc().user()); in ensureSystemPackageInstalled()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/common/
DShellCommandUtils.java83 public static String installExisting(String packageName, int userId, boolean instant) { in installExisting() method in ShellCommandUtils
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java106 runShellCommandOrThrow(ShellCommandUtils.installExisting( in testProfileSwitching()
109 runShellCommandOrThrow(ShellCommandUtils.installExisting( in testProfileSwitching()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackageTest.java125 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()
/cts/common/device-side/bedstead/deviceadminapp/src/test/java/com/android/bedstead/deviceadminapp/
DDeviceAdminAppTest.java79 TestApis.packages().find(sContext.getPackageName()).installExisting(profile); in setAsProfileOwner_isEnabled()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt159 packages().find(context.getPackageName()).installExisting(user) in <lambda>()
246 packages().find(context.getPackageName()).installExisting(mAdditionalUser) in <lambda>()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java539 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()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomator.java126 pkg.installExisting(systemUser); in copyAutomationFileToInternalStorage()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java132 public Package installExisting(UserReference user) { in installExisting() method in Package
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java1121 TestApis.packages().find(sContext.getPackageName()).installExisting(
1513 TestApis.packages().find(sContext.getPackageName()).installExisting(
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java1011 TestApis.packages().instrumented().installExisting(UserReference.of(user)); in testIsMainUser_trueForAtMostOneUser()