/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SplitTests.java | 114 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 …]
|
D | MajorVersionTest.java | 62 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 …]
|
D | IsolatedSplitsTests.java | 71 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 …]
|
D | AppSecurityTests.java | 105 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 …]
|
D | PackageResolutionHostTest.java | 59 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()
|
D | BaseAppSecurityTest.java | 57 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()
|
D | InstantCookieHostTest.java | 110 private String installPackage(String apk, boolean replace, boolean instant) throws Exception { in installPackage() argument 112 instant ? "--instant" : "--full"); in installPackage()
|
D | PackageVisibilityTest.java | 79 private void testUninstalledPackageVisibility(boolean instant) throws Exception { in testUninstalledPackageVisibility() argument
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | ClassloaderSplitsTest.java | 69 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/ |
D | UsesLibraryHostTest.java | 59 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/ |
D | InputMethodServiceLifecycleTest.java | 132 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 …]
|
D | MultiUserTest.java | 150 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()
|
D | ShellCommandFromAppTest.java | 60 private void runDeviceTestMethodWithoutHiddenApiCheck(TestInfo testInfo, boolean instant) in runDeviceTestMethodWithoutHiddenApiCheck() argument 62 if (instant) { in runDeviceTestMethodWithoutHiddenApiCheck()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 101 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/ |
D | Android.mk | 119 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/ |
D | SampleHostJUnit4DeviceTest.java | 100 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/ |
D | InstallTimeTest.java | 87 private void testInstallTime(boolean instant) throws Exception { in testInstallTime() argument 104 {AbiUtils.createAbiFlag(mAbi.getName()), instant ? "--instant" : ""}; in testInstallTime()
|
D | TaskSwitchingTest.java | 84 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/ |
D | CookieTest.java | 17 package test.instant.cookie;
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/ |
D | Android.bp | 12 "cts-instant",
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/ |
D | Android.bp | 12 "cts-instant",
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/ |
D | Android.bp | 12 "cts-instant",
|
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/ |
D | CookieTest.java | 17 package test.instant.cookie;
|
/cts/tests/tests/media/src/android/media/cts/ |
D | .goutputstream-9KZYJZ | 46 @AppModeFull(reason = "TODO: evaluate and port to instant")
|