Home
last modified time | relevance | path

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

/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java101 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
103 CLog.d("Installing app " + appFileName); in installPackage()
106 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
107 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/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/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/media/src/android/media/cts/
DBaseMultiUserTest.java153 protected void installAppAsUser(String appFileName, int userId, boolean asInstantApp) in installAppAsUser() argument
155 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
158 buildHelper.getTestFile(appFileName), in installAppAsUser()
164 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java84 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument
86 CLog.d("Installing app " + appFileName); in installPackage()
88 final String result = getDevice().installPackage(buildHelper.getTestFile(appFileName), true, in installPackage()
90 assertWithMessage("Failed to install %s: %s", appFileName, result).that(result).isNull(); in installPackage()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java241 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser() argument
243 installAppAsUser(appFileName, true, userId); in installAppAsUser()
246 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
248 installAppAsUser(appFileName, grantPermissions, /* dontKillApp */ false, userId); in installAppAsUser()
251 protected void installAppAsUser(String appFileName, boolean grantPermissions, in installAppAsUser() argument
254 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
260 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, in installAppAsUser()
262 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java64 private void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument
66 CLog.d("Installing app " + appFileName + " for user " + userId); in installAppAsUser()
69 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, "-t"); in installAppAsUser()
70 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result, in installAppAsUser()