/cts/tests/tests/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 80 try (LightsManager.LightsSession session = mManager.openSession()) { in testControlLightsPermissionIsRequiredToUseLights() 90 try (LightsManager.LightsSession session = mManager.openSession()) { in testControlSingleLight() 105 try (LightsManager.LightsSession session = mManager.openSession()) { in testControlMultipleLights() 130 try (LightsManager.LightsSession session = mManager.openSession()) { in testControlLights_onlyEffectiveForLifetimeOfClient() 172 try (LightsManager.LightsSession session = mManager.openSession()) { in testClearLight()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraSessionUtils.java | 85 public void onConfigured(CameraCaptureSession session) { in onConfigured() 117 CameraCaptureSession session, CaptureRequest request, Handler handler) in getCapturedResult() 126 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() 133 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() 183 CameraCaptureSession session = listener.getConfiguredSession(device, outputs, handler); in configureAndVerifySession() local 213 CameraCaptureSession session, CaptureRequest request, Handler handler) in captureAndVerifyResult()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 104 private void writeApk(@NonNull Session session, @NonNull String name) throws IOException { in writeApk() 138 Session session = installer.openSession(sessionId); in transferSession() local 183 Session session = createSession(); in transferToInvalidNewOwner() local 199 Session session = createSession(); in transferToOwnerWithoutInstallPermission() local 216 Session session = createSession(); in transferWithOpenWrite() local 234 Session session = createSession(); in transferSessionWithInvalidApk() local 256 Session session = createSession(); in transferWithApkFromWrongPackage() local
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 108 public void onAttached(WifiAwareSession session) { in onAttached() 210 public void onPublishStarted(PublishDiscoverySession session) { in onPublishStarted() 216 public void onSubscribeStarted(SubscribeDiscoverySession session) { in onSubscribeStarted() 314 PublishDiscoverySession session = mPublishDiscoverySession; in getPublishDiscoverySession() local 323 SubscribeDiscoverySession session = mSubscribeDiscoverySession; in getSubscribeDiscoverySession() local 465 WifiAwareSession session = attachAndGetSession(); in testAttachNoIdentity() local 493 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryAddressChanges() local 517 WifiAwareSession session = attachAndGetSession(); in testPublishDiscoverySuccess() local 562 WifiAwareSession session = attachAndGetSession(); in testPublishLimitedTtlSuccess() local 601 WifiAwareSession session = attachAndGetSession(); in testSubscribeDiscoverySuccess() local [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSession2Test.java | 144 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setSessionActivity() 154 try (MediaSession2 session = new MediaSession2.Builder(mContext).build()) { in testBuilder_createSessionWithoutId() 182 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setExtras_withFrameworkParcelable() 200 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setExtras_withCustomParcelable() 212 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token() 227 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token_extrasNotSet() 237 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testGetConnectedControllers_newController() 263 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testGetConnectedControllers_closedController() 287 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token_writeToParcel() 319 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBroadcastSessionCommand() [all …]
|
D | MediaCasTest.java | 261 Session session = mediaCas.openSession(); in testClearKeyApis() local 338 Session session = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() local 424 Session session = mediaCas.openSession(); in testClearKeyExceptions() local 513 TestEventListener(MediaCas mediaCas, MediaCas.Session session, int event, in TestEventListener() 546 public void onSessionEvent(MediaCas mediaCas, MediaCas.Session session, in onSessionEvent() 570 private void testSessionEventEcho(MediaCas mediaCas, MediaCas.Session session, int event, in testSessionEventEcho()
|
D | LoudnessEnhancerTest.java | 59 int session = am.generateAudioSessionId(); in test0_0ConstructorAndRelease() local 242 private void getLoudnessEnhancer(int session) { in getLoudnessEnhancer()
|
D | MediaSession2ServiceTest.java | 159 public Session2CommandGroup onConnect(MediaSession2 session, in testOnGetSession_returnsSession() 315 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testGetSessions() 334 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testAddSessions_removedWhenClose() 436 public Session2CommandGroup onConnect(MediaSession2 session, in onConnect()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 296 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandTuneForRecording() local 311 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandTuneForRecordingWithBundle() local 327 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandRelease() local 341 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandStartRecording() local 355 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandStopRecording() local 369 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCommandSendAppPrivateCommandForRecording() local 381 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCallbackTuned() local 397 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCallbackError() local 413 final CountingRecordingSession session = CountingTvInputService.sRecordingSession; in verifyCallbackRecordingStopped() local 459 final CountingSession session = CountingTvInputService.sSession; in verifyCommandTune() local [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 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() 278 public static void assertNoViewLevelEvents(@NonNull Session session, in assertNoViewLevelEvents() 291 public static void assertNoEvents(@NonNull Session session, in assertNoEvents() 387 int index, @NonNull ContentCaptureSession session, @NonNull AutofillId parentId, in assertVirtualViewAppeared() 408 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewDisappeared() [all …]
|
D | BlankWithTitleActivityTest.java | 60 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() local 80 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle_noAnimation() local
|
D | CustomViewActivity.java | 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 | CustomViewActivityTest.java | 107 final Session session = service.getOnlyFinishedSession(); in testLifecycle() local 127 final ContentCaptureSession session = customView.getContentCaptureSession(); in testVirtualView_wrongWay() local 146 final Session session = service.getOnlyFinishedSession(); in testVirtualView_wrongWay() local 230 final Session session = service.getOnlyFinishedSession(); in testVirtualView_oneLevel() local 344 final Session session = service.getOnlyFinishedSession(); in testVirtualView_multipleLevels() local 409 final Session session = service.getOnlyFinishedSession(); in testVirtualView_batchDisappear() local 518 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() local
|
D | LoginActivity.java | 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 | BlankActivity.java | 27 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
|
D | LoginActivityTest.java | 113 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_defaultSession() local 262 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextAfterCreate() local 298 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextOnCreate() local 357 final Session session = service.getOnlyFinishedSession(); in testTextChanged() local 398 final Session session = service.getOnlyFinishedSession(); in testTextChangeBuffer() local 430 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() local 460 final Session session = service.getOnlyFinishedSession(); in testDisabledByApp() local 491 final Session session = service.getOnlyFinishedSession(); in testDisabledFlagSecureAndByApp() local 620 final Session session = service.getOnlyFinishedSession(); in testAddChildren_rightAway() local 662 final Session session = service.getOnlyFinishedSession(); in testAddChildren_afterAnimation() local
|
D | AppKilledTest.java | 40 final Session session = service.getOnlyFinishedSession(); in testDoIt() local
|
D | ChildlessActivity.java | 33 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
|
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 316 Session session = null; in testATR() local 342 Session session = null; in testOpenBasicChannelNullAid() local 372 Session session = null; in testOpenBasicChannelNonNullAid() local 425 Session session = null; in testSelectableAid() local 461 Session session = null; in testNonSelectableAid() local 486 Session session = null; in testSecurityExceptionInTransmit() local 519 Session session = null; in internalTransmitApdu() local 540 Session session = null; in internalTransmitApduWithoutP2() local
|
/cts/tests/tests/print/src/android/print/cts/ |
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 71 private static void addPrinter(StubbablePrinterDiscoverySession session, int status) { in addPrinter() 96 StubbablePrinterDiscoverySession[] session = new StubbablePrinterDiscoverySession[1]; in printerReappearsWhileCanceling() local
|
/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()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/ |
D | AccessControlTest.java | 269 Session session = null; in testSelectableAid() local 297 Session session = null; in testUnauthorisedAid() local 324 Session session = null; in testTransmitAPDU() local 354 Session session = null; in testUnauthorisedAPDU() local
|
/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/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/ |
D | AccessControlTest.java | 267 Session session = null; in testSelectableAid() local 295 Session session = null; in testUnauthorisedAid() local 322 Session session = null; in testTransmitAPDU() local 352 Session session = null; in testUnauthorisedAPDU() local
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/ |
D | AccessControlTest.java | 266 Session session = null; in testSelectableAid() local 294 Session session = null; in testUnauthorisedAid() local 321 Session session = null; in testTransmitAPDU() local 351 Session session = null; in testUnauthorisedAPDU() local
|