/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SplitTests.java | 148 private void testSingleBase(boolean instant) throws Exception { in testSingleBase() argument 149 new InstallMultiple(instant).addFile(APK).run(); in testSingleBase() 163 private void testDensitySingle(boolean instant) throws Exception { in testDensitySingle() argument 164 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensitySingle() 178 private void testDensityAll(boolean instant) throws Exception { in testDensityAll() argument 179 … new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).addFile(APK_hdpi).addFile(APK_xhdpi) in testDensityAll() 198 private void testDensityBest(boolean instant) throws Exception { in testDensityBest() argument 199 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensityBest() 203 new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_xxhdpi).run(); in testDensityBest() 221 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).addFile(APK_000000000000ffff).run(); in testInstallMinorVersion() 78 private void testInstallMajorVersion(boolean instant) throws Exception { in testInstallMajorVersion() argument 79 new InstallMultiple(instant).addFile(APK_000000ff00000000).run(); in testInstallMajorVersion() 94 private void testInstallUpdateAcrossMinorMajorVersion(boolean instant) throws Exception { in testInstallUpdateAcrossMinorMajorVersion() argument 95 new InstallMultiple(instant).addFile(APK_000000000000ffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 98 new InstallMultiple(instant).addFile(APK_00000000ffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 101 new InstallMultiple(instant).addFile(APK_000000ff00000000).run(); in testInstallUpdateAcrossMinorMajorVersion() 104 new InstallMultiple(instant).addFile(APK_000000ffffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 119 private void testInstallDowngradeAcrossMajorMinorVersion(boolean instant) throws Exception { in testInstallDowngradeAcrossMajorMinorVersion() argument [all …]
|
D | UseProcessTest.java | 68 private void testInstallUsePackageSuccess(boolean instant) throws Exception { in testInstallUsePackageSuccess() argument 69 new InstallMultiple(instant).addFile(APK_SUCCESS).run(); in testInstallUsePackageSuccess() 85 private void testInstallUsePackageFailApplication(boolean instant) throws Exception { in testInstallUsePackageFailApplication() argument 86 new InstallMultiple(instant).addFile(APK_FAIL_APPLICATION).runExpectingFailure( in testInstallUsePackageFailApplication() 102 private void testInstallUsePackageFailActivity(boolean instant) throws Exception { in testInstallUsePackageFailActivity() argument 103 new InstallMultiple(instant).addFile(APK_FAIL_ACTIVITY).runExpectingFailure( in testInstallUsePackageFailActivity() 119 private void testInstallUsePackageFailService(boolean instant) throws Exception { in testInstallUsePackageFailService() argument 120 new InstallMultiple(instant).addFile(APK_FAIL_SERVICE).runExpectingFailure( in testInstallUsePackageFailService() 136 private void testInstallUsePackageFailReceiver(boolean instant) throws Exception { in testInstallUsePackageFailReceiver() argument 137 new InstallMultiple(instant).addFile(APK_FAIL_RECEIVER).runExpectingFailure( in testInstallUsePackageFailReceiver() [all …]
|
D | IsolatedSplitsTests.java | 95 private void testInstallBase(boolean instant) throws Exception { in testInstallBase() argument 96 new InstallMultiple(instant).addFile(APK_BASE).run(); in testInstallBase() 112 private void testInstallBaseAndConfigSplit(boolean instant) throws Exception { in testInstallBaseAndConfigSplit() argument 113 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_BASE_pl).run(); in testInstallBaseAndConfigSplit() 129 private void testInstallMissingDependency_usesSplit(boolean instant) throws Exception { in testInstallMissingDependency_usesSplit() argument 130 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency_usesSplit() 145 private void testInstallMissingDependency_configForSplit(boolean instant) throws Exception { in testInstallMissingDependency_configForSplit() argument 146 new InstallMultiple(instant).addFile(APK_BASE).addFile( in testInstallMissingDependency_configForSplit() 157 private void testInstallOneFeatureSplit(boolean instant) throws Exception { in testInstallOneFeatureSplit() argument 158 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).run(); in testInstallOneFeatureSplit() [all …]
|
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 95 this(instant, true); in InstallMultiple() 97 public InstallMultiple(boolean instant, boolean grantPermissions) { in InstallMultiple() argument 99 addArg(instant ? "--instant" : ""); in InstallMultiple()
|
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 | AppSecurityTests.java | 110 private void testAppUpgradeDifferentCerts(boolean instant) throws Exception { in testAppUpgradeDifferentCerts() argument 116 new InstallMultiple(instant).addFile(SIMPLE_APP_APK).run(); in testAppUpgradeDifferentCerts() 117 new InstallMultiple(instant).addFile(SIMPLE_APP_DIFF_CERT_APK) in testAppUpgradeDifferentCerts() 138 private void testAppFailAccessPrivateData(boolean instant) in testAppFailAccessPrivateData() argument 148 new InstallMultiple(instant).addFile(APP_ACCESS_DATA_APK).run(); in testAppFailAccessPrivateData() 149 runDeviceTests(APP_ACCESS_DATA_PKG, null, null, instant); in testAppFailAccessPrivateData() 169 private void testUninstallRemovesData(boolean instant) throws Exception { in testUninstallRemovesData() argument 174 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 180 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 344 private void testAdbInstallFile(boolean instant) throws Exception { in testAdbInstallFile() argument [all …]
|
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() 130 private void testServiceClassLoaders(boolean instant) throws Exception { in testServiceClassLoaders() argument 131 new InstallMultiple(instant) in testServiceClassLoaders() [all …]
|
/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 | 155 String apkFileName, String packageName, boolean instant) throws Exception { in installPossibleInstantPackage() argument 156 if (instant) { in installPossibleInstantPackage() 163 private void testSwitchIme(boolean instant) throws Exception { in testSwitchIme() argument 166 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchIme() 195 private void testUninstallCurrentIme(boolean instant) throws Exception { in testUninstallCurrentIme() argument 198 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testUninstallCurrentIme() 228 private void testDisableCurrentIme(boolean instant) throws Exception { in testDisableCurrentIme() argument 231 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testDisableCurrentIme() 260 private void testSwitchInputMethod(boolean instant) throws Exception { in testSwitchInputMethod() argument 263 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() 215 private void testProfileUser(boolean instant) throws Exception { in testProfileUser() argument 223 installPossibleInstantPackage(DeviceTestConstants.APK, primaryUserId, instant); in testProfileUser() 224 installPossibleInstantPackage(DeviceTestConstants.APK, profileUserId, instant); in testProfileUser() 325 private void installPossibleInstantPackage(String apkFileName, int userId, boolean instant) in installPossibleInstantPackage() argument 327 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 | 99 private void testGetActiveSessions_primaryUser(boolean instant) throws Exception { in testGetActiveSessions_primaryUser() argument 103 installAppAsUser(DEVICE_SIDE_TEST_APK, primaryUserId, instant); in testGetActiveSessions_primaryUser() 132 private void testGetActiveSessions_additionalUser(boolean instant) throws Exception { in testGetActiveSessions_additionalUser() argument 141 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_additionalUser() 165 private void testGetActiveSessions_restrictedProfiles(boolean instant) in testGetActiveSessions_restrictedProfiles() argument 176 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_restrictedProfiles() 200 private void testGetActiveSessions_managedProfiles(boolean instant) in testGetActiveSessions_managedProfiles() argument 211 installAppAsUser(DEVICE_SIDE_TEST_APK, newUser, instant); in testGetActiveSessions_managedProfiles()
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 61 pre-installed-instant-app := CtsVerifierInstantApp 71 $(pre-installed-instant-app) \ 80 cts-verifier: CtsVerifier adb $(pre-installed-apps) $(pre-installed-instant-app) 84 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | MockTestActivityUtil.java | 98 public static AutoCloseable launchSync(boolean instant, long timeout) { in launchSync() argument 99 return launchSync(instant, timeout, null); in launchSync() 110 public static AutoCloseable launchSync(boolean instant, long timeout, in launchSync() argument 113 if (instant) { in launchSync()
|
/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/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/ |
D | CookieTest.java | 17 package test.instant.cookie;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | PackageVisibilityTest.java | 79 private void testTargetPackageIsVisibleFromIme(boolean instant) throws Exception { in testTargetPackageIsVisibleFromIme() argument 87 try (AutoCloseable closeable = MockTestActivityUtil.launchSync(instant, in testTargetPackageIsVisibleFromIme()
|
D | KeyboardVisibilityControlTest.java | 686 private void runImeVisibilityWhenImeTransitionBetweenActivities(boolean instant) 722 MockTestActivityUtil.launchSync(instant, TIMEOUT, 744 private void runImeVisibilityTestWhenForceStopPackage(boolean instant) throws Exception { 763 instant, TIMEOUT,
|
/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/InstantCookieApp/src/test/instant/cookie/ |
D | CookieTest.java | 17 package test.instant.cookie;
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | Android.bp | 192 // could be tested in the instant app.
|