/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMockTest.java | 192 byte[] sessionId = openSession(md); in testOpenCloseSession() 234 byte[] sessionId = openSession(md); in testGetKeyRequest() 270 byte[] sessionId = openSession(md); in testGetKeyRequestNoOptionalParameters() 302 byte[] sessionId = openSession(md); in testGetKeyRequestOffline() 334 byte[] sessionId = openSession(md); in testGetKeyRequestRelease() 363 byte[] sessionId = openSession(md); in testProvideKeyResponse() 380 byte[] sessionId = openSession(md); in testRemoveKeys() 395 byte[] sessionId = openSession(md); in testRestoreKeys() 401 sessionId = openSession(md); in testRestoreKeys() 412 byte[] sessionId = openSession(md); in testQueryKeyStatus() [all …]
|
D | MediaDrmClearkeyTest.java | 417 private @NonNull byte[] openSession(MediaDrm drm) { in openSession() method in MediaDrmClearkeyTest 423 mSessionId = drm.openSession(); in openSession() 455 mSessionId = openSession(drm); in testClearKeyPlayback() 473 mSessionId = openSession(drm); in testClearKeyPlayback() 506 mSessionId = openSession(drm); in testReleaseOfflineLicense() 542 mSessionId = openSession(drm); in testReleaseOfflineLicense() 552 mSessionId = openSession(drm); in testReleaseOfflineLicense() 596 mSessionId = openSession(drm); in testQueryKeyStatus() 651 mSessionId = openSession(drm); in testOfflineKeyManagement() 1017 mSessionId = openSession(drm); in testGetNumberOfSessions() [all …]
|
D | MediaDrmTest.java | 78 byte[] sid = drm.openSession(); in testGetLogMessages() 133 sid = drm.openSession(); in testPlaybackComponent() 172 byte[] sid = drm.openSession(level); in testRequiresSecureDecoder()
|
D | MediaDrmMetricsTest.java | 92 byte[] sid1 = drm.openSession(); in testGetMetricsSession() 94 byte[] sid2 = drm.openSession(); in testGetMetricsSession() 146 byte[] sid = drm.openSession(); in testGetMetricsGetKeyRequest()
|
D | MediaDrmCodecTest.java | 105 byte[] sessionId = drm.openSession(); in testCryptoError() 157 byte[] sessionId = drm.openSession(); in testCryptoErrorLostSessionState()
|
/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() 156 try (LightsManager.LightsSession session1 = mManager.openSession(HIGH_PRIORITY); in testControlLights_firstCallerWinsContention() 157 LightsManager.LightsSession session2 = mManager.openSession(HIGH_PRIORITY)) { in testControlLights_firstCallerWinsContention() 183 try (LightsManager.LightsSession session = mManager.openSession(HIGH_PRIORITY)) { in testClearLight()
|
/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() 72 mBlobStoreManager.openSession(sessionId); in testOpenSession_shouldThrow() 78 () -> mBlobStoreManager.openSession(sessionId)); in testOpenSession_shouldThrow() 92 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testCommitBlob() 132 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testRecommitBlob()
|
D | DataPersistenceTest.java | 52 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 testCommitSessionAndAcquireLease()
|
D | AtomTest.java | 71 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in commitBlob()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 233 private PackageInstaller.Session openSession(int sessionId) throws IOException { in openSession() method in SessionAbandonBehaviorTest 252 PackageInstaller.Session session = openSession(sessionId); in openSessionForWrite() 298 final PackageInstaller.Session session = openSession(sessionId); in abandon_stagedSession_openedSession_canNotGetNames() 315 final PackageInstaller.Session session = openSession(sessionId); in abandon_nonStagedSession_openedSession_canNotGetNames() 376 () -> InstallUtils.getPackageInstaller().openSession(sessionId)); in abandon_stagedSession_canNotOpenAgain() 392 () -> InstallUtils.getPackageInstaller().openSession(sessionId)); in abandon_nonStagedSession_canNotOpenAgain() 470 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList() 498 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames() 576 () -> InstallUtils.getPackageInstaller().openSession(firstChildSession)); in abandon_stagedParentSession_childSession_canNotOpenAgain() 594 () -> InstallUtils.getPackageInstaller().openSession(firstChildSession)); in abandon_nonStagedParentSession_childSession_canNotOpenAgain()
|
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 320 session = reader.openSession(); in testATR() 347 session = reader.openSession(); in testOpenBasicChannelNullAid() 377 session = reader.openSession(); in testOpenBasicChannelNonNullAid() 431 session = reader.openSession(); in testSelectableAid() 467 session = reader.openSession(); in testNonSelectableAid() 492 session = reader.openSession(); in testSecurityExceptionInTransmit() 525 session = reader.openSession(); in internalTransmitApdu() 547 session = reader.openSession(); in internalTransmitApduWithoutP2() 729 session = reader.openSession(); in testCloseChannels() 773 sessionA = reader.openSession(); in testCloseSessions() [all …]
|
/cts/tests/BlobStore/helper-app/src/com/android/cts/blob/helper/ |
D | BlobStoreTestService.java | 63 try (BlobStoreManager.Session session = blobStoreManager.openSession(sessionId)) { in commit() 91 public void openSession(long sessionId) { in openSession() method in BlobStoreTestService.CommandReceiver 95 try (BlobStoreManager.Session session = blobStoreManager.openSession(sessionId)) { in openSession()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreManagerTest.java | 159 assertThat(mBlobStoreManager.openSession(sessionId)).isNotNull(); in testGetCreateSession() 193 assertThrows(IllegalArgumentException.class, () -> mBlobStoreManager.openSession(-1)); in testOpenSession_invalidArguments() 209 assertThat(mBlobStoreManager.openSession(sessionId)).isNotNull(); in testAbandonSession() 213 assertThrows(SecurityException.class, () -> mBlobStoreManager.openSession(sessionId)); in testAbandonSession() 226 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenReadWriteSession() 251 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSession_fromAnotherPkg() 258 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSession_fromAnotherPkg() 278 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testOpenSessionAndAbandon() 291 assertThrows(SecurityException.class, () -> mBlobStoreManager.openSession(sessionId)); in testOpenSessionAndAbandon() 308 session = mBlobStoreManager.openSession(sessionId); in testCloseSession() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/ |
D | poc.cpp | 130 static void openSession() { in openSession() function 142 drmPlugin->openSession([&](Status status, const hidl_vec<uint8_t> &id) { in openSession() 201 openSession(); in main()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaCasTest.java | 322 Session session = mediaCas.openSession(); in testClearKeyApis() 333 Session streamSession = mediaCas.openSession(); in testClearKeyApis() 413 Session session = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 418 Session streamSession = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 484 Session invalidSession = mediaCas.openSession(); in testClearKeyExceptions() 500 Session session = mediaCas.openSession(); in testClearKeyExceptions() 599 Session session = mediaCas.openSession(); in testResourceLostEvent() 604 Session streamSession = mediaCas.openSession(); in testResourceLostEvent() 792 mediaCas.openSession(intent, scramblingMode); in testOpenSessionEcho()
|
/cts/tests/BlobStore/aidl/com/android/cts/blob/ |
D | ICommandReceiver.aidl | 26 void openSession(long sessionId); in openSession() method
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/ |
D | AccessControlTest.java | 271 session = reader.openSession(); in testSelectableAid() 299 session = reader.openSession(); in testUnauthorisedAid() 326 session = reader.openSession(); in testTransmitAPDU() 356 session = reader.openSession(); in testUnauthorisedAPDU()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/ |
D | AccessControlTest.java | 273 session = reader.openSession(); in testSelectableAid() 301 session = reader.openSession(); in testUnauthorisedAid() 328 session = reader.openSession(); in testTransmitAPDU() 358 session = reader.openSession(); in testUnauthorisedAPDU()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/ |
D | AccessControlTest.java | 270 session = reader.openSession(); in testSelectableAid() 298 session = reader.openSession(); in testUnauthorisedAid() 325 session = reader.openSession(); in testTransmitAPDU() 355 session = reader.openSession(); in testUnauthorisedAPDU()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/ |
D | poc.cpp | 139 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main() 152 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionTest.kt | 80 val session = pi.openSession(sessionId) in sessionWithImmutablePendingIntent() 251 val session = pi.openSession(sessionId) in withPrivilegedPermissions_canAccessResolvedPath() 274 val session = pi.openSession(sessionId) in withoutPrivilegedPermissions_cannotAccessResolvedPath()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/ |
D | poc.cpp | 69 auto returnVoid = cas->openSession( in main()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 135 return installer.openSession(sessionId); in createSession() 149 Session session = installer.openSession(sessionId); in transferSession()
|
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/ |
D | BackgroundReceiver.java | 108 final Session session = packageInstaller.openSession(sessionId); in sendInstallCommit()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | VirtualDeviceDrmTest.java | 121 byte[] sessionId = drm.openSession(securityLevel); in getSecurityLevel()
|