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

Function GetActivityName

renderdoc/android/android_utils.cpp:80–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80rdcstr GetActivityName(const rdcstr &packageAndActivity)
81{
82 if(packageAndActivity.empty())
83 return "";
84
85 int32_t start = 0;
86 if(packageAndActivity[0] == '/')
87 start++;
88
89 int32_t activitySep = packageAndActivity.find('/', start);
90
91 if(activitySep < 0)
92 return "";
93
94 return packageAndActivity.substr(activitySep + 1);
95}
96
97ABI GetABI(const rdcstr &abiName)
98{

Callers 1

ExecuteAndInjectMethod · 0.85

Calls 3

emptyMethod · 0.45
findMethod · 0.45
substrMethod · 0.45

Tested by

no test coverage detected