Home
last modified time | relevance | path

Searched refs:instant (Results 1 – 24 of 24) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java114 private void testSingleBase(boolean instant) throws Exception { in testSingleBase() argument
115 new InstallMultiple(instant).addApk(APK).run(); in testSingleBase()
129 private void testDensitySingle(boolean instant) throws Exception { in testDensitySingle() argument
130 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).run(); in testDensitySingle()
144 private void testDensityAll(boolean instant) throws Exception { in testDensityAll() argument
145 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).addApk(APK_hdpi).addApk(APK_xhdpi) in testDensityAll()
164 private void testDensityBest(boolean instant) throws Exception { in testDensityBest() argument
165 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).run(); in testDensityBest()
169 new InstallMultiple(instant).inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest()
187 private void testApi(boolean instant) throws Exception { in testApi() argument
[all …]
DMajorVersionTest.java62 private void testInstallMinorVersion(boolean instant) throws Exception { in testInstallMinorVersion() argument
63 new InstallMultiple(instant).addApk(APK_000000000000ffff).run(); in testInstallMinorVersion()
78 private void testInstallMajorVersion(boolean instant) throws Exception { in testInstallMajorVersion() argument
79 new InstallMultiple(instant).addApk(APK_000000ff00000000).run(); in testInstallMajorVersion()
94 private void testInstallUpdateAcrossMinorMajorVersion(boolean instant) throws Exception { in testInstallUpdateAcrossMinorMajorVersion() argument
95 new InstallMultiple(instant).addApk(APK_000000000000ffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
98 new InstallMultiple(instant).addApk(APK_00000000ffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
101 new InstallMultiple(instant).addApk(APK_000000ff00000000).run(); in testInstallUpdateAcrossMinorMajorVersion()
104 new InstallMultiple(instant).addApk(APK_000000ffffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
119 private void testInstallDowngradeAcrossMajorMinorVersion(boolean instant) throws Exception { in testInstallDowngradeAcrossMajorMinorVersion() argument
[all …]
DIsolatedSplitsTests.java71 private void testInstallBase(boolean instant) throws Exception { in testInstallBase() argument
72 new InstallMultiple(instant).addApk(APK_BASE).run(); in testInstallBase()
88 private void testInstallBaseAndConfigSplit(boolean instant) throws Exception { in testInstallBaseAndConfigSplit() argument
89 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_BASE_pl).run(); in testInstallBaseAndConfigSplit()
105 private void testInstallMissingDependency(boolean instant) throws Exception { in testInstallMissingDependency() argument
106 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency()
116 private void testInstallOneFeatureSplit(boolean instant) throws Exception { in testInstallOneFeatureSplit() argument
117 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).run(); in testInstallOneFeatureSplit()
137 private void testInstallOneFeatureSplitAndConfigSplits(boolean instant) throws Exception { in testInstallOneFeatureSplitAndConfigSplits() argument
138 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_BASE_pl) in testInstallOneFeatureSplitAndConfigSplits()
[all …]
DAppSecurityTests.java105 private void testAppUpgradeDifferentCerts(boolean instant) throws Exception { in testAppUpgradeDifferentCerts() argument
111 new InstallMultiple(instant).addApk(SIMPLE_APP_APK).run(); in testAppUpgradeDifferentCerts()
112 new InstallMultiple(instant).addApk(SIMPLE_APP_DIFF_CERT_APK) in testAppUpgradeDifferentCerts()
133 private void testAppFailAccessPrivateData(boolean instant) in testAppFailAccessPrivateData() argument
143 new InstallMultiple(instant).addApk(APP_ACCESS_DATA_APK).run(); in testAppFailAccessPrivateData()
144 runDeviceTests(APP_ACCESS_DATA_PKG, null, null, instant); in testAppFailAccessPrivateData()
164 private void testUninstallRemovesData(boolean instant) throws Exception { in testUninstallRemovesData() argument
169 new InstallMultiple(instant).addApk(APP_WITH_DATA_APK).run(); in testUninstallRemovesData()
175 new InstallMultiple(instant).addApk(APP_WITH_DATA_APK).run(); in testUninstallRemovesData()
290 private void testAdbInstallFile(boolean instant) throws Exception { in testAdbInstallFile() argument
[all …]
DPackageResolutionHostTest.java59 private void testResolveOrderedActivity(boolean instant) throws Exception { in testResolveOrderedActivity() argument
60 new InstallMultiple(instant) in testResolveOrderedActivity()
77 private void testResolveOrderedService(boolean instant) throws Exception { in testResolveOrderedService() argument
78 new InstallMultiple(instant) in testResolveOrderedService()
95 private void testResolveOrderedReceiver(boolean instant) throws Exception { in testResolveOrderedReceiver() argument
96 new InstallMultiple(instant) in testResolveOrderedReceiver()
DBaseAppSecurityTest.java57 protected void installTestAppForUser(String apk, boolean instant, int userId) throws Exception { in installTestAppForUser() argument
61 new InstallMultiple(instant) in installTestAppForUser()
70 String testMethodName, boolean instant) throws DeviceNotAvailableException { in runDeviceTests() argument
72 if (instant) { in runDeviceTests()
94 public InstallMultiple(boolean instant) { in InstallMultiple() argument
96 addArg(instant ? "--instant" : ""); in InstallMultiple()
DInstantCookieHostTest.java110 private String installPackage(String apk, boolean replace, boolean instant) throws Exception { in installPackage() argument
112 instant ? "--instant" : "--full"); in installPackage()
DPackageVisibilityTest.java79 private void testUninstalledPackageVisibility(boolean instant) throws Exception { in testUninstalledPackageVisibility() argument
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DClassloaderSplitsTest.java69 private void testBaseClassLoader(boolean instant) throws Exception { in testBaseClassLoader() argument
70 new InstallMultiple(instant).addApk(APK_BASE).run(); in testBaseClassLoader()
84 private void testFeatureAClassLoader(boolean instant) throws Exception { in testFeatureAClassLoader() argument
85 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).run(); in testFeatureAClassLoader()
100 private void testFeatureBClassLoader(boolean instant) throws Exception { in testFeatureBClassLoader() argument
101 new InstallMultiple(instant) in testFeatureBClassLoader()
113 private void testReceiverClassLoaders(boolean instant) throws Exception { in testReceiverClassLoaders() argument
114 new InstallMultiple(instant) in testReceiverClassLoaders()
124 public InstallMultiple(boolean instant) { in InstallMultiple() argument
126 addArg(instant ? "--instant" : ""); in InstallMultiple()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUsesLibraryHostTest.java59 private void testUsesLibrary(boolean instant) throws Exception { in testUsesLibrary() argument
60 new InstallMultiple(instant).addApk(APK).run(); in testUsesLibrary()
69 public void testMissingLibrary(boolean instant) throws Exception { in testMissingLibrary() argument
70 new InstallMultiple(instant).addApk(APK).run(); in testMissingLibrary()
79 public void testDuplicateLibrary(boolean instant) throws Exception { in testDuplicateLibrary() argument
80 new InstallMultiple(instant).addApk(APK).run(); in testDuplicateLibrary()
88 public InstallMultiple(boolean instant) { in InstallMultiple() argument
90 addArg(instant ? "--instant" : ""); in InstallMultiple()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java132 String apkFileName, String packageName, boolean instant) throws Exception { in installPossibleInstantPackage() argument
133 if (instant) { in installPossibleInstantPackage()
140 private void testSwitchIme(boolean instant) throws Exception { in testSwitchIme() argument
143 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchIme()
172 private void testUninstallCurrentIme(boolean instant) throws Exception { in testUninstallCurrentIme() argument
175 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testUninstallCurrentIme()
205 private void testDisableCurrentIme(boolean instant) throws Exception { in testDisableCurrentIme() argument
208 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testDisableCurrentIme()
237 private void testSwitchInputMethod(boolean instant) throws Exception { in testSwitchInputMethod() argument
240 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchInputMethod()
[all …]
DMultiUserTest.java150 private void testSecondaryUser(boolean instant) throws Exception { in testSecondaryUser() argument
157 installPossibleInstantPackage(DeviceTestConstants.APK, primaryUserId, instant); in testSecondaryUser()
158 installPossibleInstantPackage(DeviceTestConstants.APK, secondaryUserId, instant); in testSecondaryUser()
209 private void testProfileUser(boolean instant) throws Exception { in testProfileUser() argument
217 installPossibleInstantPackage(DeviceTestConstants.APK, primaryUserId, instant); in testProfileUser()
218 installPossibleInstantPackage(DeviceTestConstants.APK, profileUserId, instant); in testProfileUser()
319 private void installPossibleInstantPackage(String apkFileName, int userId, boolean instant) in installPossibleInstantPackage() argument
321 if (instant) { in installPossibleInstantPackage()
DShellCommandFromAppTest.java60 private void runDeviceTestMethodWithoutHiddenApiCheck(TestInfo testInfo, boolean instant) in runDeviceTestMethodWithoutHiddenApiCheck() argument
62 if (instant) { in runDeviceTestMethodWithoutHiddenApiCheck()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java101 private void testGetActiveSessions_primaryUser(boolean instant) throws Exception { in testGetActiveSessions_primaryUser() argument
110 installAppAsUser(DEVICE_SIDE_TEST_APK, primaryUserId, instant); in testGetActiveSessions_primaryUser()
139 private void testGetActiveSessions_additionalUser(boolean instant) throws Exception { in testGetActiveSessions_additionalUser() argument
153 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_additionalUser()
177 private void testGetActiveSessions_restrictedProfiles(boolean instant) in testGetActiveSessions_restrictedProfiles() argument
193 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_restrictedProfiles()
217 private void testGetActiveSessions_managedProfiles(boolean instant) in testGetActiveSessions_managedProfiles() argument
233 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_managedProfiles()
/cts/apps/CtsVerifier/
DAndroid.mk119 pre-installed-instant-app := CtsVerifierInstantApp
129 $(pre-installed-instant-app) \
138 cts-verifier: CtsVerifier adb $(pre-installed-apps) $(pre-installed-instant-app)
142 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4DeviceTest.java100 private void installPackage(boolean instant) throws Exception { in installPackage() argument
101 installPackage(TEST_APP, instant ? new String[]{"--instant"} : new String[0]); in installPackage()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java87 private void testInstallTime(boolean instant) throws Exception { in testInstallTime() argument
104 {AbiUtils.createAbiFlag(mAbi.getName()), instant ? "--instant" : ""}; in testInstallTime()
DTaskSwitchingTest.java84 private void installPackages(boolean instant) throws Exception { in installPackages() argument
88 instant && !PACKAGES[i].contains("control") ? "--instant" : ""}; in installPackages()
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/
DCookieTest.java17 package test.instant.cookie;
/cts/tests/tests/secure_element/access_control/AccessControlApp3/
DAndroid.bp12 "cts-instant",
/cts/tests/tests/secure_element/access_control/AccessControlApp1/
DAndroid.bp12 "cts-instant",
/cts/tests/tests/secure_element/access_control/AccessControlApp2/
DAndroid.bp12 "cts-instant",
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java17 package test.instant.cookie;
/cts/tests/tests/media/src/android/media/cts/
D.goutputstream-9KZYJZ46 @AppModeFull(reason = "TODO: evaluate and port to instant")