Lines Matching refs:SendResponse
272 static int SendResponse(const AppSpawnConnection *connection, const AppSpawnMsg *msg, int result, pid_t pid)
274 APPSPAWN_LOGV("SendResponse connectionId: %{public}u result: 0x%{public}x pid: %{public}d",
888 SendResponse(connection, &message->msgHeader, ret, 0);
903 SendResponse(connection, &message->msgHeader, APPSPAWN_SYSTEM_ERROR, 0);
920 SendResponse(connection, &message->msgHeader, ret, 0);
926 SendResponse(connection, &message->msgHeader, ret, 0);
948 SendResponse(property->message->connection, &property->message->msgHeader, APPSPAWN_CHILD_CRASH, 0);
969 SendResponse(property->message->connection, &property->message->msgHeader, APPSPAWN_SPAWN_TIMEOUT, 0);
982 SendResponse(property->message->connection, &property->message->msgHeader, result, property->pid);
1035 SendResponse(property->message->connection, &property->message->msgHeader, result, property->pid);
1369 SendResponse(connection, msg, APPSPAWN_DEBUG_MODE_NOT_SUPPORT, 0);
1375 SendResponse(connection, msg, APPSPAWN_DEBUG_MODE_NOT_SUPPORT, 0);
1513 SendResponse(connection, &message->msgHeader, APPSPAWN_MSG_INVALID, 0);
1520 SendResponse(connection, &message->msgHeader, 0, 0);
1634 SendResponse(connection, msg, ret == 0 ? result.result : ret, result.pid);
1645 SendResponse(connection, msg, 0, 0);
1653 SendResponse(connection, msg, GetAppSpawnMgr()->spawnTime.minAppspawnTime,
1659 SendResponse(connection, msg, ret, 0);
1666 SendResponse(connection, msg, ret, 0);
1670 SendResponse(connection, msg, APPSPAWN_MSG_INVALID, 0);