/cts/tests/tests/media/src/android/media/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 | 397 private @NonNull byte[] openSession(MediaDrm drm) { in openSession() method in MediaDrmClearkeyTest 403 mSessionId = drm.openSession(); in openSession() 435 mSessionId = openSession(drm); in testClearKeyPlayback() 453 mSessionId = openSession(drm); in testClearKeyPlayback() 486 mSessionId = openSession(drm); in testReleaseOfflineLicense() 521 mSessionId = openSession(drm); in testReleaseOfflineLicense() 531 mSessionId = openSession(drm); in testReleaseOfflineLicense() 575 mSessionId = openSession(drm); in testQueryKeyStatus() 629 mSessionId = openSession(drm); in testOfflineKeyManagement() 990 mSessionId = openSession(drm); in testGetNumberOfSessions() [all …]
|
D | MediaCasTest.java | 305 Session session = mediaCas.openSession(); in testClearKeyApis() 316 Session streamSession = mediaCas.openSession(); in testClearKeyApis() 389 Session session = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 394 Session streamSession = mediaCas.openSession(); in testClearKeySessionClosedAfterRelease() 459 Session invalidSession = mediaCas.openSession(); in testClearKeyExceptions() 475 Session session = mediaCas.openSession(); in testClearKeyExceptions() 563 Session session = mediaCas.openSession(); in testResourceLostEvent() 568 Session streamSession = mediaCas.openSession(); in testResourceLostEvent() 750 mediaCas.openSession(intent, scramblingMode); in testOpenSessionEcho()
|
D | MediaDrmTest.java | 79 byte[] sid = drm.openSession(); in testGetLogMessages() 132 sid = drm.openSession(); in testPlaybackComponent() 171 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()
|
/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 testCommitSession()
|
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/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreManagerTest.java | 152 assertThat(mBlobStoreManager.openSession(sessionId)).isNotNull(); in testGetCreateSession() 186 assertThrows(IllegalArgumentException.class, () -> mBlobStoreManager.openSession(-1)); in testOpenSession_invalidArguments() 202 assertThat(mBlobStoreManager.openSession(sessionId)).isNotNull(); in testAbandonSession() 206 assertThrows(SecurityException.class, () -> mBlobStoreManager.openSession(sessionId)); in testAbandonSession() 219 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() 284 assertThrows(SecurityException.class, () -> mBlobStoreManager.openSession(sessionId)); in testOpenSessionAndAbandon() 301 session = mBlobStoreManager.openSession(sessionId); in testCloseSession() [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/tests/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 318 session = reader.openSession(); in testATR() 345 session = reader.openSession(); in testOpenBasicChannelNullAid() 375 session = reader.openSession(); in testOpenBasicChannelNonNullAid() 429 session = reader.openSession(); in testSelectableAid() 465 session = reader.openSession(); in testNonSelectableAid() 490 session = reader.openSession(); in testSecurityExceptionInTransmit() 523 session = reader.openSession(); in internalTransmitApdu() 544 session = reader.openSession(); in internalTransmitApduWithoutP2()
|
/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/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/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/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/BlobStore/aidl/com/android/cts/blob/ |
D | ICommandReceiver.aidl | 26 void openSession(long sessionId); in openSession() method
|
/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/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()
|
D | ChecksumsTest.java | 500 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsInvalidSignature() 683 Session session = installer.openSession(sessionId); in testInstallerChecksumsUpdate() 749 Session session = installer.openSession(sessionId); in testInstallerChecksumsUpdate() 865 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsUpdate() 931 Session session = installer.openSession(sessionId); in testInstallerSignedChecksumsUpdate() 1122 Session session = installer.openSession(sessionId); in testInstallerChecksumsDuplicate() 1174 Session session = installer.openSession(sessionId); in installApkWithChecksums() 1201 Session session = installer.openSession(sessionId); in installApkWithChecksumsIncrementally()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 106 mSession = mPackageInstaller.openSession(sessionId); in installPackage()
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 96 val session = pi.openSession(sessionId) in <lambda>()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 263 InstallUtils.getPackageInstaller().openSession(sessionId)) { in createSingleInstallSession()
|