/system/apex/apexd/ |
D | apexd_session.cpp | 44 std::string getSessionDir(int session_id) { in getSessionDir() argument 45 return kApexSessionsDir + "/" + std::to_string(session_id); in getSessionDir() 48 std::string getSessionStateFilePath(int session_id) { in getSessionStateFilePath() argument 49 return getSessionDir(session_id) + "/" + kStateFileName; in getSessionStateFilePath() 52 Result<std::string> createSessionDirIfNeeded(int session_id) { in createSessionDirIfNeeded() argument 59 std::string sessionDir = getSessionDir(session_id); in createSessionDirIfNeeded() 68 Result<void> deleteSessionDir(int session_id) { in deleteSessionDir() argument 69 std::string session_dir = getSessionDir(session_id); in deleteSessionDir() 85 Result<ApexSession> ApexSession::CreateSession(int session_id) { in CreateSession() argument 88 auto sessionPath = createSessionDirIfNeeded(session_id); in CreateSession() [all …]
|
D | apexd.h | 52 const int session_id, const std::vector<int>& child_session_ids, 55 android::base::Result<void> markStagedSessionReady(const int session_id) 57 android::base::Result<void> markStagedSessionSuccessful(const int session_id) 75 android::base::Result<void> abortStagedSession(const int session_id);
|
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; 187 BinderStatus ApexService::markStagedSessionReady(int session_id) { in markStagedSessionReady() argument 189 << session_id; in markStagedSessionReady() 190 Result<void> success = ::android::apex::markStagedSessionReady(session_id); in markStagedSessionReady() 192 LOG(ERROR) << "Failed to mark session id " << session_id in markStagedSessionReady() 201 BinderStatus ApexService::markStagedSessionSuccessful(int session_id) { in markStagedSessionSuccessful() argument 204 << session_id; in markStagedSessionSuccessful() [all …]
|
D | apexd_session.h | 35 static android::base::Result<ApexSession> CreateSession(int session_id); 36 static android::base::Result<ApexSession> GetSession(int session_id);
|
D | apexd_test_utils.h | 88 inline ApexSessionInfo CreateSessionInfo(int session_id) { in CreateSessionInfo() argument 90 info.sessionId = session_id; in CreateSessionInfo()
|
D | apexd.cpp | 716 Result<ApexFile> verifySessionDir(const int session_id) { in verifySessionDir() argument 718 std::to_string(session_id); in verifySessionDir() 1187 Result<void> abortStagedSession(int session_id) { in abortStagedSession() argument 1188 auto session = ApexSession::GetSession(session_id); in abortStagedSession() 1190 return Error() << "No session found with id " << session_id; in abortStagedSession() 2073 const int session_id, const std::vector<int>& child_session_ids, in submitStagedSession() argument 2076 if (session_id == 0) { in submitStagedSession() 2092 ids_to_scan = {session_id}; in submitStagedSession() 2111 return Error() << "Cannot set session " << session_id << " as both a" in submitStagedSession() 2115 auto session = ApexSession::CreateSession(session_id); in submitStagedSession() [all …]
|
/system/apex/apexd/aidl/android/apex/ |
D | IApexService.aidl | 26 void markStagedSessionReady(int session_id); in markStagedSessionReady() argument 27 void markStagedSessionSuccessful(int session_id); in markStagedSessionSuccessful() argument 30 ApexSessionInfo getStagedSessionInfo(int session_id); in getStagedSessionInfo() argument 34 void abortStagedSession(int session_id); in abortStagedSession() argument
|
/system/core/adb/client/ |
D | adb_install.cpp | 591 int session_id = -1; in install_multiple_app_streamed() local 597 session_id = strtol(start + 1, nullptr, 10); in install_multiple_app_streamed() 600 if (session_id < 0) { in install_multiple_app_streamed() 605 const auto session_id_str = std::to_string(session_id); in install_multiple_app_streamed() 844 int session_id = -1; in install_multi_package() local 850 session_id = strtol(start + 1, nullptr, 10); in install_multi_package() 853 if (session_id < 0) { in install_multi_package() 858 const auto session_id_str = std::to_string(session_id); in install_multi_package() 860 fprintf(stdout, "Created child session ID %d.\n", session_id); in install_multi_package() 861 session_ids.push_back(session_id); in install_multi_package() [all …]
|
/system/update_engine/ |
D | omaha_request_builder_xml_unittest.cc | 174 const string session_id = in TEST_F() local 177 if (!session_id.empty()) { in TEST_F() 178 EXPECT_TRUE(base::IsValidGUID(session_id)); in TEST_F() 180 EXPECT_EQ(gen_session_id, session_id); in TEST_F()
|
D | omaha_request_builder_xml.h | 132 const std::string& session_id) in OmahaRequestBuilderXml() argument 141 session_id_(session_id) {} in OmahaRequestBuilderXml()
|
D | omaha_request_action.h | 108 const std::string& session_id);
|
D | omaha_request_action.cc | 279 const string& session_id) in OmahaRequestAction() argument 288 session_id_(session_id) { in OmahaRequestAction()
|
D | omaha_request_action_unittest.cc | 354 string session_id; member 506 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
|