/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | PackageInstallerEnumerationTests.java | 65 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 …]
|
D | LauncherAppsEnumerationTests.java | 244 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/ |
D | RollbackManagerTest.java | 110 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/ |
D | InstallConstraintsTest.kt | 117 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/ |
D | AtomicInstallTest.java | 119 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 …]
|
D | SessionAbandonBehaviorTest.java | 267 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/ |
D | HostTestHelper.java | 105 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/ |
D | ApexShimValidationTest.java | 120 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()
|
D | StagedInstallTest.java | 438 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/ |
D | BaseAdapterTest.java | 133 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/ |
D | CommonExternalStorageTest.java | 75 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/ |
D | SecureFrpInstallTest.java | 118 Install.single(TestApp.A1).commit(); in testPackageInstallApi() 130 Install.single(TestApp.A1).commit(); in testPackageInstallApiAsShell()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 138 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/ |
D | PropertyTest.java | 93 Install.single(PROPERTY_APP1).commit(); in setupClass() 94 Install.single(PROPERTY_APP2).commit(); in setupClass()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PackageInstallerTest.java | 125 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/ |
D | SessionCommitBroadcastTest.java | 117 int sessionId = Install.single(TestApp.A1).commit(); in testBroadcastNotReceivedForUpdateInstall() 127 Install.single(TestApp.A2).commit(); in testBroadcastNotReceivedForUpdateInstall()
|
/cts/common/device-side/bedstead/modules/permissions/ |
D | Android.bp | 8 // flowing in a single direction to split these targets
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | UpgradeTest.java | 118 ? Install.single(testApps.get(0)) in getParameterizedInstall()
|
D | DowngradeTest.java | 151 ? Install.single(testApps.get(0)) in getParameterizedInstall()
|
D | SamegradeTest.java | 165 ? Install.single(testApps.get(0)) in getParameterizedInstall()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerGetPropertyTest.java | 97 Install.single(PROPERTY_APP1).commit(); in setup() 98 Install.single(PROPERTY_APP2).commit(); in setup() 349 Install.single(PROPERTY_APP3).commit(); in testPackageRemoval()
|
D | PackageManagerQueryPropertyTest.java | 95 Install.single(PROPERTY_APP1).commit(); in setup() 96 Install.single(PROPERTY_APP2).commit(); in setup() 337 Install.single(PROPERTY_APP2).commit(); in testPackageRemoval()
|
D | InstallSessionCleanupTest.java | 92 Install.single(INSTALLER_APP).commit(); in testSessionsDeletedOnInstallerUninstalled()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/ |
D | StaticSharedLibsTests.java | 107 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/ |
D | README.md | 24 historical data as well, since multiple reports could get batched into a single MotionEvent.
|