Home
last modified time | relevance | path

Searched refs:sessionId (Results 1 – 8 of 8) sorted by relevance

/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java218 private static int commitInstallSession(int sessionId) throws IOException { in commitInstallSession() argument
220 commandBuilder.append(String.format("pm install-commit %d -- - ", sessionId)); in commitInstallSession()
227 int sessionId = createInstallSession(sessionArgs); in applyPatch() local
228 if (sessionId < 0) { in applyPatch()
233 int writeExitCode = writePatchedDataToSession(deltaStream, sessionId); in applyPatch()
235 return commitInstallSession(sessionId); in applyPatch()
313 private static int writePatchedDataToSession(InputStream patchData, int sessionId) in writePatchedDataToSession() argument
318 String command = String.format("pm install-write -S %d %d -- -", newSize, sessionId); in writePatchedDataToSession()
/system/apex/apexd/
Dapexd_test_utils.h57 Field("sessionId", &ApexSessionInfo::sessionId, Eq(other.sessionId)),
90 info.sessionId = session_id; in CreateSessionInfo()
108 *os << " sessionId : " << session.sessionId << "\n"; in PrintTo()
Dapexservice_test.cpp672 params.sessionId = 1543; in TEST_F()
693 params.sessionId = 1547; in TEST_F()
710 params.sessionId = 239; in TEST_F()
811 params.sessionId = 1543; in TEST_F()
826 params.sessionId = 1547; in TEST_F()
1228 params.sessionId = 123; in TEST_F()
1345 params.sessionId = 239; in TEST_F()
1683 params.sessionId = 123; in TEST_F()
1762 params.sessionId = 239; in TEST_F()
1786 params.sessionId = 456; in TEST_F()
[all …]
Dapexservice.cpp163 << params.sessionId << " child sessions: [" in submitStagedSession()
167 params.sessionId, params.childSessionIds, params.hasRollbackEnabled, in submitStagedSession()
170 LOG(ERROR) << "Failed to submit session id " << params.sessionId << ": " in submitStagedSession()
217 session_info->sessionId = -1; in ClearSessionInfo()
234 session_info->sessionId = session.GetId(); in convertToApexSessionInfo()
871 params.sessionId = session_id; in shellCommand()
Dapexd.cpp1564 auto sessionId = session.GetId(); in scanStagedSessionsDirAndStage() local
1567 LOG(WARNING) << "Marking session " << sessionId << " as failed."; in scanStagedSessionsDirAndStage()
1570 LOG(WARNING) << "Failed to mark session " << sessionId in scanStagedSessionsDirAndStage()
1585 std::to_string(sessionId)); in scanStagedSessionsDirAndStage()
1612 << " session id: " << sessionId << "."; in scanStagedSessionsDirAndStage()
1627 << std::to_string(sessionId) << ": " in scanStagedSessionsDirAndStage()
/system/apex/apexd/aidl/android/apex/
DApexSessionParams.aidl20 int sessionId = 0;
DApexSessionInfo.aidl20 int sessionId;
/system/apex/tests/src/com/android/tests/apex/
DApexdHostTest.java256 String sessionId = getDevice().executeShellCommand( in testApexSessionStateUnchangedBeforeReboot() local
258 assertThat(sessionId).isNotEmpty(); in testApexSessionStateUnchangedBeforeReboot()
259 String sessionStateCmd = "cmd -w apexservice getStagedSessionInfo " + sessionId; in testApexSessionStateUnchangedBeforeReboot()