Lines Matching refs:status
137 c2_status_t status; in query() local
141 [&status, &numStackIndices, &stackParams, heapParams]( in query()
143 status = static_cast<c2_status_t>(s); in query()
144 if (status != C2_OK && status != C2_BAD_INDEX) { in query()
146 "Error code = %d", static_cast<int>(status)); in query()
153 "Error code = %d", static_cast<int>(status)); in query()
154 status = parseStatus; in query()
172 status = C2_CORRUPTED; in query()
204 return status; in query()
217 c2_status_t status; in config() local
221 [&status, ¶ms, failures]( in config()
225 status = static_cast<c2_status_t>(s); in config()
226 if (status != C2_OK) { in config()
228 "Error code = %d", static_cast<int>(status)); in config()
233 status = objcpy(&(*failures)[i++], sf); in config()
234 if (status != C2_OK) { in config()
236 "Error code = %d", static_cast<int>(status)); in config()
240 status = updateParamsFromBlob(params, o); in config()
246 return status; in config()
252 c2_status_t status; in querySupportedParams() local
256 [&status, params]( in querySupportedParams()
259 status = static_cast<c2_status_t>(s); in querySupportedParams()
260 if (status != C2_OK) { in querySupportedParams()
262 "Error code = %d", static_cast<int>(status)); in querySupportedParams()
268 status = objcpy(&(*params)[i++], sp); in querySupportedParams()
269 if (status != C2_OK) { in querySupportedParams()
272 "Error code = %d", static_cast<int>(status)); in querySupportedParams()
281 return status; in querySupportedParams()
296 c2_status_t status; in querySupportedValues() local
300 [&status, &inFields, &fields]( in querySupportedValues()
303 status = static_cast<c2_status_t>(s); in querySupportedValues()
304 if (status != C2_OK) { in querySupportedValues()
306 "Error code = %d", static_cast<int>(status)); in querySupportedValues()
312 status = C2_CORRUPTED; in querySupportedValues()
316 status = objcpy(&fields[i], inFields[i], r[i]); in querySupportedValues()
317 if (status != C2_OK) { in querySupportedValues()
319 "Error code = %d", static_cast<int>(status)); in querySupportedValues()
328 return status; in querySupportedValues()
338 c2_status_t status = objcpy(&workItems, workBundle); in onWorkDone() local
339 if (status != C2_OK) { in onWorkDone()
341 "status = %d.", static_cast<int>(status)); in onWorkDone()
362 c2_status_t status; in onTripped() local
365 status = objcpy(&c2SettingResult, settingResults[i]); in onTripped()
366 if (status != C2_OK) { in onTripped()
368 "status = %d.", static_cast<int>(status)); in onTripped()
459 c2_status_t status; in createComponent() local
466 [&status, component, hidlListener]( in createComponent()
469 status = static_cast<c2_status_t>(s); in createComponent()
470 if (status != C2_OK) { in createComponent()
481 if (status != C2_OK) { in createComponent()
482 return status; in createComponent()
490 status = (*component)->setDeathListener(*component, listener); in createComponent()
491 if (status != C2_OK) { in createComponent()
493 static_cast<int>(status)); in createComponent()
497 return status; in createComponent()
503 c2_status_t status; in createInterface() local
506 [&status, interface]( in createInterface()
509 status = static_cast<c2_status_t>(s); in createInterface()
510 if (status != C2_OK) { in createInterface()
512 "Error code = %d", static_cast<int>(status)); in createInterface()
521 return status; in createInterface()
554 c2_status_t status = objcpy( in listComponents() local
557 if (status != C2_OK) { in listComponents()
594 c2_status_t status = static_cast<c2_status_t>(s); in getParamReflector() local
595 if (status != C2_OK) { in getParamReflector()
597 "Error code = %d", static_cast<int>(status)); in getParamReflector()
607 status = objcpy(&descriptor, sd[0]); in getParamReflector()
608 if (status != C2_OK) { in getParamReflector()
610 "Error code = %d", static_cast<int>(status)); in getParamReflector()
649 c2_status_t status = C2_NO_INIT; // no IComponentStores present in ForAllStores() local
675 status = predicate(client); in ForAllStores()
676 if (status == C2_OK) { in ForAllStores()
679 return status; in ForAllStores()
687 return status; // return the last status from a valid client in ForAllStores()
696 c2_status_t status = ForAllStores( in CreateComponentByName() local
700 c2_status_t status = client->createComponent(componentName, listener, &component); in CreateComponentByName() local
701 if (status == C2_OK) { in CreateComponentByName()
705 } else if (status != C2_NOT_FOUND) { in CreateComponentByName()
707 client->getInstanceName().c_str(), componentName, asString(status)); in CreateComponentByName()
709 return status; in CreateComponentByName()
711 if (status != C2_OK) { in CreateComponentByName()
712 ALOGI("Could not create component '%s' (%s)", componentName, asString(status)); in CreateComponentByName()
722 c2_status_t status = ForAllStores( in CreateInterfaceByName() local
726 c2_status_t status = client->createInterface(interfaceName, &interface); in CreateInterfaceByName() local
727 if (status == C2_OK) { in CreateInterfaceByName()
731 } else if (status != C2_NOT_FOUND) { in CreateInterfaceByName()
733 client->getInstanceName().c_str(), interfaceName, asString(status)); in CreateInterfaceByName()
735 return status; in CreateInterfaceByName()
737 if (status != C2_OK) { in CreateInterfaceByName()
738 ALOGI("Could not create interface '%s' (%s)", interfaceName, asString(status)); in CreateInterfaceByName()
811 c2_status_t status; in createBlockPool() local
814 [&status, blockPoolId, configurable]( in createBlockPool()
818 status = static_cast<c2_status_t>(s); in createBlockPool()
820 if (status != C2_OK) { in createBlockPool()
822 "Error code = %d", static_cast<int>(status)); in createBlockPool()
832 return status; in createBlockPool()
966 c2_status_t status = in queue() local
968 if (status != C2_OK) { in queue()
970 "Error code = %d", static_cast<int>(status)); in queue()
972 return status; in queue()
979 c2_status_t status; in flush() local
981 [&status, flushedWork]( in flush()
983 status = static_cast<c2_status_t>(s); in flush()
984 if (status != C2_OK) { in flush()
986 "Error code = %d", static_cast<int>(status)); in flush()
989 status = objcpy(flushedWork, wb); in flush()
1039 return status; in flush()
1049 c2_status_t status = in drain() local
1051 if (status != C2_OK) { in drain()
1053 "Error code = %d", static_cast<int>(status)); in drain()
1055 return status; in drain()
1064 c2_status_t status = in start() local
1066 if (status != C2_OK) { in start()
1068 "Error code = %d", static_cast<int>(status)); in start()
1070 return status; in start()
1079 c2_status_t status = in stop() local
1081 if (status != C2_OK) { in stop()
1083 "Error code = %d", static_cast<int>(status)); in stop()
1089 return status; in stop()
1098 c2_status_t status = in reset() local
1100 if (status != C2_OK) { in reset()
1102 "Error code = %d", static_cast<int>(status)); in reset()
1108 return status; in reset()
1117 c2_status_t status = in release() local
1119 if (status != C2_OK) { in release()
1121 "Error code = %d", static_cast<int>(status)); in release()
1127 return status; in release()
1146 c2_status_t status = in setOutputSurface() local
1148 if (status != C2_OK) { in setOutputSurface()
1150 "Error code = %d", static_cast<int>(status)); in setOutputSurface()
1163 return status; in setOutputSurface()
1182 status_t status = !attachToBufferQueue(block, in queueToOutputSurface() local
1186 if (status != OK) { in queueToOutputSurface()
1191 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in queueToOutputSurface()
1193 if (status != OK) { in queueToOutputSurface()
1197 static_cast<int>(status)); in queueToOutputSurface()
1198 return status; in queueToOutputSurface()
1224 status_t status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in queueToOutputSurface() local
1226 if (status != OK) { in queueToOutputSurface()
1230 static_cast<int>(status)); in queueToOutputSurface()
1231 return status; in queueToOutputSurface()
1250 c2_status_t status = in connectToOmxInputSurface() local
1252 if (status != C2_OK) { in connectToOmxInputSurface()
1254 "Error code = %d", static_cast<int>(status)); in connectToOmxInputSurface()
1256 return status; in connectToOmxInputSurface()
1265 c2_status_t status = in disconnectFromInputSurface() local
1267 if (status != C2_OK) { in disconnectFromInputSurface()
1269 "Error code = %d", static_cast<int>(status)); in disconnectFromInputSurface()
1271 return status; in disconnectFromInputSurface()
1328 c2_status_t status; in connectToComponent() local
1331 [&status, connection]( in connectToComponent()
1334 status = static_cast<c2_status_t>(s); in connectToComponent()
1335 if (status != C2_OK) { in connectToComponent()
1337 "Error code = %d", static_cast<int>(status)); in connectToComponent()
1346 return status; in connectToComponent()