Lines Matching refs:err

348         ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key);
350 if (err == ERROR_NOT_CONNECTED) {
352 } else if (err < 0) {
610 status_t err = onStart(msg);
614 notify->setInt32("err", err);
816 void PlaylistFetcher::notifyError(status_t err) {
819 notify->setInt32("err", err);
1046 status_t err = refreshPlaylist();
1116 // if mPlaylist is NULL then err must be non-OK; but the other way around might not be true
1119 || err != OK) {
1120 if ((err != OK || !mPlaylist->isComplete()) && mNumRetries < kMaxNumRetries) {
1123 if (mSeqNumber > lastSeqNumberInPlaylist || err != OK) {
1125 // by adding an err != OK clause to all enclosing if's.
1145 if (err != OK) {
1146 notifyError(err);
1238 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, junk,
1240 if (err == ERROR_NOT_CONNECTED) {
1242 } else if (err != OK) {
1243 notifyError(err);
1352 status_t err = bytesRead;
1354 notifyError(err);
1379 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, buffer,
1384 if (err != OK) {
1385 ALOGE("decryptBuffer failed w/ error %d", err);
1387 notifyError(err);
1393 err = OK;
1405 err = extractAndQueueAccessUnitsFromTs(tsBuffer);
1408 if (err == -EAGAIN) {
1417 } else if (err == ERROR_OUT_OF_RANGE) {
1421 } else if (err != OK) {
1422 notifyError(err);
1499 status_t err = extractAndQueueAccessUnits(buffer, itemMeta);
1500 if (err == -EAGAIN) {
1504 } else if (err == ERROR_OUT_OF_RANGE) {
1508 } else if (err != OK) {
1509 notifyError(err);
1716 status_t err = mTSParser->feedTSPacket(buffer->data() + offset, 188);
1718 if (err != OK) {
1719 return err;
1784 status_t err = OK;
1904 if (err != OK) {
1909 if (err != OK) {
1915 return err;