Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DPreserveLegacyStorageHostTest.java42 protected void installApp(String appFileName) throws Exception { in installApp() argument
46 buildHelper.getTestFile(appFileName), true, true, userId, "-t"); in installApp()
47 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.java128 protected void installAppAsUser(String appFileName, int userId, boolean asInstantApp) in installAppAsUser() argument
130 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
133 buildHelper.getTestFile(appFileName), in installAppAsUser()
139 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DBaseTestCase.java105 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
107 CLog.d("Installing app " + appFileName); in installPackage()
110 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
111 assertWithMessage(String.format("Failed to install %s: %s", appFileName, result)) in installPackage()
/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.java158 protected void installPackage(int userId, String appFileName) in installPackage() argument
160 CLog.d("Installing app %s on user %d", appFileName, userId); in installPackage()
167 buildHelper.getTestFile(appFileName), in installPackage()
172 assertNull("Failed to install " + appFileName + " on user " + userId + ": " + result, in installPackage()
/cts/hostsidetests/incident/src/com/android/server/cts/
DProtoDumpTestCase.java111 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
113 CLog.d("Installing app " + appFileName); in installPackage()
116 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
117 assertNull("Failed to install " + appFileName + ": " + result, 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.java307 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser() argument
309 installAppAsUser(appFileName, true, userId); in installAppAsUser()
312 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
314 installAppAsUser(appFileName, grantPermissions, /* dontKillApp */ false, userId); in installAppAsUser()
317 protected void installAppAsUser(String appFileName, boolean grantPermissions, in installAppAsUser() argument
320 CLog.e("Installing app %s for user %d", appFileName, userId); in installAppAsUser()
328 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, in installAppAsUser()
330 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
334 protected void installAppIncremental(String appFileName) in installAppIncremental() argument
338 final File apk = buildHelper.getTestFile(appFileName); in installAppIncremental()
[all …]
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java85 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
87 CLog.d("Installing app " + appFileName); in installPackage()
89 final String result = getDevice().installPackage(buildHelper.getTestFile(appFileName), true, in installPackage()
91 assertWithMessage("Failed to install %s: %s", appFileName, result).that(result).isNull(); in installPackage()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java78 private void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
80 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
83 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, "-t"); in installAppAsUser()
84 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()