Home
last modified time | relevance | path

Searched refs:install (Results 1 – 25 of 237) sorted by relevance

12345678910

/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java164 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in doTestInstallSharedLibrary()
166 assertNull(install(STATIC_LIB_PROVIDER1_APK)); in doTestInstallSharedLibrary()
168 assertNull(install(STATIC_LIB_PROVIDER2_APK)); in doTestInstallSharedLibrary()
196 assertNotNull(install(STATIC_LIB_PROVIDER1_APK)); in doTestCannotInstallSharedLibraryWithMissingDependency()
206 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively()
208 assertNull(install(STATIC_LIB_PROVIDER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively()
210 assertNull(install(STATIC_LIB_CONSUMER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively()
225 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursivelyUpdate()
227 assertNull(install(STATIC_LIB_PROVIDER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursivelyUpdate()
229 assertNull(install(STATIC_LIB_CONSUMER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursivelyUpdate()
[all …]
/cts/hostsidetests/install/app/src/android/cts/install/
DDowngradeTest.java17 package android.cts.install;
19 import static com.android.cts.install.lib.PackageInstallerSessionInfoSubject.assertThat;
21 import com.android.cts.install.lib.Install;
22 import com.android.cts.install.lib.InstallUtils;
23 import com.android.cts.install.lib.TestApp;
98 Install install = getParameterizedInstall(VERSION_CODE_DOWNGRADE); in action_phase() local
99 int sessionId = install.setRequestDowngrade().commit(); in action_phase()
126 Install install = getParameterizedInstall(VERSION_CODE_DOWNGRADE).setRequestDowngrade(); in assert_downgradeNotAllowed_phase() local
131 install); in assert_downgradeNotAllowed_phase()
138 Install install = getParameterizedInstall(VERSION_CODE_DOWNGRADE); in assert_downgradeNotRequested_phase() local
[all …]
DInstallTest.java17 package android.cts.install;
19 import static android.cts.install.InstallRule.VERSION_CODE_INVALID;
21 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller;
22 import static com.android.cts.install.lib.PackageInstallerSessionInfoSubject.assertThat;
32 import com.android.cts.install.lib.Install;
33 import com.android.cts.install.lib.InstallUtils;
34 import com.android.cts.install.lib.TestApp;
98 Install install = getParameterizedInstall(VERSION_CODE_TARGET); in action_phase() local
99 int sessionId = install.commit(); in action_phase()
105 Install install = getParameterizedInstall(VERSION_CODE_TARGET); in assert_commitFailure_phase() local
[all …]
DUpgradeTest.java17 package android.cts.install;
19 import static com.android.cts.install.lib.PackageInstallerSessionInfoSubject.assertThat;
23 import com.android.cts.install.lib.Install;
24 import com.android.cts.install.lib.TestApp;
90 Install install = getParameterizedInstall(VERSION_CODE_UPGRADE); in action_phase() local
91 int sessionId = install.commit(); in action_phase()
117 Install install = testApps.size() == 1 in getParameterizedInstall() local
121 install.setStaged(); in getParameterizedInstall()
124 install.setEnableRollback(); in getParameterizedInstall()
126 return install; in getParameterizedInstall()
DSamegradeTest.java17 package android.cts.install;
19 import static com.android.cts.install.lib.InstallUtils.getPackageInfo;
20 import static com.android.cts.install.lib.PackageInstallerSessionInfoSubject.assertThat;
28 import com.android.cts.install.lib.Install;
29 import com.android.cts.install.lib.TestApp;
102 Install install = getParameterizedInstall(VERSION_CODE_SAMEGRADE); in action_phase() local
103 int sessionId = install.commit(); in action_phase()
164 Install install = testApps.size() == 1 in getParameterizedInstall() local
168 install.setStaged(); in getParameterizedInstall()
171 install.setEnableRollback(); in getParameterizedInstall()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DPermissionBackupCertificateCheckTest.kt94 install(APP_APK_CERT_1) in testRestore_sameCert_restoresRuntimePermissions()
102 install(APP_APK_CERT_1_DUP) in testRestore_sameCert_restoresRuntimePermissions()
118 install(APP_APK_CERT_1) in testRestore_diffCert_doesNotGrantRuntimePermissions()
126 install(APP_APK_CERT_3) in testRestore_diffCert_doesNotGrantRuntimePermissions()
142 install(APP_APK_CERT_2) in testRestore_midHistoryToRotated_restoresRuntimePermissions()
150 install(APP_APK_CERT_4_HISTORY_1_2_4) in testRestore_midHistoryToRotated_restoresRuntimePermissions()
166 install(APP_APK_CERT_1) in testRestore_origToRotated_restoresRuntimePermissions()
174 install(APP_APK_CERT_4_HISTORY_1_2_4) in testRestore_origToRotated_restoresRuntimePermissions()
190 install(APP_APK_CERT_4_HISTORY_1_2_4) in testRestore_rotatedToMidHistory_restoresRuntimePermissions()
198 install(APP_APK_CERT_2) in testRestore_rotatedToMidHistory_restoresRuntimePermissions()
[all …]
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java99 try (TestAppInstance testAppInstance = sTestApp.install()) { in activities_any_returnsActivity()
106 TestAppInstance testAppInstance = sTestApp.install(); in uninstall_uninstalls()
116 try (TestAppInstance testAppInstance = sTestApp.install()) { in autoclose_uninstalls()
134 try (TestAppInstance testAppInstance = sTestApp.install()) { in killProcess_keepAlive_processIsRunningAgain()
151 try (TestAppInstance testAppInstance = sTestApp.install()) { in stop_processIsNotRunning()
162 try (TestAppInstance testAppInstance = sTestApp.install()) { in stop_previouslyCalledKeepAlive_processDoesNotRestart()
174 try (TestAppInstance testAppInstance = sTestApp.install()) { in process_isNotRunning_returnsNull()
181 try (TestAppInstance testAppInstance = sTestApp.install()) { in process_isRunning_isNotNull()
193 try (TestAppInstance testAppInstance = sTestApp.install()) { in registerReceiver_receivesBroadcast()
206 try (TestAppInstance testAppInstance = sTestApp.install()) { in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
[all …]
DTestAppTest.java63 testApp.install(); in install_noUserSpecified_installsInInstrumentedUser()
76 testApp.install(sUser); in install_userReference_installs()
90 TestAppInstance testAppInstance = testApp.install(sUser); in install_userReference_returnsReferenceToInstance()
103 testApp.install(sUserHandle); in install_userHandle_installs()
117 TestAppInstance testAppInstance = testApp.install(sUserHandle); in install_userHandle_returnsReferenceToInstance()
130 assertThrows(NullPointerException.class, () -> testApp.install((UserReference) null)); in install_nullUserReference_throwsException()
137 assertThrows(NullPointerException.class, () -> testApp.install((UserHandle) null)); in install_nullUserHandle_throwsException()
241 testApp.install(sUser); in uninstall_noUserSpecified_uninstallsFromInstrumentedUser()
251 testApp.install(sUser); in uninstall_userHandle_uninstalls()
261 testApp.install(sUser); in uninstall_userReference_uninstalls()
[all …]
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackagesTest.java127 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_containsPackageInstalledForUser()
141 pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_doesNotContainPackageNotInstalledForUser()
156 () -> TestApis.packages().install(mUser, NON_EXISTING_APK_FILE)); in install_nonExistingPackage_throwsException()
162 () -> TestApis.packages().install(/* user= */ null, mApkFile)); in install_nullUser_throwsException()
168 () -> TestApis.packages().install(/* user= */ null, TEST_APP_BYTES)); in install_byteArray_nullUser_throwsException()
174 () -> TestApis.packages().install(mUser, (File) /* apkFile= */ null)); in install_nullApkFile_throwsException()
180 () -> TestApis.packages().install(mUser, (byte[]) /* apkFile= */ null)); in install_nullByteArray_throwsException()
186 TestApis.packages().install(TestApis.users().instrumented(), TEST_APP_APK_FILE); in install_instrumentedUser_isInstalled()
198 TestApis.packages().install(TestApis.users().instrumented(), TEST_APP_BYTES); in install_byteArray_instrumentedUser_isInstalled()
211 TestApis.packages().install(sDeviceState.workProfile(), TEST_APP_APK_FILE); in install_inWorkProfile_isInstalled()
[all …]
DPackageTest.java138 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstallForAllUsers_isUninstalledForAllUsers()
151 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser()
168 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsUninstalled()
179 TestApis.packages().install(sTestAppApkFile); in uninstall_packageNotInstalledForUser_doesNotThrowException()
212 try (TestAppInstance instance = sTestApp.install()) { in grantPermission_permissionIsGranted()
223 try (TestAppInstance instance1 = sTestApp.install(); in grantPermission_permissionIsUserSpecific_permissionIsGrantedOnlyForThatUser()
224 TestAppInstance instance2 = sTestApp.install(sDeviceState.secondaryUser())) { in grantPermission_permissionIsUserSpecific_permissionIsGrantedOnlyForThatUser()
275 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_permissionIsNotGranted()
286 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_installPermission_throwsException()
294 try (TestAppInstance instance = sTestApp.install()) { in denyPermission_alreadyDenied_doesNothing()
[all …]
/cts/hostsidetests/silentupdate/src/com/android/tests/hostside/silentupdate/
DSilentUpdateHostsideTests.java47 public void install(String apk, String installerPackageName) throws Exception { in install() method in SilentUpdateHostsideTests
74 install(CURRENT_APK, TEST_PKG); in updateWithUnknownSourcesDisabled_RequiresUserAction()
81 install(CURRENT_APK, null); in updateAsNonInstallerOfRecord_RequiresUserAction()
88 install(CURRENT_APK, TEST_PKG); in updatedInstall_RequiresNoUserAction()
94 install(S_APK, TEST_PKG); in updatePreTApp_RequiresUserAction()
100 install(T_APK, TEST_PKG); in updateTApp_RequiresNoUserAction()
115 install(T_APK, TEST_PKG); in setRequireUserAction_throwsOnIllegalArgument()
121 install(CURRENT_APK, TEST_PKG); in silentInstallRepeatedly_RequiresUserAction()
127 install(CURRENT_APK, TEST_PKG); in silentInstallRepeatedly_withUnlimitedSilentUpdates_succeed()
134 install(CURRENT_APK, TEST_PKG); in silentInstallRepeatedly_waitForThrottleTime_succeed()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DCorruptApkTests.java134 private String install(String apk) throws DeviceNotAvailableException, FileNotFoundException { in install() method in CorruptApkTests
147 final String result = install(apk); in assertInstallDoesNotCrashSystem()
174 assertNull(install(COMPRESSED_ARSC_Q)); in testFailInstallCompressedARSC_Q()
178 assertNull(install(COMPRESSED_ARSC_Q)); in testFailInstallCompressedARSC_Q_PlatformConfig_enabled()
181 assertNotNull(install(COMPRESSED_ARSC_Q)); in testFailInstallCompressedARSC_Q_PlatformConfig_enabled()
186 assertNotNull(install(COMPRESSED_ARSC_R)); in testFailInstallCompressedARSC_R()
191 assertNull(install(UNALIGNED_ARSC_Q)); in testFailInstallUnalignedARSC_Q()
195 assertNull(install(UNALIGNED_ARSC_Q)); in testFailInstallUnalignedARSC_Q_PlatformConfig_enabled()
198 assertNotNull(install(UNALIGNED_ARSC_Q)); in testFailInstallUnalignedARSC_Q_PlatformConfig_enabled()
203 assertNotNull(install(UNALIGNED_ARSC_R)); in testFailInstallUnalignedARSC_R()
/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/
DUsesSdkTest.kt64 val result = ApkGenerator.install(device, xml, tempFolder) in defaultsNoTag()
79 val result = ApkGenerator.install(device, xml, tempFolder) in defaultsWithTag()
94 val result = ApkGenerator.install(device, xml, tempFolder) in missingMinDefaults()
109 val result = ApkGenerator.install(device, xml, tempFolder) in missingTargetCoercedToMin()
129 val result = ApkGenerator.install(device, xml, tempFolder) in takeAndroidTargetSdk()
147 val result = ApkGenerator.install(device, xml, tempFolder) in emptyUsesSdk()
163 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastTargetSdk()
179 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastMinSdk()
200 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastExtensionSdk()
218 val result = ApkGenerator.install(device, xml, tempFolder) in lastDeclarationOverridesAllPrevious()
[all …]
/cts/common/device-side/bedstead/remoteaccountauthenticator/src/test/java/com/android/bedstead/remoteaccountauthenticator/
DRemoteAccountAuthenticatorTest.java39 try (RemoteAccountAuthenticator authenticator = RemoteAccountAuthenticator.install()) { in install_appIsInstalled()
48 RemoteAccountAuthenticator.install(sDeviceState.additionalUser())) { in install_differentUser_appIsInstalled()
56 RemoteAccountAuthenticator authenticator = RemoteAccountAuthenticator.install(); in autoclose_appIsUninstalled()
67 RemoteAccountAuthenticator.install()) { in addAccount_accountIsAdded()
77 RemoteAccountAuthenticator.install()) { in remove_accountIsRemoved()
88 RemoteAccountAuthenticator.install()) { in accountAutoclose_accountIsRemoved()
/cts/tests/tests/apache-http/src/android/net/http/cts/
DHttpResponseCacheTest.java62 HttpResponseCache installed = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstall()
69 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing()
70 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing()
75 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstallClosesPreviouslyInstalled()
78 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); in testInstallClosesPreviouslyInstalled()
103 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseCloses()
115 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testCloseUninstalls()
121 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testDeleteUninstalls()
132 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testStatisticsTracking()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDelegationScopesTest.java85 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_returnsFromSetDelegatedScopes()
104 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_fromApp_returnsFromSetDelegatedScopes()
122 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_fromApp_passComponentName_throwsException()
140 try (TestAppInstance testApp = sTestApp.install(sUser); in getDelegatedScopes_fromApp_differentPackage_throwsException()
141 TestAppInstance testApp2 = sTestApp2.install(sUser)) { in getDelegatedScopes_fromApp_differentPackage_throwsException()
164 try (TestAppInstance testApp = sTestApp.install(sUser)) { in setDelegatedScopes_invalidAdmin_throwsSecurityException()
175 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_invalidAdmin_throwsSecurityException()
184 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_returnsLatestFromSetDelegatedScopes()
225 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatePackages_oneApp_twoScopes_returnsFromSetDelegatedScopes()
255 try (TestAppInstance testApp = sTestApp.install(sUser); in getDelegatePackages_twoApps_differentScopes_returnsFromSetDelegatedScopes()
[all …]
DTransferOwnershipTest.kt55 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { testApp -> in <lambda>()
73 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
86 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { testApp -> in <lambda>()
104 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
122 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
140 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
174 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { testApp -> in <lambda>()
194 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
217 targetDeviceAdminTestAppSupportsTransferOwnership.install().use { in <lambda>()
237 targetDeviceAdminTestAppDoesNotSupportTransferOwnership.install().use { in <lambda>()
[all …]
DApplicationExemptionsTest.java114 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_noPermission_throwsSecurityException()
129 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_validExemptionSet_exemptionAppOpsGranted()
146 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_emptyExemptionSet_unsetsAllExemptions()
166 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_invalidExemptionInSet_throwsIllegalArgumentException()
190 try (TestAppInstance testApp = sTestApp.install()) { in getApplicationExemptions_noPermission_throwsSecurityException()
203 try (TestAppInstance testApp = sTestApp.install()) { in getApplicationExemptions_validPackage_returnsExemptionsSet()
230 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_reinstallApplication_exemptionAppOpsReset()
236 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_reinstallApplication_exemptionAppOpsReset()
250 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_powerRestrictionExemption_exemptedAppStandbyBucket()
271 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationExemptions_powerRestrictionExemption_allowsBgUsage()
[all …]
DDeviceIdentifiersTest.java60 try (TestAppInstance testApp = sSmsTestApp.install(); in getDeviceId_smsAppReturnsSameValue()
74 try (TestAppInstance testApp = sSmsTestApp.install(); in getImei_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
88 try (TestAppInstance testApp = sSmsTestApp.install(); in getMeid_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
102 try (TestAppInstance testApp = sSmsTestApp.install(); in getSubscriberId_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
116 try (TestAppInstance testApp = sSmsTestApp.install(); in getSimSerialNumber_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
130 try (TestAppInstance testApp = sSmsTestApp.install(); in getNai_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
DLauncherAppsTest.java99 try (TestAppInstance app = sTestApp.install(sDeviceState.dpc().user())) { in getActivityList_activityIsDisabled_isNotIncludedInList()
115 try (TestAppInstance app = sTestApp.install()) { in getActivityList_launcherActivityIsDisabled_syntheticActivityIsIncluded()
129 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_noPermission_throwsException()
140 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_true_isEnabled()
155 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_true_activityListIncludesSyntheticActivity()
171 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_false_isNotEnabled()
189 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_false_activityListDoesNotIncludeSyntheticActivity()
/cts/tools/mcts/
Ddownload_mcts.sh71 [[ -x `which wget` ]] || sudo apt-get install wget
72 [[ -x `which curl` ]] || sudo apt-get install curl
75 [[ -x `which wget` ]] || brew install wget
76 [[ -x `which curl` ]] || sudo apt-get install curl
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/
DLocaleConfigAppUpdateTest.java90 install(APK_WITH_LOCALECONFIG); in testUpgradedApk_KeepLocaleConfig_keepAppLocales()
98 install(APK_WITH_LOCALECONFIG); in testUpgradedApk_KeepLocaleConfig_keepAppLocales()
117 install(APK_WITHOUT_LOCALECONFIG); in testUpgradedApk_setFromApp_KeepAppLocales()
125 install(APK_WITHOUT_LOCALECONFIG); in testUpgradedApk_setFromApp_KeepAppLocales()
150 install(APK_WITH_LOCALECONFIG); in testUpgradedApk_removeLocaleConfig_ClearAppLocales()
167 install(APK_WITHOUT_LOCALECONFIG); in testUpgradedApk_removeLocaleConfig_ClearAppLocales()
193 install(APK_WITH_LOCALECONFIG); in testUpgradedApk_removeAppLocalesInLocaleConfig_ClearAppLocales()
210 install(APK_REMOVEAPPLOCALES_INLOCALECONFIG); in testUpgradedApk_removeAppLocalesInLocaleConfig_ClearAppLocales()
218 private void install(String apk) throws InterruptedException { in install() method in LocaleConfigAppUpdateTest
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java19 import static com.android.cts.install.lib.InstallUtils.assertStatusSuccess;
20 import static com.android.cts.install.lib.InstallUtils.getInstalledVersion;
21 import static com.android.cts.install.lib.InstallUtils.openPackageInstallerSession;
33 import com.android.cts.install.lib.Install;
34 import com.android.cts.install.lib.InstallUtils;
35 import com.android.cts.install.lib.LocalIntentSender;
36 import com.android.cts.install.lib.TestApp;
37 import com.android.cts.install.lib.Uninstall;
384 private static void assertInconsistentStagedSettings(Install install) { in assertInconsistentStagedSettings() argument
385 assertInconsistentSettings("inconsistent staged settings", install); in assertInconsistentStagedSettings()
[all …]
/cts/tests/credentials/src/android/credentials/cts/
DCtsDevicePolicyTest.java161 try (TestAppInstance systemCredentialProvider = sSystemCredentialProvider.install(); in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders()
163 sNonSystemCredentialProvider.install()) { in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders()
204 try (TestAppInstance systemCredentialProvider = sSystemCredentialProvider.install(); in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders_SDK()
206 sNonSystemCredentialProvider.install()) { in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders_SDK()
245 try (TestAppInstance systemCredentialProvider = sSystemCredentialProvider.install(); in setCredentialManagerPolicy_allowlistPolicy_allowsAllowlistedProviders()
247 sNonSystemCredentialProvider.install()) { in setCredentialManagerPolicy_allowlistPolicy_allowsAllowlistedProviders()
285 try (TestAppInstance credentialProvider1 = sSystemCredentialProvider.install(); in setCredentialManagerPolicy_blocklistPolicy_allowsNotBlocklistedProviders()
286 TestAppInstance credentialProvider2 = sNonSystemCredentialProvider.install()) { in setCredentialManagerPolicy_blocklistPolicy_allowsNotBlocklistedProviders()
324 try (TestAppInstance credentialProvider1 = sSystemCredentialProvider.install(); in setCredentialManagerPolicy_nullPolicy_allowsAllProviders()
325 TestAppInstance credentialProvider2 = sNonSystemCredentialProvider.install()) { in setCredentialManagerPolicy_nullPolicy_allowsAllProviders()
[all …]
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DAdditionalSubtypeLifecycleTest.java120 TestApis.packages().install(currentUser, new File(Ime1Constants.APK_PATH)); in testPerUserAdditionalInputMethodSubtype()
121 TestApis.packages().install(additionalUser, new File(Ime2Constants.APK_PATH)); in testPerUserAdditionalInputMethodSubtype()
154 TestApis.packages().install(currentUser, new File(Ime1Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser()
155 TestApis.packages().install(additionalUser, new File(Ime2Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser()
163 TestApis.packages().install(currentUser, new File(Ime1Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser()
194 TestApis.packages().install(currentUser, new File(Ime1Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser()
195 TestApis.packages().install(additionalUser, new File(Ime2Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser()
203 TestApis.packages().install(additionalUser, new File(Ime2Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser()
235 TestApis.packages().install(currentUser, new File(Ime1Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponClearDataForForegroundUser()
236 TestApis.packages().install(additionalUser, new File(Ime2Constants.APK_PATH)); in testClearAdditionalInputMethodSubtypeUponClearDataForForegroundUser()
[all …]

12345678910