Home
last modified time | relevance | path

Searched defs:session (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/tests/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java80 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/
DCameraSessionUtils.java85 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/
DInstallSessionTransferTest.java104 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/
DSingleDeviceTest.java108 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/
DMediaSession2Test.java144 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 …]
DMediaCasTest.java261 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()
DLoudnessEnhancerTest.java59 int session = am.generateAudioSessionId(); in test0_0ConstructorAndRelease() local
242 private void getLoudnessEnhancer(int session) { in getLoudnessEnhancer()
DMediaSession2ServiceTest.java159 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/
DTvInputServiceTest.java296 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/
DAssertions.java57 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 …]
DBlankWithTitleActivityTest.java60 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() local
80 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle_noAnimation() local
DCustomViewActivity.java94 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()
DCustomViewActivityTest.java107 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
DLoginActivity.java71 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()
DBlankActivity.java27 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
DLoginActivityTest.java113 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
DAppKilledTest.java40 final Session session = service.getOnlyFinishedSession(); in testDoIt() local
DChildlessActivity.java33 public void assertDefaultEvents(@NonNull Session session) { in assertDefaultEvents()
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/
DOmapiTest.java316 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/
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java71 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/
DInstallUtilTest.java156 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/
DAccessControlTest.java269 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/
DInstall.java143 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/
DAccessControlTest.java267 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/
DAccessControlTest.java266 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

1234