Lines Matching refs:status
140 c2_status_t status; in query() local
144 [&status, &numStackIndices, &stackParams, heapParams]( in query()
146 status = static_cast<c2_status_t>(s); in query()
147 if (status != C2_OK && status != C2_BAD_INDEX) { in query()
149 "Error code = %d", static_cast<int>(status)); in query()
156 "Error code = %d", static_cast<int>(status)); in query()
157 status = parseStatus; in query()
175 status = C2_CORRUPTED; in query()
206 return status; in query()
219 c2_status_t status; in config() local
223 [&status, ¶ms, failures]( in config()
227 status = static_cast<c2_status_t>(s); in config()
228 if (status != C2_OK) { in config()
230 "Error code = %d", static_cast<int>(status)); in config()
235 status = objcpy(&(*failures)[i++], sf); in config()
236 if (status != C2_OK) { in config()
238 "Error code = %d", static_cast<int>(status)); in config()
242 status = updateParamsFromBlob(params, o); in config()
248 return status; in config()
254 c2_status_t status; in querySupportedParams() local
258 [&status, params]( in querySupportedParams()
261 status = static_cast<c2_status_t>(s); in querySupportedParams()
262 if (status != C2_OK) { in querySupportedParams()
264 "Error code = %d", static_cast<int>(status)); in querySupportedParams()
270 status = objcpy(&(*params)[i++], sp); in querySupportedParams()
271 if (status != C2_OK) { in querySupportedParams()
274 "Error code = %d", static_cast<int>(status)); in querySupportedParams()
283 return status; in querySupportedParams()
298 c2_status_t status; in querySupportedValues() local
302 [&status, &inFields, &fields]( in querySupportedValues()
305 status = static_cast<c2_status_t>(s); in querySupportedValues()
306 if (status != C2_OK) { in querySupportedValues()
308 "Error code = %d", static_cast<int>(status)); in querySupportedValues()
314 status = C2_CORRUPTED; in querySupportedValues()
318 status = objcpy(&fields[i], inFields[i], r[i]); in querySupportedValues()
319 if (status != C2_OK) { in querySupportedValues()
321 "Error code = %d", static_cast<int>(status)); in querySupportedValues()
330 return status; in querySupportedValues()
362 c2_status_t status = objcpy(&workItems, workBundle); in createComponent() local
363 if (status != C2_OK) { in createComponent()
365 "status = %d.", static_cast<int>(status)); in createComponent()
385 c2_status_t status; in createComponent() local
388 status = objcpy(&c2SettingResult, settingResults[i]); in createComponent()
389 if (status != C2_OK) { in createComponent()
391 "status = %d.", static_cast<int>(status)); in createComponent()
439 c2_status_t status; in createComponent() local
446 [&status, component, hidlListener]( in createComponent()
449 status = static_cast<c2_status_t>(s); in createComponent()
450 if (status != C2_OK) { in createComponent()
461 if (status != C2_OK) { in createComponent()
462 return status; in createComponent()
470 status = (*component)->setDeathListener(*component, listener); in createComponent()
471 if (status != C2_OK) { in createComponent()
473 static_cast<int>(status)); in createComponent()
477 return status; in createComponent()
483 c2_status_t status; in createInterface() local
486 [&status, interface]( in createInterface()
489 status = static_cast<c2_status_t>(s); in createInterface()
490 if (status != C2_OK) { in createInterface()
492 "Error code = %d", static_cast<int>(status)); in createInterface()
501 return status; in createInterface()
530 c2_status_t status = objcpy( in listComponents() local
532 if (status != C2_OK) { in listComponents()
569 c2_status_t status = static_cast<c2_status_t>(s); in getParamReflector() local
570 if (status != C2_OK) { in getParamReflector()
572 "Error code = %d", static_cast<int>(status)); in getParamReflector()
582 status = objcpy(&descriptor, sd[0]); in getParamReflector()
583 if (status != C2_OK) { in getParamReflector()
585 "Error code = %d", static_cast<int>(status)); in getParamReflector()
624 c2_status_t status = C2_NO_INIT; // no IComponentStores present in ForAllStores() local
650 status = predicate(client); in ForAllStores()
651 if (status == C2_OK) { in ForAllStores()
654 return status; in ForAllStores()
662 return status; // return the last status from a valid client in ForAllStores()
671 c2_status_t status = ForAllStores( in CreateComponentByName() local
675 c2_status_t status = client->createComponent(componentName, listener, &component); in CreateComponentByName() local
676 if (status == C2_OK) { in CreateComponentByName()
680 } else if (status != C2_NOT_FOUND) { in CreateComponentByName()
682 client->getInstanceName().c_str(), componentName, asString(status)); in CreateComponentByName()
684 return status; in CreateComponentByName()
686 if (status != C2_OK) { in CreateComponentByName()
687 ALOGI("Could not create component '%s' (%s)", componentName, asString(status)); in CreateComponentByName()
697 c2_status_t status = ForAllStores( in CreateInterfaceByName() local
701 c2_status_t status = client->createInterface(interfaceName, &interface); in CreateInterfaceByName() local
702 if (status == C2_OK) { in CreateInterfaceByName()
706 } else if (status != C2_NOT_FOUND) { in CreateInterfaceByName()
708 client->getInstanceName().c_str(), interfaceName, asString(status)); in CreateInterfaceByName()
710 return status; in CreateInterfaceByName()
712 if (status != C2_OK) { in CreateInterfaceByName()
713 ALOGI("Could not create interface '%s' (%s)", interfaceName, asString(status)); in CreateInterfaceByName()
768 c2_status_t status; in createBlockPool() local
771 [&status, blockPoolId, configurable]( in createBlockPool()
775 status = static_cast<c2_status_t>(s); in createBlockPool()
777 if (status != C2_OK) { in createBlockPool()
779 "Error code = %d", static_cast<int>(status)); in createBlockPool()
789 return status; in createBlockPool()
872 c2_status_t status = in queue() local
874 if (status != C2_OK) { in queue()
876 "Error code = %d", static_cast<int>(status)); in queue()
878 return status; in queue()
885 c2_status_t status; in flush() local
887 [&status, flushedWork]( in flush()
889 status = static_cast<c2_status_t>(s); in flush()
890 if (status != C2_OK) { in flush()
892 "Error code = %d", static_cast<int>(status)); in flush()
895 status = objcpy(flushedWork, wb); in flush()
934 return status; in flush()
944 c2_status_t status = in drain() local
946 if (status != C2_OK) { in drain()
948 "Error code = %d", static_cast<int>(status)); in drain()
950 return status; in drain()
959 c2_status_t status = in start() local
961 if (status != C2_OK) { in start()
963 "Error code = %d", static_cast<int>(status)); in start()
965 return status; in start()
974 c2_status_t status = in stop() local
976 if (status != C2_OK) { in stop()
978 "Error code = %d", static_cast<int>(status)); in stop()
983 return status; in stop()
992 c2_status_t status = in reset() local
994 if (status != C2_OK) { in reset()
996 "Error code = %d", static_cast<int>(status)); in reset()
1001 return status; in reset()
1010 c2_status_t status = in release() local
1012 if (status != C2_OK) { in release()
1014 "Error code = %d", static_cast<int>(status)); in release()
1019 return status; in release()
1037 c2_status_t status = in setOutputSurface() local
1039 if (status != C2_OK) { in setOutputSurface()
1041 "Error code = %d", static_cast<int>(status)); in setOutputSurface()
1054 return status; in setOutputSurface()
1071 status_t status = !attachToBufferQueue(block, in queueToOutputSurface() local
1075 if (status != OK) { in queueToOutputSurface()
1080 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in queueToOutputSurface()
1082 if (status != OK) { in queueToOutputSurface()
1086 static_cast<int>(status)); in queueToOutputSurface()
1087 return status; in queueToOutputSurface()
1107 status_t status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in queueToOutputSurface() local
1109 if (status != OK) { in queueToOutputSurface()
1113 static_cast<int>(status)); in queueToOutputSurface()
1114 return status; in queueToOutputSurface()
1133 c2_status_t status = in connectToOmxInputSurface() local
1135 if (status != C2_OK) { in connectToOmxInputSurface()
1137 "Error code = %d", static_cast<int>(status)); in connectToOmxInputSurface()
1139 return status; in connectToOmxInputSurface()
1148 c2_status_t status = in disconnectFromInputSurface() local
1150 if (status != C2_OK) { in disconnectFromInputSurface()
1152 "Error code = %d", static_cast<int>(status)); in disconnectFromInputSurface()
1154 return status; in disconnectFromInputSurface()
1211 c2_status_t status; in connectToComponent() local
1214 [&status, connection]( in connectToComponent()
1217 status = static_cast<c2_status_t>(s); in connectToComponent()
1218 if (status != C2_OK) { in connectToComponent()
1220 "Error code = %d", static_cast<int>(status)); in connectToComponent()
1229 return status; in connectToComponent()