Home
last modified time | relevance | path

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

123456

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java267 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandTuneForRecording() local
278 final CountingRecordingSession session = tuneForRecording(CHANNEL_0, bundle); in verifyCommandTuneForRecordingWithBundle() local
289 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandRelease() local
299 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandStartRecording() local
312 final CountingRecordingSession session = tuneForRecording(CHANNEL_0, bundle); in verifyCommandStartRecordingWithBundle() local
326 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandPauseResumeRecordingWithBundle() local
346 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandPauseResumeRecording() local
364 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandStopRecording() local
377 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandSendAppPrivateCommandForRecording() local
401 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCallbackError() local
[all …]
/cts/tests/uwb/src/android/uwb/cts/
DRangingSessionTest.java64 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnOpenSuccessCalled() local
80 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_CannotOpenClosedSession() local
104 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
120 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalled() local
135 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingResult_OnReportReceivedCalled() local
151 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStart_CannotStartIfAlreadyStarted() local
168 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStop_CannotStopIfAlreadyStopped() local
187 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testReconfigure_OnlyWhenOpened() local
222 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testClose_NoCallbackUntilInvoked() local
251 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testClose_OnClosedCalled() local
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceTests.java95 final BiometricTestSession session = mBiometricManager.createTestSession(id); in testAuthenticatorIdsInvalidated_forSensor() local
123 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock() local
171 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong() local
173 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong() local
201 @NonNull BiometricTestSession session) in testLockoutResetRequestedAfterBiometricUnlock_whenStrong_forSensor()
265 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong() local
267 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong() local
293 int sensorId, @NonNull BiometricTestSession session) throws Exception { in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong_forSensor()
323 try (CredentialSession session = new CredentialSession()) { in testBiometricsRemovedWhenCredentialRemoved()
DBiometricActivityTests.java55 try (BiometricTestSession session = in testBiometricOnly_authenticateFromForegroundActivity()
65 private void testBiometricOnly_authenticateFromForegroundActivity_forSensor( in testBiometricOnly_authenticateFromForegroundActivity_forSensor()
103 try (BiometricTestSession session = in testBiometricOnly_rejectThenErrorFromForegroundActivity()
113 private void testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor( in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor()
165 try (BiometricTestSession session = in testBiometricOnly_rejectThenAuthenticate()
175 private void testBiometricOnly_rejectThenAuthenticate_forSensor( in testBiometricOnly_rejectThenAuthenticate_forSensor()
228 try (BiometricTestSession session = in testBiometricOnly_negativeButtonInvoked()
238 private void testBiometricOnly_negativeButtonInvoked_forSensor( in testBiometricOnly_negativeButtonInvoked_forSensor()
275 try (BiometricTestSession session = in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
294 try (BiometricTestSession session = in testBiometricOrCredential_credentialButtonInvoked_biometricNotEnrolled()
[all …]
DBiometricCryptoTests.java50 try (CredentialSession session = new CredentialSession()){ in testGenerateKeyWithoutBiometricEnrolled_throwsInvalidAlgorithmParameterException()
81 try (BiometricTestSession session = in testGenerateKeyWhenCredentialAndBiometricEnrolled()
DBiometricSimpleTests.java61 try (BiometricTestSession session = in testEnroll()
180 try (CredentialSession session = new CredentialSession()) { in testWhenCredentialEnrolled()
234 try (BiometricTestSession session = in testSimpleBiometricAuth()
300 try (CredentialSession session = new CredentialSession()){ in testSimpleCredentialAuth()
342 try (BiometricTestSession session = in testBiometricCancellation()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java115 private void writeApk(@NonNull Session session, @NonNull String name) throws IOException { in writeApk()
149 Session session = installer.openSession(sessionId); in transferSession() local
194 Session session = createSession(); in transferToInvalidNewOwner() local
210 Session session = createSession(); in transferToOwnerWithoutInstallPermission() local
227 Session session = createSession(); in transferWithOpenWrite() local
243 Session session = createSession(); in transfer_toNullPackageName_shouldFail() local
255 Session session = createSession(); in transfer_toEmptyStringPackageName_shouldFail() local
267 Session session = createSession(); in transfer_toInvalidPackageName_shouldFail() local
279 Session session = createSession(); in transferSessionWithInvalidApk() local
299 Session session = createSession(); in transferWithApkFromWrongPackage() local
DResourcesHardeningTest.java252 try (ShellInstallSession session = startInstallSession()) { in testIncrementalForeignPackageResources()
255 try (ShellInstallSession session = startInstallSession()) { in testIncrementalForeignPackageResources()
267 try (RemoteTest session = new RemoteTest(startInstallSession(), testName)) { in testIncrementalOwnPackageResources()
272 try (RemoteTest session = new RemoteTest(startInstallSession(), testName)) { in testIncrementalOwnPackageResources()
298 RemoteTest(ShellInstallSession session, String testName) { in RemoteTest()
384 final ShellInstallSession session = new ShellInstallSession( in startInstallSession() local
398 public final IncrementalInstallSession session; field in ResourcesHardeningTest.ShellInstallSession
402 private ShellInstallSession(IncrementalInstallSession session, in ShellInstallSession()
/cts/tests/tests/view/src/android/view/cts/
DScrollCaptureSessionTest.java67 ScrollCaptureSession session = new ScrollCaptureSession(mSurface, in testGetSurface() local
74 ScrollCaptureSession session = new ScrollCaptureSession(mSurface, in testGetScrollBounds() local
81 ScrollCaptureSession session = new ScrollCaptureSession(mSurface, in testGetPositionInWindow() local
/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/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java82 try (LightsManager.LightsSession session = mManager.openSession()) { in testControlLightsPermissionIsRequiredToUseLights()
92 try (LightsManager.LightsSession session = mManager.openSession(HIGH_PRIORITY)) { in testControlSingleLight()
112 try (LightsManager.LightsSession session = mManager.openSession(HIGH_PRIORITY)) { in testControlMultipleLights()
137 try (LightsManager.LightsSession session = mManager.openSession(HIGH_PRIORITY)) { in testControlLights_onlyEffectiveForLifetimeOfClient()
183 try (LightsManager.LightsSession session = mManager.openSession(HIGH_PRIORITY)) { in testClearLight()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintServiceTest.java134 BiometricTestSession session = in cleanup() local
148 try (BiometricTestSession session in testEnroll()
155 private void testEnrollForSensor(BiometricTestSession session, int sensorId) throws Exception { in testEnrollForSensor()
185 BiometricTestSession session = in testAuthenticateFromForegroundActivity() local
244 BiometricTestSession session = in testRejectThenErrorFromForegroundActivity() local
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java145 public void onAttached(WifiAwareSession session) { in onAttached()
248 public void onPublishStarted(PublishDiscoverySession session) { in onPublishStarted()
254 public void onSubscribeStarted(SubscribeDiscoverySession session) { in onSubscribeStarted()
357 PublishDiscoverySession session = mPublishDiscoverySession; in getPublishDiscoverySession() local
366 SubscribeDiscoverySession session = mSubscribeDiscoverySession; in getSubscribeDiscoverySession() local
551 WifiAwareSession session = attachAndGetSession(); in testAttachNoIdentity() local
582 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryAddressChanges() local
606 WifiAwareSession session = attachAndGetSession(); in testPublishDiscoverySuccess() local
666 WifiAwareSession session = attachAndGetSession(); in testPublishLimitedTtlSuccess() local
705 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 …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java61 public static void assertRightActivity(@NonNull Session session, in assertRightActivity()
70 public static void assertRightActivity(@NonNull Session session, in assertRightActivity()
83 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext()
91 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext()
119 public static void assertChildSessionContext(@NonNull Session session) { in assertChildSessionContext()
137 public static void assertChildSessionContext(@NonNull Session session, in assertChildSessionContext()
292 public static void assertNoViewLevelEvents(@NonNull Session session, in assertNoViewLevelEvents()
305 public static void assertNoEvents(@NonNull Session session, in assertNoEvents()
406 int index, @NonNull ContentCaptureSession session, @NonNull AutofillId parentId, in assertVirtualViewAppeared()
427 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewDisappeared()
[all …]
DCustomViewActivityTest.java107 final Session session = service.getOnlyFinishedSession(); in testLifecycle() local
124 final ContentCaptureSession session = customView.getContentCaptureSession(); in testSessionLifecycleEvents() local
135 final Session session = service.getOnlyFinishedSession(); in testSessionLifecycleEvents() local
186 final ContentCaptureSession session = customView.getContentCaptureSession(); in testVirtualView_wrongWay() local
205 final Session session = service.getOnlyFinishedSession(); in testVirtualView_wrongWay() local
289 final Session session = service.getOnlyFinishedSession(); in testVirtualView_oneLevel() local
403 final Session session = service.getOnlyFinishedSession(); in testVirtualView_multipleLevels() local
468 final Session session = service.getOnlyFinishedSession(); in testVirtualView_batchDisappear() local
577 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() 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()
DBlankWithTitleActivityTest.java60 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() local
80 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle_noAnimation() 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()
/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/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DDataCleanupTest.java54 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testCreateSession()
63 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSession()
92 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testCommitBlob()
132 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testRecommitBlob()
DDataPersistenceTest.java52 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testCreateSession()
70 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSessionAndWrite()
80 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testCommitSession()
/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/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java219 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenReadWriteSession()
244 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSession_fromAnotherPkg()
251 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSession_fromAnotherPkg()
271 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSessionAndAbandon()
299 BlobStoreManager.Session session = null; in testCloseSession() local
358 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testAllowPublicAccess_abandonedSession()
402 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testAllowSameSignatureAccess_abandonedSession()
472 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testAllowPackageAccess_abandonedSession()
594 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testSessionCommit()
622 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testSessionCommit_incompleteData()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java156 try (PackageInstaller.Session session in testOpenAndAbandonSessionForSingleApk()
175 try (PackageInstaller.Session session in testOpenAndCommitSessionForSingleApk()
192 try (PackageInstaller.Session session in testOpenSingleSessionWithParameters()

123456