Home
last modified time | relevance | path

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

12

/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/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java84 Install.single(TestApp.A1).commit(); in testBasic()
91 Install.single(TestApp.A2).setEnableRollback().commit(); in testBasic()
120 Install.single(TestApp.A1).commit(); in testGetRollbackDataPolicy()
124 final int sessionId = Install.single(TestApp.A2).setEnableRollback( in testGetRollbackDataPolicy()
141 Install.single(TestApp.A1).commit(); in testRollbackClearsFlags()
146 Install.single(TestApp.A2).setEnableRollback().commit(); in testRollbackClearsFlags()
174 Install.single(TestApp.AOriginal1).commit(); in testRollbackAfterKeyRotation()
177 Install.single(TestApp.ARotated2).setEnableRollback().commit(); in testRollbackAfterKeyRotation()
/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/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/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/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/
DSecureFrpInstallTest.java104 Install.single(TestApp.A1).commit(); in testPackageInstallApi()
116 Install.single(TestApp.A1).commit(); in testPackageInstallApiAsShell()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java74 Install.single(TESTAPP_STATIC_LIB_PROVIDER5).commit(); in testSamegradeStaticSharedLibFail()
79 Install.single(TESTAPP_STATIC_LIB_PROVIDER5)); in testSamegradeStaticSharedLibFail()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java131 Install.single(TestApp.A1).commit(); in testCommitSingleTestApp()
155 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk()
174 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk()
191 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java429 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit()
439 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeRequested_Commit()
450 Install.single(TestApp.A2).commit(); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit()
524 Install.single(apex)); in testsFailsNonStagedApexInstall()
570 Install.single(TESTAPP_SAME_NAME_AS_APEX)); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
719 Install.single(TestApp.Apex2).setStaged()); in testInstallApex_DeviceDoesNotSupportApex_Fails()
985 Install.single(TestApp.A2).commit(); in testInstallMultipleStagedSession_PartialFail_ApkOnly_Commit()
1006 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_SingleSession_Commit()
1008 Install.single(TestApp.A2).commit(); in testFailureReasonPersists_SingleSession_Commit()
1023 int firstSessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
[all …]
DApexShimValidationTest.java111 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
/cts/tests/tests/security/src/android/security/cts/
DPackageInstallerTest.java69 Install.single(TEST_APP).addInstallFlags( in verificationCanNotBeDisabledByInstaller()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerGetPropertyTest.java94 Install.single(PROPERTY_APP1).commit(); in setup()
95 Install.single(PROPERTY_APP2).commit(); in setup()
344 Install.single(PROPERTY_APP3).commit(); in testPackageRemoval()
DPackageManagerQueryPropertyTest.java92 Install.single(PROPERTY_APP1).commit(); in setup()
93 Install.single(PROPERTY_APP2).commit(); in setup()
334 Install.single(PROPERTY_APP2).commit(); in testPackageRemoval()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DREADME.md18 historical data as well, since multiple reports could get batched into a single MotionEvent.
/cts/hostsidetests/install/app/src/android/cts/install/
DUpgradeTest.java116 ? 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()
DInstallTest.java153 ? Install.single(testApps.get(0)) in getParameterizedInstall()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java65 public static Install single(TestApp testApp) { in single() method in Install
/cts/
DAndroid.bp11 // Please consider splitting the single license below into multiple licenses,
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageSetInstallerTest.kt247 .single() in <lambda>()
/cts/tools/cts-tradefed/
DREADME38 To run a test plan on a single device:
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile44 single-file=no
233 # Maximum number of characters on a single line.
244 single-line-if-stmt=yes
/cts/hostsidetests/hdmicec/
Dcec_adapter.md174 where all of the above parameters should be filled in with a single HEX digit

12