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

Function GetFolderName

renderdoc/android/android_utils.cpp:191–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191rdcstr GetFolderName(const rdcstr &deviceID)
192{
193 rdcstr api =
194 Android::adbExecCommand(deviceID, "shell getprop ro.build.version.sdk").strStdout.trimmed();
195
196 int apiVersion = atoi(api.c_str());
197
198 if(apiVersion >= 30)
199 return "media/";
200
201 return "data/";
202}
203
204bool SupportsNativeLayers(const rdcstr &deviceID)
205{

Callers 2

StartRemoteServerMethod · 0.85
ExecuteAndInjectMethod · 0.85

Calls 3

adbExecCommandFunction · 0.85
trimmedMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected