Home
last modified time | relevance | path

Searched refs:appFileName (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionHostTest.java65 private void installTestPackage(String appFileName, boolean grantPermissions) in installTestPackage() argument
68 LogUtil.CLog.d("Installing app " + appFileName); in installTestPackage()
73 buildHelper.getTestFile(appFileName), true, grantPermissions, "-t"); in installTestPackage()
74 assertWithMessage("Failed to install %s: %s", appFileName, result).that(result).isNull(); in installTestPackage()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DPreserveLegacyStorageHostTest.java46 protected void installApp(String appFileName) throws Exception { in installApp() argument
50 buildHelper.getTestFile(appFileName), true, true, userId, "-t"); in installApp()
51 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installApp()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java97 protected void installApp(String appFileName) in installApp() argument
99 LogUtil.CLog.d("Installing app " + appFileName); in installApp()
104 buildHelper.getTestFile(appFileName), in installApp()
108 assertNull("Failed to install " + appFileName + ": " + result, result); in installApp()
DBaseMultiUserTest.java147 String appFileName, String packageName, int userId, boolean asInstantApp) in installAppAsUser() argument
152 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
155 buildHelper.getTestFile(appFileName), in installAppAsUser()
161 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java70 private void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
72 LogUtil.CLog.d("Installing app " + appFileName); in installPackage()
75 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
76 assertNull("Failed to install " + appFileName + ": " + result, result); in installPackage()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java144 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
146 CLog.d("Installing app " + appFileName); in installPackage()
149 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
150 assertNull("Failed to install " + appFileName + ": " + result, result); in installPackage()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java161 protected void installPackage(int userId, String appFileName) in installPackage() argument
163 CLog.d("Installing app %s on user %d", appFileName, userId); in installPackage()
170 buildHelper.getTestFile(appFileName), in installPackage()
175 assertNull("Failed to install " + appFileName + " on user " + userId + ": " + result, in installPackage()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java104 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser() argument
106 CLog.i("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
109 buildHelper.getTestFile(appFileName), true, true, userId, "-t"); in installAppAsUser()
110 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java299 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser() argument
301 installAppAsUser(appFileName, true, userId); in installAppAsUser()
304 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
306 installAppAsUser(appFileName, grantPermissions, /* dontKillApp */ false, userId); in installAppAsUser()
309 protected void installAppAsUser(String appFileName, boolean grantPermissions, in installAppAsUser() argument
312 CLog.e("Installing app %s for user %d", appFileName, userId); in installAppAsUser()
323 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, in installAppAsUser()
325 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
329 protected void installAppIncremental(String appFileName) in installAppIncremental() argument
333 final File apk = buildHelper.getTestFile(appFileName); in installAppIncremental()
[all …]
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java88 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
90 CLog.d("Installing app " + appFileName); in installPackage()
92 final String result = getDevice().installPackage(buildHelper.getTestFile(appFileName), true, in installPackage()
94 assertWithMessage("Failed to install %s: %s", appFileName, result).that(result).isNull(); in installPackage()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java80 private void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
82 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
85 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, "-t"); in installAppAsUser()
86 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()