Lines Matching refs:err

102         status_t err = reply.readInt32();
103 if (err == OK) {
109 return err;
116 status_t err;
118 err = remote()->transact(CREATE_INPUT_SURFACE, data, &reply);
119 if (err != OK) {
120 ALOGW("binder transaction failed: %d", err);
121 return err;
124 err = reply.readInt32();
125 if (err != OK) {
126 return err;
134 return err;
173 status_t err = reply.readInt32();
174 if (err != OK) {
175 return err;
206 status_t err = reply.readInt32();
207 if (err != OK) {
208 return err;
247 status_t err = reply.readInt32();
249 return err;
258 status_t err = omxBuf.writeToParcel(&data);
259 if (err != OK) {
260 return err;
265 err = reply.readInt32();
266 if (err != OK) {
269 return err;
274 return err;
284 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply);
286 if (err != OK) {
287 ALOGW("binder transaction failed: %d", err);
288 return err;
291 err = reply.readInt32();
293 return err;
307 status_t err = reply.readInt32();
308 return err;
321 status_t err = reply.readInt32();
322 if (err == OK && sidebandHandle) {
325 return err;
338 status_t err = reply.readInt32();
339 if (err != OK) {
343 return err;
354 return err;
373 status_t err = omxBuf.writeToParcel(&data);
374 if (err != OK) {
375 return err;
392 status_t err = omxBuf.writeToParcel(&data);
393 if (err != OK) {
394 return err;
416 status_t err = reply.readInt32();
417 if (err == OK) {
423 return err;
608 status_t err = allocateNode(name, observer, &omxNode);
610 reply->writeInt32(err);
611 if (err == OK) {
624 status_t err = createInputSurface(&bufferProducer, &bufferSource);
626 reply->writeInt32(err);
628 if (err == OK) {
677 status_t err = NOT_ENOUGH_DATA;
688 err = NO_MEMORY;
698 err = data.read(params, size);
699 if (err != OK) {
702 err = NOT_ENOUGH_DATA;
719 err = getParameter(index, params, size);
722 err = setParameter(index, params, size);
725 err = getConfig(index, params, size);
728 err = setConfig(index, params, size);
741 reply->writeInt32(err);
743 if ((code == GET_PARAMETER || code == GET_CONFIG) && err == OK) {
772 status_t err = getGraphicBufferUsage(port_index, &usage);
773 reply->writeInt32(err);
786 status_t err = omxBuf.readFromParcel(&data);
787 if (err != OK) {
788 return err;
792 err = useBuffer(port_index, omxBuf, &buffer);
793 reply->writeInt32(err);
795 if (err == OK) {
809 status_t err = setInputSurface(bufferSource);
810 reply->writeInt32(err);
824 status_t err = prepareForAdaptivePlayback(
826 reply->writeInt32(err);
840 status_t err = configureVideoTunnelMode(
842 reply->writeInt32(err);
843 if(err == OK){
866 status_t err = allocateSecureBuffer(
868 reply->writeInt32(err);
870 if (err == OK) {
899 status_t err = omxBuf.readFromParcel(&data);
900 if (err != OK) {
901 return err;
918 status_t err = omxBuf.readFromParcel(&data);
919 if (err != OK) {
920 return err;
945 status_t err = getExtensionIndex(parameter_name, &index);
947 reply->writeInt32(err);
949 if (err == OK) {
963 status_t err = data.read(&msg.u, sizeof(msg.u));
965 if (err == OK) {
966 err = dispatchMessage(msg);
968 reply->writeInt32(err);
1017 status_t err = FAILED_TRANSACTION; // must receive at least one message
1026 err = data.read(&msg.u, sizeof(msg.u));
1029 } while (err == OK);
1031 if (err == OK) {
1035 return err;