Home
last modified time | relevance | path

Searched refs:installPackageForUser (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/content/src/android/content/cts/
DContextCrossProfileHostTest.java84 getDevice().installPackageForUser( in setUp()
109 getDevice().installPackageForUser( in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
115 getDevice().installPackageForUser( in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
137 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
143 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
165 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
171 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
193 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
199 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
221 getDevice().installPackageForUser( in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException()
[all …]
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java28 import static android.appenumeration.cts.Utils.installPackageForUser;
125 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testIsPackageSuspended_cannotDetectStubPkg()
136 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetTargetSdkVersion_cannotDetectStubPkg()
150 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testCheckSignatures_cannotDetectStubPkg()
162 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetAllIntentFilters_cannotDetectStubPkg()
172 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetInstallerPackageName_cannotDetectStubPkg()
183 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetInstallSourceInfo_cannotDetectStubPkg()
194 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetApplicationEnabledSetting_cannotDetectStubPkg()
223 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testGetComponentEnabledSetting_cannotDetectStubPkg()
238 installPackageForUser(TARGET_STUB_APK, mOtherUser); in testSetApplicationEnabledSetting_cannotDetectStubPkg()
[all …]
DUtils.java79 installPackageForUser(apkPath, null /* user */, null /* installerPackageName */); in installPackage()
86 installPackageForUser(apkPath, null /* user */, installerPackageName); in installPackage()
92 static void installPackageForUser(String apkPath, UserReference user) { in installPackageForUser() method in Utils
93 installPackageForUser(apkPath, user, getContext().getPackageName()); in installPackageForUser()
99 private static void installPackageForUser(String apkPath, UserReference user, in installPackageForUser() method in Utils
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java89 getDevice().installPackageForUser(apkFile, true, true, mParentUserId, "-t"); in setUp()
93 getDevice().installPackageForUser(apkFile, true, true, mProfileUserId, "-t"); in setUp()
DAccountManagerHostSideTest.java93 getDevice().installPackageForUser( in setUp()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DPreserveLegacyStorageHostTest.java49 String result = getDevice().installPackageForUser( in installApp()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java260 assertNull(getDevice().installPackageForUser(buildHelper.getTestFile(apk), false, userId)); in installAppAsUser()
265 assertNull(getDevice().installPackageForUser( in replaceFullAppAsUser()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java112 String output = mDevice.installPackageForUser(file, true, false, userId, "--dont-kill"); in installTestApkForUser()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DActivityManagerHelperTest.java304 installPackageForUser(testUserId); in testStopAllTasksForUser()
384 private static void installPackageForUser(int userId) { in installPackageForUser() method in ActivityManagerHelperTest
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java154 String result = getDevice().installPackageForUser( in installAppAsUser()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java169 .installPackageForUser( in installPackage()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java179 installResult = getDevice().installPackageForUser( in installTestAppForUser()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java108 String result = getDevice().installPackageForUser( in installAppAsUser()
/cts/hostsidetests/media/src/android/media/router/cts/
DProxyMediaRouter2HostSideTest.java379 .installPackageForUser( in installTestAppAsUser()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java84 String result = getDevice().installPackageForUser( in installAppAsUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java322 String result = getDevice().installPackageForUser( in installAppAsUser()