Home
last modified time | relevance | path

Searched refs:single (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DPackageInstallerEnumerationTests.java65 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothing_cannotSeeSession()
73 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingHasPermission_canSeeSession()
81 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesPackage_canSeeSession()
89 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingTargetsQ_canSeeSession()
97 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_sessionOwner_canSeeSession()
105 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothing_cannotSeeSession()
114 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingHasPermission_canSeeSession()
123 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesPackage_canSeeSession()
132 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingTargetsQ_canSeeSession()
141 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_sessionOwner_canSeeSession()
[all …]
DLauncherAppsEnumerationTests.java244 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothing_cannotSeeSession()
262 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingHasPermission_canSeeSession()
280 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesPackage_canSeeSession()
298 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingTargetsQ_canSeeSession()
316 final int expectedSessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_sessionOwner_canSeeSession()
368 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothing_cannotSeeSessions()
384 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingHasPermission_canSeeSessions()
399 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesPackage_canSeeSessions()
415 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingTargetsQ_canSeeSessions()
430 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_sessionOwner_canSeeSessions()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java110 Install.single(TestApp.A1).commit(); in testBasic()
117 Install.single(TestApp.A2).setEnableRollback().commit(); in testBasic()
179 Install.single(TestApp.A1).commit(); in testSingleRollbackPersistence()
180 Install.single(TestApp.A2).setEnableRollback().commit(); in testSingleRollbackPersistence()
305 Install.single(TestApp.A1).commit(); in testEnableRollbackPermission()
306 Install.single(TestApp.A2).setEnableRollback().commit(); in testEnableRollbackPermission()
329 Install.single(TestApp.A1).commit(); in testNonModuleEnableRollback()
330 Install.single(TestApp.A2).setEnableRollback().commit(); in testNonModuleEnableRollback()
345 Install.single(TestApp.A1).commit(); in testMultiPackageEnableFail()
361 Install.single(TestApp.A1).commit(); in testGetRollbackDataPolicy()
[all …]
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallConstraintsTest.kt117 Install.single(TestApp.A1).commit() in <lambda>()
155 Install.single(TestApp.A1).commit() in <lambda>()
156 Install.single(TestApp.B1).commit() in <lambda>()
187 Install.single(TestApp.A1).commit() in <lambda>()
188 Install.single(TestApp.B1).commit() in <lambda>()
221 Install.single(TestApp.A1).commit() in <lambda>()
253 Install.single(TestApp.A1).commit() in <lambda>()
285 Install.single(TestApp.A1).commit() in <lambda>()
286 Install.single(TestApp.B1).commit() in <lambda>()
287 Install.single(TestApp.S1).commit() in <lambda>()
[all …]
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java119 int sessionId = Install.single(TestApp.A1).commit(); in testSessionCleanUp_Single()
160 int childBId = Install.single(TestApp.B1).createSession(); in testRemoveChild()
161 int childCId = Install.single(TestApp.C1).createSession(); in testRemoveChild()
190 Install parentStaged = Install.multi(Install.single(TestApp.A1)).setStaged(); in testFailInconsistentMultiPackageCommit()
191 Install childStaged = Install.multi(Install.single(TestApp.A1).setStaged()); in testFailInconsistentMultiPackageCommit()
199 Install parentEnabledRollback = Install.multi(Install.single(TestApp.A1)) in testFailInconsistentMultiPackageCommit()
202 Install.single(TestApp.A1).setEnableRollback()); in testFailInconsistentMultiPackageCommit()
214 Install childInstall = Install.single(TestApp.A1).setSessionMode( in testChildFailurePropagated()
256 int parentId = Install.single(TestApp.A1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail()
257 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail()
[all …]
DSessionAbandonBehaviorTest.java267 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_shouldReceiveAbandonCallBack()
281 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_shouldReceiveAbandonCallBack()
296 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openedSession_canNotGetNames()
313 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_openedSession_canNotGetNames()
330 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openForWriting_shouldFail()
348 final int sessiondId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_openForWriting_shouldFail()
366 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_canNotOpenAgain()
382 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_canNotOpenAgain()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java105 Install.single(TestApp.A1).commit(); in testApkOnlyStagedRollback_Phase1_Install()
106 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyStagedRollback_Phase1_Install()
165 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
166 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
168 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
169 Install.single(TestApp.B2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
254 Install.single(TestApp.A1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
255 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
257 Install.single(TestApp.B1).commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
258 Install.single(TestApp.B2).setStaged().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
[all …]
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java120 Install.single(apex)); in testRejectsApexWithAdditionalFile_rebootless()
132 Install.single(apex)); in testRejectsApexWithAdditionalFolder_rebootless()
144 Install.single(apex)); in testRejectsApexWithPostInstallHook_rebootless()
156 Install.single(apex)); in testRejectsApexWithPreInstallHook_rebootless()
166 AssertionError.class, "has unexpected SHA512 hash", Install.single(apex)); in testRejectsApexWrongSHA_rebootless()
173 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
DStagedInstallTest.java438 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit()
448 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeRequested_Commit()
458 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit()
527 Install.single(apex)); in testsFailsNonStagedApexInstall()
575 Install.single(Apex2AsApk)); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
951 Install.single(TestApp.A2).commit(); in testInstallMultipleStagedSession_PartialFail_ApkOnly_Commit()
972 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_SingleSession_Commit()
974 Install.single(TestApp.A2).commit(); in testFailureReasonPersists_SingleSession_Commit()
989 int firstSessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
990 int secondSessionId = Install.single(TestApp.B1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DBaseAdapterTest.java133 CharSequence[] single = baseAdapter.getAutofillOptions(); in testGetAutofillOptions() local
134 assertEquals(1, single.length); in testGetAutofillOptions()
135 assertEquals("single", single[0]); in testGetAutofillOptions()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java75 final File single = getContext().getExternalCacheDir(); in testMultipleCacheDirs() local
76 assertNotNull("Primary storage must always be available", single); in testMultipleCacheDirs()
78 assertEquals(single, firstMultiple); in testMultipleCacheDirs()
85 final File single = getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES); in testMultipleFilesDirs() local
86 assertNotNull("Primary storage must always be available", single); in testMultipleFilesDirs()
89 assertEquals(single, firstMultiple); in testMultipleFilesDirs()
96 final File single = getContext().getObbDir(); in testMultipleObbDirs() local
97 assertNotNull("Primary storage must always be available", single); in testMultipleObbDirs()
99 assertEquals(single, firstMultiple); in testMultipleObbDirs()
/cts/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/
DSecureFrpInstallTest.java118 Install.single(TestApp.A1).commit(); in testPackageInstallApi()
130 Install.single(TestApp.A1).commit(); in testPackageInstallApiAsShell()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java138 Install.single(TestApp.A1).commit(); in testCommitSingleTestApp()
162 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk()
181 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk()
198 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters()
/cts/tests/camera/src/android/hardware/camera2/cts/
DPropertyTest.java93 Install.single(PROPERTY_APP1).commit(); in setupClass()
94 Install.single(PROPERTY_APP2).commit(); in setupClass()
/cts/tests/tests/security/src/android/security/cts/
DPackageInstallerTest.java125 Install.single(TEST_APP).enableVerifier().addInstallFlags( in verificationCanNotBeDisabledByInstaller()
137 Install.single(TEST_APP).commit(); in commitSessionInBackground_withActivityIntentSender_doesNotLaunchActivity()
162 Install.single(TEST_APP).commit(); in commitSessionInBackground_withForegroundServiceIntentSender_doesNotStartService()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java117 int sessionId = Install.single(TestApp.A1).commit(); in testBroadcastNotReceivedForUpdateInstall()
127 Install.single(TestApp.A2).commit(); in testBroadcastNotReceivedForUpdateInstall()
/cts/common/device-side/bedstead/modules/permissions/
DAndroid.bp8 // flowing in a single direction to split these targets
/cts/hostsidetests/install/app/src/android/cts/install/
DUpgradeTest.java118 ? Install.single(testApps.get(0)) in getParameterizedInstall()
DDowngradeTest.java151 ? Install.single(testApps.get(0)) in getParameterizedInstall()
DSamegradeTest.java165 ? Install.single(testApps.get(0)) in getParameterizedInstall()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerGetPropertyTest.java97 Install.single(PROPERTY_APP1).commit(); in setup()
98 Install.single(PROPERTY_APP2).commit(); in setup()
349 Install.single(PROPERTY_APP3).commit(); in testPackageRemoval()
DPackageManagerQueryPropertyTest.java95 Install.single(PROPERTY_APP1).commit(); in setup()
96 Install.single(PROPERTY_APP2).commit(); in setup()
337 Install.single(PROPERTY_APP2).commit(); in testPackageRemoval()
DInstallSessionCleanupTest.java92 Install.single(INSTALLER_APP).commit(); in testSessionsDeletedOnInstallerUninstalled()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java107 Install.single(TESTAPP_STATIC_LIB_PROVIDER5).commit(); in testSamegradeStaticSharedLibFail()
114 Install.single(TESTAPP_STATIC_LIB_PROVIDER5)); in testSamegradeStaticSharedLibFail()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DREADME.md24 historical data as well, since multiple reports could get batched into a single MotionEvent.

12