Home
last modified time | relevance | path

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

12

/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()
DCamera2Focuser.java93 public Camera2Focuser(CameraDevice camera, CameraCaptureSession session, Surface requestSurface, in Camera2Focuser()
348 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in createCaptureListener()
363 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in createCaptureListener()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java101 private void writeApk(@NonNull Session session, @NonNull String name) throws IOException { in writeApk()
135 Session session = installer.openSession(sessionId); in transferSession() local
180 Session session = createSession(); in transferToInvalidNewOwner() local
196 Session session = createSession(); in transferToOwnerWithoutInstallPermission() local
213 Session session = createSession(); in transferWithOpenWrite() local
231 Session session = createSession(); in transferSessionWithInvalidApk() local
253 Session session = createSession(); in transferWithApkFromWrongPackage() local
/cts/tests/tests/net/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java103 public void onAttached(WifiAwareSession session) { in onAttached()
205 public void onPublishStarted(PublishDiscoverySession session) { in onPublishStarted()
211 public void onSubscribeStarted(SubscribeDiscoverySession session) { in onSubscribeStarted()
309 PublishDiscoverySession session = mPublishDiscoverySession; in getPublishDiscoverySession() local
318 SubscribeDiscoverySession session = mSubscribeDiscoverySession; in getSubscribeDiscoverySession() local
460 WifiAwareSession session = attachAndGetSession(); in testAttachNoIdentity() local
488 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryAddressChanges() local
512 WifiAwareSession session = attachAndGetSession(); in testPublishDiscoverySuccess() local
557 WifiAwareSession session = attachAndGetSession(); in testPublishLimitedTtlSuccess() local
596 WifiAwareSession session = attachAndGetSession(); in testSubscribeDiscoverySuccess() local
[all …]
/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 …]
DHardwareSessionTest.java95 CountingSession session = HardwareProxyTvInputService.sSession; in verifyCommandTuneAndHardwareVideoAvailability() local
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/
DOmapiTest.java232 Session session = null; in testATR() local
257 Session session = reader.openSession(); in testOpenBasicChannelNullAid() local
283 Session session = reader.openSession(); in testOpenBasicChannelNonNullAid() local
324 Session session = reader.openSession(); in testSelectableAid() local
359 Session session = null; in testNonSelectableAid() local
380 Session session; in testSecurityExceptionInTransmit() local
417 Session session = reader.openSession(); in internalTransmitApdu() local
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2Test.java177 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testCurrentDataSourceChanged()
183 public void onCurrentMediaItemChanged(MediaSession2 session, in testCurrentDataSourceChanged()
210 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testMediaPrepared()
216 public void onMediaPrepared(MediaSession2 session, MediaPlayerBase player, in testMediaPrepared()
244 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testBufferingStateChanged()
250 public void onBufferingStateChanged(MediaSession2 session, in testBufferingStateChanged()
469 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testSessionCallback_onPlaylistChanged()
531 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testGetShuffleMode()
573 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testGetRepeatMode()
662 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testOnDisconnectCallback()
[all …]
DMockMediaLibraryService2.java143 public LibraryRoot onGetLibraryRoot(MediaLibrarySession session, ControllerInfo controller, in onGetLibraryRoot()
149 public MediaItem2 onGetItem(MediaLibrarySession session, ControllerInfo controller, in onGetItem()
159 public List<MediaItem2> onGetChildren(MediaLibrarySession session, in onGetChildren()
171 public void onSearch(MediaLibrarySession session, ControllerInfo controllerInfo, in onSearch()
193 public List<MediaItem2> onGetSearchResult(MediaLibrarySession session, in onGetSearchResult()
DMediaSession2_PermissionTest.java463 public boolean onCommandRequest(MediaSession2 session, ControllerInfo controller, in onCommandRequest()
473 public void onPlayFromMediaId(MediaSession2 session, ControllerInfo controller, in onPlayFromMediaId()
483 public void onPlayFromSearch(MediaSession2 session, ControllerInfo controller, in onPlayFromSearch()
493 public void onPlayFromUri(MediaSession2 session, ControllerInfo controller, in onPlayFromUri()
503 public void onPrepareFromMediaId(MediaSession2 session, ControllerInfo controller, in onPrepareFromMediaId()
513 public void onPrepareFromSearch(MediaSession2 session, ControllerInfo controller, in onPrepareFromSearch()
523 public void onPrepareFromUri(MediaSession2 session, ControllerInfo controller, in onPrepareFromUri()
DLoudnessEnhancerTest.java59 int session = am.generateAudioSessionId(); in test0_0ConstructorAndRelease() local
242 private void getLoudnessEnhancer(int session) { in getLoudnessEnhancer()
DMediaController2Test.java292 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testGetPlaylist()
338 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testGetPlaylistMetadata()
397 try (final MediaSession2 session = new MediaSession2.Builder(mContext) in testControllerCallback_onPlaylistMetadataChanged()
681 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPlayFromSearch()
707 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPlayFromUri()
733 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPlayFromMediaId()
759 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPrepareFromSearch()
785 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPrepareFromUri()
811 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testPrepareFromMediaId()
840 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSetRating()
DMediaSessionManagerTest.java154 MediaSession session = null; in testSetOnMediaKeyListener() local
222 MediaSession session = null; in testRemoteUserInfo() local
313 private MediaSessionCallback(int count, MediaSession session) { in MediaSessionCallback()
DMediaCasTest.java252 Session session = mediaCas.openSession(); in testClearKeyApis() local
327 Session session = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() local
413 Session session = mediaCas.openSession(); in testClearKeyExceptions() local
DAudioRecordingConfigurationTest.java263 MyAudioRecordingCallback(int session, int source) { in MyAudioRecordingCallback()
282 private static boolean verifyAudioConfig(int source, int session, AudioFormat format, in verifyAudioConfig()
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/
DAccessControlTest.java244 Session session = null; in testSelectableAid() local
272 Session session = null; in testUnauthorisedAid() local
296 Session session = null; in testTransmitAPDU() local
326 Session session = null; in testUnauthorisedAPDU() local
/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/
DAccessControlTest.java242 Session session = null; in testSelectableAid() local
270 Session session = null; in testUnauthorisedAid() local
294 Session session = null; in testTransmitAPDU() local
324 Session session = null; in testUnauthorisedAPDU() local
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/
DAccessControlTest.java241 Session session = null; in testSelectableAid() local
269 Session session = null; in testUnauthorisedAid() local
293 Session session = null; in testTransmitAPDU() local
323 Session session = null; in testUnauthorisedAPDU() local
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java466 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in testChainedOperation()
492 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in testChainedOperation()
509 public void onConfigured(CameraCaptureSession session) { in testChainedOperation()
530 public void onConfigureFailed(CameraCaptureSession session) { in testChainedOperation()
928 public void onConfigured(CameraCaptureSession session) { in testSessionParametersStateLeakByCamera()
932 public void onConfigureFailed(CameraCaptureSession session) { in testSessionParametersStateLeakByCamera()
936 public synchronized void onReady(CameraCaptureSession session) { in testSessionParametersStateLeakByCamera()
1231 CameraCaptureSession session = allSessions.get(allSessions.size() - 1); in testCreateSessionsByCamera() local
2612 public void onClosed(CameraCaptureSession session) { in onClosed()
2620 public void onConfigured(CameraCaptureSession session) { in onConfigured()
[all …]
DCaptureResultTest.java303 CameraCaptureSession session = configureAndVerifySession(mockSessionListener, in testResultTimestamps() local
775 CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) in onCaptureStarted()
782 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
805 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed()
DPerformanceTest.java397 public void onConfigured(CameraCaptureSession session) { in testMultipleCapture()
402 public void onConfigureFailed(CameraCaptureSession session) { in testMultipleCapture()
407 public void onCaptureQueueEmpty(CameraCaptureSession session) { in testMultipleCapture()
1144 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
1156 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DPrinterDiscoverySessionCallbacks.java29 public void setSession(StubbablePrinterDiscoverySession session) { in setSession()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java60 public void onAttached(WifiAwareSession session) { in onAttached()
281 public void onPublishStarted(PublishDiscoverySession session) { in onPublishStarted()
288 public void onSubscribeStarted(SubscribeDiscoverySession session) { in onSubscribeStarted()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java415 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
426 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
438 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
449 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted()
772 CameraCaptureSession session = in configureCameraSession() local
811 CameraCaptureSession session = in buildConstrainedCameraSession() local
835 CameraCaptureSession session = in configureCameraSessionWithConfig() local
861 CameraCaptureSession session = null; in tryConfigureCameraSessionWithConfig() local
903 CameraCaptureSession session = in configureReprocessableCameraSession() local
937 CameraCaptureSession session = in configureReprocCameraSessionWithConfig() local
/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesChangeTest.java148 private void changeCapabilities(final StubbablePrinterDiscoverySession session, in changeCapabilities()

12