/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/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ChildlessActivityTest.java | 47 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 111 final Session session = service.getOnlyFinishedSession(); in testDefaultLifecycle() 173 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity() 176 final Session session2 = service.getFinishedSession(sessionId2); in testLaunchAnotherActivity() 225 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity_onTopOfIt() 234 final Session session2 = service.getFinishedSession(sessionId2); in testLaunchAnotherActivity_onTopOfIt() 265 final Session session = service.getOnlyFinishedSession(); in testAddAndRemoveNoImportantChild() 302 final Session session = service.getOnlyFinishedSession(); in testAddAndRemoveImportantChild() 351 final Session session = service.getOnlyFinishedSession(); in testAddImportantChildAfterSessionStarted() 408 final Session mainTestSession = service.getFinishedSession(mainSessionId); in testAddAndRemoveImportantChildOnDifferentSession() [all …]
|
D | CtsContentCaptureService.java | 80 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); 85 private final ArrayMap<ContentCaptureSessionId, Session> mFinishedSessions = new ArrayMap<>(); 238 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession() 244 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession() 254 final Session session = getExistingSession(sessionId); in onDestroyContentCaptureSession() 278 final Session session = getExistingSession(sessionId); in onContentCaptureEvent() 308 public Session getFinishedSession(@NonNull ContentCaptureSessionId sessionId) in getFinishedSession() 313 final Session session = mFinishedSessions.get(sessionId); in getFinishedSession() 326 public Session getOnlyFinishedSession() throws InterruptedException { in getOnlyFinishedSession() 401 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() 278 public static void assertNoViewLevelEvents(@NonNull Session session, in assertNoViewLevelEvents() 291 public static void assertNoEvents(@NonNull Session session, in assertNoEvents() [all …]
|
D | BlankWithTitleActivityTest.java | 22 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 60 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() 80 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle_noAnimation()
|
D | CustomViewActivity.java | 30 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 94 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents() 108 public List<ContentCaptureEvent> assertInitialViewsAppeared(Session session, in assertInitialViewsAppeared() 118 private List<ContentCaptureEvent> assertJustInitialViewsAppeared(@NonNull Session session, in assertJustInitialViewsAppeared()
|
D | BlankActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 27 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
|
D | ChildlessActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 33 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
|
D | AppKilledTest.java | 23 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 40 final Session session = service.getOnlyFinishedSession(); in testDoIt()
|
D | LoginActivity.java | 29 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 71 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents() 83 public List<ContentCaptureEvent> assertInitialViewsAppeared(@NonNull Session session, in assertInitialViewsAppeared() 97 public List<ContentCaptureEvent> assertJustInitialViewsAppeared(@NonNull Session session, in assertJustInitialViewsAppeared()
|
D | LoginActivityTest.java | 45 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 113 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_defaultSession() 164 final Session mainSession = service.getFinishedSession(mainSessionId); in testSimpleLifecycle_rootViewSession() 165 final Session childSession = service.getFinishedSession(childSessionId); in testSimpleLifecycle_rootViewSession() 262 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextAfterCreate() 298 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextOnCreate() 357 final Session session = service.getOnlyFinishedSession(); in testTextChanged() 398 final Session session = service.getOnlyFinishedSession(); in testTextChangeBuffer() 430 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() 460 final Session session = service.getOnlyFinishedSession(); in testDisabledByApp() [all …]
|
D | BlankWithTitleActivity.java | 29 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 45 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
|
D | CustomViewActivityTest.java | 44 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 107 final Session session = service.getOnlyFinishedSession(); in testLifecycle() 146 final Session session = service.getOnlyFinishedSession(); in testVirtualView_wrongWay() 230 final Session session = service.getOnlyFinishedSession(); in testVirtualView_oneLevel() 344 final Session session = service.getOnlyFinishedSession(); in testVirtualView_multipleLevels() 409 final Session session = service.getOnlyFinishedSession(); in testVirtualView_batchDisappear() 518 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure()
|
D | AbstractContentCaptureActivity.java | 21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 96 public abstract void assertDefaultEvents(@NonNull Session session); in assertDefaultEvents()
|
/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/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 32 import android.se.omapi.Session; 316 Session session = null; in testATR() 342 Session session = null; in testOpenBasicChannelNullAid() 372 Session session = null; in testOpenBasicChannelNonNullAid() 425 Session session = null; in testSelectableAid() 461 Session session = null; in testNonSelectableAid() 486 Session session = null; in testSecurityExceptionInTransmit() 519 Session session = null; in internalTransmitApdu() 540 Session session = null; in internalTransmitApduWithoutP2()
|
/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 {
|
/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/util/src/android/util/cts/ |
D | InstallUtilTest.java | 156 try (PackageInstaller.Session session in testOpenAndAbandonSessionForSingleApk() 175 try (PackageInstaller.Session session in testOpenAndCommitSessionForSingleApk() 191 try (PackageInstaller.Session session in testOpenSingleSessionWithParameters() 202 try (PackageInstaller.Session parentSession in testOpenSessionForMultiPackageSession() 212 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/ |
D | AccessControlTest.java | 31 import android.se.omapi.Session; 269 Session session = null; in testSelectableAid() 297 Session session = null; in testUnauthorisedAid() 324 Session session = null; in testTransmitAPDU() 354 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; 267 Session session = null; in testSelectableAid() 295 Session session = null; in testUnauthorisedAid() 322 Session session = null; in testTransmitAPDU() 352 Session session = null; in testUnauthorisedAPDU()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/ |
D | AccessControlTest.java | 31 import android.se.omapi.Session; 266 Session session = null; in testSelectableAid() 294 Session session = null; in testUnauthorisedAid() 321 Session session = null; in testTransmitAPDU() 351 Session session = null; in testUnauthorisedAPDU()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 143 try (PackageInstaller.Session session = in commit() 173 try (PackageInstaller.Session session = in createSession() 221 try (PackageInstaller.Session session = in createSingleInstallSession()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 144 try (PackageInstaller.Session parentSession = in testInvalidStateScenarios() 147 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() 164 try (PackageInstaller.Session toAbandonSession = in testInvalidStateScenarios()
|