Lines Matching refs:instanceId
55 info->instanceId = app->getInstanceId(); in populateNanoappInfo()
65 uint32_t *instanceId) const { in findNanoappInstanceIdByAppId()
66 CHRE_ASSERT(instanceId != nullptr); in findNanoappInstanceIdByAppId()
72 *instanceId = app->getInstanceId(); in findNanoappInstanceIdByAppId()
203 bool EventLoop::unloadNanoapp(uint32_t instanceId, in unloadNanoapp() argument
208 if (instanceId == mNanoapps[i]->getInstanceId()) { in unloadNanoapp()
248 LOGD("Unloaded nanoapp with instanceId %" PRIu32, instanceId); in unloadNanoapp()
328 Nanoapp *EventLoop::findNanoappByInstanceId(uint32_t instanceId) const { in findNanoappByInstanceId()
330 return lookupAppByInstanceId(instanceId); in findNanoappByInstanceId()
341 uint32_t instanceId, struct chreNanoappInfo *info) const { in populateNanoappInfoForInstanceId() argument
343 Nanoapp *app = lookupAppByInstanceId(instanceId); in populateNanoappInfoForInstanceId()
473 Nanoapp *EventLoop::lookupAppByInstanceId(uint32_t instanceId) const { in lookupAppByInstanceId()
476 if (instanceId != kSystemInstanceId) { in lookupAppByInstanceId()
478 if (app->getInstanceId() == instanceId) { in lookupAppByInstanceId()
495 info->instanceId = nanoapp.getInstanceId(); in notifyAppStatusChange()