/cts/hostsidetests/content/src/android/content/cts/ |
D | ContextCrossProfileHostTest.java | 84 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/ |
D | CrossUserPackageVisibilityTests.java | 28 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 …]
|
D | Utils.java | 79 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/ |
D | AccountManagerXUserTest.java | 89 getDevice().installPackageForUser(apkFile, true, true, mParentUserId, "-t"); in setUp() 93 getDevice().installPackageForUser(apkFile, true, true, mProfileUserId, "-t"); in setUp()
|
D | AccountManagerHostSideTest.java | 93 getDevice().installPackageForUser( in setUp()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | PreserveLegacyStorageHostTest.java | 49 String result = getDevice().installPackageForUser( in installApp()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | InstantAppUserTest.java | 260 assertNull(getDevice().installPackageForUser(buildHelper.getTestFile(apk), false, userId)); in installAppAsUser() 265 assertNull(getDevice().installPackageForUser( in replaceFullAppAsUser()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideMultipleProfileTest.java | 112 String output = mDevice.installPackageForUser(file, true, false, userId, "--dont-kill"); in installTestApkForUser()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | ActivityManagerHelperTest.java | 304 installPackageForUser(testUserId); in testStopAllTasksForUser() 384 private static void installPackageForUser(int userId) { in installPackageForUser() method in ActivityManagerHelperTest
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 154 String result = getDevice().installPackageForUser( in installAppAsUser()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 169 .installPackageForUser( in installPackage()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 179 installResult = getDevice().installPackageForUser( in installTestAppForUser()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 108 String result = getDevice().installPackageForUser( in installAppAsUser()
|
/cts/hostsidetests/media/src/android/media/router/cts/ |
D | ProxyMediaRouter2HostSideTest.java | 379 .installPackageForUser( in installTestAppAsUser()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 84 String result = getDevice().installPackageForUser( in installAppAsUser()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 322 String result = getDevice().installPackageForUser( in installAppAsUser()
|