/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 30 import android.content.pm.PackageInstaller.Session; 104 private void writeApk(@NonNull Session session, @NonNull String name) throws IOException { in writeApk() 117 private Session createSession() throws Exception { in createSession() 138 Session session = installer.openSession(sessionId); in transferSession() 183 Session session = createSession(); in transferToInvalidNewOwner() 199 Session session = createSession(); in transferToOwnerWithoutInstallPermission() 216 Session session = createSession(); in transferWithOpenWrite() 234 Session session = createSession(); in transferSessionWithInvalidApk() 256 Session session = createSession(); in transferWithApkFromWrongPackage()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 96 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testInstallTwoApksDowngradeFail() 130 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testFailInconsistentMultiPackageCommit() 152 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testFailInconsistentMultiPackageCommit() 168 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testChildFailurePropagated() 191 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testEarlyFailureFailsAll() 215 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in testInvalidStateScenarios() 223 PackageInstaller.Session childSession = getSessionOrFail(childSessionId); in testInvalidStateScenarios() 238 PackageInstaller.Session toAbandonSession = getSessionOrFail(toAbandonSessionId); in testInvalidStateScenarios() 268 final PackageInstaller.Session parentSession = getSessionOrFail(parentSessionId); in installMultiPackage() 279 PackageInstaller.Session childSession = getSessionOrFail(childSessionId); in installMultiPackage() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CtsContentCaptureService.java | 79 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); 84 private final ArrayMap<ContentCaptureSessionId, Session> mFinishedSessions = new ArrayMap<>(); 237 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession() 243 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession() 253 final Session session = getExistingSession(sessionId); in onDestroyContentCaptureSession() 277 final Session session = getExistingSession(sessionId); in onContentCaptureEvent() 307 public Session getFinishedSession(@NonNull ContentCaptureSessionId sessionId) in getFinishedSession() 312 final Session session = mFinishedSessions.get(sessionId); in getFinishedSession() 325 public Session getOnlyFinishedSession() throws InterruptedException { in getOnlyFinishedSession() 400 private Session getExistingSession(@NonNull ContentCaptureSessionId sessionId) { in getExistingSession() [all …]
|
D | Assertions.java | 34 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 57 public static void assertRightActivity(@NonNull Session session, in assertRightActivity() 66 public static void assertRightActivity(@NonNull Session session, in assertRightActivity() 79 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext() 87 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext() 108 public static void assertChildSessionContext(@NonNull Session session) { in assertChildSessionContext() 123 public static void assertChildSessionContext(@NonNull Session session, in assertChildSessionContext() 132 public static void assertRightRelationship(@NonNull Session parent, @NonNull Session child) { in assertRightRelationship() 262 public static void assertNoViewLevelEvents(@NonNull Session session, in assertNoViewLevelEvents() 275 public static void assertNoEvents(@NonNull Session session, in assertNoEvents() [all …]
|
D | CustomViewActivity.java | 26 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 90 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents() 104 public List<ContentCaptureEvent> assertInitialViewsAppeared(Session session, in assertInitialViewsAppeared() 114 private List<ContentCaptureEvent> assertJustInitialViewsAppeared(@NonNull Session session, in assertJustInitialViewsAppeared()
|
D | AppKilledTest.java | 23 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 40 final Session session = service.getOnlyFinishedSession(); in testDoIt()
|
D | AbstractContentCaptureActivity.java | 21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 96 public abstract void assertDefaultEvents(@NonNull Session session); in assertDefaultEvents()
|
D | CustomViewActivityTest.java | 40 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 103 final Session session = service.getOnlyFinishedSession(); in testLifecycle() 142 final Session session = service.getOnlyFinishedSession(); in testVirtualView_wrongWay() 221 final Session session = service.getOnlyFinishedSession(); in testVirtualView_oneLevel() 335 final Session session = service.getOnlyFinishedSession(); in testVirtualView_multipleLevels() 400 final Session session = service.getOnlyFinishedSession(); in testVirtualView_batchDisappear() 509 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCasTest.java | 21 import android.media.MediaCas.Session; 186 public void onSessionEvent(MediaCas MediaCas, MediaCas.Session session, in testEnumeratePlugins() 261 Session session = mediaCas.openSession(); in testClearKeyApis() 268 Session streamSession = mediaCas.openSession(); in testClearKeyApis() 338 Session session = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 343 Session streamSession = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 408 Session invalidSession = mediaCas.openSession(); in testClearKeyExceptions() 424 Session session = mediaCas.openSession(); in testClearKeyExceptions() 499 private final MediaCas.Session mSession; 513 TestEventListener(MediaCas mediaCas, MediaCas.Session session, int event, in TestEventListener() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | StubTvInputService.java | 29 public Session onCreateSession(String inputId) { in onCreateSession() 33 private static class StubSessionImpl extends Session {
|
D | FaultyTvInputService.java | 29 public Session onCreateSession(String inputId) { in onCreateSession() 38 public static class FaultySession extends Session {
|
D | StubTunerTvInputService.java | 79 public Session onCreateSession(String inputId) { in onCreateSession() 83 static class StubSessionImpl extends Session {
|
D | HardwareSessionTest.java | 116 public Session onCreateSession(String inputId) { in onCreateSession()
|
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/ |
D | StubTvInputService.java | 29 public Session onCreateSession(String inputId) { in onCreateSession() 33 private static class StubSessionImpl extends Session {
|
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 31 import android.se.omapi.Session; 239 Session session = null; in testATR() 264 Session session = null; in testOpenBasicChannelNullAid() 293 Session session = null; in testOpenBasicChannelNonNullAid() 344 Session session = null; in testSelectableAid() 379 Session session = null; in testNonSelectableAid() 403 Session session = null; in testSecurityExceptionInTransmit() 436 Session session = null; in internalTransmitApdu() 457 Session session = null; in internalTransmitApduWithoutP2()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/ |
D | AccessControlTest.java | 31 import android.se.omapi.Session; 248 Session session = null; in testSelectableAid() 276 Session session = null; in testUnauthorisedAid() 303 Session session = null; in testTransmitAPDU() 333 Session session = null; in testUnauthorisedAPDU()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/ |
D | AccessControlTest.java | 31 import android.se.omapi.Session; 249 Session session = null; in testSelectableAid() 277 Session session = null; in testUnauthorisedAid() 304 Session session = null; in testTransmitAPDU() 334 Session session = null; in testUnauthorisedAPDU()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/ |
D | AccessControlTest.java | 31 import android.se.omapi.Session; 251 Session session = null; in testSelectableAid() 279 Session session = null; in testUnauthorisedAid() 306 Session session = null; in testTransmitAPDU() 336 Session session = null; in testUnauthorisedAPDU()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | Install.java | 105 PackageInstaller.Session session = getPackageInstaller().openSession(sessionId); in createInstallSession() 127 final PackageInstaller.Session session; in commit()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 453 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in testNonStagedInstallApkWithSameNameAsApexShouldFail() 673 Pair<Integer, PackageInstaller.Session> sessionPair = in stageDowngradeSingleApk() 685 Pair<Integer, PackageInstaller.Session> sessionPair = in stageSingleApk() 693 private static Pair<Integer, PackageInstaller.Session> 699 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in prepareSingleApkStagedSession() 708 PackageInstaller.Session multiPackageSession = packageInstaller.openSession( in stageMultipleApks() 711 Pair<Integer, PackageInstaller.Session> sessionPair = in stageMultipleApks() 772 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in installNonStaged() 778 private static void writeApk(PackageInstaller.Session session, String apkFileName) in writeApk()
|
D | ApexShimValidationTest.java | 150 PackageInstaller.Session session = installer.openSession(sessionId); in stageApex() 158 private static void writeApex(PackageInstaller.Session session, String apkFileName) in writeApex()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 237 public Session onCreateSession(String inputId) { in onCreateSession() 238 Session session = new MockSessionImpl(this); in onCreateSession() 243 private static class MockSessionImpl extends Session {
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 31 private PackageInstaller.Session mSession;
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PackageInstallerTestBase.kt | 131 protected fun startInstallationViaSession(): PackageInstaller.Session { in <lambda>()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 56 private PackageInstaller.Session mSession;
|