/system/iorap/src/prefetcher/ |
D | session_manager.cc | 78 virtual std::shared_ptr<Session> FindSession(size_t session_id) const override { in FindSession() 79 auto it = sessions_map_.find(session_id); in FindSession() 81 DCHECK_EQ(session_id, it->second.SessionId()); in FindSession() 88 virtual bool DestroySession(size_t session_id) override { in DestroySession() argument 89 auto it = sessions_map_.find(session_id); in DestroySession() 102 size_t session_id = session->SessionId(); in InsertNewSession() local 108 sessions_map_.insert({session_id, std::move(data)}); in InsertNewSession() 126 virtual std::shared_ptr<Session> CreateSession(size_t session_id, in CreateSession() argument 128 LOG(VERBOSE) << "CreateSessionDirect id=" << session_id << ", description=" << description; in CreateSession() 131 std::static_pointer_cast<Session>(std::make_shared<SessionDirect>(session_id, in CreateSession() [all …]
|
D | session_manager.h | 53 virtual std::shared_ptr<Session> CreateSession(size_t session_id, 59 virtual std::shared_ptr<Session> CreateSession(size_t session_id, in CreateSession() argument 62 return CreateSession(session_id, description); in CreateSession() 67 virtual std::shared_ptr<Session> FindSession(size_t session_id) const = 0; 71 virtual bool DestroySession(size_t session_id) = 0;
|
D | prefetcher_daemon.cc | 140 os << "sid=" << command.session_id << ","; in operator <<() 659 cmd.session_id = parsed_session_id.value; in Read() 679 cmd.session_id = parsed_session_id.value; in Read() 714 cmd.session_id = parsed_session_id.value; in Read() 738 cmd.session_id = parsed_session_id.value; in Read() 753 cmd.session_id = parsed_session_id.value; in Read() 784 space_requirement += sizeof(session_id); in Write() 796 space_requirement += sizeof(session_id); in Write() 800 space_requirement += sizeof(session_id); in Write() 808 space_requirement += sizeof(session_id); in Write() [all …]
|
D | session.cc | 60 SessionBase::SessionBase(size_t session_id, std::string description) in SessionBase() argument 61 : session_id_{session_id}, description_{description} { in SessionBase() 606 SessionIndirect::SessionIndirect(size_t session_id, in SessionIndirect() argument 610 : SessionBase{session_id, description}, in SessionIndirect() 619 cmd.session_id = session_id; 625 LOG(FATAL) << "SessionIndirect: Failure to create session " << session_id 633 cmd.session_id = SessionId(); in ~SessionIndirect() 647 cmd.session_id = SessionId(); in Dump() 655 cmd.session_id = SessionId(); in RegisterFilePath() 665 cmd.session_id = SessionId(); in UnregisterFilePath() [all …]
|
D | session.h | 100 SessionBase(size_t session_id, std::string description); 135 SessionDirect(size_t session_id, std::string description) in SessionDirect() argument 136 : SessionBase{session_id, std::move(description)} { in SessionDirect() 202 SessionIndirect(size_t session_id, 220 SessionIndirectSocket(size_t session_id,
|
D | prefetcher_daemon.h | 70 uint32_t session_id; member
|
/system/apex/apexd/aidl/android/apex/ |
D | IApexService.aidl | 27 void markStagedSessionReady(int session_id); in markStagedSessionReady() argument 28 void markStagedSessionSuccessful(int session_id); in markStagedSessionSuccessful() argument 31 ApexSessionInfo getStagedSessionInfo(int session_id); in getStagedSessionInfo() argument 35 void abortStagedSession(int session_id); in abortStagedSession() argument
|
/system/apex/apexd/ |
D | apexservice.cpp | 77 BinderStatus markStagedSessionReady(int session_id) override; 78 BinderStatus markStagedSessionSuccessful(int session_id) override; 81 int session_id, ApexSessionInfo* apex_session_info) override; 92 BinderStatus abortStagedSession(int session_id) override; 197 BinderStatus ApexService::markStagedSessionReady(int session_id) { in markStagedSessionReady() argument 199 << session_id; in markStagedSessionReady() 200 Result<void> success = ::android::apex::MarkStagedSessionReady(session_id); in markStagedSessionReady() 202 LOG(ERROR) << "Failed to mark session id " << session_id in markStagedSessionReady() 211 BinderStatus ApexService::markStagedSessionSuccessful(int session_id) { in markStagedSessionSuccessful() argument 214 << session_id; in markStagedSessionSuccessful() [all …]
|
D | apexd.h | 79 const int session_id, const std::vector<int>& child_session_ids, 82 android::base::Result<void> MarkStagedSessionReady(const int session_id) 84 android::base::Result<void> MarkStagedSessionSuccessful(const int session_id) 106 android::base::Result<void> AbortStagedSession(const int session_id);
|
D | apexd_session.cpp | 75 Result<ApexSession> ApexSession::CreateSession(int session_id) { in CreateSession() argument 78 std::string session_dir = GetSessionsDir() + "/" + std::to_string(session_id); in CreateSession() 82 state.set_id(session_id); in CreateSession() 101 Result<ApexSession> ApexSession::GetSession(int session_id) { in GetSession() argument 102 auto path = StringPrintf("%s/%d/%s", GetSessionsDir().c_str(), session_id, in GetSession()
|
D | apexd_session.h | 43 static android::base::Result<ApexSession> CreateSession(int session_id); 44 static android::base::Result<ApexSession> GetSession(int session_id);
|
D | apexd.cpp | 856 Result<ApexFile> VerifySessionDir(const int session_id) { in VerifySessionDir() argument 858 std::to_string(session_id); in VerifySessionDir() 1520 Result<void> AbortStagedSession(int session_id) { in AbortStagedSession() argument 1521 auto session = ApexSession::GetSession(session_id); in AbortStagedSession() 1523 return Error() << "No session found with id " << session_id; in AbortStagedSession() 1967 auto session_id = session.GetId(); in ScanStagedSessionsDirAndStage() local 1970 LOG(WARNING) << "Marking session " << session_id << " as failed."; in ScanStagedSessionsDirAndStage() 1973 LOG(WARNING) << "Failed to mark session " << session_id in ScanStagedSessionsDirAndStage() 2001 "/session_" + std::to_string(session_id)); in ScanStagedSessionsDirAndStage() 2035 dir_to_scan.c_str(), session_id); in ScanStagedSessionsDirAndStage() [all …]
|
D | apexd_test_utils.h | 125 inline ApexSessionInfo CreateSessionInfo(int session_id) { in CreateSessionInfo() argument 127 info.sessionId = session_id; in CreateSessionInfo()
|
D | apexd_test.cpp | 127 const std::string GetStagedDir(int session_id) { in GetStagedDir() argument 129 session_id); in GetStagedDir() 178 int session_id) { in CreateStagedSession() argument 179 CreateDirIfNeeded(GetStagedDir(session_id), 0755); in CreateStagedSession() 180 fs::copy(GetTestFile(apex_name), GetStagedDir(session_id)); in CreateStagedSession() 181 auto result = ApexSession::CreateSession(session_id); in CreateStagedSession()
|
/system/update_engine/cros/ |
D | omaha_request_builder_xml.h | 129 const std::string& session_id) in OmahaRequestBuilderXml() argument 136 session_id_(session_id) {} in OmahaRequestBuilderXml()
|
D | omaha_request_builder_xml_unittest.cc | 167 const string session_id = in TEST_F() local 170 if (!session_id.empty()) { in TEST_F() 171 EXPECT_TRUE(base::IsValidGUID(session_id)); in TEST_F() 173 EXPECT_EQ(gen_session_id, session_id); in TEST_F()
|
D | omaha_request_action.h | 106 const std::string& session_id);
|
D | omaha_request_action.cc | 343 const string& session_id) in OmahaRequestAction() argument 350 session_id_(session_id) { in OmahaRequestAction()
|
D | omaha_request_action_unittest.cc | 375 string session_id; member 525 tuc_params_.session_id); in TestUpdateCheck()
|
/system/nfc/src/nfa/hci/ |
D | nfa_hci_main.cc | 418 memcpy(nfa_hci_cb.cfg.admin_gate.session_id, p_session_id, in nfa_hci_restore_default_config() 873 uint8_t session_id[NFA_HCI_SESSION_ID_LEN]; in nfa_hci_handle_nv_read() local 885 (!(memcmp(nfa_hci_cb.cfg.admin_gate.session_id, default_session, in nfa_hci_handle_nv_read() 887 (!(memcmp(nfa_hci_cb.cfg.admin_gate.session_id, reset_session, in nfa_hci_handle_nv_read() 892 memcpy(&session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_nv_read() 893 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_nv_read() 896 memcpy(session_id, (uint8_t*)&os_tick, (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_nv_read() 897 nfa_hci_restore_default_config(session_id); in nfa_hci_handle_nv_read()
|
D | nfa_hci_act.cc | 1406 !memcmp((uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id, p_data, in nfa_hci_handle_admin_gate_rsp() 1437 &nfa_hci_cb.cfg.admin_gate.session_id[NFA_HCI_SESSION_ID_LEN / 2], in nfa_hci_handle_admin_gate_rsp() 1438 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_admin_gate_rsp() 1441 memcpy(nfa_hci_cb.cfg.admin_gate.session_id, (uint8_t*)&os_tick, in nfa_hci_handle_admin_gate_rsp() 1446 (uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id); in nfa_hci_handle_admin_gate_rsp() 1482 .session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_admin_gate_rsp() 1483 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_admin_gate_rsp() 1486 memcpy(nfa_hci_cb.cfg.admin_gate.session_id, (uint8_t*)&os_tick, in nfa_hci_handle_admin_gate_rsp() 1492 (uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id); in nfa_hci_handle_admin_gate_rsp()
|
D | nfa_hci_utils.cc | 1413 memcpy(&p[2], (uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id, in handle_debug_loopback()
|
/system/nfc/src/nfa/include/ |
D | nfa_hci_int.h | 341 session_id[NFA_HCI_SESSION_ID_LEN]; /* Session ID of the host network */ member
|