| 169 | } |
| 170 | |
| 171 | int LoaderService::findAppInStack(const std::string& id) const { |
| 172 | auto lock = mutex.asScopedLock(); |
| 173 | lock.lock(); |
| 174 | for (size_t i = 0; i < appStack.size(); i++) { |
| 175 | if (appStack[i]->getManifest().appId == id) { |
| 176 | return i; |
| 177 | } |
| 178 | } |
| 179 | return -1; |
| 180 | } |
| 181 | |
| 182 | void LoaderService::onStopAllAppMessage(const std::string& id) { |
| 183 | auto lock = mutex.asScopedLock(); |
nothing calls this directly
no test coverage detected