Files
hexagonrpc/hexagonrpcd/aee_error.c
Richard Acayan 63b1711021 move fastrpc to project root
The FastRPC implementation is loosely related to the sensor shell. It is
useful to provide interfaces over FastRPC for sensor DSP firmware, and
enables the sensor shell to provide most physical sensors. However, the
FastRPC implementation has no meaningful connection with the sensor
shell in terms of code. Move the FastRPC implementation to the project
root to make it more intuitive to install and use and to separate it
from a distinct project.
2024-03-01 21:48:39 -05:00

84 lines
3.1 KiB
C

/*
* Imported FastRPC error messages
*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
const char *aee_strerror[] = {
"No error",
"General failure",
"Insufficient RAM",
"Specified class unsupported",
"Version not supported",
"Object already loaded",
"Unable to load object/applet",
"Unable to unload object/applet",
"Alarm is pending",
"Invalid time",
"NULL class object",
"Invalid metric specified",
"App/Component Expired",
"Invalid state",
"Invalid parameter",
"Invalid URL scheme",
"Invalid item",
"Invalid format",
"Incomplete item",
"Insufficient flash",
"API is not supported",
"Privileges are insufficient for this operation",
"Unable to find specified resource",
"Non re-entrant API re-entered",
"API called in wrong task context",
"App/Module left memory allocated when released.",
"Operation is already in progress",
"ADS mutual authorization failed",
"Need service programming",
"bad memory pointer",
"heap corruption",
"Context (system, interface, etc.) is idle",
"Context (system, interface, etc.) is busy",
"Invalid subscriber ID",
"No type detected/found",
"Need more data/info",
"ADS Capabilities do not match those required for phone",
"App failed to close properly",
"Destination buffer given is too small",
"No such name, port, socket or service exists or is valid",
"ACK pending on application",
"Not an owner authorized to perform the operation",
"Current item is invalid",
"Not allowed to perform the operation",
"Invalid handle",
"Out of handles",
"Waitable call is interrupted",
"No more items available -- reached end",
"A CPU exception occurred",
"Cannot change read-only object or parameter",
};