/system/apex/apexd/ |
D | apexd_session.cpp | 42 std::string getSessionDir(int session_id) { in getSessionDir() argument 43 return kApexSessionsDir + "/" + std::to_string(session_id); in getSessionDir() 46 std::string getSessionStateFilePath(int session_id) { in getSessionStateFilePath() argument 47 return getSessionDir(session_id) + "/" + kStateFileName; in getSessionStateFilePath() 50 StatusOr<std::string> createSessionDirIfNeeded(int session_id) { in createSessionDirIfNeeded() argument 57 std::string sessionDir = getSessionDir(session_id); in createSessionDirIfNeeded() 66 Status deleteSessionDir(int session_id) { in deleteSessionDir() argument 67 std::string session_dir = getSessionDir(session_id); in deleteSessionDir() 83 StatusOr<ApexSession> ApexSession::CreateSession(int session_id) { in CreateSession() argument 86 auto sessionPath = createSessionDirIfNeeded(session_id); in CreateSession() [all …]
|
D | apexd.h | 47 const int session_id, 49 Status markStagedSessionReady(const int session_id) WARN_UNUSED; 50 Status markStagedSessionSuccessful(const int session_id) WARN_UNUSED;
|
D | apexservice.cpp | 61 BinderStatus submitStagedSession(int session_id, 65 BinderStatus markStagedSessionReady(int session_id, 67 BinderStatus markStagedSessionSuccessful(int session_id) override; 70 int session_id, ApexSessionInfo* apex_session_info) override; 153 int session_id, const std::vector<int>& child_session_ids, in submitStagedSession() argument 156 << session_id; in submitStagedSession() 159 ::android::apex::submitStagedSession(session_id, child_session_ids); in submitStagedSession() 162 LOG(ERROR) << "Failed to submit session id " << session_id << ": " in submitStagedSession() 178 BinderStatus ApexService::markStagedSessionReady(int session_id, in markStagedSessionReady() argument 181 << session_id; in markStagedSessionReady() [all …]
|
D | apexd_session.h | 35 static StatusOr<ApexSession> CreateSession(int session_id); 36 static StatusOr<ApexSession> GetSession(int session_id);
|
D | apexd_test_utils.h | 96 inline ApexSessionInfo CreateSessionInfo(int session_id) { in CreateSessionInfo() argument 98 info.sessionId = session_id; in CreateSessionInfo()
|
D | apexd.cpp | 778 StatusOr<ApexFile> verifySessionDir(const int session_id) { in verifySessionDir() argument 780 std::to_string(session_id); in verifySessionDir() 1791 const int session_id, const std::vector<int>& child_session_ids) { in submitStagedSession() argument 1823 ids_to_scan = {session_id}; in submitStagedSession() 1841 auto session = ApexSession::CreateSession(session_id); in submitStagedSession() 1855 Status markStagedSessionReady(const int session_id) { in markStagedSessionReady() argument 1856 auto session = ApexSession::GetSession(session_id); in markStagedSessionReady() 1870 return Status::Fail(StringLog() << "Invalid state for session " << session_id in markStagedSessionReady() 1874 Status markStagedSessionSuccessful(const int session_id) { in markStagedSessionSuccessful() argument 1875 auto session = ApexSession::GetSession(session_id); in markStagedSessionSuccessful()
|
/system/apex/apexd/aidl/android/apex/ |
D | IApexService.aidl | 24 …boolean submitStagedSession(int session_id, in int[] child_session_ids, out ApexInfoList packages); in submitStagedSession() argument 25 boolean markStagedSessionReady(int session_id); in markStagedSessionReady() argument 26 void markStagedSessionSuccessful(int session_id); in markStagedSessionSuccessful() argument 29 ApexSessionInfo getStagedSessionInfo(int session_id); in getStagedSessionInfo() argument
|
/system/core/adb/client/ |
D | adb_install.cpp | 446 int session_id = -1; in install_multiple_app() local 452 session_id = strtol(start + 1, nullptr, 10); in install_multiple_app() 455 if (session_id < 0) { in install_multiple_app() 475 session_id, android::base::Basename(file).c_str()); in install_multiple_app() 506 success ? "commit" : "abandon", session_id); in install_multiple_app() 623 int session_id = -1; in install_multi_package() local 629 session_id = strtol(start + 1, nullptr, 10); in install_multi_package() 632 if (session_id < 0) { in install_multi_package() 638 fprintf(stdout, "Created child session ID %d.\n", session_id); in install_multi_package() 639 session_ids.push_back(session_id); in install_multi_package() [all …]
|
/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() 857 uint8_t session_id[NFA_HCI_SESSION_ID_LEN]; in nfa_hci_handle_nv_read() local 869 (!(memcmp(nfa_hci_cb.cfg.admin_gate.session_id, default_session, in nfa_hci_handle_nv_read() 871 (!(memcmp(nfa_hci_cb.cfg.admin_gate.session_id, reset_session, in nfa_hci_handle_nv_read() 876 memcpy(&session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_nv_read() 877 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_nv_read() 880 memcpy(session_id, (uint8_t*)&os_tick, (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_nv_read() 881 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() 1431 &nfa_hci_cb.cfg.admin_gate.session_id[NFA_HCI_SESSION_ID_LEN / 2], in nfa_hci_handle_admin_gate_rsp() 1432 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_admin_gate_rsp() 1435 memcpy(nfa_hci_cb.cfg.admin_gate.session_id, (uint8_t*)&os_tick, in nfa_hci_handle_admin_gate_rsp() 1440 (uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id); in nfa_hci_handle_admin_gate_rsp() 1476 .session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_admin_gate_rsp() 1477 nfa_hci_cb.cfg.admin_gate.session_id, in nfa_hci_handle_admin_gate_rsp() 1480 memcpy(nfa_hci_cb.cfg.admin_gate.session_id, (uint8_t*)&os_tick, in nfa_hci_handle_admin_gate_rsp() 1486 (uint8_t*)nfa_hci_cb.cfg.admin_gate.session_id); in nfa_hci_handle_admin_gate_rsp()
|
D | nfa_hci_utils.cc | 1397 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
|