Searched refs:sessionId1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_session_id.cpp | 38 int32_t sessionId1 = 0; in checkSessionIdNone() local 50 sessionId1 = AAudioStream_getSessionId(aaudioStream1); in checkSessionIdNone() 51 ASSERT_EQ(AAUDIO_SESSION_ID_NONE, sessionId1); in checkSessionIdNone() 81 int32_t sessionId1 = 0; in checkSessionIdAllocate() local 100 sessionId1 = AAudioStream_getSessionId(aaudioStream1); in checkSessionIdAllocate() 103 ASSERT_NE(AAUDIO_SESSION_ID_NONE, sessionId1); in checkSessionIdAllocate() 104 ASSERT_NE(AAUDIO_SESSION_ID_ALLOCATE, sessionId1); in checkSessionIdAllocate() 119 AAudioStreamBuilder_setSessionId(aaudioBuilder, sessionId1); in checkSessionIdAllocate() 133 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 | 74 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2) { in isEqualSessionId() argument 75 if (sessionId1.size() != sessionId2.size()) { in isEqualSessionId() 78 for (size_t i = 0; i < sessionId1.size(); ++i) { in isEqualSessionId() 79 if (sessionId1[i] != sessionId2[i]) { in isEqualSessionId()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmSessionManager.h | 45 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2);
|