MCPcopy Create free account
hub / github.com/baldurk/renderdoc / InstallAPK

Function InstallAPK

renderdoc/android/android.cpp:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346Process::ProcessResult InstallAPK(const rdcstr &deviceID, const rdcstr &apk, int apiVersion)
347{
348 Process::ProcessResult adbInstall;
349 if(apiVersion >= 30)
350 {
351 adbInstall = adbExecCommand(deviceID, "install -r -g --force-queryable \"" + apk + "\"");
352 }
353 else
354 {
355 adbInstall = adbExecCommand(deviceID, "install -r -g \"" + apk + "\"");
356 }
357
358 return adbInstall;
359}
360
361AndroidInstallPermissionCheckResult CheckAndroidServerInstallPermissions(const rdcstr &deviceID,
362 rdcstr packageName,

Callers 1

InstallRenderDocServerFunction · 0.85

Calls 1

adbExecCommandFunction · 0.85

Tested by

no test coverage detected