/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 279 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandTuneForRecording() local 290 final CountingRecordingSession session = tuneForRecording(CHANNEL_0, bundle); in verifyCommandTuneForRecordingWithBundle() local 301 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandRelease() local 311 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandStartRecording() local 324 final CountingRecordingSession session = tuneForRecording(CHANNEL_0, bundle); in verifyCommandStartRecordingWithBundle() local 338 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandPauseResumeRecordingWithBundle() local 358 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandPauseResumeRecording() local 376 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandStopRecording() local 389 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCommandSendAppPrivateCommandForRecording() local 413 final CountingRecordingSession session = tuneForRecording(CHANNEL_0); in verifyCallbackError() local [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricServiceTests.java | 93 final BiometricTestSession session = mBiometricManager.createTestSession(id); in testAuthenticatorIdsInvalidated_forSensor() local 118 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetRequestedAfterCredentialUnlock() local 168 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetRequestedAfterBiometricUnlock_whenStrong() local 171 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong() local 196 @NonNull BiometricTestSession session) in testLockoutResetRequestedAfterBiometricUnlock_whenStrong_forSensor() 261 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong() local 264 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong() local 286 int sensorId, @NonNull BiometricTestSession session) throws Exception { in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong_forSensor() 314 try (CredentialSession session = new CredentialSession()) { in testBiometricsRemovedWhenCredentialRemoved()
|
D | BiometricActivityTests.java | 61 try (BiometricTestSession session = in testBiometricOnly_authenticateFromForegroundActivity() 71 private void testBiometricOnly_authenticateFromForegroundActivity_forSensor( in testBiometricOnly_authenticateFromForegroundActivity_forSensor() 114 try (BiometricTestSession session = in testBiometricOnly_rejectThenErrorFromForegroundActivity() 124 private void testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor( in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() 181 try (BiometricTestSession session = in testBiometricOnly_rejectThenAuthenticate() 191 private void testBiometricOnly_rejectThenAuthenticate_forSensor( in testBiometricOnly_rejectThenAuthenticate_forSensor() 251 try (BiometricTestSession session = in testBiometricOnly_negativeButtonInvoked() 261 private void testBiometricOnly_negativeButtonInvoked_forSensor( in testBiometricOnly_negativeButtonInvoked_forSensor() 305 try (BiometricTestSession session = in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled() 325 try (BiometricTestSession session = in testBiometricOrCredential_credentialButtonInvoked_biometricNotEnrolled() [all …]
|
D | BiometricSimpleTests.java | 70 try (BiometricTestSession session = in testEnroll() 219 try (CredentialSession session = new CredentialSession()) { in testWhenCredentialEnrolled() 270 try (BiometricTestSession session = in testSimpleBiometricAuth_convenience() 319 try (BiometricTestSession session = in testSimpleBiometricAuth_nonConvenience() 382 try (CredentialSession session = new CredentialSession()){ in testSimpleCredentialAuth() 429 try (BiometricTestSession session = in testBiometricCancellation()
|
D | BiometricCryptoTests.java | 53 try (CredentialSession session = new CredentialSession()){ in testGenerateKeyWithoutBiometricEnrolled_throwsInvalidAlgorithmParameterException() 85 try (BiometricTestSession session = in testGenerateKeyWhenCredentialAndBiometricEnrolled()
|
D | TestSessionList.java | 51 public void add(@NonNull BiometricTestSession session) { in add() 56 public void put(int sensorId, @NonNull BiometricTestSession session) { in put()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 115 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
|
D | ResourcesHardeningTest.java | 270 try (ShellInstallSession session = startInstallSession()) { in testIncrementalForeignPackageResources() 275 try (ShellInstallSession session = startInstallSession()) { in testIncrementalForeignPackageResources() 287 try (RemoteTest session = new RemoteTest(startInstallSession(), testName)) { in testIncrementalOwnPackageResources() 293 try (RemoteTest session = new RemoteTest(startInstallSession(), testName)) { in testIncrementalOwnPackageResources() 319 RemoteTest(ShellInstallSession session, String testName) { in RemoteTest() 406 final ShellInstallSession session = new ShellInstallSession( in startInstallSession() local 420 public final IncrementalInstallSession session; field in ResourcesHardeningTest.ShellInstallSession 424 private ShellInstallSession(IncrementalInstallSession session, in ShellInstallSession()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ConferenceHelper.java | 33 public void addSession(TestImsCallSessionImpl session) { in addSession() 35 mSessions.put(session.getCallId(), session); in addSession() local 75 public void setConferenceSession(TestImsCallSessionImpl session) { in setConferenceSession() 79 public void setForeGroundSession(TestImsCallSessionImpl session) { in setForeGroundSession() 83 public void setBackGroundSession(TestImsCallSessionImpl session) { in setBackGroundSession()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ScrollCaptureSessionTest.java | 67 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/ |
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/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 82 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/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSession2Test.java | 145 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setSessionActivity() 155 try (MediaSession2 session = new MediaSession2.Builder(mContext).build()) { in testBuilder_createSessionWithoutId() 183 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setExtras_withFrameworkParcelable() 201 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBuilder_setExtras_withCustomParcelable() 213 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token() 228 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token_extrasNotSet() 238 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testGetConnectedControllers_newController() 264 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testGetConnectedControllers_closedController() 288 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testSession2Token_writeToParcel() 320 try (MediaSession2 session = new MediaSession2.Builder(mContext) in testBroadcastSessionCommand() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 187 public void onAttached(WifiAwareSession session) { in onAttached() 299 public void onPublishStarted(PublishDiscoverySession session) { in onPublishStarted() 305 public void onSubscribeStarted(SubscribeDiscoverySession session) { in onSubscribeStarted() 413 PublishDiscoverySession session = mPublishDiscoverySession; in getPublishDiscoverySession() local 422 SubscribeDiscoverySession session = mSubscribeDiscoverySession; in getSubscribeDiscoverySession() local 649 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryAddressChanges() local 676 WifiAwareSession session = attachAndGetSession(); in testPublishDiscoverySuccess() local 740 WifiAwareSession session = attachAndGetSession(); in testPublishLimitedTtlSuccess() local 782 WifiAwareSession session = attachAndGetSession(); in testPublishWithSecurityConfig() local 848 WifiAwareSession session = attachAndGetSession(); in testPublishWithInstantCommunicationModeSuccess() local [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 64 public static void assertRightActivity(@NonNull Session session, in assertRightActivity() 73 public static void assertRightActivity(@NonNull Session session, in assertRightActivity() 86 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext() 94 public static void assertMainSessionContext(@NonNull Session session, in assertMainSessionContext() 124 public static void assertChildSessionContext(@NonNull Session session) { in assertChildSessionContext() 144 public static void assertChildSessionContext(@NonNull Session session, in assertChildSessionContext() 299 public static void assertNoViewLevelEvents(@NonNull Session session, in assertNoViewLevelEvents() 330 public static void assertNoEvents(@NonNull Session session, in assertNoEvents() 431 int index, @NonNull ContentCaptureSession session, @NonNull AutofillId parentId, in assertVirtualViewAppeared() 452 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewDisappeared() [all …]
|
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() 139 public EventsAssertor assertInitialViewsAppeared(@NonNull Session session) { in assertInitialViewsAppeared() 169 private void assertBaseInformation(@NonNull Session session) { in assertBaseInformation()
|
D | CustomViewActivityTest.java | 96 final Session session = service.getOnlyFinishedSession(); in testLifecycle() local 113 final ContentCaptureSession session = customView.getContentCaptureSession(); in testSessionLifecycleEvents() local 124 final Session session = service.getOnlyFinishedSession(); in testSessionLifecycleEvents() local 170 final ContentCaptureSession session = customView.getContentCaptureSession(); in testVirtualView_wrongWay() local 189 final Session session = service.getOnlyFinishedSession(); in testVirtualView_wrongWay() local 266 final Session session = service.getOnlyFinishedSession(); in testVirtualView_oneLevel() local 377 final Session session = service.getOnlyFinishedSession(); in testVirtualView_multipleLevels() local 439 final Session session = service.getOnlyFinishedSession(); in testVirtualView_batchDisappear() local 545 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() 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 | BlankWithTitleActivityTest.java | 60 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() local 80 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle_noAnimation() local
|
D | LoginActivityTest.java | 121 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_defaultSession() local 313 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextAfterCreate() local 351 final Session session = service.getOnlyFinishedSession(); in testSimpleLifecycle_changeContextOnCreate() local 410 final Session session = service.getOnlyFinishedSession(); in testTextChanged() local 451 final Session session = service.getOnlyFinishedSession(); in testTextChangeBuffer() local 499 final Session session = service.getOnlyFinishedSession(); in testComposingSpan_mergedEvent() local 538 final Session session = service.getOnlyFinishedSession(); in testComposingSpan_notMergedWithoutComposing() local 581 final Session session = service.getOnlyFinishedSession(); in testComposingSpan_differentEditText() local 620 final Session session = service.getOnlyFinishedSession(); in testComposingSpan_eventsForSpanChanges() local 671 final Session session = service.getOnlyFinishedSession(); in testDisabledByFlagSecure() local [all …]
|
/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 706 Session session = null; in testCloseChannels() local
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | MultiDocumentPresentationTest.java | 110 PresentationSession session = store.createPresentationSession( in multipleDocuments() local 138 static void checkPresentation(PresentationSession session, in checkPresentation() 214 PresentationSession session = store.createPresentationSession( in cryptoObjectReturnsCorrectSession() local
|
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
D | DataCleanupTest.java | 54 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()
|
/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/framework/base/biometrics/src/android/server/biometrics/fingerprint/ |
D | FingerprintServiceTest.java | 159 try (BiometricTestSession session = mFingerprintManager.createTestSession( in testEnroll() 166 private void testEnrollForSensor(BiometricTestSession session, int sensorId) throws Exception { in testEnrollForSensor() 350 BiometricTestSession session = in createTestSessionsWithEnrollments() local 352 testSessions.put(prop.getSensorId(), session); in createTestSessionsWithEnrollments() local
|