Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 25 of 31) sorted by relevance

12

/system/apex/apexd/
Dapexd_session_test.cpp118 auto sessions = ApexSession::GetSessions(); in TEST() local
119 ASSERT_EQ(2u, sessions.size()) << Join(sessions, ','); in TEST()
179 auto sessions = manager->GetSessions(); in TEST() local
180 ASSERT_EQ(0u, sessions.size()); in TEST()
198 auto sessions = manager->GetSessions(); in TEST() local
200 sessions.begin(), sessions.end(), in TEST()
203 ASSERT_EQ(2u, sessions.size()); in TEST()
205 ASSERT_EQ(179, sessions[0].GetId()); in TEST()
206 ASSERT_EQ(SessionState::SUCCESS, sessions[0].GetState()); in TEST()
208 ASSERT_EQ(1543, sessions[1].GetId()); in TEST()
[all …]
Dapexd_session.cpp113 std::vector<ApexSession> sessions; in GetSessions() local
122 return sessions; in GetSessions()
132 sessions.push_back(std::move(*session)); in GetSessions()
135 return sessions; in GetSessions()
140 auto sessions = GetSessions(); in GetSessionsInState() local
141 sessions.erase( in GetSessionsInState()
142 std::remove_if(sessions.begin(), sessions.end(), in GetSessionsInState()
144 sessions.end()); in GetSessionsInState()
146 return sessions; in GetSessionsInState()
267 auto sessions = GetSessions(); in DeleteFinalizedSessions() local
[all …]
Dapexservice_test.cpp867 std::vector<ApexSessionInfo> sessions; in TEST_F() local
868 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))) in TEST_F()
870 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()
1052 std::vector<ApexSessionInfo> sessions; in TEST_F() local
1053 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1054 ASSERT_EQ(2u, sessions.size()); in TEST_F()
1058 sessions.clear(); in TEST_F()
1059 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1062 ASSERT_THAT(sessions, UnorderedElementsAre(SessionInfoEq(expected))); in TEST_F()
1072 std::vector<ApexSessionInfo> sessions; in TEST_F() local
[all …]
Dapexservice.cpp407 auto sessions = ApexSession::GetSessions(); in getSessions() local
408 for (const auto& session : sessions) { in getSessions()
836 std::vector<ApexSession> sessions = ApexSession::GetSessions(); in dump() local
838 for (const auto& session : sessions) { in dump()
Dapexd_test.cpp5127 auto sessions = GetSessionManager()->GetSessions(); in TEST_F() local
5129 sessions.begin(), sessions.end(), in TEST_F()
5132 ASSERT_EQ(4u, sessions.size()); in TEST_F()
5134 ASSERT_EQ(37, sessions[0].GetId()); in TEST_F()
5135 ASSERT_EQ(SessionState::VERIFIED, sessions[0].GetState()); in TEST_F()
5137 ASSERT_EQ(57, sessions[1].GetId()); in TEST_F()
5138 ASSERT_EQ(SessionState::STAGED, sessions[1].GetState()); in TEST_F()
5140 ASSERT_EQ(73, sessions[2].GetId()); in TEST_F()
5141 ASSERT_EQ(SessionState::SUCCESS, sessions[2].GetState()); in TEST_F()
5143 ASSERT_EQ(239, sessions[3].GetId()); in TEST_F()
[all …]
Dapexd.cpp1230 auto sessions = in ResumeRevertIfNeeded() local
1232 if (sessions.empty()) { in ResumeRevertIfNeeded()
1977 auto sessions = gSessionManager->GetSessionsInState(SessionState::ACTIVATED); in SnapshotOrRestoreDeSysData() local
1979 for (const ApexSession& session : sessions) { in SnapshotOrRestoreDeSysData()
1992 auto sessions = gSessionManager->GetSessionsInState(SessionState::ACTIVATED); in SnapshotOrRestoreDeUserData() local
1994 for (const ApexSession& session : sessions) { in SnapshotOrRestoreDeUserData()
3297 auto sessions = gSessionManager->GetSessions(); in BootCompletedCleanup() local
3298 for (const ApexSession& session : sessions) { in BootCompletedCleanup()
/system/authgraph/core/src/
Dkeyexchange.rs82 sessions: VecDeque<SessionDigest>, field
87 let mut sessions = VecDeque::new(); in new() localVariable
88 sessions.try_reserve(max_num_sessions)?; in new()
89 Ok(OpenedSessions { capacity: max_num_sessions, sessions }) in new()
93 if self.sessions.len() == self.capacity { in add()
95 self.sessions.pop_front(); in add()
97 self.sessions.push_back(opened_session); in add()
102 if self.sessions.contains(&opened_session) { in remove()
103 self.sessions.retain(|&session| session != opened_session); in remove()
/system/sepolicy/prebuilts/api/34.0/private/
Dtraced.te60 # Allow tracking the count of sessions intercepting Java OutOfMemoryError
61 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
Dapexd.te210 # Allow calling derive_classpath to gather BCP information for staged sessions
Dapp.te51 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
/system/apex/proto/
Dsession_state.proto58 // The names of the apexes within this session. Only populated for sessions
/system/sepolicy/prebuilts/api/202404/private/
Dtraced.te65 # Allow tracking the count of sessions intercepting Java OutOfMemoryError
66 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
Dapexd.te202 # Allow calling derive_classpath to gather BCP information for staged sessions
Dapp.te52 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
/system/sepolicy/private/
Dtraced.te66 # Allow tracking the count of sessions intercepting Java OutOfMemoryError
67 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
Dapexd.te184 # Allow calling derive_classpath to gather BCP information for staged sessions
/system/sepolicy/prebuilts/api/29.0/public/
Diorapd.te36 # tracing sessions and read trace data.
/system/sepolicy/prebuilts/api/33.0/private/
Dtraced.te71 # Allow tracking the count of sessions intercepting Java OutOfMemoryError
72 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
Dapexd.te205 # Allow calling derive_classpath to gather BCP information for staged sessions
Dapp.te57 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
/system/sepolicy/prebuilts/api/31.0/public/
Diorapd.te39 # tracing sessions and read trace data.
/system/sepolicy/prebuilts/api/30.0/public/
Diorapd.te39 # tracing sessions and read trace data.
/system/sepolicy/prebuilts/api/32.0/public/
Diorapd.te39 # tracing sessions and read trace data.
/system/sepolicy/prebuilts/api/33.0/public/
Diorapd.te36 # tracing sessions and read trace data.
/system/secretkeeper/
DREADME.md60 sessions with Secretkeeper, sending requests etc.

12