Searched refs:sessionId1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_session_id.cpp | 37 int32_t sessionId1 = 0; in checkSessionIdNone() local 49 sessionId1 = AAudioStream_getSessionId(aaudioStream1); in checkSessionIdNone() 50 ASSERT_EQ(AAUDIO_SESSION_ID_NONE, sessionId1); in checkSessionIdNone() 80 int32_t sessionId1 = 0; in checkSessionIdAllocate() local 99 sessionId1 = AAudioStream_getSessionId(aaudioStream1); in checkSessionIdAllocate() 102 ASSERT_NE(AAUDIO_SESSION_ID_NONE, sessionId1); in checkSessionIdAllocate() 103 ASSERT_NE(AAUDIO_SESSION_ID_ALLOCATE, sessionId1); in checkSessionIdAllocate() 118 AAudioStreamBuilder_setSessionId(aaudioBuilder, sessionId1); in checkSessionIdAllocate() 132 ASSERT_EQ(sessionId1, sessionId2); in checkSessionIdAllocate()
|
/frameworks/av/drm/libmediadrm/tests/ |
D | DrmMetrics_test.cpp | 165 android::Vector<uint8_t> sessionId1; in TEST_F() local 166 sessionId1.push_back(1); in TEST_F() 167 sessionId1.push_back(2); in TEST_F() 174 metrics.SetSessionStart(sessionId1); in TEST_F() 177 metrics.SetSessionEnd(sessionId1); in TEST_F() 386 android::Vector<uint8_t> sessionId1; in TEST_F() local 387 sessionId1.push_back(1); in TEST_F() 388 sessionId1.push_back(2); in TEST_F() 393 metrics.SetSessionStart(sessionId1); in TEST_F() 396 metrics.SetSessionEnd(sessionId1); in TEST_F()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreManagerServiceTest.java | 115 final long sessionId1 = 11; in testHandlePackageRemoved() local 117 sessionId1, sessionFile1); in testHandlePackageRemoved() 118 mUserSessions.append(sessionId1, session1); in testHandlePackageRemoved() 166 mService.addActiveIdsForTest(sessionId1, sessionId2, sessionId3, sessionId4, in testHandlePackageRemoved() 179 assertThat(mUserSessions.get(sessionId1)).isNull(); in testHandlePackageRemoved() 204 sessionId1, sessionId2, sessionId3, sessionId4, blobId1, blobId2, blobId3); in testHandlePackageRemoved() 238 final long sessionId1 = 342; in testHandleIdleMaintenance_deleteStaleSessions() local 242 sessionId1, sessionFile1, blobHandle1); in testHandleIdleMaintenance_deleteStaleSessions() 243 mUserSessions.append(sessionId1, session1); in testHandleIdleMaintenance_deleteStaleSessions() 265 mService.addActiveIdsForTest(sessionId1, sessionId2, sessionId3); in testHandleIdleMaintenance_deleteStaleSessions() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 79 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2) { in isEqualSessionId() argument 80 if (sessionId1.size() != sessionId2.size()) { in isEqualSessionId() 83 for (size_t i = 0; i < sessionId1.size(); ++i) { in isEqualSessionId() 84 if (sessionId1[i] != sessionId2[i]) { in isEqualSessionId()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmSessionManager.h | 42 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2);
|