Home
last modified time | relevance | path

Searched refs:sessionId1 (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_session_id.cpp37 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/
DDrmMetrics_test.cpp165 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/
DBlobStoreManagerServiceTest.java119 final long sessionId1 = 11; in testHandlePackageRemoved() local
121 sessionId1, sessionFile1); in testHandlePackageRemoved()
122 mUserSessions.append(sessionId1, session1); in testHandlePackageRemoved()
170 mService.addActiveIdsForTest(sessionId1, sessionId2, sessionId3, sessionId4, in testHandlePackageRemoved()
183 assertThat(mUserSessions.get(sessionId1)).isNull(); in testHandlePackageRemoved()
208 sessionId1, sessionId2, sessionId3, sessionId4, blobId1, blobId2, blobId3); in testHandlePackageRemoved()
242 final long sessionId1 = 342; in testHandleIdleMaintenance_deleteStaleSessions() local
246 sessionId1, sessionFile1, blobHandle1); in testHandleIdleMaintenance_deleteStaleSessions()
247 mUserSessions.append(sessionId1, session1); in testHandleIdleMaintenance_deleteStaleSessions()
269 mService.addActiveIdsForTest(sessionId1, sessionId2, sessionId3); in testHandleIdleMaintenance_deleteStaleSessions()
[all …]
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp79 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/
DDrmSessionManager.h42 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java2228 ArgumentCaptor<Integer> sessionId1 = ArgumentCaptor.forClass(Integer.class); in testSendMessageQueueLimitBlock() local
2264 inOrder.verify(mockSessionCallback).onSessionStarted(sessionId1.capture()); in testSendMessageQueueLimitBlock()
2290 mDut.sendMessage(uid1, clientId1, sessionId1.getValue(), peerIdCaptor1.getValue(), null, in testSendMessageQueueLimitBlock()