/system/apex/apexd/ |
D | apexd_session_test.cpp | 118 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 …]
|
D | apexd_session.cpp | 113 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 …]
|
D | apexservice_test.cpp | 867 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 …]
|
D | apexservice.cpp | 407 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()
|
D | apexd_test.cpp | 5127 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 …]
|
D | apexd.cpp | 1230 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/ |
D | keyexchange.rs | 82 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/ |
D | traced.te | 60 # Allow tracking the count of sessions intercepting Java OutOfMemoryError 61 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
|
D | apexd.te | 210 # Allow calling derive_classpath to gather BCP information for staged sessions
|
D | app.te | 51 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
|
/system/apex/proto/ |
D | session_state.proto | 58 // The names of the apexes within this session. Only populated for sessions
|
/system/sepolicy/prebuilts/api/202404/private/ |
D | traced.te | 65 # Allow tracking the count of sessions intercepting Java OutOfMemoryError 66 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
|
D | apexd.te | 202 # Allow calling derive_classpath to gather BCP information for staged sessions
|
D | app.te | 52 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
|
/system/sepolicy/private/ |
D | traced.te | 66 # Allow tracking the count of sessions intercepting Java OutOfMemoryError 67 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
|
D | apexd.te | 184 # Allow calling derive_classpath to gather BCP information for staged sessions
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | iorapd.te | 36 # tracing sessions and read trace data.
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | traced.te | 71 # Allow tracking the count of sessions intercepting Java OutOfMemoryError 72 # If there are such tracing sessions and an OutOfMemoryError is thrown by ART,
|
D | apexd.te | 205 # Allow calling derive_classpath to gather BCP information for staged sessions
|
D | app.te | 57 # Allow the heap dump ART plugin to the count of sessions waiting for OOME
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | iorapd.te | 39 # tracing sessions and read trace data.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | iorapd.te | 39 # tracing sessions and read trace data.
|
/system/sepolicy/prebuilts/api/32.0/public/ |
D | iorapd.te | 39 # tracing sessions and read trace data.
|
/system/sepolicy/prebuilts/api/33.0/public/ |
D | iorapd.te | 36 # tracing sessions and read trace data.
|
/system/secretkeeper/ |
D | README.md | 60 sessions with Secretkeeper, sending requests etc.
|