Home
last modified time | relevance | path

Searched defs:session (Results 1 – 25 of 27) sorted by relevance

12

/system/apex/apexd/
Dapexd_session_test.cpp55 auto session = manager->CreateSession(239); in TEST() local
73 auto session = manager->CreateSession(73); in TEST() local
82 auto session = manager->CreateSession(23); in TEST() local
167 auto session = manager->CreateSession(239); in TEST() local
178 auto session = manager->CreateSession(239); in TEST() local
Dapexservice_test.cpp513 auto session = GetSession(1547); in TEST_F() local
777 ApexSessionInfo session; in TEST_F() local
848 ApexSessionInfo session; in TEST_F() local
894 ApexSessionInfo session; in TEST_F() local
912 auto session = CreateSession(73); in TEST_F() local
927 auto session = CreateSession(239); in TEST_F() local
942 auto session = CreateSession(1543); in TEST_F() local
1014 auto session = CreateSession(230 + i); in TEST_F() local
1030 for (auto& session : sessions) { in TEST_F() local
1218 auto session = CreateSession(1543); in TEST_F() local
[all …]
Dapexd_session.cpp197 std::ostream& operator<<(std::ostream& out, const ApexSession& session) { in operator <<()
262 ApexSession session(std::move(*state), std::move(session_dir)); in GetSessions() local
298 for (const ApexSession& session : sessions) { in DeleteFinalizedSessions() local
Dapexd.cpp702 for (const auto& session : sessions) { in VerifyNoOverlapInSessions() local
753 for (const auto& session : sessions) { in VerifyPackagesStagedInstall() local
1277 const ApexSession& session) { in ScanSessionApexFiles()
1293 auto session = OR_RETURN(gSessionManager->GetSession(session_id)); in GetStagedApexFiles() local
1420 auto session = gSessionManager->GetSession(session_id); in AbortStagedSession() local
1693 const ApexSession& session) { in SnapshotOrRestoreDeIfNeeded()
1723 for (const ApexSession& session : sessions) { in SnapshotOrRestoreDeSysData() local
1738 for (const ApexSession& session : sessions) { in SnapshotOrRestoreDeUserData() local
1818 const ApexSession& session) { in RestorePreRestoreSnapshotsIfPresent()
1834 void RestoreDePreRestoreSnapshotsIfPresent(const ApexSession& session) { in RestoreDePreRestoreSnapshotsIfPresent()
[all …]
Dapexservice.cpp321 void ConvertToApexSessionInfo(const ApexSession& session, in ConvertToApexSessionInfo()
418 for (const auto& session : sessions) { in getSessions() local
437 auto session = GetSessionManager()->GetSession(session_id); in getStagedSessionInfo() local
793 for (const auto& session : sessions) { in dump() local
Dapexd_metrics.cpp62 void SendSessionApexInstallationEndedAtom(const ApexSession& session, in SendSessionApexInstallationEndedAtom()
Dapexd_test_utils.h140 inline void PrintTo(const ApexSessionInfo& session, std::ostream* os) { in PrintTo()
Dapexd_test.cpp4564 auto session = GetSessionManager()->GetSession(37); in TEST_F() local
4590 auto session = GetSessionManager()->GetSession(73); in TEST_F() local
4884 auto session = GetSessionManager()->GetSession(37); in TEST_F() local
4920 auto session = GetSessionManager()->GetSession(37); in TEST_F() local
4998 auto session = GetSessionManager()->GetSession(session_id); in TEST_F() local
5092 auto session = GetSessionManager()->GetSession(session_id); in TEST_F() local
5128 auto session = GetSessionManager()->GetSession(parent_session_id); in TEST_F() local
5153 auto session = GetSessionManager()->GetSession(session_id); in TEST_F() local
/system/chre/test/simulation/
Dhost_message_hub_test.cc469 .WillOnce([this](const Session &session) { in TEST_F()
490 .WillOnce([this](const Session &session) { in TEST_F()
515 .WillOnce([this](const Session &session) { in TEST_F()
532 .WillOnce([this](const Session &session) { in TEST_F()
546 .WillOnce([&receivedSessionId](const Session &session) { in TEST_F()
560 .WillOnce([&receivedSessionId](const Session &session) { in TEST_F()
585 .WillOnce([this](const Session &session) { in TEST_F()
607 .WillOnce([this](const Session &session) { in TEST_F()
Dchre_message_hub_test.cc112 void onSessionOpened(const Session &session) override { in onSessionOpened()
214 MessageHubCallbackStoreData(Message *message, Session *session) in MessageHubCallbackStoreData()
219 const Session &session, in onMessageReceived()
234 void onSessionClosed(const Session &session, Reason /* reason */) override { in onSessionClosed()
240 void onSessionOpenRequest(const Session &session) override { in onSessionOpenRequest()
430 auto *session = in handleEvent() local
749 std::optional<Session> session = messageHub->getSessionWithId(sessionId); in TEST_F() local
838 std::optional<Session> session = messageHub->getSessionWithId(sessionId); in TEST_F() local
858 Session session; in TEST_F() local
896 Session session; in TEST_F() local
[all …]
/system/core/trusty/storage/lib/
Dstorage.c104 static ssize_t send_reqv(storage_session_t session, in send_reqv()
137 void storage_close_session(storage_session_t session) in storage_close_session()
143 int storage_open_file(storage_session_t session, file_handle_t *handle_p, const char *name, in storage_open_file()
180 int storage_delete_file(storage_session_t session, const char *name, uint32_t opflags) in storage_delete_file()
301 int storage_end_transaction(storage_session_t session, bool complete) in storage_end_transaction()
/system/chre/java/test/endpoint/src/com/google/android/chre/test/endpoint/
DContextHubEchoEndpointExecutor.java118 public void onSessionOpened(HubEndpointSession session) { in onSessionOpened()
124 public void onSessionClosed(HubEndpointSession session, int reason) { in onSessionClosed()
153 public void onMessageReceived(HubEndpointSession session, HubMessage message) { in onMessageReceived()
306 HubEndpointSession session = callback.waitForEndpointSession(); in testOpenCloseEndpointSession() local
344 HubEndpointSession session = callback.waitForEndpointSession(); in doTestEndpointMessaging() local
476 HubEndpointSession session = callback.waitForEndpointSession(); in testApplicationEchoService() local
/system/chre/core/
Dchre_message_hub_manager.cc208 std::optional<Session> session = mChreMessageHub.getSessionWithId(sessionId); in getSessionInfo() local
267 std::optional<Session> session = mChreMessageHub.getSessionWithId(sessionId); in closeSession() local
537 const Session &session, std::optional<Reason> reason) { in onSessionStateChanged()
816 uint32_t messagePermissions, const Session &session, in onMessageReceived()
842 const Session &session) { in onSessionOpenRequest()
853 const Session &session) { in onSessionOpened()
865 const Session &session, Reason reason) { in onSessionClosed()
Dhost_message_hub_manager.cc321 uint32_t messagePermissions, const Session &session, in onMessageReceived()
334 void HostMessageHubManager::Hub::onSessionOpenRequest(const Session &session) { in onSessionOpenRequest()
344 void HostMessageHubManager::Hub::onSessionOpened(const Session &session) { in onSessionOpened()
354 void HostMessageHubManager::Hub::onSessionClosed(const Session &session, in onSessionClosed()
Dgnss_manager.cc284 auto *session = static_cast<GnssSession *>(data); in handleStatusChange() local
/system/chre/util/system/
Dmessage_router.cc345 Session &session = mSessions[i]; in unregisterMessageHub() local
426 Session session(SESSION_ID_INVALID, in openSession() local
476 Session session; in finalizeSession() local
544 Session session; in sendMessage() local
744 for (const Session &session : mSessions) { in getNextSessionIdLocked() local
/system/security/keystore2/apc_compat/
Dapc_compat.cpp220 DeathRecipientCookie(std::weak_ptr<ConfuiAidlCompatSession> session) in DeathRecipientCookie()
488 auto session = reinterpret_cast<ApcCompatSession*>(handle); in promptUserConfirmation() local
494 auto session = reinterpret_cast<ApcCompatSession*>(handle); in abortUserConfirmation() local
499 auto session = reinterpret_cast<ApcCompatSession*>(handle); in closeUserConfirmationService() local
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/
Dnative-lib.cpp36 simpleperf::ProfileSession session; in ProfileThreadFunc() local
/system/chre/host/hal_generic/common/
Dmessage_hub_manager.cc148 Session &session = it->second; in openSession() local
425 for (auto session : closedSessions) hub->mIdToSession.erase(session); in removeEmbeddedHub() local
505 for (auto session : closedSessions) hub->mIdToSession.erase(session); in removeEmbeddedEndpoint() local
Dcontext_hub_v4_impl.cc537 uint16_t session, in handleSessionFailure()
/system/chre/platform/shared/
Dhost_protocol_chre.cc730 ChreFlatBufferBuilder &builder, const Session &session) { in encodeOpenEndpointSessionRequest()
742 ChreFlatBufferBuilder &builder, MessageHubId hub, SessionId session) { in encodeEndpointSessionOpened()
748 ChreFlatBufferBuilder &builder, MessageHubId hub, SessionId session, in encodeEndpointSessionClosed()
756 ChreFlatBufferBuilder &builder, MessageHubId hub, SessionId session, in encodeEndpointSessionMessage()
/system/core/trusty/stats/test/
Dstats_test.cpp146 auto session_initializer = [](sp<RpcSession>& session) { in SetUp()
/system/security/keystore2/src/
Dapc.rs160 session: Option<ApcSessionState>, field
/system/media/audio/include/system/
Daudio.h227 static inline bool audio_is_global_session(audio_session_t session) { in audio_is_global_session()
654 audio_session_t session; /* audio session */ member
703 struct audio_port_config_session_ext session; /* session specific info */ member
749 audio_session_t session; /* audio session */ member
769 struct audio_port_session_ext session; member
819 struct audio_port_session_ext session; member
/system/chre/util/tests/
Dmessage_router_test.cc128 MessageHubCallbackStoreData(Message *message, Session *session, in MessageHubCallbackStoreData()
138 const Session &session, in onMessageReceived()
153 void onSessionClosed(const Session &session, Reason reason) override { in onSessionClosed()
162 void onSessionOpened(const Session &session) override { in onSessionOpened()

12